body {
	background-color: #a7a7a9;
}

/* Header */
.header {
	width: 100%;
	padding-top: 30px;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
}


.header_logo {
	text-align: center;
	font-size: 35px;
	font-weight: 800;
	color: black;
}

.nav {
	font-size: 20px;
	text-transform: uppercase;
	text-align: center;
	margin: 15px;

}

.nav_link {
	display: inline-block;
	vertical-align: top;
	margin: 0 15px;
	position: relative;
	text-decoration: none;
	transition: color 2s linear;
}

.nav_link:after {
	content: "";
	display: block;
	width: 100%;
	height: 3px;
	display: none;
	background-color: linear-gradient(#e66465, #9198e5);
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 1;
}

.nav_link:hover {
	color: rgb(52, 28, 14);;
}

.nav_link:hover:after {
	display: block;
}
/* Header */

.media {
	margin: 150px;
}

.block1, .block2, .block3, .block4, .block5, .block6, .block7 p {
	color: black;
	font-family: arial;
	font-weight: normal;
	font-size: 25px;
}

.block1, .block2, .block3, .block4, .block5, .block6, .block7 {
	background-color: burlywood;
	border: 2px black solid;
	border-radius: 10px;
	padding: 10px;
	max-width: 350px;
	margin: 15px;
	display: inline-block;
}



.popup {
	position: fixed;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.8);
	top: 0;
	left: 0;
	opacity: 0;
	visibility: hidden;
	transition: all 0.8s ease 0s;
}

.popup.open {
	opacity: 1;
	visibility: visible;
}

.popup.open .popup_content {
	transform: perspective(600px) translate(0px, 0%) rotateX(0deg);
	opacity: 1;
}

.popup_body{
	min-height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 30px 10px;
}

.popup_content {
	background-color: #fff;
	color: black;
	max-width: 800px;
	padding: 30px;
	position: relative;
}

.popup_close {
	position: absolute;
	right: 10px;
	top: 10px;
	font-size: 20px;
	color: black;
	text-decoration: none;
}

.popup_title {
	font-size: 40px;
}

/* Footer */
.footer {
	margin: 50px 0 0 0;
	padding: 100px 65px 0 ;
	background-color: #f8f8f8;
}

.footer__inner {
	display: flex;
	justify-content: space-between;
	padding-bottom: 65px;
}

.footer__col--first {
	width: 40%;
}


.footer__col--second {
	width: 29%;
}

.footer__col--third {
	width: 22%;
}

.footer__logo {
	margin-bottom: 30px;

	font-size: 46px;
	font-weight: 700;
	color: #ccc;
}


.footer__social {
	margin-bottom: 25px;
}

.footer__social-header {
	padding-bottom: 15px;

	font-size: 14px;
	color: #333;

	border-bottom: 1px solid #e5e5e5;
}

.footer__social-header b {
	font-size: 18px;
}

.footer__social-content {
	padding-top: 15px;

	font-size: 15px;
	color: #f38181;
	font-style: italic;
	font-weight: 300;
}

.footer__social-content a {
	display: inline-block;
	vertical-align: middle;
	margin-left: 10px;

	font-size: 18px;
	color: #248f7d;
}

/* Subscribe */
.subscribe {
	width: 100%;
	max-width: 380px;
	display: flex;
}

.subscribe__input {
	width: 60%;
	height: 40px;
	padding: 12px;

	background: #fff;
	border: 1px solid #e7e7e7;
	border-right: 0;

	font-family: 'Montserrat', sans-serif;
	font-size: 15px;
	line-height: 1.1;
	color: #333;
	font-style: italic;
	font-weight: 300;
}

.subscribe__input::placeholder {
	color: #ccc;
}

.subscribe__input:focus {
	outline: 0;
	border-color: #95e1d3;
}


.subscribe__btn {
	width: 40%;
	height: 40px;
	padding: 12px 30px;

	background-color: #95e1d3;
	border: 0;
	cursor: pointer;

	font-family: 'Montserrat', sans-serif;
	font-size: 14px;
	line-height: 1.1;
	font-weight: 700;
	color: #fff;
	text-transform: uppercase;

	transition: background .2s linear;
}

.subscribe__btn:hover {
	background-color: #74c7b8;
}

.subscribe__btn:focus {
	outline: 0;
}



/* Blogs */
.blogs__item {
	display: flex;
	align-items: center;
	margin-bottom: 30px;
}

.blogs__img {
	width: 120px;
	height: 80px;
}

.blogs__content {
	padding-left: 20px;
}

.blogs__title {
	display: block;
	margin-bottom: 5px;

	color: #333;
	font-size: 12px;
	line-height: 1.5;
	text-transform: uppercase;
	text-decoration: none;
}

.blogs__title:hover {
	text-decoration: underline;
}

.blogs__date {
	font-size: 13px;
	color: #999;
	font-style: italic;
	font-weight: 300;
}


/* Copyright */
.copyright {
	padding: 20px 0;

	border-top: 1px solid #e5e5e5;

	font-size: 14px;
	color: #333;
	text-align: center;
}

.copyright span {
	color: #f38181;
}


/* Up button */
.button-up {
	position: fixed;
	right: 10px;
	bottom: 200px;
	width: 50px;
	height: 50px;
	border-color: transparent;
	border-radius: 50%;
	background-color: aquamarine;
}

.button-up:hover,
.button_up:focus {
	filter: brightness(1,5);
	outline: none;
}

.button-up::before,
.button-up::after{
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.button-up::before {
	width: 5px;
	height: 20px;
	border-bottom-left-radius: 3px;
	border-bottom-right-radius: 3px;
	background-color: #fff;
}

.button-up::after {
	width: 15px;
	height: 15px;
	transform: translate(-50%, -50%) rotate(45deg);
	border-top: 5px solid #fff;
	border-left: 5px solid #fff;
}
/* Up button */