
* {
  box-sizing: border-box; /* Applique à tous les éléments */
}

html {
  scroll-behavior: smooth;
  height:100%;
  width: 100%;
  overflow-x: hidden;
}

body{
  padding: 0;
  margin: 0;
  width: 100%;
  height:100%;
  color: rgb(0, 0, 0);
  font-size: 1.3vw;
  background-color: rgb(249, 236, 197);
  font-family: quicksand;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Cpath fill='%23050505' fill-opacity='0.4' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'%3E%3C/path%3E%3C/svg%3E");
  background-size: 0.15% 0.25%;
  image-rendering: crisp-edges;
  image-rendering: pixelated;
  overflow-x: hidden;
} 


#nav{
  position: relative;
  height:10vh;
  width: 100%;
  display: flex;
  align-items: center;
  padding-left: 5%;
  padding-top: 2%;
}
.nav_container{
  display: flex;
  gap:3%;
  width: 50%;
  position: relative;
}
.right_nav{
  justify-content: flex-end;
  padding-right: 5%;
  align-items: center;
}
#logo_nav{
  width: 10%;
  height: auto;
  position: absolute;
  left:0%;
}
.left_nav{
  justify-content: flex-start;
  padding-left: 5%;
  align-items: center;
}
.el_nav{
  cursor: pointer;
}
#loca{
  margin-top: 1%;
}
.pain_nav_over{
  width: 80%;
  margin-left: 0%;
  margin-top: 5%;
}



.nav_over{
  height:100svh;
  transform: translateX(250%);
  width: 40%;
  background-color: #5aa032;
  transition: transform 0.5s ease;
  position: absolute;
  z-index: 2;
  padding-top: 2%;
  padding-left: 1%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Cpath fill='%23050505' fill-opacity='0.4' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'%3E%3C/path%3E%3C/svg%3E");
}
svg {
  width: 80%; /* Ajuste la largeur */
  height: auto; /* Garde le ratio */
  margin-left: -7.5%;
  position: absolute;
  top:0;
  z-index: -1;
}
.titre_over1{
  margin-top: 13%;
  margin-left: 7%;
}
.titre_over2{
  margin-left: 9.5%;
}
.to_left{
  transform: translateX(180%)!important;
}
.to_right{
  transform: translateX(250%)!important;
}
#pain_over{
  margin-top: 20%;
  margin-left: 8.3%;
  width: 50%;
  text-align: center;
}
.el_in_pain_over{
  margin-top: 1%;
}
#nav_over_pain{
  background-color: #a0d87f;
}
#nav_over_patti{
  background-color: #144632;
}
#nav_over_farine{
  background-color: #d7eadb;
}
#nav_over_recette{
  background-color: #333730;
}

.login_in_nav{
  position: absolute;
  bottom:1%;
  right: 32%;
  width: 10%;
}















#musique{
  position: fixed;
  bottom:2%;
  right:2%;
  width: 15%;
  text-align: center;
}
#play-music{
  cursor: pointer;
  padding: 3%;
  padding-left: 5%;
  padding-right: 8%;
}


#masthead{
  position: relative;
  padding: 0;
  margin: 0;
  width: 100%;
  height: fit-content;
}

#top_masthead{
  width: 100%;
  height: 100%;
  display: flex;
}
#image_bakc{
  width: 32%;
  height:auto;
  margin-top:2%;
  transform: scaleX(-1);
  margin-left: auto;
}

#titre_container{
  margin-top: 8%;
  margin-left: 20%;
  position: absolute;
  z-index: 1;
  width: 40%;
}
#depuis{
  float: right;
  margin-right: 5%;
  margin-top: 0.5%;
}
#pain_mast{
  position: absolute;
  right: 30%;
  width: 25%;
  top:20%;
  transform: rotate(-90deg);
  z-index:-1;
}

#titre_mast{
  margin: 0;
  padding: 0;
}
.titre_presen{
  margin-top: 1%;
}
#first_titre_presen{
  margin-top: 4%;
}

#diff{
  margin-top: 1%;
}

#container_bio{
  width: 100%;
  height:15%;
  text-align: right;
  padding-right: 5%;
  display: flex;
  flex-direction: column; 
  align-items: flex-end;
  position: absolute;
  bottom: 20%;
}


.bio{
  width: 5%;
  height:auto;
  display: block;
  margin-top: 1%;
}



.baniere_1{
  background-color: #144632;
  width: 100%;
  height:55vh;
  position: relative;
}

.baniere{
  background-color: #144632;
  margin-top: 10%;
  width: 100%;
  position: relative;
}

#line{
  width: 130%;
  height:1px;
  background-color: #272020;
}
#bio_section{
  margin-top: 5%;
  position: relative;
}
#titre_ban_1{
  margin-left: 25%;
  padding-top: 1%;
}


#ban2{
  width: 100%;
  position: relative;
  background-color: #144632;
  margin-top: -4%;
  justify-content: flex-end;
  padding-top: 1%;
  padding-bottom: 3%;
}
#reso{
  position: absolute;
  width: 15%;
  right: 0;
  height:3vh;
  bottom: 4%;
  display: flex;
  gap:5%;
  justify-content: flex-end;
  padding-right: 2%;
}
.reso_icone{
  width: 10%;
  height:auto;
  cursor: pointer;
}

.sections{
  position: relative;
  width: 100%;
  height: 100vh;
  margin-top: 5%;
}
#after_ban1{
  position: relative;
  width: 100%;
  margin-top: 5%;
  height:fit-content;
}

#top_mast{
  width: 100%;
  display: flex;
}
#right_mast{
  position: relative;
  width: 60%;
  margin-left: 5%;
  padding-left: 2%;
}
#left_mast{
  width: 40%;
}


#scrolling{
  width:75%;
  height:80%;
  margin-top: 2%;
  margin-left: 5%;
  overflow: hidden;
  position: relative;
}
#container_baniere_1{
  width: 300%;
  height:100%;
  transition: transform 0.5s ease;
  display: flex;
}
.bans_1{
  width: 33.33%;
  height:100%;
}
#ban_1_1{

}
#ban_1_2{

}
#ban_1_3{

}

.pain_item{
  width: 20%;
}
.item_right{
  margin-left: 5%;
}

.item {
  text-align: center;
  height:18vh;
}
.item_line2{
  margin-top: 8%;
}

#selection{
  margin-left: 25%;
  margin-top: 0%;
}

#pts_ban{
  margin-left: 56.5%;

  bottom: 5%;
}

#logo_banniere{
  position: absolute;
  right: 10%;
  top:15%;
  width: 8%;
  transform: rotate(25deg);
}

#text_under{
  width: 80%;
  margin-top: 2%;
  text-align: left;
}
#last_pain_ban{
  position: absolute;
  width: 20%;
  top:57%;
  left:2%;
  z-index: 1;
}

#msg{
  display: none;
  color:black;
}
#picture_pain{
  position: absolute;
  top:0%;
  left:65%;
  width: 25%;
}
#pain1{
  margin-top: 10%;
  width: 100%;
  transform: rotate(-45deg);
  margin-left: -2%;
}
#titre_pain1{
  position: absolute;
  right: 15%;
  bottom: 35%;
}
#btn_unver{
  margin-top: 4%;
}

#bag_normande{
  margin-top: 10%;
}

#arrow1{
  position: absolute;
  top:55%;
  right: -18%;
  width: 40%;
}

#under_pain{
  margin-top: 10%;
  width: 100%;
  position: absolute;
  right: 10%;
}
#text_under_container{
  width: 100%;
  text-align: right;
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  padding-right: 10%;
  position: relative;
  margin-top: 10%;
}
#text_under2{
  width: 50%;
  margin-top: 1%;
}

#logo{
  position: absolute;
  left:15%;
  top:-5%;
  width: 18%;
}



.section_pain{
  position: relative;
  width: 100%;
  height:fit-content;
  display: flex;
  margin-top: 10%;
}
.pain_right{
  position: relative;
}
.pain_left{
  position: relative;
}
.width_60{
  width: 60%;
}
.width_40{
  width: 40%;
}


.padd_left{
  padding-left: 10%;
}
.padd_right{
  padding-right: 10%;
}
.right{
  text-align: right;
  padding-right: 20%;
}
.left{
  text-align: left;
  padding-left: 20%;
}




#arrow2{
  margin-left:28%;
  width: 90%;
  height:auto;
}


#description{
  position: relative;
  margin-top: 10%;
}

.btn1{
  position: relative;
  margin-top: 3%;
  z-index: 2;
  width: fit-content;
  margin-left: 50%;
  padding-left: 1%!important;
  padding-right: 1%!important;

}


#pains_pain1{
  width: 80%;
}
#conseil1{
  margin-top: 25%;
  margin-left: 22%;
}


#pains_pain2{
  margin-left: 20%;
  width: 80%;
}
#arrow3{
  margin-left: 90%;
  margin-top: -10%;
}



#after_pain{
  margin-top: 15%;
  width: 100%;
}


#baniere1{
  margin-top: 15%;
  background-color: #144632;
  width: 100%;
  height:fit-content;
  position: relative;
  padding-bottom: 3%;
  display: flex;
}
#gato{
  position: absolute;
  margin-top: -9%;
  width: 35%;
  margin-left: 10%;
}

#titre_gato{
  position: relative;
  margin-top:5%;
  z-index:1;
  width: 50%;
  padding-right: 5%;
  padding-left: 5%;
}
#text_gato{
  width: 100%;
  margin-top: 2%;
}
#gato_btn{
  margin-top: 5%;
}
#all_gateau{
  margin-top: 5%;
  width:50%;
  padding: 5%;
  padding-left: 14%;
}



#where_container{
  position: relative;
  width: 100%;
  height:fit-content;
  margin-top: 10%;
}
#where{
  width: 100%;
  height:fit-content;
  background-color: #272020;
  overflow: hidden;
  display: flex;
}
#where_left{
  width:70%;
}
#img_left_where{
  width: 100%;
  height: 100%;
}
#where_right{
  width:30%;
  text-align: center;
  padding-top: 3%;
  position: relative;
}
#where_vente_first {
  margin-top: 10%!important;
}
.where_vente{
  position: relative;
  text-align: center;
  margin-top: 1%;
}
#under_where{
  width: 100%;
  height:10vh;
  background-color: #5aa032;
  position: relative;
  display: flex;
  gap:3%;
  align-items: center;
  justify-content: start;
  padding-left: 3%;
}



#scroll_pts{
  position: relative;
  width: 80%;
  height:80%;
  margin-left: 10%;
  overflow: hidden;
}
#container_pts_vente{
  width: 300%;
  height:100%;
  display: flex;
  transition: transform 0.5s ease;
}
.pts_vente{
  width: 33.33%;
  height:100%;
}





.text_local{
  width: 80%;
  margin-left: 10%;
  margin-top: 5%;
}
.points{
  width: 40%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap:4%;
  position: absolute;
}
#pts_ban_pts_vente{
  margin-left: 30%;
  bottom: 5%;
}
.circle{
  width: 15px;
  height:15px;
  background-color: rgb(255, 255, 255);
  border-radius: 50%; /* Transforme le carré en cercle */
  cursor: pointer;
}
.green{
  background-color: #5aa032;
}



#section_blog{
  position: relative;
  width: 100%;
  display: flex;
  padding-top: 5%;
}
#blog_left{
  width: 60%;
}
#blog_right{
  width: 40%;
  padding-left: 2%;
}
#first_blog_nav{
  margin-top: 1%;
}
.blog_nav{
  cursor: pointer;
}


#blog_div{
  width: 80%;
  height:fit-content;
  overflow: hidden;
}
#container_blog{
  width: 300%;
  height: 100%;
  transition: transform 0.5s ease;
  display: flex;
}
.blogs{
  width: 33.33%;
  height:100%;
}



#image_graine{
  margin-top: 2%;
  width: 80%;
}

#text_blog{
  width: 70%;
  text-align: justify;
  margin-top: 4%;
}
#read_more{
  float: right;
  margin-top: 3%;
  margin-right: 25%;
}
#more_info{
  float: right;
  margin-top: 1%;
}
#container_image_blog{
  width: 60%;
  position: relative;
  height:fit-content;
  text-align: left;
  margin-top: 3%;
}
#blog1{
  width: 35%;
  margin-top: 5%;
  margin-left: 0px;
}
#arrow4{
  position:absolute;
  right: 37%;
  transform: scaleX(-1) rotate(65deg) scaleY(-1);
  width: 30%;
  top:3%;
}
#chri{
  position:absolute;
  right: 4%;
  top:35%;
}
#btn_all_blog{
  float: right;
  margin-right: 35%;
  margin-top: 20%;
}
#circle_article{
  left:35%;
  margin-top: 5%;
}
#bio_footer1{
  position: absolute;
  width: 3%;
  height: auto;
  left:24%;
  margin-top: 6%;
}
#bio_footer2{
  position: absolute;
  width: 3%;
  height: auto;
  left:24%;
  margin-top: 1%;
}






#footer{
  position: relative;
  width: 100%;
  margin-top: 20%;
  background-color: #5aa032;
  padding: 5%;
}

.gato_footer{
  width: 60%;
}
#footer_section{
  position: relative;
  display: flex;
  width: 100%;
  text-align: left;

}
#right_footer{
  padding-top: 3%;
  width: 50%;
  display: flex;
}
#sec1{
  width: 40%;
  margin-top: -15%;
}
 #sec2{
  width: 50%;
  margin-top: -15%;
 }

#left_footer{
  width: 50%;
  display: flex;
  padding-left: 5%;
}
#reservate{
  width: 60%;
  position: absolute;
  top:92%;
  left:20%;
  height:fit-content;
}
.nav_footer{
  cursor: pointer;
}
.titre_footer{
  padding-bottom: 2%;
}
#titre_gooter{

}
#reso_footer{
  margin-top: 25%;
  display: flex;
  gap:5%;
}
.reso_icone_footer{
  width: 8%;
  height:auto;
  cursor: pointer;
}

.first_footer{
  padding-bottom: 2%;
}



@media screen and (max-width: 1366px) {
  body {
    background-size: auto !important; /* Réinitialise la taille */
  }

}

@media screen and (max-width: 800px) {
  body {
    background-size: 4px 1px !important; /* Réinitialise la taille */
  }
}




@media screen and (max-width: 600px) {
  .pain_item{
    width: 28%;
  }
  #scrolling{
    width: 80%;
  }
  #selection, #titre_ban_1{
    margin-left: 5%;
  }
  #selection{
    margin-top: 5%;
    padding-bottom: 2%;
  }
  #logo_banniere{
    width: 10%;
    right: 2%;
  }
  #reso{
    display: none;
  }
  #bio_section{
    margin-top: 15%;
  }
  #pain1, #pains_pain1, #pains_pain2{
    width: 250%;
    margin-top: 30%;
  }
  #pains_pain2{
    margin-left: -120%;
  }
  #pains_pain1{
    position: absolute;
    left: -15%;
  }
  #top_mast, #bio_section{
    height: fit-content;
  }
  #text_under{
    width: 100%;
  }
  #arrow1, #arrow2{
    display: none;
  }
  #titre_pain1, #logo{
    display: none;
  }
  #text_under_container{
    margin-top: 5%;
    padding-left: 8%;
    padding-bottom: 5%;
  }
  #text_under2{
    width: 100%;
    text-align: left;
  }
  #under_logo{
    text-align: left;
  }
  #btn_unver{
    margin-top: 10%;
  }
  #gato{
    width: 60%;
    margin-top: -15%;
  }
  #all_gateau{
    width: 100%;
    padding-left: 0;
    padding:8%;
    margin-top: 15%;
    padding-bottom: 0;
  }
  #titre_gato{
    width: 100%;
    padding-top: 0;
    margin-top: 0;
    padding:8%;
  }

  .padd_left{
    padding-left: 7%;
  }
  #arrow3, #arrow4{
    display: none;
  }

  #where{
    flex-direction: column;
    align-items: flex-start; 
  }
  #where_right, #where_left{
    width: 100%;
    height: fit-content;
  }
  #where_right{
    padding-bottom: 15%;
  }
  .text_local{
    width: 90%;
    margin-left: 5%;
  }
  #pts_ban_pts_vente{
    bottom: 7%;
  }
  #under_where{
    flex-wrap: wrap;
  }
  #section_blog{
    flex-direction: column-reverse;
    height:fit-content;
  }
  #blog_left{
    width: 100%;
    margin: 0;
  }
  #where_container{
    height: fit-content;
    padding-bottom: 8%;
  }
  #text_blog{
    width: 90%;
  }
  #blog1{
    width: 45%;
  }
  #blog_right{
    width: 100%;
    margin: 0;
    margin-top: 0%;
    text-align: center;
    align-self: flex-start;
    padding-bottom: 20%;
  }
  #circle_article, #btn_all_blog{
    left:50%;
    transform: translateX(-50%);
  }
  #btn_all_blog{
    position: absolute;
    margin: 0;
    margin-top: 5%;
  }
  #blog1{
    display:none;
  }
}




