@font-face {
  font-display: swap;
  font-family: "Poppins";
  font-weight: 300;
  src: url("../fonts/PoppinsLight.woff2") format("woff2"), url("../fonts/PoppinsLight.woff") format("woff");
}
@font-face {
  font-display: swap;
  font-family: "Poppins";
  font-weight: 400;
  src: url("../fonts/PoppinsRegular.woff2") format("woff2"), url("../fonts/PoppinsRegular.woff") format("woff");
}
@font-face {
  font-display: swap;
  font-family: "Poppins";
  font-weight: 600;
  src: url("../fonts/PoppinsSemiBold.woff2") format("woff2"), url("../fonts/PoppinsSemiBold.woff") format("woff");
}
@font-face {
  font-display: swap;
  font-family: "Poppins";
  font-weight: 900;
  src: url("../fonts/PoppinsBlack.woff2") format("woff2"), url("../fonts/PoppinsBlack.woff") format("woff");
}
:root {
  --color-primary-dark: #31261a;
  --color-primary-light: #faf4ea;
  --color-secondary-dark: #a28268;
  --color-brand-dark: #465929;
  --color-brand-normal: #819b57;
  --color-brand-light: #cfcfbc;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

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

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

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

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

/* Button */
.button {
  color: var(--color-primary-light);
  border: 2px solid var(--color-brand-normal);
  background-color: var(--color-brand-normal);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  padding: 16px 32px;
}

.button:hover {
  color: var(--color-brand-dark);
  background-color: transparent;
}

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

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

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

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

body {
  color: var(--color-primary-dark);
  background-color: 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: 0;
}

a {
  display: inline-block;
}

address {
  font-style: normal;
}

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

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

footer,
header {
  background-color: var(--color-brand-normal);
}

/* Section Header */
.header {
  background-color: transparent;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding-top: 32px;
}
.header__container {
  display: flex;
  align-items: center;
  gap: 40px;
}
.header__nav {
  flex-grow: 1;
  display: flex;
  align-items: center;
  gap: 40px;
}
.header__menu {
  display: flex;
  gap: 64px;
  flex-grow: 1;
  justify-content: center;
}

/* Section Hero */
.hero {
  background-image: linear-gradient(127deg, rgba(18, 18, 17, 0.78) 0%, rgba(18, 18, 17, 0.6) 63.89%, rgba(18, 18, 17, 0) 100%), url("../images/bg-img.jpg");
  padding: 272px 0;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}
.hero__title {
  color: var(--color-primary-light);
  text-align: center;
  font-size: 110px;
  font-weight: 900;
  margin: 0 auto;
  max-width: 1240px;
}

/* Advantages section */
.advantages {
  background-color: var(--color-brand-normal);
  padding: 16px 0;
}
.advantages__list {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}
.advantages__item {
  font-weight: 300;
  font-size: 20px;
  color: var(--color-primary-light);
}

/* Section Traditions */
.traditions {
  background-color: var(--color-primary-light);
}
.traditions__container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}
.traditions__content {
  max-width: 710px;
  display: flex;
  flex-direction: column;
}
.traditions__title {
  color: var(--color-primary-dark);
  text-align: left;
  font-weight: 900;
  line-height: 1.3;
  font-size: 64px;
  margin-bottom: 42px;
}
.traditions__text {
  margin-bottom: 42px;
}
.traditions__text--limited {
  max-width: 340px;
  margin-bottom: 52px;
}
.traditions__baker-man-photo {
  border-radius: 400px 400px 0 0;
  width: 393px;
  height: 466px;
}

/* Chefs-section */
.chefs {
  background-color: var(--color-primary-light);
}
.chefs__main-title {
  color: var(--color-primary-dark);
  font-family: Poppins, sans-serif;
  text-align: center;
  font-weight: 900;
  line-height: 1.3;
  font-size: 64px;
  margin: 0 auto 80px;
  position: relative;
}
.chefs__main-title::before, .chefs__main-title::after {
  content: "";
  display: block;
  width: 352px;
  border: 2px solid var(--color-brand-light);
  position: absolute;
  bottom: 24px;
}
.chefs__main-title::before {
  left: 0px;
}
.chefs__main-title::after {
  right: 0px;
}
.chefs__list {
  display: flex;
  gap: 40px 30px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.chefs__item {
  flex-basis: calc(50% - 30px);
}

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

/* formats-section */
.formats__main-title {
  color: var(--color-primary-dark);
  font-family: Poppins, sans-serif;
  text-align: center;
  font-weight: 900;
  line-height: 1.3;
  font-size: 64px;
  margin: 0 auto 80px;
}
.formats__container {
  display: flex;
  gap: 32px;
  align-items: center;
}
.formats__list {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 1240px;
  margin: 0 auto;
  flex-grow: 1;
}
.formats__item {
  flex-basis: calc((100% - 40px) / 3);
}

.format-card {
  border-radius: 16px;
  padding: 24px;
  height: 444px;
  background-image: linear-gradient(rgba(49, 38, 26, 0) 55.21%, rgba(49, 38, 26, 0) 72.92%, var(--color-primary-dark) 100%);
  transition: transform 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.format-card:hover {
  transform: scale(1.05);
}
.format-card__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.format-card__title {
  font-size: 24px;
  font-weight: 600;
  color: var(--color-primary-light);
  margin-bottom: 16px;
}
.format-card__text {
  color: var(--color-primary-light);
  font-size: 14px;
  font-weight: 30;
  height: 120px;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

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

.carousel-icon {
  fill: var(--color-primary-dark);
}

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

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

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

/* Contacts-section */
.contacts__container {
  display: flex;
  gap: 32px;
}
.contacts__main-title {
  color: var(--color-primary-dark);
  font-family: Poppins, sans-serif;
  font-weight: 900;
  line-height: 1.31;
  font-size: 60px;
  margin: 0 auto 16px;
  text-align: left;
}
.contacts__text {
  color: var(--color-primary-dark);
  font-weight: 400;
  line-height: 1.3;
  font-size: 18px;
  margin-bottom: 42px;
  text-align: left;
}
.contacts__form {
  max-height: 600px;
  max-width: 608px;
  display: flex;
  flex-direction: column;
}
.contacts__map {
  flex-shrink: 0;
  border: none;
  border-radius: 16px;
}
.contacts__form-field {
  margin-bottom: 24px;
}
.contacts__form-button {
  display: block;
  margin: 0 auto 24px;
}
.contacts__form-terms {
  width: 240px;
  color: var(--color-brand-dark);
  font-size: 12px;
  font-weight: 400;
  margin: 0 auto;
  text-align: center;
}

.input__label {
  display: block;
}
.input__control {
  padding: 16px 42px;
  width: 100%;
  background-color: transparent;
  border-radius: 8px;
  border: 1px solid var(--color-secondary-dark);
  font-size: 16px;
  line-height: 1.17;
}
.input__control:focus {
  border-color: var(--color-brand-light);
  outline: none;
}
.input__control::-moz-placeholder {
  color: var(--color-secondary-dark);
  font-size: 16px;
  line-height: 1.17;
}
.input__control::placeholder {
  color: var(--color-secondary-dark);
  font-size: 16px;
  line-height: 1.17;
}
.input__control:focus::-moz-placeholder {
  color: var(--color-primary-dark);
}
.input__control:focus::placeholder {
  color: var(--color-primary-dark);
}

/* footer */
.footer-section {
  background-image: url("../images/footer-background.png");
  background-color: var(--color-primary-dark);
  padding: 32px 0 0 0;
  background-size: cover;
}

.footer-container {
  display: flex;
  gap: 20px;
  margin: 0 auto;
  position: relative;
  height: 240px;
}

.footer-nav {
  display: flex;
  flex-basis: 50%;
  gap: 20px;
}

.footer-address {
  flex-basis: 50%;
  display: flex;
  gap: 20px;
}

.footer-logo {
  flex-grow: 1;
}

.footer-menu-list {
  flex-grow: 1;
}

.footer-address-list,
.policy {
  flex-grow: 1;
}

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

.address-social:hover {
  fill: var(--color-brand-light);
}

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

.address-link:hover {
  color: var(--color-brand-light);
  font-weight: 600;
}

.footer-social-list {
  display: flex;
}

.address-copyright {
  font-size: 14px;
}

.footer-container::before,
.footer-container::after {
  position: absolute;
  bottom: 0;
  content: "";
}

.footer-container::before {
  width: 180px;
  height: 120px;
  left: -200px;
  background-repeat: no-repeat;
  background-image: url("../images/decor-bread-small.png");
}

.footer-container::after {
  background-image: url("../images/decor-bread-mix.png");
  width: 380px;
  height: 190px;
  right: -100px;
}

/* Modal */
.backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
  transition: opacity 0.5s, visibility 0.5s;
}

.modal {
  width: 100%;
  max-width: 880px;
  max-height: 880px;
  height: 100%;
  background-color: var(--color-primary-light);
  border-radius: 30px;
  position: relative;
  padding: 128px;
}
.modal__close-button {
  position: absolute;
  top: 40px;
  right: 40px;
}
.modal__title {
  font-size: 64px;
  line-height: 1.31;
  margin-bottom: 8px;
  text-align: center;
  color: var(--color-primary-dark);
}
.modal__text {
  font-size: 18px;
  line-height: 1.5;
  font-weight: 400;
  margin-bottom: 72px;
  color: var(--color-brand-dark);
  text-align: center;
}
.modal__form-field {
  margin-bottom: 32px;
}
.modal__form-button {
  display: block;
  margin: 0 auto 24px;
  width: 238px;
}
.modal__form-terms {
  font-size: 12px;
  line-height: 1.46;
  font-weight: 500;
  text-align: center;
  max-width: 240px;
  margin: 0 auto;
  color: var(--color-primary-dark);
}
.modal__form-terms-link {
  color: var(--color-primary-dark);
  text-underline-offset: 2px;
}/*# sourceMappingURL=main.css.map */