/* Spetifications */

body {
	padding: 0;
	margin: 0;
	font: 400 16px 'Ubuntu', sans-serif;
	color: #000;
}

* {
	box-sizing: border-box;
}

ul, li {
	display: block;
	padding: 0;
	margin: 0;
}

h1, h2, h3, h4, h5, h6 {
	padding: 0;
	margin: 0;
	font-weight: 700;
	color: #323232;
}

p {
	margin: 0;
	line-height: 1.4em;
}

a {
	transition: all 0.5s ease;
	text-decoration: none;
	color: #fff;
}
.container {
	width: 1110px;
	margin: 0 auto;
}

.container_flex {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.btn {
	padding: 15px 0;
	background: #2BD828;
	box-shadow: 0px 0px 10px rgba(111, 111, 111, 0.25);
	border-radius: 30px;
	color: #fff;
	font-size: 15px;
	font-weight: 500;
	display: block;
	width: 200px;
	transition: all 0.5s ease;
	text-align: center;
}

.btn:hover {
	background-color: #1f921d;
}

.section-title {
	font-size: 36px;
	margin-bottom: 17px;
}

.paragraph {
	max-width: 512px;
	margin-bottom: 74px;
}

/* Header */

.header {
    background: linear-gradient(57.79deg, rgb(170 187 26 / 15%), rgb(29 134 33 / 59%) 27.19% 81.02%), url(../img/code.webp) no-repeat top / cover;
	color: #fff;
}

.nav {
	border-bottom: 1px solid #A1A1A1;
}

.logo {
	background: url('../img/logo.svg');
	width: 75px;
	height: 42px;
	display: block;
}

.menu {

}

.menu__list {
	display: flex;
}

.menu__item a {
	color: #FFF;
	font-size: 16px;
	padding: 32px 21px;
	display: block;
	line-height: 1.4em;
	border-bottom: 2px solid transparent;
}

.menu__item_active a {
	border-bottom-color: #FFF;
}

.menu__item a:hover {
	border-bottom-color: #FFF;
}

.tel {
	font-size: 17px;
	font-weight: 700;
	color: #fff;
}

.offer-wrapper {
	padding: 142px 0 70px;
}

.offer {
	margin-bottom: 168px;
}

.offer__title {
	color: #fff;
	max-width: 572px;
	font-size: 48px;
	margin-bottom: 22px;
}

.offer__text {
	max-width: 340px;
	margin-bottom: 24px;
}

.offer__btn {}

.arrow-down {
	background: url('../img/arrow-dowm.svg') no-repeat;
	display: block;
	width: 16px;
	height: 24px;
}

/* Services */

.services {
	padding: 103px 0 97px;
}
.section-title {}
.section-title_services {}

.services-text {}

.service {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 78px;
	justify-content: space-between;
}

.service__wrapper {}

.service__item {
	display: flex;
	max-width: 508px;
	width: 48%;
	align-items: center;
	margin-bottom: 51px;
}

.service__item:nth-of-type(3) {
	margin-bottom: 0;
}
.service__item:nth-of-type(4) {
	margin-bottom: 0;
}
.service__img {
	width: 210px;
	margin-right: 30px;
	border-radius: 0 10px 10px 10px;
}
.service__content {}
.service__title {
	margin-bottom: 15px;	
}
.service__text {
	font-size: 15px;
	margin-bottom: 15px;
}

.service__price {
	font-size: 15px;
	color: #2BD828;

}

.btn_service {}

/* Projets */

.projects {
	background-color: #F7F6F8;
	padding: 109px 0 50px
}

.project {
	display: flex;
	justify-content: space-between;

}
.project__item {
	position: relative;
	border-radius: 10px;
	max-width: 345px;
	width: 32%;
}
.project__picture {
	display: block;
	border-radius: 10px
}

.project__icon {
	margin: auto;
}

.project__overlay {
	display: flex;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,.4);
	left: 0;
	top: 0;
	position: absolute;
	border-radius: 10px;
	opacity: 0;
}

.project__item:hover .project__overlay {
	opacity: 1;
}

.skills {
	display: flex;
	border-top: 1px solid #B8B8B8;
	margin-top: 89px;
	padding: 50px 0 0;
	justify-content: space-between;
}
.skills__item {
	width: 110px;
	text-align: center;
}
.skills__item:last-child {
	margin: 0;
}
.skills__digit {
	font-size: 36px;
	font-weight: 700;
}
.skills__text {}

.rules {
	max-width: 801px;
	margin: 80px auto -200px;
	background-color: #F4EAFF;
	border-radius: 15px;
	text-align: center;
	padding: 52px 22px;
	position: relative;
	z-index: 1;
}

.rules__title {
	font-size: 19px;
}

.rules__text {
	margin: 22px auto 0;
	line-height: 1.4em;
	max-width: 655px;
}

.rules__btn {
	margin: 27px auto 0;
}

/* Videos */

.videos {
	text-align: center;
	padding: 270px 0 103px;
}

.section-title_videos {
}
.videos-text {
	margin: 0 auto;
}
.video {
	margin: 74px auto 0;
	max-width: 804px;
	border-bottom: 1px solid #E0E0E0;
	background-color: #000;
	box-shadow: 0px 0px 10px rgba(111, 111, 111, 0.25);
	height: 500px;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 10px;
}

.video-title{
	color: #fff;
}

/* Footer */

.footer {
	background: #F7F6F8;
	padding: 100px 0;
}

.footer-content {
	display: flex;
	justify-content: space-between;
}

.communication__item {
	margin-bottom: 21px;
}
.communication__item:last-child {
	margin: 0;
}

.communication ul {
	margin-bottom: 35px;
}

.communication a {
	color: #000;
}


.communication__title {
	margin-bottom: 31px;
}
.communication__link {
	margin-left: 17px;
}
.communication__right {}


.following ul {
	display: flex;
}

.following li {
	margin-right: 22px;
}
.following li:last-child {
	margin-right: 0;
}

.following__title {
	margin-bottom: 71px;
}
.following__list a {
	color: #2BD828
}


.subscription {
	margin: auto 0;
	max-width: 385px;
	width: 100%;
}
.subscription__title {
	margin-bottom: 18px;
}
.subscription__form {
	display: flex;
	margin-bottom: 21px;
}
.subscription__input {
	width: 100%;
	padding: 15px 0 13px 33PX;
	border: none;
	border: 1px solid #F2F2F2;
	box-sizing: border-box;
	box-shadow: 0px 0px 10px rgba(111, 111, 111, 0.25);
	border-radius: 30px;
	font: 400 13px 'Montserrat', sans-serif;
	outline: none;
	flex-shrink: 0;

}
.subscription__btn {
	width: 45px;
	height: 45px;
	border: none;
	margin-left:  -45px;
	background: url('../img/send.svg') no-repeat center;
	background-color: #2BD828;
	outline: none;
	flex-shrink: 0;
	text-decoration: none;
}

.subscription__btn:hover {
	background: url('../img/send.svg') no-repeat center;
	background-color: #1f921d;
	cursor: pointer;
	
}
.subscription-security {}


/* RESPONSIVE */


/* Large: 992px - 1199px */
@media (max-width: 1199px) {
	.container {
		max-width: 960px;
	}
	.project {
		flex-wrap: wrap;
	}
	.project__picture {
		width: 100%;
	}
}
/* Medium: 768px - 991px */
@media (max-width: 991px) {
	.tel {
		display: none;
	}
	.container {
		max-width: 720px;
	}
	.footer-content {
		flex-wrap: wrap;
	}
	.service__item {
		width: 100%;
	}
	.service__item:nth-of-type(3) {
		margin-bottom: 51px;
	}
	.project__item {
		width: auto;
		margin-bottom: 28px;
	}
	.footer-content {
		justify-content: flex-start;
	}
	.communication {
		width: 50%;
		margin-bottom: 74px;
	}
	.following {
		width: 50%;
		margin-bottom: 83px;
	}

}
/* Small: 576px - 767px */
@media (max-width: 767px) {
	.container {
		max-width: 540px;
	}
	.project__item {
		margin: 0 auto 28px;
	}
	.skills {
		flex-wrap: wrap;
		justify-content: center;
	}
	.skills__item {
		width: 24%;
	}
	.skills__item:not(:last-of-type) {
		margin-bottom: 25px	
	}
	.nav {
		padding: 21px 0;
	}
	.menu {
		display: none;
	}
	.tel {
		display: block;
	}
	.video-frame {
		height: 361px;
	}
	.communication {
		margin-bottom: 64px;
	}
}

/* Extra small: 0px (320px) - 575px */
@media (max-width: 575px) {
	.container {
		padding: 0 15px;
		width: auto;
	}
	.video-frame {
		height: 231px;
	}
	.communication {
		width: 100%;
		margin-bottom: 64px;
	}
	.following {
		width: 100%;
		margin-bottom: 83px;
	}


}

/* Oleg breakpoints: 0 (459px) - 575px */
@media (max-width: 459px) {
	.service__img {
		width: 100%;
		margin: 0 auto 20px;
	}

	.service__item {
		display: block;
	}

	.skills__item {
		width: 110px;
		justify-content: space-around;
	}

}
