/* Specification */
body {
	font-family: 'Ubuntu', sans-serif;
	color: #000;
	font-size: 16px;
	padding: 0px;
	margin: 0px;
}
* {
	box-sizing: border-box;
}
img {
	display: block;
	max-width: 100%;
	object-fit: cover;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Ubuntu', sans-serif;
	font-weight: 700;
	line-height: 1.4em;
	margin: 0;
	padding: 0;
}
h1 {
	font-size: 48px;
	line-height: 1.2em;
}
h2 {
	font-size: 36px;
	color: #323232;
}
h3 {
	font-size: 19px;
}
ul, li {
	display: block;
	margin: 0;
	padding: 0;
}
p {
	font-family: 'Ubuntu', sans-serif;
	font-weight: 400;
	line-height: 1.4em;
	margin: 0;
	padding: 0;
}
a {
	text-decoration: none;
}
.paragraph_size_m {
	font-size: 16px;
}
.paragraph_size_s {
	font-size: 15px;
}
.btn {
	width: 200px;
	height: 45px;
	padding: 13px 0;
	font-size: 15px;
	font-weight: 400;
	display: block;
	text-align: center;
	background: #FF7629;
	border-radius: 30px;
	color: white;
	transition: background 0.5s ease;
	box-shadow: 0px 0px 10px rgba(111, 111, 111, 0.25);
}
.btn:hover {
	background: #E85B0D;
	transition: background 0.5s ease;
}
.section-title-wrapper__header {
	margin-bottom: 17px;
}
.section-title-wrapper__text {
	width: 561px;
}
.container {
	width: 1110px;
	margin: 0 auto;
}
.text_hover-color {
	transition: color 0.5s ease;
}
.text_hover-color:hover {
	color: #E85B0D;
	transition: color 0.5s ease;
}
input:focus, button:focus { 
	outline: none;
}

/* Header */

.header {
	color: white;
	background: linear-gradient(304.74deg, rgba(156, 131, 255, 0.18) 11.15%, rgba(152, 82, 32, 0.3) 65.37%), url('../img/header-bg.jpg') no-repeat center top / cover;
	padding-bottom: 70px;
}
.nav-bar {
	border-bottom: 1px solid rgba(255, 255, 255, 0.58);
}
.top-wrapper {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.menu__list {
	display: flex;
}
.menu__item a {
	display: block;
	color: white;
	line-height: 1.4em;
	border-bottom: 2px solid rgba(0,0,0,0.0);
	transition: border-color 0.5s ease;
	padding: 31px 23px;
}
.menu__item a:hover,
.menu__item_active a
{
	border-color: #FFFFFF;
	transition: border-color 0.5s ease;
}
.phone {
	font-weight: 700;
	font-size: 17px;
	color: white;
}
.offer {
	margin: 140px 0 168px;
}
.offer__title {
	max-width: 562px;
}
.offer__text {
	width: 343px;
	margin: 18px 0 25px;
}
.arrow-down {
	width: 16px;
	height: 24px;
	background: url('../img/arrow-down.svg') no-repeat center;
	display: block;
	transition: background 0.5s ease;
}
.arrow-down:hover {
	background: url('../img/arrow-down-hover.svg') no-repeat center;
	transition: background 0.5s ease;
}

/* Recipes */

.recipes {
	padding: 100px 0 97px;
}
.section-title-wrapper_recipes .section-title-wrapper__header {
	margin-bottom: 19px;
}
.recipe-block {
	height: 341px;
	display: flex;
	flex-wrap: wrap;
	align-content: space-between;
	justify-content: space-between;
	margin: 78px 0 77px;
}
.recipe-offer {
	width: 507px;
	display: flex;
	cursor: pointer;
	border-radius: 0 0 10px 10px;
	box-shadow: 5px 5px 5px rgba(0, 0, 0, 0);
	transition: box-shadow 0.5s ease;
	align-items: center;
}
.recipe-offer:hover {
	box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
	transition: box-shadow 0.5s ease;
}
.recipe-offer__img {
	border-radius: 0 10px 10px 10px;
	width: 210px;
	height: 144px;
}
.recipe-offer__description {
	max-width: 267px;
	margin-left: 30px;
}
.recipe-offer__text {
	width: 267px;
	margin: 12px 0 16px;
}
.recipe-offer__price {
	font-family: 'Ubuntu', sans-serif;
	font-weight: 400;
	line-height: 1.4em;
	font-size: 15px;
	color: #FF7629;
}

/* Projects */

.projects {
	background: #F7F6F8;
	position: relative;
	padding: 105px 0 200px;
}
.section-title-wrapper_projects .section-title-wrapper__header {
    margin-bottom: 21px;
}
.project-cards {
	display: flex;
	justify-content: space-between;
	margin-top: 74px;
	padding-bottom: 89px;
	border-bottom: 1px solid #B8B8B8;
}
.project-card {
	position: relative;
	cursor: pointer;
	overflow: hidden;
	border-radius: 15px;
}
.project-card__image {
	border-radius: 15px;
}
.project-card:after {
	content: url('../img/search.svg');
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	opacity: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: opacity .5s ease;
	background-color: rgba(0, 0, 0, 0.4);
}
.project-card:hover:after  {
	opacity: 1;
	transition: opacity .5s ease;
}
.about-us {
	display: flex;
	justify-content: space-between;
	margin-top: 46px;
}
.about-us__item {
	max-width: 100px;
	display: flex;
	flex-direction: column;
	text-align: center;
}
.about-us_text {
	display: block;
	font-family: 'Ubuntu', sans-serif;
	line-height: 1.4em;
}
.about-us__number {
	padding-bottom: 3px;
	font-weight: 700;
	font-size: 36px;
}
.about-us__achivements {
	font-weight: 400;
	font-size: 16px;
}
.clarity {
	width: 801px;
	background: #F4EAFF;
	border-radius: 15px;
	padding: 52px 0;
	text-align: center;
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translate(-50%, 167px);
}
.clarity__text {
	width: 625px;
	display: inline-block;
	margin: 21px 0 29px;
}
.clarity__btn {
	margin: 0 auto;
}

/* Video */

.video {
	padding: 268px 0 103px;
}
.video-wrapper {
	width: 830px;
	align-items: center;
	text-align: center;
	padding-bottom: 62px;
	border-bottom: 1px solid #E0E0E0;
	margin: 0 auto;
}
.section-title-wrapper_video {
	margin-bottom: 77px;
}
.section-title-wrapper__header_video {
	margin-bottom: 20px;
}
.section-title-wrapper__text_video {
	display: inline-block;
}
.video-frame iframe{
	width: 100%;
	height: 426px;
	border-radius: 10px;
	display: block;
}

/* Footer */

.footer {
	background: #F7F6F8;
	padding: 97px 0 92px;
}
.footer-wrapper {
	display: flex;
	justify-content: space-between;
}
.contacts__list {
	display: flex;
	flex-direction: column;
	margin: 31px 0 34px;
}
.contacts__item {
	display: flex;
}
.contacts__item a {
	display: flex;
	align-items: center;
}
.text-footer {
	color: #000;
	font-size: 400px;
	font-size: 14px;
	line-height: 1.58em;
}
.contacts__item a::before {
	content: '';
	width: 18px;
	height: 18px;
	margin-right: 17px;
	display: block;
	background: url('../img/phone.svg') no-repeat center center;
}
.contacts__item:first-child a::before {
	background: url('../img/email.svg') no-repeat center center;
}
.contacts__item:last-child a::before {
	background: url('../img/bookmark.svg') no-repeat center center;
}
.contacts__item:not(:last-child) {
	margin-bottom: 20px;
}
.socials__header {
	margin-bottom: 72px;
}
.socials__list {
	display: flex;
}
.socials__item a{
	color: #FF7629;
	border-bottom: 1px solid rgba(232, 91, 13, 0);
	padding-bottom: 10px;
	transition: color 0.5s ease, border-color 0.5s ease;
}
.socials__item:not(:last-child) {
	margin-right: 22px;
}
.socials__item:hover a{
	color: #E85B0D;
	border-color: rgba(232, 91, 13, 1);
	transition: color 0.5s ease, border-color 0.5s ease;
}
.email {
	width: 385px;
	margin: auto 0;
}
.email-text {
	font-family: 'Montserrat', sans-serif;
	font-weight: 400;
	font-size: 13px;
	line-height: 1.58em;
}
.email__form {
	display: flex;
	align-items: center;
	margin: 17px auto 23px;
}
.email__input {
	background: #FFFFFF;
	border: 1px solid #F2F2F2;
	box-shadow: 0px 0px 10px rgba(111, 111, 111, 0.25);
	border-radius: 30px;
	width: 385px;
	padding: 13px 50px 12px 33px;
	box-sizing: border-box;
}
.email__input::placeholder {
	color: #000;
}
.email__btn {
	cursor: pointer;
	background: url('../img/button-send.svg') no-repeat right top;
	border: none;
	margin-left: -45px;
	width: 45px;
	height: 45px;
	display: block;
	transition: background 0.5s ease;
}
.email__btn:hover {
	background: url('../img/button-send-hover.svg') no-repeat right top;
	transition: background 0.5s ease;
}
.email__send-img{
	margin: 12px 14px 13px 11px;
}

/*  Responsive  */

/* Large: 992px - 1199px */
@media (max-width: 1199px) {
	.container {
		max-width: 960px;
	}
	.menu__list {
		justify-content: space-between;
	}
	.recipe-offer {
		width: 48%;
	}
	.recipe-offer__text {
		width: auto;
	}
	.project-cards {
		flex-wrap: wrap;
	}
	.project-card {
		width: 32%;
	}
	.video {
		padding-top: 218px;
	}
}

/* Medium: 768px - 991px */
@media (max-width: 991px) {
	.container {
		max-width: 720px;
	}
	.phone {
		display: none;
	}
	.recipe-block {
		height: auto;
	}
	.recipe-offer {
		width: 100%;
	}
	.recipe-offer__description {
		max-width: 100%;
	}
	.recipe-offer:not(:last-child) {
		margin-bottom: 51px;
	}
	.project-card:first-child {
		margin-bottom: 28px;
	}
	.project-card {
		width: 48%;
	}
	.clarity {
		width: 90%;
	}
	.video-wrapper {
		width: 100%;
	}
	.video-frame iframe {
		height: 369px;
	}
	.footer-wrapper {
		flex-wrap: wrap;
	}
	.contacts { 
    	margin-bottom: 82px;
	}
}

/* Small: 576px - 767px */
@media (max-width: 767px) {
	.container {
		max-width: 540px;
	}
	h2 {
		font-size: 28px;
	}
	.phone {
		display: block;
	}
	.menu {
		display: none;
	}
	.header {
		padding-top: 21px;
	}
	.top-wrapper {
		margin-bottom: 23px;
	}
	.section-title-wrapper__text {
		width: auto;
	}
	.about-us {
		justify-content: space-evenly;
		flex-wrap: wrap;
	}
	.about-us__item {
		max-width: 110px;
		width: 110px;
	}
	.about-us__item:nth-child(-n + 4) {
		margin-bottom: 16px;
	}
	.project-card:not(:last-child) {
		margin-bottom: 28px;
	}
	.projects {
		text-align: center;
	}
	.project-cards {
		justify-content: space-around;
	}
	.clarity__text {
		width: 95%;
	}
	.video-frame iframe {
		height: 231px;
	}
	.footer-wrapper {
		flex-direction: column;
	}
	.contacts { 
		margin: 0;
	}
	.socials {
		margin: 64px 0 83px;
	}
}

/* Extra small: 495px - 575px */
@media (max-width: 575px) {
	.container {
		padding: 0 15px;
		width: 95%;
	}
	.offer__title, 
	.offer__text,
	.email {
		width: auto;
	}
	.recipe-offer__img {
		width: 186px;
		height: 144px;
	}
	.project-cards {
		justify-content: space-around;
	}
	.project-card {
		width: 100%;
		max-width: 345px;
	}
	.about-us__item {
		width: 50%;
	}
	.video-frame iframe {
		height: 200px;
	}
	.contacts {
		width: auto;
	}
}

/* Extra small: 481px - 494px */
@media (max-width: 494px) {
	.about-us__item:nth-child(-n + 6) {
		margin-bottom: 16px;
	}
	.clarity {
		transform: translate(-50%, 55%);
	}
}

/* Extra small: 436px - 480px */
@media (max-width: 480px) {
	.recipe-offer {
		flex-direction: column;
	}
	.recipe-offer__text {
		width: auto;
	}
	.recipe-offer__img {
		width: 100%;
		height: 250px;
	}
	.recipe-offer__description {
		margin: 0;
		padding: 20px 15px;
	}
}

/* Extra small: 321px - 435px */
@media (max-width: 435px) {
	.email__input {
		width: 95%;
	}
	.video {
		padding-top: 260px;
	}
}
/* Extra small: 0px - 320px */
@media (max-width: 320px) {
	.logo {
		width: 90px;
	}
	.phone {
		font-size: 12px;
	}
	.email__input {
		width: 95%;
	}
	.video {
		padding-top: 260px;
	}
}