html,
body {
  background-color: #FFE6E1;
  background-attachment: fixed;
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  font-family: "Kavivanar", cursive;
}

*,
html {
  scroll-behavior: smooth;
}

/*MOBILE*/
/*header*/
header {
  height: 250px;
  width: 100%;
  background-image: url(/images/piaf.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: end;
}
 

.btn.active {
  color: #4d1813;
  text-shadow: #fafafa 2px 2px 2px;
  font-size: 30px;
}


#titrep {
  font-size: 25px;
  text-align: center;
  margin-left: 130px;
  padding-top: 2px;
  margin-bottom: 25px;
  color: #3e3230;
}

/* Menu Toggle */

.menu-toggle {
  cursor: pointer;
  font-size: 40px;
  color: #3e3230;
  padding-right: 5px;
  padding-bottom: 30px;
  z-index: 2;
 }


#menu-checkbox {
  display: none;
}

/* Styles du menu */

nav {
  top: 100px;
  left: 0;
  width: 100%;
  height: 0;
  overflow: hidden;
  transition: height 0.6s ease-in-out;
  z-index: 1;
}


.menu-toggle #menu-checkbox:checked~nav {
  height: 400px;

}

nav ul {
  background: linear-gradient(0deg, #a6817a 0%, #e3c6bf 100%);
  opacity: 90%;
  border-radius: 2%;
  box-shadow: 0px 0px 20px 10px #beacac;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  padding-right: 17px;
  padding-left:17px;
}

nav ul li {
  list-style-type: none;
}

nav ul li a {
  text-decoration: none;
  color: #3e3230;
  font-size: 30px;
}

/*footer*/

footer {
  height: 60px;
  background-image: url(/images/piaf.jpg);
  background-position: center bottom;
  background-repeat: no-repeat;
  padding: 10px;
  font-size: 13px;
  text-align: center;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  transition: all 0.2s ease-in-out;
  color: #352927;
}

.go-top {
  bottom: 20px;
  right: 20px;
  text-align: center;
  display: flex;
  align-items: center;
  cursor: pointer;
  justify-content: center;
  text-decoration: none;
  color: rgb(214, 214, 229);
  font-size: 40px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  transition: all 0.1s ease-in-out;
}

.go-top:hover {
  color: rgba(1, 0, 55, 0.647);
  transform: translateY(-10px);
}


/*Main*/
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}



.btnr {
  margin-top: 40px;
  margin-bottom: 40px;
  width: 100px;
  padding: 5px;
  padding-left: 10px;
  padding-right: 10px;
  border: none;
  background: linear-gradient(0deg, #cfb5af 0%, #ffe5e0 100%);
  opacity: 70%;
  border-radius: 5%;
  box-shadow: 0px 0px 20px 10px #e0d4d4;
  position: relative;
  text-decoration: none;
  color: #302624;
}

.btnr:hover {
  color: #3e3230;
  background: transparent;
  box-shadow: none;
}

.btnr:before,
.btnr:after {
  content: '';
  position: absolute;
  top: 0px;
  right: 0;
  height: 2px;
  width: 0;
  background: #7d6a6a;
  box-shadow:
    -1px -1px 5px 0px #fff,
    7px 7px 20px 0px #0003,
    4px 4px 5px 0px #0002;
  transition: 400ms ease all;
}

.btnr:after {
  right: inherit;
  top: inherit;
  left: 0;
  bottom: 0px;
}

.btnr:hover:before,
.btnr:hover:after {
  width: 100%;
  transition: 800ms ease all;
}

a.btnr {
  text-decoration: none;
  color: #2a130e;
  text-align: center;
  font-size: 20px;
}

.aj {
  padding-left: 50px;
  padding-right: 90px;
  white-space: nowrap;
  margin-top: 20px;
  margin-bottom: 20px;
  margin-left: 50px; 
}
.ao{
    padding-left: 20px;
  padding-right: 120px;
  white-space: nowrap;
  margin-top: 20px;
  margin-bottom: 20px;
  color: #2a130e;
}

.aa{
  padding-left: 10px;
  padding-right: 130px;
  white-space: nowrap;
  margin-top: 20px;
  margin-bottom: 20px;
}

.an{
  padding-left: 20px;
  padding-right: 90px;
  white-space: nowrap;
  margin-top: 20px;
  margin-bottom: 20px;
  color: #2a130e;
  ;
}


.btne{
  color: #2a130e;
  font-size: 25px ;
  margin-top: 40px;
  margin-bottom: 40px;
  padding: 5px;
  padding-left: 15px;
  padding-right: 15px;
  border: none;
  background: linear-gradient(0deg, #cfb5af 0%, #ffe5e0 100%);
  opacity: 70%;
  border-radius: 5%;
  box-shadow: 0px 0px 20px 10px #e0d4d4;
}

.btne:hover {
  color: #725a55;
   background: linear-gradient(0deg, #ffe5e0 0%, #cfb5af 100%);
  box-shadow: 0px 0px 50px 10px #e0d4d4;
}


.txt{
  font-size: 20px;
  text-align: justify;
  margin-top: 20px;
  color: #2a130e;
  margin-left: 30px;
  margin-right: 30px;

}

.oiac {
  width:300px;
  border-radius: 105px;
  margin-bottom: 20px;
  box-shadow: 0px 0px 30px 5px #a28989;
}

.ois {
  width:300px;
  margin-bottom: 20px;
  margin-top: 20px;
  box-shadow: 0px 0px 40px 5px #c0abab;
}
#rech {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#form {
  width: 70%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  background: linear-gradient(0deg, #cfb5af 0%, #ffe5e0 100%);
  opacity: 70%;
  box-shadow: 0px 0px 30px 5px #c9b3b3;
  text-decoration: none;
  color: #2a130e;
}

#btnrech {
  margin-top: 20px;
  margin-bottom: 20px;
  width: 190px;
  padding: 5px;
  border: none;
  background-color: #f9f3f1;
  opacity: 70%;
  border-radius: 5%;
  box-shadow: 0px 0px 20px 10px #a69797;
  position: relative;
  text-decoration: none;
  color: #0a0200;
  text-decoration: none;
  text-align: center;
  font-size: 20px;
  font-family: "Kavivanar", cursive;
  ;
}

#btnrech:hover {
  color: #0c0403;
  background: transparent;
  box-shadow: none;
}

#btnrech:before,
#btnrech:after {
  content: '';
  position: absolute;
  top: 0px;
  right: 0;
  height: 2px;
  width: 0;
  background: #4e3f3f;
  box-shadow:
    -1px -1px 5px 0px #fff,
    7px 7px 20px 0px #0003,
    4px 4px 5px 0px #0002;
  transition: 400ms ease all;
}

#btnrech:after {
  right: inherit;
  top: inherit;
  left: 0;
  bottom: 0px;
}

#btnrech:hover:before,
#btnrech:hover:after {
  width: 100%;
  transition: 800ms ease all;
}

.catalogue {
    display: grid;
    margin-left: 40px;
    margin-right: 40px;
  grid-column-gap: 0px;
  grid-row-gap: 15px;
  grid-template-columns: 1fr;
  /* Colonne dynamique */
  grid-auto-rows: auto;
  /* Les lignes s'ajustent automatiquement en fonction du contenu */
}


h3{
  font-size: 25px;
  text-align: center;
  }

.image{
  width: 200px;
  height: 250px;
  margin-left: 70px;
    margin-right: 60px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0px 0px 20px 5px #a28b8b;
  transition: transform 0.5s ease; /* Transition douce pour l'effet de transformation */
}
.image:hover {
  transform: scale(1.2);
  transition: transform 0.3s;
}
.btnf {
  width: 100px;
  padding: 5px;
 text-decoration: none;
 color: #080302;
}

    .btnf:hover {
     padding: 10px;
    border: none;
     background: linear-gradient(0deg, #cfb5af 0%, #ffe5e0 100%);
     border-radius: 5%;
     box-shadow: 0px 0px 15px 10px #e0d4d4; 
     position: relative;
    }
    

 .ge{
  padding: 40px;
  padding-left: 5px;
 padding-right: 5px;
 }
.tableau {
width: 100%;
  border-collapse: collapse;
  color: #593c37;
}
.tabph{
  display: flex;
  justify-content: center;
 }      
 td{
  text-align: center;
 }

.form{
  display: flex;
  align-items: center;
  flex-direction: column;
text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
  color: #2a130e;
  font-size: 24px;

}

h1 {
  font-size: 30px;
  text-align: center;
  margin-top: 20px;
  color: #2a130e;
}
input{
  font-size: 20px;
  margin: 25px;
}

select{
  font-size: 16px;
  margin:10px ;
  margin-left: 15px;
  margin-right: 15px;
  margin-bottom: 15px;
}

.titretab{  
  text-align: center;
  margin-top: 20px;
  color: #010000;

}

@media screen and (min-width: 576px) {

  /*header*/
  #menu-checkbox {
    display: none;
    /* Masquer le bouton de menu sur les écrans plus larges */
  }

  #icon {
    display: none;
    /* Masquer le bouton de menu sur les écrans plus larges */
  }

  header {
    height: 250px;
    width: 100%;
    background-image: url(/images/piaf.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
  }

  #titrep {
    font-size: 35px;
    margin-top: 15px;
    margin-bottom: 20px;
    color: #3e3230;
    padding-right: 200px;
  }
  .titretab{  
    font-size: 23px;
    text-align: center;
    margin-top: 20px;
    color: #2a130e;
  
  }
  .txt{
    font-size: 25px;
    text-align: justify;
    margin-top: 30px;
    color: #2a130e;
    margin-left: 150px;
    margin-right: 150px;
  }
  .oiac {
    width:350px;
    border-radius: 125px;
    margin-bottom: 20px;
    transition: all 0.3s ease-in-out;
  }

  .oiac:hover {
    transform: scale(1.1);
    transition: transform 0.3s;

  }
  nav {
    width: 100%;
    height: 150px;
    display: flex;
    justify-content: end;
  }

  nav ul {
    list-style-type: none;
    flex-direction: row;
    margin-right: 120px;
    display: flex;
    flex-direction: row;
    background: none;
    box-shadow: none;

  }

  .menu-toggle {
    padding-top: 0;
    margin-top: 0;
  }

  nav ul li {
    padding-left: 30px;

  }

  nav ul li a {
    text-decoration: none;
    padding: 20px;
    font-size: 25px;
    color: #3e3230;
  }

  .btn {
    width: 130px;
    height: 40px;
    padding: 10px;
    padding-left: 30px;
    padding-right: 30px;
    border: none;
    background: linear-gradient(0deg, #cfb5af 0%, #ffe5e0 100%);
    opacity: 80%;
    border-radius: 5%;
    box-shadow: 0px 0px 20px 10px #e0d4d4;
    position: relative;
  }

  .btne{
    font-size: 32px ;

  }


  .btn:hover {
  color: #2a130e;
    background: transparent;
    box-shadow: none;
  }

  .btn:before,
  .btn:after {
    content: '';
    position: absolute;
    top: 0px;
    right: 0;
    height: 2px;
    width: 0;
    background: #7d6a6a;
    box-shadow:
      -1px -1px 5px 0px #fff,
      7px 7px 20px 0px #0003,
      4px 4px 5px 0px #0002;
    transition: 400ms ease all;
  }

  .btn:after {
    right: inherit;
    top: inherit;
    left: 0;
    bottom: 0px;
  }

  .btn:hover:before,
  .btn:hover:after {
    width: 100%;
    transition: 800ms ease all;
  }

h2 {
  font-size: 30px;
  
}
  /*footer*/

  footer {
    height: 60px;
    background-image: url(/images/piaf.jpg);
    background-position: center bottom;
    /* Positionne l'image pour voir le bas */
    background-repeat: no-repeat;
    /* Empêche l'image de se répéter */
    padding: 10px;
    font-size: 20px;
    text-align: center;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    transition: all 0.2s ease-in-out;
  }

  .go-top {
    bottom: 20px;
    right: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    cursor: pointer;
    justify-content: center;
    text-decoration: none;
    color: rgb(113, 114, 153);
    font-size: 50px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    transition: all 0.1s ease-in-out;

  }

  .go-top:hover {
    color: rgba(1, 0, 55, 0.647);
    transform: translateY(-10px);
  }


  /*Main*/
  main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .catalogue {
    display: grid;
    width: 90%;
    grid-column-gap: 20px;
    grid-row-gap: 70px;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: auto;
    /* Les lignes s'ajustent automatiquement en fonction du contenu */
  }

  h3{
    font-size: 30px;
    }

.catatxt{
  font-size: 18px;
  margin-top: 20px;
  color: #2a130e;
  }
a.btnr{  font-size: 30px;
}
    .image{
      z-index: 2;
      width: 300px;
      height: 350px;
       object-fit: cover;
      border-radius: 10px;
      box-shadow: 0px 0px 20px 5px #a28b8b;
      transition: transform 0.5s ease; /* Transition douce pour l'effet de transformation */
    }

    .image:hover {
      transform: scale(2.2);
      transition: transform 0.3s;
    }
    .btnf {
      width: 100px;
      padding: 5px;
     text-decoration: none;
     color: #2a130e;
    }
    
    .btnf:hover {
     padding: 10px;
    border: none;
     background: linear-gradient(0deg, #cfb5af 0%, #ffe5e0 100%);
     border-radius: 5%;
     box-shadow: 0px 0px 15px 10px #e0d4d4; 
     position: relative;
    }
    
    .tableau {
            width: 65%;
            margin-top: 20px;
        color: #593c37;
        font-size: 25px;
      }
     .tabph{
      display: flex;
      justify-content: center;
     }      
     td{
      text-align: center;
     }
.titretab{
  font-size: 35px;
}
     .form{
      width: 80%;
      text-align: center;
      display: grid;
      align-items: center;
      grid-template-columns: repeat(4, 1fr);
      grid-template-rows: auto;
 margin-top: 20px;
        margin-bottom: 20px;
       color: #2a130e;
        font-size: 22px;
      
      }
      
      input{
        font-size: 20px;
        margin: 30px;
        padding: 10px;
      }
      select{
        font-size: 20px;
      }

      h1{
        font-size: 45px;
      }

.aj {
  font-size: 45px;
  padding-left: 40px;
  padding-right: 160px;
  white-space: nowrap;
  margin-top: 20px;
  margin-bottom: 20px;
  margin-left: 50px; 
}
.ao{
  font-size: 55px;
  padding-left: 20px;
  padding-right: 230px;
  white-space: nowrap;
  margin-top: 20px;
  margin-bottom: 20px;
  color: #2a130e;
}

.aa{
  font-size: 45px;
  padding-left: 20px;
  padding-right: 240px;
  white-space: nowrap;
  margin-top: 20px;
  margin-bottom: 20px;
}
.ois {
  width:500px;
  margin-bottom: 20px;
  margin-top: 20px;
  box-shadow: 0px 0px 40px 5px #c0abab;
}
}

