*{
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html {
    scroll-behavior: smooth;
}

body, div, ul, li, a, h1, h2, h3, h4, h5, p{
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: var(--dark-color);
}

li {
    list-style-type: none;
}

.h3 {
    text-align: center;
    font-size: 40px;
    font-weight: 200;
    text-transform: uppercase;
    color: var(--dark-color);
}

body{
    --white-color: #fff;
    --bg-color: #fffaf0;
    --light-color: #e9c268;
    --dark-color: #531909;
    background-color: var(--bg-color);
    font-family: Montserrat;
    color: var(--text-color);
    font-size: 25px;
}

.button {
    padding: 10px 25px;
    background-color: var(--dark-color);
    color: var(--bg-color);
    border: 2px solid;
    transition: background-color 0.35s, color 0.35s;
    border-radius: 16px;
    font-size: 0.8rem;
}

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

/*  HEADER SECTION  */

.header__container {
    background-color: var(--dark-color);
    position: sticky;
    top: 0;
    box-shadow: 0 0 7px #000;
    z-index: 10;
    font-family: Montserrat;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    color: var(--light-color);
    max-width: 1600px;
    margin: auto;
}

.logo__container {
    max-width: 80px;
}

.logo {
    max-width: 100%;
    height: auto;
}

.checkbox {
    display: none;
}

.content__container {
    display: none;
    background-color: var(--dark-color);
}

.close__menu-button {
    display: none;
}

.open__menu-button, .close__menu-button {
    width: 35px;
    cursor: pointer;
    filter: brightness(0) saturate(100%) invert(90%) sepia(69%) saturate(630%) hue-rotate(317deg) brightness(94%) contrast(94%);
}

.checkbox:checked ~ .checkbox__label .open__menu-button {
    display:none;
}

.checkbox:checked ~ .checkbox__label .close__menu-button {
    display:block;
}

.checkbox:checked ~ .content__container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: absolute;
    top: 105.75px;
    left: 0;
    background-color: var(--bg-color);
    width: 100dvw;
    height: fit-content;
    padding: 60px 0;
    justify-content: start;
    align-items: center;
    z-index: 10;
    box-shadow: 0 0 10px #0007;
}

    

.nav__list-item {
    list-style-type: none;
    cursor: pointer;
    text-align: center;
    position: relative;
}

.nav__list-item, .nav__list-item a {
    color: var(--dark-color);
}

.nav__list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    font-size: 1rem;
    text-align: center;
}

.header__button {
    z-index: 1;
}

.nav__link:hover {
    text-decoration: underline;
}

@media only screen and (min-width: 810px) {
    .open__menu-button, .close__menu-button {
        display: none;
    }

    .content__container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px;
        font-size: 20px;
        gap: 100px;
    }

    .nav__list-item, .nav__list-item a {
    color: var(--light-color);
    }

    .nav__list {
        flex-direction: row;
        gap: 30px;
    }

    .header__button {
        color: var(--dark-color);
        background-color: var(--light-color);
    }

    .header__button:hover {
        color: var(--light-color);
        background-color: var(--dark-color);
    }
}

@media only screen and (min-width: 800px) and (max-width: 930px) {
    .content__container {
        font-size: 16px;
        gap: 80px;
        align-items: center;
    }
}

/*  TITLE SECTION  */

h1 {
    margin: 50px;
    text-align: center;
    color: var(--dark-color);
    font-size: clamp(2.3rem, 4vw, 4rem);
}

.title {
    margin: 10px auto;
    gap: 10px;
    max-width: 900px;
}

.title__title {
    font-size: clamp(2rem, 2vw, 3rem);
    color: var(--dark-color);
    max-width: 1000px;
    padding-left: 60px;
    font-weight: 200;
    font-family: Montserrat;
}

/*  FLANES SECTION  */

.flanes {
    max-width: 800px;
    margin: auto;
    font-family: Montserrat;
}

.flanes__grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, auto);
    justify-content: center;
    align-items: center;
    overflow: hidden;
    gap: 50px;
    padding: 30px 40px;
}

.circular {
    object-position: 0 30%;
}


.flan__size img {
    width: 23px;
    height: auto;
    filter: brightness(0) saturate(100%) invert(13%) sepia(14%) saturate(6810%) hue-rotate(347deg) brightness(97%) contrast(100%);
}


.flan__size {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    font-size: 1.3rem;
    gap: 10px;
    color: var(--dark-color);
}

.flan__size h2, .flan__size h3 {
    font-size: clamp(1.3rem, 3vw, 2rem);
}

.flanes__name-prise {
    display: flex;
    justify-content: space-between;
    padding: 15px 20px;
    padding-bottom: 10px;
    font-size: clamp(1.2rem, 2vw, 1.4rem);
    color: var(--dark-color);
}

/* Slideshow container */
.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
    width: 100%;
}

/* Hide the images by default */
.mySlides {
    display: none;
}

/* Next & previous buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 2.3rem;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

/* Number text (1/3 etc) */
.numbertext {
    color: #000;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}


.flavour__img-container {
    width: 100%;
    height: 300px;
}

.flavour__img {
    width: 100%;
    height: 100%;
    border-radius: 2rem;
    object-fit: cover;
}

.flavour__content {
    scale: 1;
    transition: scale 0.3s;
    overflow: hidden;
    transition: scale 0.4s;
    border: 3px solid var(--white-color);
    padding: 15px;
    border-radius: 2rem;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.216);
    background-color: var(--white-color);
    max-width: 500px;
    width: 100%;
    margin: auto;
}

.flavour__content:hover {
    scale: 1.05;
}




@media screen and (max-width: 768px) {
    .flanes__grid-container {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        grid-auto-flow: row;
        gap: 30px;
    }
    .item-img {
        height: 250px;
    }
    .flavour__img-container {
        height: 250px;
    }
}

@media screen and (min-width: 426px) and (max-width: 768px) {
    .flanes__grid-container {
        gap: 50px;
        padding: 30px 30px;
    }
    .item-img {
        height: 600px;
    }
    .flavour__img-container {
        height: 300px;
    }
}


/*  FOOTER SECTION  */

.footer {
    background-color: var(--dark-color);
}

.footer-container {
    max-width: 1500px;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    gap: 30px;
    color: var(--light-color);
}

.container-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.footer__img-container {
    width: 200px;
    height: auto;
}

.footer__img-container img {
    width: 100%;
}

.footer__nav-container, .footer__contact-social-container, .contact-footer, .footer__contact-social {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.footer__contact-social-container {
    gap: 40px;
}

.social__icons-list {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.footer__nav-title {
    font-size: 1.5rem;
}

.footer__nav-list {
    text-align: center;
}

.footer_nav-item {
    padding-top: 10px;
    font-size: 1.2rem;
}

.footer-phone, 
.footer_nav-item a {
    color: var(--bg-color);
    transition: color 0.3s;
}

.footer_nav-item a:hover, .footer-phone:hover {
    color: var(--light-color);
}

.icon__item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.2rem;
}

.footer-icons {
    width: 25px;
    height: auto;
    filter: brightness(0) saturate(100%) invert(100%) sepia(49%) saturate(1551%) hue-rotate(303deg) brightness(104%) contrast(108%);
}

@media screen and (min-width: 500px) {
    .footer-container {
        flex-direction: row;
    }
    .container-container {
        flex-direction: row;
        align-items: start;
    }
}