:root {
  --color-brand-normal: #819b57;
  --color-brand-dark: #465929;
  --color-brand-light: #cfcfbc;
  --color-primary-light: #faf4ea;
  --color-primary-dark: #31261a;
  --color-secondary-dark: #a18268;
}

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

body {
  color: var(--color-primary-dark);
  background: var(--color-primary-light);
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin-top: 0;
}

a {
  display: inline-block;
  text-decoration: none;
}

address {
  font-style: normal;
}

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

button {
  background: none;
  background-color: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.visually-hidden {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.text-brand {
  color: var(--color-brand-normal);
}

.text-brand-dark {
  color: var(--color-brand-dark);
}

.text-bold {
  font-weight: 600;
}

.text-uppercase {
  text-transform: uppercase;
}

.btn {
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  padding: 16px 32px;
  color: var(--color-primary-light);
  font-weight: 600;
  background-color: var(--color-brand-normal);
  border: 2px solid var(--color-brand-normal);
  border-radius: 8px;
}

.btn:hover {
  background-color: transparent;
  color: var(--color-brend-dark);
}

.close-btn {
  width: 32px;
  height: 32px;
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}
.close-btn__icon {
  width: 32px;
  height: 32px;
}
.close-btn:hover svg {
  color: var(--color-brand-normal);
}

.carousel-button {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  fill: var(--color-primary-dark);
  background-color: transparent;
  border: 1px solid var(--color-primary-dark);
  cursor: pointer;
}

.carousel-button:hover {
  background-color: var(--color-primary-dark);
  fill: var(--color-primary-light);
}

.carousel-button.next {
  transform: rotate(180deg);
}

.chef-card {
  display: flex;
  align-items: flex-start;
  gap: 30px;
}
.chef-card__photo {
  border-radius: 4px 4px 4px 200px;
  box-shadow: -16px 16px 0 0 var(--color-primary-light), -16px 16px 0 1px var(--color-secondary-dark);
}
.chef-card__title {
  margin-bottom: 16px;
  font-size: 40px;
  font-weight: 600;
}
.chef-card__text {
  margin-bottom: 24px;
}
.chef-card__text:last-child {
  margin-bottom: 0;
}

.formats-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  height: 444px;
  border-radius: 16px;
  background-image: linear-gradient(180deg, rgba(49, 38, 26, 0) 55.21%, rgba(49, 38, 26, 0.71) 72.92%, var(--color-primary-dark) 100%);
  transition: transform 0.3s ease;
  overflow: hidden;
}
.formats-card:hover {
  box-shadow: 4px 4px 20px var(--color-primary-dark);
  cursor: pointer;
}
.formats-card__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.formats-card__title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--color-primary-light);
}
.formats-card__text {
  font-size: 14px;
  font-weight: 300;
  color: var(--color-primary-light);
  margin-bottom: 0px;
}

.input {
  position: relative;
}
.input__label {
  display: block;
}
.input__control {
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  line-height: 1.17;
  padding: 16px 24px;
  width: 100%;
  border: 1px solid var(--color-secondary-dark);
  border-radius: 8px;
  background-color: var(--color-primary-light);
}
.input__control:focus {
  border-color: var(--color-brand-normal);
  outline: none;
}
.input__control::-moz-placeholder {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.17;
  color: var(--color-secondary-dark);
}
.input__control::placeholder {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.17;
  color: var(--color-secondary-dark);
}
.input__control:focus::-moz-placeholder {
  color: var(--color-primary-dark);
}
.input__control:focus::placeholder {
  color: var(--color-primary-dark);
}

.menu__link {
  color: var(--color-primary-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.menu__link:hover {
  color: var(--color-brand-normal);
  cursor: pointer;
}

.advantages-section {
  padding: 16px 0;
  background-color: var(--color-brand-normal);
}
.advantages-section__list {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}
.advantages-section__item {
  color: var(--color-primary-light);
  font-size: 20px;
  font-weight: 300;
}

.chefs-section__title {
  position: relative;
  text-align: center;
  margin: 0 auto 80px;
}
.chefs-section__title::before, .chefs-section__title::after {
  content: "";
  position: absolute;
  width: 352px;
  bottom: 24px;
  border: 2px solid var(--color-brand-light);
}
.chefs-section__title::before {
  left: 0;
}
.chefs-section__title::after {
  right: 0;
}
.chefs-section__list {
  display: flex;
  gap: 40px 30px;
  flex-wrap: wrap;
}
.chefs-section__item {
  flex-basis: calc((100% - 30px) / 2);
}

.contacts-section {
  padding-bottom: 96px;
}
.contacts-section__container {
  display: flex;
  gap: 32px;
}
.contacts-section__title {
  margin-bottom: 16px;
}
.contacts-section__form-field {
  margin-bottom: 24px;
}
.contacts-section__btn {
  display: block;
  margin: 0 auto 16px;
}
.contacts-section__map {
  border: none;
  border-radius: 16px;
  flex-shrink: 0;
}

.container {
  width: 100%;
  max-width: 1288px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer {
  position: relative;
  background-color: var(--color-primary-dark);
  background-image: url("../images/footer-bg.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 32px 0;
}

.footer::before,
.footer::after {
  content: "";
  position: absolute;
  bottom: 0;
  background-repeat: no-repeat;
  pointer-events: none;
}

.footer::before {
  width: 180px;
  height: 120px;
  left: 0;
  background-image: url("../images/decor-bread-smal.png");
}

.footer::after {
  width: 370px;
  height: 180px;
  right: 0;
  background-image: url("../images/decor-bread-large.png");
}

.footer-container {
  display: flex;
  gap: 24px;
}

.footer-nav,
.footer-address {
  display: flex;
  flex-basis: 50%;
  gap: 24px;
}

.footer-logo,
.footer-menu,
.address-list,
.address-info {
  flex-grow: 1;
}

.social-icons {
  display: flex;
  gap: 22px;
}

.menu__link {
  margin-bottom: 16px;
}

.address-link {
  color: var(--color-primary-light);
  text-decoration: none;
  font-size: 16px;
  font-weight: 300;
  margin-bottom: 16px;
}

.address-link:hover {
  color: var(--color-brand-normal);
  cursor: pointer;
}

.address-icon {
  fill: var(--color-primary-light);
}

.address-icon:hover {
  fill: var(--color-brand-normal);
  cursor: pointer;
}

.address-copyright {
  color: var(--color-secondary-dark);
  font-size: 14px;
}

.form-terms {
  font-family: "Gilroy-Medium", sans-serif;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 500;
  text-align: center;
  max-width: 215px;
  margin: 0 auto;
}
.form-terms__link {
  color: var(--color-primary-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.formats-section__title {
  margin-bottom: 80px;
  text-align: center;
}
.formats-section__container {
  display: flex;
  align-items: center;
  gap: 32px;
}
.formats-section__list {
  display: flex;
  gap: 20px;
}
.formats-section__item {
  flex-basis: calc((100% - 40px) / 3);
}

.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding-top: 32px;
}
.header__container {
  display: flex;
  align-items: center;
  gap: 24px;
}
.header__nav {
  display: flex;
  align-items: center;
  flex-grow: 1;
  gap: 24px;
}
.header__menu {
  display: flex;
  justify-content: center;
  flex-grow: 1;
  gap: 64px;
}
@media screen and (max-width: 1280px) {
  .header__menu {
    display: none;
  }
}
@media screen and (max-width: 1280px) {
  .header__btn {
    display: none;
  }
}
.header__burger {
  display: none;
}
@media screen and (max-width: 1280px) {
  .header__burger {
    display: block;
  }
}

.hero-section {
  padding: 272px 0;
  background-image: linear-gradient(102.76deg, rgba(18, 18, 17, 0.78) 2.03%, rgba(18, 18, 17, 0.6) 58.46%, rgba(18, 18, 17, 0) 90.36%), url("../images/hero-section-bg.jpg");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}
.hero-section__title {
  color: var(--color-primary-light);
  text-align: center;
  font-size: 128px;
  font-weight: 900;
  margin-bottom: 0;
}

.backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 72px 0;
  background-color: rgba(0, 0, 0, 0.5);
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.backdrop.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.modal {
  position: relative;
  width: 100%;
  max-width: 880px;
  max-height: 90vh;
  max-height: 600px;
  padding: 128px;
  background-color: var(--color-primary-light);
  background-image: url("../../images/modal-bread.png");
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: auto;
  background-attachment: local;
  border-radius: 32px;
  overflow-y: auto;
}
.modal__form-field {
  margin-bottom: 32px;
}
.modal__btn-close {
  position: absolute;
  top: 40px;
  right: 40px;
}
.modal__btn {
  display: block;
  margin: 0 auto 24px;
}
.modal__title {
  font-weight: 900;
  font-size: 64px;
  line-height: 1.5;
  margin: 0 auto;
  text-align: center;
}
.modal__text {
  font-family: "Roboto", sans-serif;
  margin: 0 auto 72px;
  text-align: center;
}

.section {
  padding: 48px 0;
}
.section__title {
  font-size: 64px;
  font-weight: 900;
  line-height: 1.3;
}

.traditions-section {
  padding-top: 96px;
}
.traditions-section__container {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}
.traditions-section__container-image {
  border-radius: 400px 400px 0 0;
}
.traditions-section__content {
  max-width: 710px;
}
.traditions-section__title {
  margin-bottom: 42px;
}
.traditions-section__text {
  margin-bottom: 0;
}
.traditions-section__text:nth-child(2) {
  margin-bottom: 42px;
}/*# sourceMappingURL=main.css.map */