@font-face {
    font-family: 'Boucherie Block';
    src: url('./fonts/Boucherie Block.ttf') format('embedded-opentype'), /* Internet Explorer */
         url('./fonts/Boucherie Block.ttf') format('woff2'),             /* Super Modern Browsers */
         url('./fonts/Boucherie Block.ttf') format('woff'),              /* Pretty Modern Browsers */
         url('./fonts/Boucherie Block.ttf') format('truetype'),          /* Safari, Android, iOS */
         url('./fonts/Boucherie Block.ttf') format('svg');               /* Legacy iOS */
}

@font-face {
    font-family: 'Boucherie Block Bold';
    src: url('./fonts/Boucherie Block Bold.ttf') format('embedded-opentype'), /* Internet Explorer */
         url('./fonts/Boucherie Block Bold.ttf') format('woff2'),             /* Super Modern Browsers */
         url('./fonts/Boucherie Block Bold.ttf') format('woff'),              /* Pretty Modern Browsers */
         url('./fonts/Boucherie Block Bold.ttf') format('truetype'),          /* Safari, Android, iOS */
         url('./fonts/Boucherie Block Bold.ttf') format('svg');               /* Legacy iOS */
}

:root {
    --brick: #8C0808;
    --almond: #FCF1D8;
    --pink: #f9cdca;
    --wine: #582e33;
  }

body{
    min-height: 100vh;
    background-color: var(--almond);
}

*{
    scroll-behavior: smooth;
}

h1{
    color: var(--brick);
    font-size: 60px;
    font-family: "Boucherie Block";
    line-height: 80px;
}

h2{
    color: var(--brick);
    font-size: 50px;
    font-family: "Boucherie Block";
    line-height: 50px;
    margin: 50px 0;
}

h3{
    color: var(--almond);
    font-size: 40px;
    font-family: "Boucherie Block";
    line-height: 50px;
    margin: 50px 0;
    font-weight: 300;
}

strong{
    color: var(--brick);
}

i{
    font-style: italic;
    color: var(--brick);
    font-weight: 200;
}

p{
    font-family: 'Montserrat';
    margin: 10px 0;
    display: block;
    width: 100%;
    line-height: 20px;
}

section{
    width: 100%;
    position: relative;
    margin: 100px 0;
}

@media only screen and (max-width: 750px) {
    h1{
        font-size: 40px;
        line-height: 50px;
    }
}

header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 5;
}

header ul{
    display: flex;
    justify-content: space-around;
}

.menu_item{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 19%;
    background-color: var(--brick);
    height: 130px;
    transition: all 0.2s ease-in-out;
}

.menu_item:hover{
    background-color: var(--almond);
}

.menu_item a{
    color: var(--almond);
    font-family: "Boucherie Block";
    font-size: 30px;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s ease-in-out;
}

.menu_item a:hover{
    color: var(--brick);
}

.menu_main_item{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--brick);
    width: 24%;
    height: 190px;
    text-align: center;
    transition: all 0.3s ease-in-out;
}

.menu_main_item.retracted{
    height: 130px;
}

.menu_main_item.retracted a{
    font-size: 45px;
}

.menu_main_item:hover a {
    font-size: 60px;
}

.menu_main_item a{
    line-height: 60px;
    color: var(--almond);
    font-size: 65px;
    font-family: "Boucherie Block";
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease-in-out;
}

/*
Style responsive menu
*/


.menu_burger_toggle {
    display: none;
    width: 30px;
    height: 30px;
    cursor: pointer;
    transform: scaleX(-1);
    position: fixed;
    z-index: 999;
    top: 10px;
    right: 10px;
  }
  
  .menu_burger_toggle line {
    stroke: var(--wine);
    stroke-dasharray: 100%;
    stroke-dashoffset: 0%;
    transition: transform 0.3s, stroke-dashoffset .4s;
    transform-origin: center;
    stroke-width: 3px;
  }
  
  .menu_burger_toggle .top {
    transform: translateY(-35%);
    -webkit-transform: translateY(-35%);
    -moz-transform: translateY(35%);
    -ms-transform: translateY(35%);
    -o-transform: translateY(35%);
  }
  
  .menu_burger_toggle .middle {
    transform: scaleX(1);
    -webkit-transform: scaleX(1);
    -moz-transform: scaleX(1);
    -ms-transform: scaleX(1);
    -o-transform: scaleX(1);
    transition: opacity .3s, transform .3s;
    -webkit-transition: opacity .3s, transform .3s;
    -moz-transition: opacity .3s, transform .3s;
    -ms-transition: opacity .3s, transform .3s;
    -o-transition: opacity .3s, transform .3s;
  
  }
  
  .menu_burger_toggle .bottom {
    transform: translateY(33%);
    -webkit-transform: translateY(33%);
    -moz-transform: translateY(33%);
    -ms-transform: translateY(33%);
    -o-transform: translateY(33%);
    stroke-dasharray: 100%;
    stroke-dashoffset: 9px;
  }
  .menu_burger_toggle:hover .bottom {
    stroke-dashoffset: 0%;
  }
  /*** Mode Croix ***/
  body.menu-open .menu_burger_toggle .top {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    stroke-linecap: round;
  }
  
  body.menu-open .menu_burger_toggle .middle {
    transform: scaleX(0.1);
    -webkit-transform: scaleX(0.1);
    -moz-transform: scaleX(0.1);
    -ms-transform: scaleX(0.1);
    -o-transform: scaleX(0.1);
    opacity: 0;
  }
  
  body.menu-open .menu_burger_toggle line.bottom {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    stroke-linecap: round;
  }
  
  body.menu-open .menu_burger_toggle .bottom {
    stroke-dashoffset: 0%;
  }
  @media only screen and (max-width: 1100px) {
    .menu_main_item a{
        font-size: 48px;
    }
    .menu_main_item:hover a{
        font-size: 50px;
    }
  }
@media only screen and (max-width: 750px) {
    .menu_burger_toggle{
        display: block;
    }
    header {
        display: none;
    }
    .menu-open  header {
        display: block;
        height: 100vh;
    }

    header ul{
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100vh;
    }
    .menu_main_item {
        width: 100%;
    }
    .menu_item{
        height: auto;
        flex: 1 1 auto;
        width: 100%;
    }
}

.banner img{
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    max-height: 100vh;
    height: 100vh;
}

section.banner{
    margin: 0;
}

.banner::after{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--almond);
    transition: all 2s ease-in-out 1s;
    content: '';
    opacity: 0;
}

.banner.loaded::after{
    opacity: 0.5;
}

.banner h1{
    position: absolute;
    top: calc(50% + 80px);
    transform: translateY(-50%);
    padding-left: 5%;
    padding-right: 5%;
    font-family: "Montserrat";
    font-weight: 900;
    color:var(--wine);
    text-transform: uppercase;
    font-style: italic;
    z-index: 3;
}

@media only screen and (max-width: 750px) {
    .banner{
        margin-top: 0;
    }
    .banner img{
        max-height: 100vh;
        height: auto;
        width: 100%;
        aspect-ratio: 16/9;
        min-height: 300px;

    }
    .banner h1{
        text-align: center;
        margin-left: 50%;
        transform: translate(-50%, -50%);
        padding: 0;
        width: 95%;
        top: 50%;
    }
}

.concept_presentation{
    margin: 100px 0;
    text-align: center;
    font-family: "Montserrat";
    font-size: 18px;
    line-height: 25px;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.concept_presentation p{
    padding: 0 30px;
    max-width: 1100px;
}

.products{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.products p {
    text-align: end;
}

.product_gallery{
    width: 90%;
    max-width: 1600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.product_grid{
    margin: 20px 0;
    display: grid;
    grid-template-columns: repeat(17, 1fr);
    grid-template-rows: repeat(7, 50px);
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    width: 100%;
}

.product_grid img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.div1 { grid-area: 1 / 14 / 3 / 18; }
.div2 { grid-area: 3 / 14 / 8 / 18; }
.div3 { grid-area: 5 / 11 / 8 / 14; }
.div4 { grid-area: 1 / 11 / 5 / 14; }
.div5 { grid-area: 1 / 8 / 8 / 11; }
.div6 { grid-area: 1 / 1 / 8 / 4; }
.div7 { grid-area: 5 / 4 / 8 / 5; }
.div8 { grid-area: 5 / 5 / 8 / 8; }
.div9 { grid-area: 1 / 4 / 5 / 8; }

@media only screen and (max-width: 1400px) {
    .product_grid{
        grid-template-rows: repeat(7, 35px);
    }
}

@media only screen and (max-width: 1000px) {
    .product_grid{
        display: flex;
        flex-direction: column;
    }
}

@media only screen and (max-width: 750px) {
    .concept_presentation p{
        padding: 0;
    }
}


.product_grid div{
    height: 100%;
    width: 100%;
}

.find_us{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.find_us_content{
    width: 90%;
    max-width: 1600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.find_us_content img{
    width: 40%;
    padding: 20px;
    max-width: 400px;
}

.find_us_text{
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    height: 100%;
    padding: 0 0 0 20px;
}

.find_us_text p{
    display: flex;
    align-items: center;
}

.jumpin_pin img{
    width: 15px !important;
    padding: 0;
    margin-right: 10px;
    -webkit-animation: bounce .4s ease infinite alternate;
}

@-webkit-keyframes bounce {
    0% {
       
    }
    100% {
      transform:translateY(-10px);
    }
  }

@media only screen and (max-width: 750px) {
    .find_us_content{
        flex-direction: column;
    }
    .find_us_content img{
        width: 100%;
        padding: 0;
        max-width: none;
        object-fit: cover;
    }
}

.funder{
    display: flex;
    align-items: center;
    justify-content: center;
}

.funder_container{
    width: 90%;
    max-width: 1600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.funder img{
    width: 40%;
    padding: 20px;
    max-width: 400px;
}

.funder_text{
    display: flex;
    flex-direction: column;
    padding: 0 20px 0 0;
}

.funder_text h2{
    text-align: right;
}

.funder_text p{
    text-align: right;
}


@media only screen and (max-width: 750px) {
    .funder_container{
        flex-direction: column-reverse;
    }
    .funder_text{
        padding: 0;
    }
    .funder img{
        width: 100%;
        padding: 0;
        max-width: none;
        object-fit: cover;
    }
}

footer{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: var(--brick);
    padding: 50px 0;
}

footer i a {
    font-family: 'Montserrat';
    font-weight: 15px;
    margin-top: 30px;
    display: block;
}

.footer_container{
    width: 90%;
    max-width: 1600px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.footer_container>div{
    flex: 1 1 0 ;
}

.contact{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.contact p{
    text-align: right;
    color: var(--almond);
}

.contact p a{
    text-align: right;
    color: var(--almond);
}

.logos {
    display: flex;
    align-items: center;
    justify-content: center;
}
.logos img{
    max-height: 240px;
}

.networks_icons{
    display: flex;
}

.networks_icons img{
    width: 50px;
    margin: 10px;
    transition: all 0.3s ease-in-out;
}

.networks_icons img:hover{
    transform: scale(1.1);
}

@media only screen and (max-width: 1100px) {
    .footer_container{
        flex-direction: column;
    }
    .contact{
        align-items: center;
    }
    .contact p {
        text-align: center;
    }
    .contact p a{
        text-align: center;
    }
}

.mentions{
    display: flex;
    justify-content: center;
    align-items: center;
}
.mentions_container{
    width: 90%;
    max-width: 1600px;
}

.mentions_container h1{
    text-align: center;
}

.mentions_container h2{
    color: black;
    font-size: 30px;
    margin-bottom: 10px;
}

#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--brick);
    padding: 10px;
    text-align: center;
    z-index: 800;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#cookie-banner p{
    font-size: 15px;
    line-height: 15px;
    max-width: 80%;
    color: white;
    font-family: 'Montserrat';
}
#cookie-banner button {
    outline: none;
    border: none;
    border-radius: 3px;
    margin: 5px;
    padding: 5px 10px;
    background: var(--almond);
    font-size: 15px;
    font-family: "Boucherie Block";
    cursor: pointer;
    color: var(--brick);
}

#cookies-change-choice{
    position: fixed;
    bottom: 30px;
    left: 30px;
    cursor: pointer;
    z-index: 999;
}