* {
    margin: 0;
    padding: 0;
    font-family: "Montserrat", sans-serif;
    color: black;
    text-decoration: none;
}
body {
    margin-top: 115px;
}
.bodyReponse {
    margin-top: 135px;
}


  



/* loading */
/* Add animation to "page content" */
.animate-bottom {
    position: relative;
    -webkit-animation-name: animatebottom;
    -webkit-animation-duration: 1s;
    animation-name: animatebottom;
    animation-duration: 1s
}
  @-webkit-keyframes animatebottom {
    from { bottom:-100px; opacity:0 } 
    to { bottom:0px; opacity:1 }
  }
  @keyframes animatebottom { 
    from{ bottom:-100px; opacity:0 } 
    to{ bottom:0; opacity:1 }
  }

#myDiv {
    display: none;
    /* text-align: center; */
}



.cs-loader {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}
.cs-loader-inner {
    transform: translateY(-50%);
    top: 50%;
    position: absolute;
    width: calc(100% - 50px);
    color: #FFF;
    padding: 0 20px;
    text-align: center;
}
  .cs-loader-inner img {
    opacity: 0;
  }
  
  @keyframes lol {
    0% {
      opacity: 0;
      transform: translateX(-300px);
    }
    33% {
      opacity: 1;
      transform: translateX(0px);
    }
    66% {
      opacity: 1;
      transform: translateX(0px);
    }
    100% {
      opacity: 0;
      transform: translateX(300px);
    }
  }
  @-webkit-keyframes lol {
    0% {
      opacity: 0;
      -webkit-transform: translateX(-300px);
    }
    33% {
      opacity: 1;
      -webkit-transform: translateX(0px);
    }
    66% {
      opacity: 1;
      -webkit-transform: translateX(0px);
    }
    100% {
      opacity: 0;
      -webkit-transform: translateX(300px);
    }
  }
  
  .cs-loader-inner img:nth-child(6) {
    -webkit-animation: lol 3s infinite ease-in-out;
    animation: lol 3s infinite ease-in-out;
  }
  .cs-loader-inner img:nth-child(5) {
    -webkit-animation: lol 3s 100ms infinite ease-in-out;
    animation: lol 3s 100ms infinite ease-in-out;
  }
  .cs-loader-inner img:nth-child(4) {
    -webkit-animation: lol 3s 200ms infinite ease-in-out;
    animation: lol 3s 200ms infinite ease-in-out;
  }
  .cs-loader-inner img:nth-child(3) {
    -webkit-animation: lol 3s 300ms infinite ease-in-out;
    animation: lol 3s 300ms infinite ease-in-out;
  }
  .cs-loader-inner img:nth-child(2) {
    -webkit-animation: lol 3s 400ms infinite ease-in-out;
    animation: lol 3s 400ms infinite ease-in-out;
  }
  .cs-loader-inner img:nth-child(1) {
    -webkit-animation: lol 3s 500ms infinite ease-in-out;
    animation: lol 3s 500ms infinite ease-in-out;
  }







/* en-tete */
header {
    background-color: darkseagreen;
    padding: 10px;
    margin-bottom: 18px;
    position: fixed;
    top: 0;
    width: 100%;
}
h1 {
    font-family: "Delius Unicase", cursive;
}
#entete {
    display: flex;
    align-items: center;
    justify-content: center;
}
#entete a {
    text-decoration: none;
}
h2, form label {
    font-family: "Delius Unicase", cursive;
    margin: 0px 0 5px 0px;
}
h3 {
    font-family: "Delius Unicase", cursive;

}
h4, #slogan {
    font-family: "Patrick Hand SC", cursive;
    font-style: italic;
    font-size: 21px;
}



/* navigation */
.sideNav {
    height: 100%;
    width: 100%;
    position: fixed;
    z-index: 5;
    top: 0;
    left: -481px;
    background-color: darkseagreen;
    padding-top: 60px;
    transition: left 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94)
}
.sideNav ul li {
    list-style: none;
    margin: 20px;
}
.sideNav ul li a {
    padding: 2px 0 2px 2px;
    margin: 22px;
}
.sideNav a {
    text-decoration: none;
    font-family: "Patrick Hand SC", cursive;
    font-size: 23px;
    /* display: block; */
    padding: 8px 8px 8px 22px;
    transition: 0.3s;
}
.sideNav ul li a:hover {
    border-top: 2px dashed;
    font-size: 24px;
    transition: border-bottom 0.2s,
        font-size 0.2s;
}
/* class active pour l'icon burger  */
.sideNav.active {
    left: 0;
    z-index: 5;
}
/* class active navigation */
.sideNav ul li a:active, .activeLien {
    border-bottom: 2px dashed;
    font-size: 24px;
}
/* Close Btn */
.sideNav .close {
    position: absolute;
    top: 0;
    left: 0px;
    font-size: 36px;
}
nav img {
    width: 30px;
    position: fixed;
    top: 21px;
    left: 15px;
}




/* section */
section, aside {
    margin: 0 10px 20px 10px;
}
.contenu {
    box-shadow: 0px 0px 3px 0.5px darkseagreen;
    border-radius: 10px;
    padding: 8px 6px 6px 6px;
    margin: 20px;
}
.contenu a {
    border: 1.5px solid darkseagreen;
    padding: 5px;
    margin: 11px 3px 4px;
    border-radius: 7px;
    text-decoration: none;
    background-color: rgb(205, 248, 205);
}
.boutonAccueil {
    display: flex;
    justify-content: flex-end;
}
.boutonAccueil a {
    background-color: rgb(216, 255, 216);
}
.boutonAccueil a:hover {
    box-shadow: 0px 0px 3px 0.5px darkseagreen;
    font-size: 20px; 
}


/* listing */
/* section */
#flecheRetour {
    width: 35px;
    transform: rotate(180deg);
    margin: -22px 0 5px 6px;
}
.listing {
    box-shadow: 0px 0px 3px 0.5px darkseagreen;
    border-radius: 10px;
    padding: 8px 6px 5px 6px;
    margin: 15px 33px 33px
}
.sectionListing figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 25px 50px;
}
.sectionListing figure img, .imagePlante {
    width: 180px;
    height: 120px;
    object-fit: cover;
}
.sectionListing figcaption {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 5px 15px;
}
.planteMois {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 15px;
}
.titrePlante {
    font-family: "Patrick Hand SC", cursive;
    font-style: italic;
    font-size: 24px;
    display: block;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
}





/* form section */
form {
    display: flex;
    flex-direction: column;
    margin: 20px 20px 30px 20px;
}
form label {
    cursor: pointer;
    text-align: center;
    display: block;
    font-size: 1.5em;
    margin-block-end: 0.83em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
}
#recherche {
    width: 100%;
    height: 30px;
    border: 1.5px solid darkseagreen;
    border-radius: 7px;
    margin-top: 4px;
}
#input {
    display: flex;
    flex-direction: column;
    align-items: center;
}
#rep_search {
    width: 100%;
}
#input span {
    margin-right: 10px;
}
.bouton {
    width: 100%;
    text-wrap: balance;
    height: 100%;
    padding: 5px;
    border: 1.5px solid darkseagreen;
    border-radius: 7px;
    background-color: rgb(205, 248, 205);
    font-size: 18px;
    transition: font-size 0.15s;
    cursor: pointer;
    margin-top: 15px;
}
.bouton:hover {
    box-shadow: 0px 0px 3px 0.5px darkseagreen;
    background-color: rgb(216, 255, 216);
    font-size: 20px;
}



/* reponse formulaire */
#titreReponse {
    text-align: center;
    margin: 0 15px;
    margin-bottom: 12px;
}
#formReponse {
    font-size: 33px;
    font-style: italic;
    font-family: "Patrick Hand SC", cursive;
    border-bottom: 3px solid darkseagreen;
    margin-bottom: 10px;
    padding-bottom: 5px;
}
.pictoReponse {
    text-decoration: none;
    position: relative;
    top: -26px;
}
#newSearch {
    width: 30px;
    position: relative;
    top: -8px;
    left: 15px;   
}


/* aside */
.sousPlanteMois {
    display: grid;
	grid-template-columns: 45% 55%;
    grid-template-rows: repeat(3, 1fr);
    gap: 10px;
}
aside img {
    grid-column: 1;
    grid-row: 1 / 4;
    width: 150px;
    border-radius: 25px;
    transition: width 0.5s;
}
.lieu {
    grid-column: 2;
    grid-row: 1 / 2;
}
.fleur {
    grid-column: 2;
    grid-row: 2 / 3;
}
.effet {
    grid-column: 2;
    grid-row: 3 / 4;
}






/* admin */
#sectionAdmin {
    display: flex;
    flex-direction: column;
    align-items: center;
}
#sectionAdmin > div {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.divAdmin, .lienGestion {
    text-align: center;
    width: 180px;
    text-wrap: balance;
    height: 100%;
    padding: 5px;
    margin: 10px;
    border: 1.5px solid darkseagreen;
    border-radius: 7px;
    background-color: rgb(205, 248, 205);
    transition: font-size 0.15s;
    cursor: pointer;
}
.divAdmin:hover, .lienGestion:hover {
    box-shadow: 0px 0px 3px 0.5px darkseagreen;
    background-color: rgb(216, 255, 216);
}



/* table1 */
/* Gestion */
.bodyGestion {
    margin-top: 6px;
}


.enteteTab tr td {
    font-family: "Patrick Hand SC", cursive;
    font-size: 20px;
    font-weight: bold;
}
tbody tr:nth-child(odd) {
    background-color: rgb(216, 255, 216);
}
tbody tr:hover {
    background-color: darkseagreen;
}
tbody tr a {
    cursor: pointer;
}
tbody tr a:hover {
    color: white;
}


.sectionGestion {
    display: block;
}
.titreGestion {
    text-align: center;
    margin:20px;
}
.inputGestion {
    width: 100%;
    height: 30px;
    border: 1.5px solid darkseagreen;
    border-radius: 7px;
}
.selectGestion {
    margin-bottom: 20px;
}
.labelGestion {
    font-size: 16px;
    margin-block-end: 0;
    text-align: start;
}
.bouton.boutonGestion {
    margin: 0 auto;
    width: 300px;
}
.textareaGestion {
    border: 1.5px solid darkseagreen;
    border-radius: 7px;
}







/* pied de page */
footer {
    background-color: darkseagreen;
    padding: 20px 10px;
    
}
footer ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }
footer ul li {
    list-style: none;
    margin: 0 10px;
}
footer p {
    font-family: "Patrick Hand SC", cursive;
}










/*------$Version Tablette-----*/
@media screen and (min-width: 481px) {
    body {
        margin-top: 185px;
    }
    .bodyReponse {
        margin-top: 205px;
    }
    .sideNav ul {
        background-color: darkseagreen;
        position: relative;
        left: -10px;
    }



    
    main {
        width: 85%;
        margin: 0 auto;
    }


/* entete */
    /* header */
    #entete {
        justify-content: flex-start;
    }
    #banner {
        margin-left: 38%;
    }


    /* navigation */
    .sideNav {
        height: 45px;
        width: 100%;
        position: relative;
        z-index: 0;
        top: 0;
        left: 0px;
        background-color: none;
        padding-top: 0px;
    }
    .sideNav ul {
        display: flex;
        justify-content: space-around;
        flex-wrap: wrap;
        padding-bottom: 10px;
    }
    .sideNav ul li {
        list-style: none;
        margin: 10px 0 0 0;
    }
    .sideNav a {
        padding: 5px;
        margin: 5px;
    }
    
    /* Close Btn */
    .sideNav .close {
        opacity: 0;
        position: absolute;
        top: 0;
        left: 0px;
        font-size: 36px;
    }
    nav img {
        opacity: 0;
        position: fixed;
        left: -15px;
    }





    section {
        display: flex;
        align-items: baseline;
        justify-content: space-evenly;
    }
    .contenu {
        width: 40%;
    }



    #flecheRetour {
        margin: -7px 0 5px 6px;
    }


    /* section */
    /* form_recherche */
    #sectionForm {
        display: block;
    }
    #input {
        flex-direction: row;
        align-items: baseline;
    }
    #recherche {
        margin-right: 15px;
    }
    .bouton {
        margin: 15px 0 0 15px;
    }


    /* listing */
    .sectionListing {
        display: block;
    }
    #vignettes {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .sectionListing figure {
        flex-basis: 27%;
        margin: 15px;
    }



    /* reponse formulaire */
    .pictoReponse {
        top: -20px;
    }

    /* aside */
    #recolteMois {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .planteMois {
        flex-basis: 30%;
    }
    .sousPlanteMois {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    aside img:hover {
        width: 200px;
        border-radius: 20px;
    }




    /* Admin */
    #sectionAdmin > div {
        flex-direction: row;
    }




}








    
/*------$Version ordinateur-----*/
@media screen and (min-width: 646px) {
    body {
        margin-top: 145px;
    }
    .bodyReponse {
        margin-top: 170px;
    }
    .sideNav ul {
        background-color: none;
        padding-bottom: 0px;
    }



}