
:root {
  --main-color: #E1B168;
  --main-fon: #40464F;
}

html {
  scroll-behavior: smooth;

}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0 auto 0;
  font-family: 'Gilroy', sans-serif;
  max-width: 1440px;
}

p, h1, h2, h3, h4 {
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

ul, li {
  list-style: none;
  margin: 0 ;
  padding: 0 ;
}

img {
  max-width: 100%;
}

button {
  display: inline-block;
  cursor: pointer;
}

 /* //конец общих стилей */

 /* header section intro */

.header, .sticky {
  background: var(--main-fon);
  color: #fff;
}

.container {
  margin: 0 auto;
  max-width: 1440px;
  padding: 50px 40px;
  scroll-margin-top: 1em;
}

/* шапка хедера */
.intro-container {
  border-bottom: 1px solid var(--main-color);
}

.intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn-border {
  color: #fff;
  padding: 20px 57px;
  background: transparent;
  border: 1px solid var(--main-color);
}

.btn-fon {
  padding: 20px 85px;
  border: 1px solid var(--main-color);
  background-color: var(--main-color);
  color: black;
}

.btn-dish {
  color: var(--main-color);
}


/* общее поведение кнопок */
.btn-border:hover{
  border: 1px solid var(--main-color);
  background: var(--main-color);
  color: black;
}

.btn-fon:hover {
  border: 1px solid var(--main-color);
  background: #40464F;
  color: #fff;
}

.btn {
  display: inline-block;
  text-transform: uppercase;
  transition: background .15s ease-in;
  /* transition: color .15s ease-in; */
}

.btn:active {
  transform: translateY(2px);
}

.btn-menu {
  font-family: 'Josefin Sans';
  font-weight: 400;
  font-size: 22px;
  line-height: 1.5;
  letter-spacing: 0.2px;

  background: var(--main-fon);
  color: var(--main-color);
  text-transform: capitalize;
  /* z-index: 5; */
}

.btn-dish {
  background: transparent;
  margin-right: auto;
}

/* // конец шапки хедера */

/* панель навигации */
.nav-container {
  padding: 20px 40px;
}

.nav__burger {
  display: none;
}

.nav {
  display: flex;
  justify-content: space-between;
}

.sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
}

#menu, #blog {
  scroll-margin-top: 2.5em;
}

.nav__item {
  display: inline-block;
}

.nav__item:not(:last-child) {
  margin-right: 50px;
}

.nav__link {
  position: relative;
}

/* поведение ссылок при наведении - полоска */
.nav__link::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 2px;
  background:var(--main-color);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform .15s ease-in;
}

.nav__link--active,
.nav__link:active {
  color: var(--main-color);
}

.nav__link--active.nav__link::after,
.nav__link:hover.nav__link::after {
  transform: scaleX(1);
  color: var(--main-color);
}

/* сoцсети в навигации */
.nav__social >.nav__item:not(:last-child) {
  margin-right: 20px;
}

/* welcome section */
.welcome {
  position: relative;
  font-family: 'Cormorant Infant';
  background: #40464f;
  color: #fff;
}

.container-welcom {
  position: relative;  background: #40464f;
  color: #fff;
  background-image: url(./../img/Frame.webp);
  background-repeat: no-repeat;
  background-position: right center;
  /* background-size: 100%; */

}

.welcome__text {
  max-width: 616px;
  margin-top: 115px;
  margin-bottom: 115px;
}

.welcome-title {
  font-weight: 400;
  font-size: 100px;
  line-height: 1.1;

  /* letter-spacing: 0.2px; */
  padding-bottom: 26px;
  text-shadow: 0 0 10px rgb(0, 0, 0);
}

.welcome-descript {
  display: inline-block;
  font-family: 'Josefin Sans';
  font-weight: 400;
  font-size: 20px;
  line-height: 30px;
  padding-bottom: 35px;
  text-shadow: 0 0 10px rgb(0, 0, 0);
}

.welcom__img {
  position: absolute;
  right: 0;
  /* background-image: url(./../img/uzor.png); */
  background-repeat: no-repeat;
  width: 400px;
  height: 400px;
}

/* section work */
.work {
  background: #FFF8F5;
}
.work__list {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  flex: 1 0 33.333%;
}
.work__item {
  display: flex;
  align-items: center;
  padding-bottom: 15px;
}
.work__icon {
  display: inline-block;
  margin-right: 21px;
}
.work__text {
  display: inline-block;
}
.work-title {
  font-family: 'Cormorant Infant';
  font-style: normal;
  font-weight: 400;
  font-size: 30px;
  line-height: 1.3;
  padding-bottom: 5px;

  color: #292E36;
}

.work-descript {
  font-family: 'Josefin Sans';
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.5;

  color: #555555;
}

/* // end section work */

/* story section */
.story {
  background: #FFF8F5;
}

.story-container {
  padding-top: 0;
}

.story__wrapper {
  display: flex;
  width: 100%;
}

.story__item {
  flex: 1 1 55%;
  width: 45%;
}

.story__img {
  object-fit: contain;
}

.story__text {
  padding-left: 40px;
}

.story__title{
font-family: 'Cormorant Infant';
font-weight: 400;
font-size: 40px;
line-height: 1.4;
padding-bottom: 15px;

color: #292E36;
}

.story__descript {
font-family: 'Josefin Sans';
font-weight: 400;
font-size: 20px;
line-height: 1.5;

color: #555555;
}

.text-col {
  display: flex;
  justify-content: space-between;
  padding-top: 25px;

}

.col-story{
  padding-right: 20px;
}

.story__sign {
  font-family: 'Josefin Sans';
  font-weight: 400;
  font-size: 20px;
  line-height: 1.5;

  color: #555555;

}
/* // end story section */

/* menu section */

.menu__wrapper {
  display: flex;
  justify-content: stretch;
  /* column-gap: 50px; */
}

.menu__col {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.col-left {
  flex: 0 1 40%;
  min-width: 490px;
  margin-right: 50px;
}

p.menu__menu {
  display: inline-block;
  margin-right: auto;
  padding-top: 4px;
  margin-bottom: 12px;

  font-family: 'Josefin Sans';
  font-style: normal;
  font-weight: 400;
  font-size: 15px;
  line-height: 22px;
  /* identical to box height, or 150% */

  letter-spacing: 3px;
  text-transform: uppercase;

  color: #292E36;

  border-top: 1px solid #E1B168;
  border-bottom: 1px solid #E1B168;
}

.menu__title,
.test__title {
  font-family: 'Cormorant Infant';
  text-transform: capitalize;

  font-style: normal;
  font-weight: 400;
  font-size: 36px;
  line-height: 1.4;

  color: #292E36;
}

.menu__text {
  /* position: relative; */
  font-family: 'Josefin Sans';
  font-style: normal;
  /* font-weight: 400; */
  font-size: 20px;
  line-height: 1;
  padding-top: 8px;
  padding-left: 0;
  margin-left: 0;
  /* identical to box height, or 150% */

  letter-spacing: 0.2px;

  color: #555555;
}

.menu-col__left > .menu__text {
  line-height: 1.5;
}

.menu__img {
  max-width: 500px;
  margin-top: 45px;
  margin-bottom: 60px;
  object-fit: cover;
}

a.btn {
  display: inline-block;
}

.col-right {
  margin-top: 15px;
}

.left {
  display: flex;
  /* flex-grow: 1; */
  /* float: left; */
  padding: 0 10px 0 0;
}

/* .menu__item {
  display: flex;
  position: relative;
  justify-content: stretch;
  align-items: center;
  width: 100%;
} */

.menu-item__img {
  width: 84px;
  height: 84px;
  margin-top: 15px;
  margin-right: 20px;
}

.menu-item__txt {
  /* position: relative; */
  font-family: 'Cormorant Infant';
  /* font-style: normal;
  font-weight: 400;
  font-size: 30px;
  line-height: 1.4;
  letter-spacing: 0.2px; */
  width: 100%;

  /* color: #292E36; */
}

.menu-item__title {
  /* font-family: 'Cormorant Infant'; */
  /* font-style: normal; */
  font-weight: 400;
  font-size: 30px;
  line-height: 42px;
  /* identical to box height, or 140% */

  letter-spacing: 0.2px;

  color: #292E36;
}

.menu-item__price {
  display: block;
  float: right;

  font-family: 'Cormorant Infant';
  font-style: normal;
  font-weight: 400;
  font-size: 30px;
  line-height: 1.4;
  letter-spacing: 0.2px;

  margin-left: auto;
  margin-bottom: -30px;
  padding: 0 0 0 10px;

  color: #292E36;
}

.menu-item {
  display: flex;
  /* position: relative; */
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 40px;
}

.line {
  flex-grow: 10;
  border-bottom: 2px solid #aaa;
  margin-bottom: -50px;
}

/* секция отзывы "testimonials" */
.testimonials {
  color: #fff;
  overflow: hidden;
}

p.menu__test {
  color: #fff;
}

.test__title {
  /* text-transform: capitalize; */
  color: #fff;
}

.test__text {
  color: #fff;
  line-height: 1.5;
}


/* slider */

.carusel__wrapper {
  margin-top: 60px;
}

.card {
  /* margin: 5px; */
  /* width: 540px; */
  padding: 0 40px;
  background: #343942;
  height: 100%;
}

.card__head {
  display: flex;
  /* justify-content: space-between; */
  align-items: center;

  padding-bottom: 30px;
  border-bottom: 1px solid var(--main-color);
}

img.slider__img {
  width: 110px !important;
  margin-right: 20px;
}

.card__name {
  font-family: 'Cormorant Infant';
  font-style: normal;
  font-weight: 400;
  font-size: 30px;
  line-height: 42px;
}

.card__sity {
  font-family: 'Josefin Sans';
  font-weight: 400;
  font-size: 20px;
  line-height: 1.5;

  color: #E1B168;
}

.card__descript {
font-family: 'Cormorant Infant';
font-style: normal;
font-weight: 400;
font-size: 24px;
line-height: 38px;
/* or 156% */

letter-spacing: 0.25px;

color: #FFFFFF;
}


/* nav - dots */

/* // end секции отзывы "testimonials" */


 /* section LAMP background  */

 .lamp {

  width: 100%;
  margin-bottom: 100px;

 }

.lamp .container {
  padding: 0;
}

 /* // end section LAMP background  */

/* section offers */
.offers {
  text-align: center;
}

.text-line-1-5 {
  line-height: 1.5;
}

.off__list {
  display: flex;
  justify-content: space-between;
  column-gap: 30px;
  margin-top: 40px;
}


/* карточка товара */
.off__item {
  display: flex;
  flex-direction: column;
  align-items: start;
  background-repeat: no-repeat;
  background-size: cover;
  flex: 0 0 49%;
  text-align: left;

  max-width: 666px;
  padding: 40px;
}

.off__wrapper{
  z-index: 1;
}

.item-left {
  background-image: url(./../img/fill1.webp);
  position: relative;
}

.item-left::after {
  content: url('./../img/dish1.webp');
  position: absolute;
  object-fit: contain;
  right: 40px;
  top: 88px;
  z-index: 0;
}

.item-right {
  position: relative;
  background-image: url(./../img/fill2.webp);
}

.item-right::after {
  content: url('./../img/dish2.webp');
  position: absolute;
  right: 40px;
  top: 68px;
  z-index: 0;
}

.price__left {
  background-image: url(./../img/dish-fon1.webp);
}

.price__right {
  background-image: url(./../img/dish-fon2.webp);

}

.price__right span,
.price__right p {
  color: white;
}

.off__price {
  background-position: center;
  background-repeat: no-repeat;
  float: left;
  margin-bottom: 36px;
  text-align: center;
}

.off__txt {
  font-family: 'Josefin Sans';
  font-size: 15px;
  line-height: .7;

  letter-spacing: 0.15px;
  text-transform: uppercase;

  color: #292E36;
}

.off-price__kol {
  font-family: 'Cormorant Infant';
  font-size: 60px;
  line-height: .9;

  padding: 2px 36px 24px 34px;

  color: #292E36;
}
.price__right .off-price__kol {
  /* font-family: 'Cormorant Infant'; */
  /* font-size: 60px; */
  /* line-height: .9; */

  padding: 2px 49px 24px 45px;

  /* color: #292E36; */
}

p.menu__off {
  border-color: #292E36;
}


/* section Popular Dishes */
.dish__wrapper {
  text-align: center;
}

.dish__head {
  text-align: center;
}

.dish__list {
  display: flex;
  width: 100%;
  justify-content: space-between;
  column-gap: 15px;
  margin-top: 40px;
}
.dish__item {
  flex: 0 0 23%;
}
.popdish__img {
  object-fit: cover;
}


.dish-item__price {
  display: flex;
  justify-content: space-between;
  font-family: 'Cormorant Infant';
  font-weight: 700;
  font-size: 30px;
  line-height: 1.4;

  letter-spacing: 0.2px;

  color: #292E36;
  padding-top: 10px;
  padding-bottom: 11px;
  border-bottom: 1px solid #292E36;
}

.dish-item__descript {
  font-family: 'Josefin Sans';
  font-weight: 400;
  font-size: 20px;
  line-height: 1.5;

  letter-spacing: 0.2px;

  text-align: left;
  padding-top: 15px;

  color: #555555;

}

p.dish-item__descript {
  margin-left: 0;
}

.dish__wrapper>.btn-dish {
  margin: 60px auto 140px;
  margin-right: auto;
  margin-left: auto;


}
/* // end section Popular Dishes */

/* Our offer section */

.we-offer {
  background: var(--main-fon) ;
  padding-top: 140px;
  padding-bottom: 140px;
  margin-bottom: 140px;
}

.we-offer__wrapper {
  display: flex;
  justify-content: space-between;
  column-gap: 40px;
}

.we-offer__col {
  flex-shrink: 10;
  max-width: 448px;
}

.we-offer__list {
  flex-grow: 5;
  display: flex;
  justify-content: space-between;
  column-gap: 30px;
}

.we-offer__item {
  padding: 45px 0 43px;
  flex: 0 1 31%;
  border: 20px solid #323841;
  text-align: center;
}

.we-offer__item .card__name {
  padding-top: 15px;
  color: white;
}

/* //end Our offer section */

/* blog section */
.blog {
  padding: 0 15px;
}

.dish__head {
  padding-bottom: 40px;
}

.blog__wrapper {
  display: flex;
  column-gap: 25px;
  justify-content: stretch;
}

.blog__col {
  display: flex;
  flex-direction: column;
}

.blog__item {
  display: flex;
  justify-content: center;
  align-items: center;
  /* flex: 1 0 49%; */
  position: relative;
  cursor: pointer;
}

.blog__item:hover.blog__item::after,
.blog__item:hover.blog__item .btn {
  opacity: 1;
}

.blog__img {
  width: 680px;
  position: relative;
  /* object-fit: cover; */
}

.blog__item::after {
  content: '';
  position: absolute;
  /* width: 100%; */
  /* height: 100%; */
  top: 0;left: 0;right: 0;bottom: 0;
  background: rgba(0, 0, 0, 0.466);
  z-index: 10;
  opacity: 0;
  transition: opacity .15s ease-in;
}

.blog__item .btn {
  position: absolute;
  z-index: 20;
  opacity: 0;
  transition: opacity .15s ease-in;
}

.blog__txt {
  padding: 45px 36px;
  border: 1px solid rgb(133, 133, 133);
}


/* book section */
.book {
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url('./../img/foot-zal.webp');
}

.book__wrapper {
  text-align: center;
  max-width: 920px;
  max-height: 697px;
  padding: 150px;
  background: rgba(41, 46, 54, 0.95);
    /* position: absolute; */
}

.book__form {
  margin-top: 45px;
}

.contacts__form {
  max-width: 500px;
}
.form-contacts__row {
  display: flex;
  justify-content: space-between;
}

.form-contacts__dat {
  position: relative;
}

.input, .form-contacts__message {
  font-family: inherit;
  outline: 0;
  border: 0;
  border-bottom: 1px solid #FFFFFF;
  background-color: transparent;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.5;

  margin-bottom: 45px;

  letter-spacing: 0.15em;
  color: white;
}

.label {
  font-weight: 400;
  font-size: 15px;
  line-height: 1.5;

  position: absolute;
  top: -5px;
  left: 0;
  pointer-events: none;

  margin-bottom: 45px;

  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.644);

  transition: all 0.15s ease-in;
}

.input:focus + .label {
  transform: translateY(-15px);
  font-size: 14px;
}

input:not(:placeholder-shown) + .label {
  transform: translateY(-15px);
  font-size: 14px;
}

.form-contacts__message {
  min-height: 130px;
  width: 440px !important;
  resize: vertical;
}

.form-contacts__message:focus + .label {
  transform: translateY(-15px);
  font-size: 14px;
}

.form-contacts__message:not(:placeholder-shown) + .label {
  transform: translateY(-15px);
  font-size: 14px;
}

.btn__form {
  background: white;
  color: black;
  border-color: black;
}

/* // end book section */

/* footer section */

.footer {
  background: var(--main-fon);
}

.footer__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #FFFFFF;
}

.footer__col,
.footer__center {
  display: flex;
  flex-direction: column;
}

.footer__center {
  text-align: center;
}

.footer__list {
  display: flex;
  flex-direction: column;
  width: 150px;
}

.footer__item1 {
  align-self: end;
}

.footer__item2 {
  align-self: start;
}

.footer__item3 {
  align-self: center;
}

.footer__item4 {
  align-self: end;
}



/* // end footer section */
