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

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

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

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

:root {
    --color-brand: #809b57;
    --color-brand-light: #cfbcbc;
    --color-brand-dark: #465929;
    --color-light: #FAF4EA;
    --color-dark: #31261A;
    --color-chef-outline: #A18268;
}

* {
    box-sizing: border-box;
}

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

h1, h2, h3 {
    margin-top: 0;
}

address {
    font-style: normal;
}

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

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

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

header {
    background-color: #31261A;
}

.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;
    flex-grow: 1;
    gap: 64px;
    justify-content: center;
}


.section{
    padding: 48px 0;
}

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

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

/* link */
.link {
    color: var(--color-light);
    text-decoration: none;
}

.link:hover {
    color: var(--color-brand);
    text-decoration: none;
    /* font-weight: 600; */
}

/* main header */
.hero-section {
    padding: 272px 0;
    background-image: url(../imgs/hero-background.jpg);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    background-attachment: fixed;
}

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

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

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

.accent-upp {
    color: var(--color-brand);
    text-transform: uppercase;
    font-weight: 600;
}

.advantages-section {
    background-color: var(--color-brand);
    padding: 16px 0;
}

/* advantages */
.advantages-list {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}
.advantages-item {
    color: var(--color-light);
    font-size: 20px;
    font-weight: 300;
}

.traditions {
    padding-top: 96px;
}

.traditions-text {
    max-width: 710;
}

.traditions-text:nth-child(3) {
    max-width: 340;
}

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

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

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

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

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

}

/* chef section */
.chef-title {
    font-size: 40px;
    font-weight: 600;
}

.chef-title-h2 {
    margin: 0 auto 80px;
    max-width: 538px;
}

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

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

.chef-img {
    border-radius: 4px 4px 4px 200px;
    box-shadow: -16px 16px 0 0 var(--color-light), -16px 16px 0 2px var(--color-chef-outline);
}

/* format section */
.format-card-text {
    font-size: 14px;
    font: 300;
}

.format-card {
    height: 444px;
border: 1px solid lightgray;
border-radius: 16px;
padding: 24px;
background: linear-gradient(180deg,
            rgba(49, 38, 26, 0) 55%,
            rgba(49, 38, 26, 0.71) 73%,
            var(--color-dark) 100%);
}

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

.format-card-li {
    flex-basis: calc((100% - 40px) / 3);
}

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

.format-section {
    margin-bottom: 80px;
}

.contact-section {
    margin-bottom: 16px;
}

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

.address-link:hover {
    color: var(--color-brand);
    text-decoration: underline;
}

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

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