@font-face {
    font-display: swap;
    font-family: 'Poppins';
    font-weight: 300;
    src: url('../fonts/poppins-v24-latin-300.woff2') format('woff2'),
        url('../fonts/poppins-v24-latin-300.woff') format('woff');
}

@font-face {
    font-display: swap;
    font-family: 'Poppins';
    font-weight: 400;
    src: url('../fonts/poppins-v24-latin-regular.woff2') format('woff2'),
        url('../fonts/poppins-v24-latin-regular.woff') format('woff');
}

@font-face {
    font-display: swap;
    font-family: 'Poppins';
    font-weight: 600;
    src: url('../fonts/poppins-v24-latin-600.woff2') format('woff2'),
        url('../fonts/poppins-v24-latin-600.woff') format('woff');
}

@font-face {
    font-display: swap;
    font-family: 'Poppins';
    font-weight: 900;
    src: url('../fonts/poppins-v24-latin-900.woff2') format('woff2'),
        url('../fonts/poppins-v24-latin-900.woff') format('woff');
}

:root {
    --color-primary-dark: #31261a;
    --color-brand-dark: #465929;
    --color-brand-normal: #67813e;
    --color-primary-light: #faf4ea;
    --color-brand-light: #cfcfbc;
    --color-secendary-dark: #A18268;
}

* {
    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-top: 0;
}

address {
    font-style: normal;
}

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

.header-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.header-nav {
    display: flex;
    align-items: center;
    flex-grow: 1;
    gap: 40px;
}

.header-menu {
    display: flex;
    gap: 64px;
    flex-grow: 1;
    justify-content: center;
}

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

.section {
    margin: 96px 0;
}

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

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

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

.link {
    color: var(--color-primary-light);
    text-decoration: none;
    font-weight: 600;
}



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

.hero-section {
    padding: 272px 0;
    background-image: url(../img/hero-section-background.jpg);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
}

.hero-title {
    color: var(--color-primary-light);
    text-align: center;
    font-weight: 900;
    font-size: 128px;
    margin-bottom: 0;
}

h1 .accent {
    color: rgba(129, 155, 87, 0.6);
}

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

.advantages-section {
    background-color: var(--color-brand-normal)
}

.advantages-list {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

/*.advantages-list li {
    color: var(--color-primary-light);
    font-weight: bold;
    margin-bottom: 8px;
}*/

.advantages-item {
    padding: 16px 0;
    color: var(--color-primary-light);
    font-size: 20px;
    font-weight: 300;
}

.traditions-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.traditions-content {
    max-width: 710px;
    margin-right: 100px;
}

.traditions-title {
    margin-bottom: 42px;
}

.chefs-list {
    display: flex;
    gap: 30px;
}

.chef-item {
    flex-basis: calc((100% - 30px) / 2);
}

.chef-card {
    display: flex;
    gap: 30px;
}

.chefs-title {
    max-width: 620px;
    margin: 0 auto 80px;
}

.chef-photos {
    border-radius: 4px 4px 4px 200px;
    box-shadow: -15px 15px 0 0px var(--color-primary-light), -16px 16px 0 2px var(--color-secendary-dark);
}

.chefs-title::before,
.chefs-title::after {
    display: block;
    width: 352px;
    border: 2px solid var(--color-brand-light);
    content: '';
}

.chef-title {
    margin-bottom: 16px;
    font-size: 40px;
    font-weight: 600;
}

.contact-section {
    padding-bottom: 96px;
}

.contacts-title {
    margin-bottom: 16px;
}

.contact-container {
    display: flex;
    gap: 32px;
}

.contact-map {
    flex-shrink: 0;
    border: none;
    border-radius: 16px;
}

.traditions-text .brand {
    color: var(--color-brand-normal);
    font-weight: 600;
}

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

.traditions-text.limited {
    max-width: 340px;
    margin-bottom: 0;
}

.traditions-text.limited:last-child {
    margin-bottom: 18px;
}

.section-title {
    font-size: 64px;
    font-weight: 900;
    line-height: 1.3;
}

.section-title.centered {
    text-align: center;
}

.section-title .accent {
    color: var(--color-brand-dark);
}

.formats-container {
    display: flex;
    gap: 32px;
    align-items: center;
}

.formats-list {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.formats-item {
    flex-basis: calc((100% - 40px) / 3);
}

.formats-title {
    margin-bottom: 80px;
}

.format-card {
    height: 444px;
    padding: 24px;
    /* background-image: url(../img/walrus_format.jpg); */
    border: 1px solid lightgrey;
    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%);
    /* box-shadow: 2px 6px 4px 4px violet; */
}

.format-title {
    font-size: 24px;
    font-weight: 600;
}

.format-text {
    font-size: 14px;
    font-weight: 300;
}

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


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

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

.address-icon:hover {
    fill: var(--color-brand-dark);
}

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

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

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

.footer {
    background-color: var(--color-primary-dark);
    background-image: url(../img/footer-section-background.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/*.section-title {
    color: #31261a;
}*/