/* defaults */

@font-face { 
    font-family: "Suisse";
    font-weight: 800;
    font-style: normal;
    color: black;
    src: url("../fonts/SuisseEDUIntl-Book.woff") format("woff"),
      url("../fonts/SuisseEDUIntl-Book.woff2") format("woff2");
  }

 
   
body {
    font-family: "Suisse";
    margin: 0;
    padding: 0;
    height: 100%;
    font-size: 100%;
    font-size: 0.97em;
    color: rgb(202, 158, 100);
    /* overflow-x: hidden; */
}
html{

    margin: 0;
    padding: 0;
    height: 100%;
    font-size: 100%;
    font-size: 0.97em;
    color: rgb(202, 158, 100);

}


body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}


a { 
    color: rgb(172, 172, 172);
    outline: none;
    text-decoration: none;
     
}

.newlink {
    color: rgb(202, 158, 100);
}


a:hover { 
    color: rgb(202, 158, 100);
    text-decoration: none;
     
}

section {
    margin-top:-3%;
    position: relative;
    width: 100%;
    height: 30%;
    display: flex;
    overflow: hidden;

}


section div h2 {
    position: absolute;
    white-space: nowrap;
    line-height: 0;
    animation: animate 20s linear infinite;
    font-size: 13em;  
}

span {
    color: rgb(202, 158, 100);

}


h3 {
font-size: 8em;
line-height: 1em;
margin-bottom: 0%;
text-align: center;


}
mark{
    background-color: white;
    color: rgb(202, 158, 100);
    font-size: 0.9em;
}

@keyframes animate
{
    0%
    {
            transform: translateX(0);

    }
    100%
    {
            transform: translateX(-50%);
    }

}



/* index */

  
.video-container {
    display: grid;
    grid-template-columns: 50vw 50vw;
    grid-template-rows: 1fr;
    padding: 0px;
    overflow: hidden;

  }

.video1 {
    width: 100%;
    grid-column-start: 1;
    grid-row-start: 1;
    position: center;
}

.video2{
    width: 100%;
    grid-column-start: 2;
    grid-row-start: 1;
    position: center;
}

/* Histoire du Pain */
.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr;
    gap: 16px 16px;
    text-align: justify;
    margin: 2%;
}


.imagehover img {
    width: 18%;
    position: absolute;
    z-index: 1;
    opacity: 0.93;
    visibility: hidden;
    transform: translateX(-10%)  translateY(-40%); 
    pointer-events:none;
    z-index: 4;
  }


a:hover.imagehover:link {  
    color: rgb(202, 158, 100);
} 

img.visible {
    visibility: visible;
  }

  

.container {
    display: grid;
    grid-template-columns: 33.33vw 33.33vw 33.33vw;
    grid-template-rows: 20vh 20vh 20vh 20vh 20vh;
    gap: 20px 20px;
    margin-left: 30px;

}


.bas {
    object-fit: cover;
    height: 100%;
    transition: height 1s;
}

img:hover {
    height: 180%;
}

.item1 {
   
    z-index: 3;

}

.item2 {
   
    z-index: 3;

}

.item3 {
   
    z-index: 2;

}

.item4 {
   
    z-index: 2;

}

.item5 {
   
    z-index: 2;

}

/* 
.item1 {
    grid-column-start: 1;
    grid-row-start: 1;
    justify-self: center;
}

.item2 {
    grid-column-start: 3;
    grid-row-start: 1;
    justify-self: center;
    z-index: 3;

}

.item3 {
    grid-column-start: 3;
    grid-row-start: 1;
    grid-row-end: 3;
    justify-self: center;
    z-index: 2;

}

.item4 {
    grid-column-start: 3;
    grid-row-end: 3;
    grid-row-start: 3;
    justify-self: center;
    z-index: 2;


}

.item5 {
    grid-column-start: 3;
    grid-row-start: 3;
    grid-row-end: 3;
    justify-self: center;
    z-index: 1;


}

.item6 {
    grid-column-start: 3;
    grid-row-start: 4;
    justify-self: center;
}

.item7 {
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start:1;
    justify-self: center;
    z-index: 2;

}

.item8 {
    grid-column-start: 2;
    grid-row-start: 4;
    justify-self: center;
} */

h5 {
margin-top: 0%;
font-size: 1em;
color: rgb(202, 158, 100);

}

h4 {
    font-size: 1em;
    margin-left: 3%;
    margin-top: 1%;
}


.hidden {
    display:none;
}

/* Page2 */

.container2 {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: 100%;
    perspective: 100vw;
}

.layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: transform 1.8s ease-in-out;
  }
  .layer-99 {
    transform: translate3d(0, 0, 0);
  }
  .layer-1 {
    transform: translate3d(100%, 0, 0);
    background-image: rgb(209, 209, 209);
  }
  .layer-2 {
    transform: translate3d(-100%, -100%, 0);
        background-image: rgb(209, 209, 209);


  }
  .layer-3 {
    transform: translate3d(100%, 0, 0);
        background-image: rgb(209, 209, 209);

  }
  .layer-4 {
    transform: translate3d(100%, 0, 0);
    background-image: rgb(209, 209, 209);
  }

  .layer-5 {
    transform: translate3d(100%, 0, 0);
    background-image: rgb(209, 209, 209);
  }

  .layer-6 {
    transform: translate3d(100%, 0, 0);
    background-image: rgb(209, 209, 209);
  }
  
  .layer-7 {
    transform: translate3d(100%, 0, 0);
    background-image: rgb(209, 209, 209);
  }

  .layer-8 {
    transform: translate3d(100%, 0, 0);
    background-image: rgb(209, 209, 209);
  }

  .layer-9 {
    transform: translate3d(100%, 0, 0);
    background-image: rgb(209, 209, 209);
  }

  .layer-10 {
    transform: translate3d(-100%, -100%, 0);
    background-image: rgb(209, 209, 209);
  }

  


  .switch-1 .layer-1 {
    transform: translate3d(0, 0, 0);
  }
  .switch-1 .layer-99 {
    transform: translate3d(0, 0, 0);
    transform: translate3d(100%, 0, 0);

  }



  .switch-2 .layer-2 {
    transform: translate3d(0, 0, 0);
  }
  .switch-2 .layer-1 {
    transform: translate3d(100%, 0, 0);

  }

  .switch-3 .layer-3 {
    transform: translate3d(0, 0, 0);
  }
  .switch-3 .layer-2 {
    transform: translate3d(100%, 0, 0);

  }

  
 .switch-4 .layer-4 {
     transform: translate3d(0, 0, 0);
}
.switch-4 .layer-3 {
    transform: translate3d(100%, 0, 0);
 }


 .switch-5 .layer-5 {
    transform: translate3d(0, 0, 0)  scale(1);
}

.switch-5 .layer-4 {
    transform: translate3d(100%, 0, 0);
 }


 .switch-6 .layer-6 {
    transform: translate3d(0, 0, 0)  scale(1);
}
.switch-6 .layer-5 {
    transform: translate3d(100%, 0, 0);
 }

 .switch-7 .layer-7 {
    transform: translate3d(0, 0, 0)  scale(1);
}
.switch-7 .layer-6 {
    transform: translate3d(100%, 0, 0);
 }

 .switch-8 .layer-8 {
    transform: translate3d(0, 0, 0)  scale(1);
}
.switch-8 .layer-7 {
    transform: translate3d(100%, 0, 0);
 }


 .switch-9 .layer-9 {
    transform: translate3d(0, 0, 0)  scale(1);
}
.switch-9 .layer-8 {
    transform: translate3d(100%, 0, 0);
 }
 
 .switch-10 .layer-10 {
    transform: translate3d(0, 0, 0)  scale(1);
}
.switch-10 .layer-9 {
    transform: translate3d(-100%, 100%, 0);
 }
 







 
.wrapper{
    max-width: 400px;
    background: green;
    height: 40px;
    text-align: right;
}

.marquee {
    background: red;
    white-space: nowrap;
    -webkit-animation-: rightThenLeft 4s linear;
}

.rond {
    height: 4vw;
    width: 4vw;
    position: fixed;
    top:55%;
    left: 45%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    border-radius: 100%;
    transition: box-shadow 0.5s ease-in-out;
    cursor: e-resize;
}
.rond2 {
    height: 4vw;
    width: 4vw;
    position: fixed;
    top: 0%;
    left: 45%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    border-radius: 100%;
    transition: box-shadow 0.5s ease-in-out;
    cursor: e-resize;
}


.paragrapheRond {
    font-size: 8em;
    position: absolute;
    top: 20vh;
    color: rgb(202, 158, 100);


}
.paragrapheRond:hover {
    color: rgb(172, 172, 172);
}


.paragrapheRond2 {
    font-size: 8em;
    position: absolute;
    top: 75vh;
    color: rgb(202, 158, 100);


}

 .texte1 {
    margin-top: -12%;
    color: rgb(172, 172, 172);
    text-align: center;
    line-height: 7em;
    margin-left: 0%;
}

.texte2 {
    margin-top: -10%;
    color: rgb(172, 172, 172);
    text-align: center;
    line-height: 7em;
    margin-left: 0%;

}
 
.texte3 {
    margin-top: -15%;
    line-height: 7em;
    text-align: center;


}

.texte4 {
    margin-top: -3%;
    font-size: 8em;
    color: rgb(172, 172, 172);
    text-align: center;
    line-height: 0;
}

.texte5 {
margin-left: 50%;
}

.texte6 {
    margin-top: -3%;
    font-size: 7.5em;
    color: rgb(172, 172, 172);
    text-align: center;
    line-height: 0;
}

.levain:hover, .farine:hover, .eau:hover, .miel:hover{
    color: rgb(202, 158, 100);
}

h6 {
    font-size: 8em;
    color: rgb(172, 172, 172)
} 


h6:hover {
    color: rgb(202, 158, 100);
} 

h7 {
    color: rgb(202, 158, 100);

}

#compte_a_rebours{
    font-size: 13em;
    margin-left: 20%;
    margin-top: 10%;
}



.gallery {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr;
    gap: 2px 2px;
}

.gallery img {
    position: relative;
    width: 110%;
    height: 80%;
    object-fit: fill;
}


#ingredient img:hover {
    animation: shake 0.5s;
    animation-iteration-count: infinite;
}

.video3{
    width: 50%;
    position: center;
    margin-left: 50%;
    margin-top: -30%;
}

image p.caption{
    position: absolute;
}


.recette {
    margin-left: 1%;
}

/* compteur */


  .button:hover {
    color: rgb(172, 172, 172)
  }
  .button p {
    color: rgb(202, 158, 100);
    font-size: 8em;
    position: absolute;
    top: 80%;
    left: 50%;
    margin: 0;
    transform: translate3d(-50%, -50%, 0);
  }

  .counter {
    font-size: 8em;
    color: rgb(202, 158, 100);
    text-align: center;
    margin-top: -12%;
  }
 
 

  .fin img {
    max-width: 30%;
    height: auto;
}
.fin  {
    text-align: center;
}



 @media screen and (max-width: 1200px){
    html {
        font-size: .80em;
    }
    }

@media screen and (max-width: 800px){
    html {
        font-size: .65em;
    }
    }  



@media screen and (max-width: 800px){
    .grid-container {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
        gap: 10px 10px;
        text-align: justify;
        margin: 5%;
    }
}



@media screen and (max-width: 740px){
    .grid-container {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
        gap: 10px 10px;
        text-align: justify;
        margin: 5%;
    }
}



    @media screen and (max-width: 1411px){
    .container {
        display:block;
    }

    

    .sizeimg {
    text-align: center;
    margin-left: 60px;
    margin-right: 60px;
    margin-bottom: 60px;


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





    @media screen and (max-width: 800px){
        .texte4 {
            font-size: 5em;
            line-height: 1em;

    }
}



@media screen and (max-width: 917px){
    .texte4 {
        font-size: 6em;
        line-height: 0.2em;

}
}


@media screen and (max-width: 979px){
    .texte4 {
        font-size: 6em;
        line-height: 0.2em;

}
}


@media screen and (max-width: 997px){
    .texte4 {
        font-size: 6em;
        line-height: 0.2em;

}
}



@media screen and (max-width: 1209px){
    .texte4 {
        font-size: 6em;
        line-height: 0.2em;

}
}


@media screen and (max-width: 500px){
    .texte4 {
        font-size: 5em;
        line-height: 1em;

}
}

@media screen and (max-width: 542px){
    .texte4 {
        font-size: 5em;
        line-height: 1em;

}
}

@media screen and (max-width: 596px){
    .texte4 {
        font-size: 5em;
        line-height: 0.2em;

}
}
 
@media screen and (max-width: 485px){
    .texte4 {
        font-size: 5em;
        line-height: 1em;

}
}


    @media screen and (max-width: 800px){
        .texte3 {
            font-size: 0.6em;
            line-height: 8em;

    }
}


    @media screen and (max-width: 880px){
    .paragrapheRond  {
        margin-top: 800%;

}


}


@media screen and (max-width: 800px){
    .texte1 {
        font-size: 0.6em;
        line-height: 8em;

}
}


@media screen and (max-width: 800px){
    .texte2 {
        font-size: 0.6em;
        line-height: 8em;

}
}


@media screen and (max-width: 800px){
    .counter {
        font-size: 5em;
        line-height: 8em;

}

}

@media screen and (max-width: 1299px){
    .texte6{
        font-size: 7em;
        line-height: 0.1em;

}
}


@media screen and (max-width: 1335px){
    .texte6{
        font-size: 6em;
        line-height: 0.1em;

}

}


@media screen and (max-width: 877px){
    .texte6{
        font-size: 5em;
        line-height: 0.1em;

}

}



@media screen and (max-width: 899px){
    .texte6{
        font-size: 5em;
        line-height: 0.1em;

}

}


@media screen and (max-width: 605px){
    .texte6{
        font-size: 4em;
        line-height: 0.1em;

}

}


@media screen and (max-width: 475px){
    .texte6{
        font-size: 3.5em;
        line-height: 0.1em;

}

}

@media screen and (max-width: 423px){
    .texte6{
        font-size: 3em;
        line-height: 0.1em;

}


@media screen and (max-width: 365px){
    .texte6{
        font-size: 2.5em;
        line-height: 0.2em;

}

}


}


@media screen and (max-width: 1299px){
    .paragrapheRond{
        font-size: 6em;
        line-height: 0.1em;

}

}


@media screen and (max-width: 861px){
    .paragrapheRond{
        margin-top: 5%;

}

}


@media screen and (max-width: 376px){
    .paragrapheRond{
        margin-top: 900%;
        margin-left: -180%;

}

}

    }



@media screen and (max-width: 414px){
    .paragrapheRond{
        margin-top: 1000%;
        margin-left: -180%;

}

}


@media screen and (max-width: 414px){
    .texte4{
        line-height: 0.8em;
        


}

}



@media screen and (max-width: 501px){
    .texte4{
        line-height: 0.8em;

}

}


@media screen and (max-width: 320px){
    .paragrapheRond2{
        font-size: 3em;
        line-height: 0.1em;
        margin-top: 700%;

}

}