@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;700&display=swap');

html, body {
    font-family: "Nunito", Arial, Helvetica, sans-serif;
    overflow-x: hidden;
    margin: 0px;
    padding: 0px;
}

body{
    background-color: #f3f3f3;
}

html{
    --duration: .7s; 
}

#home{
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}

main{
    width: 100%;
    height: 100%;
    background-color: #f3f3f3;
}

h2{
    color: #718A13;
    font-family: "Nunito", Arial, Helvetica, sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

p{
    color: #926D4A;
    font-family: "Nunito", Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.cardContainer{
    display: flex !important;
    gap: 75px;
    padding-left: 25px;
}

.cardContainer#cartes{
    display: flex !important;
    gap: 25px;
    padding-left: 25px;
}

.cardScroll {
    position: relative;
    z-index: 0;
    scrollbar-width: none;
    width: 100%;
    overflow-x: auto;
    margin-top: 30px;
    margin-bottom: 30px;
}

.cardContainer img {
    max-width: 290px;
    height: auto;
}

#triche{
    color: #f3f3f3;
    width: 50px;
    height: 25px;
}

.jardiniereConnect{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0px 25px 0px 25px;
}

.coinComposte{
    background-image: url(../static/images/fond.png);
    background-size: cover; /* Ajuste l'image à l'écran */
    background-position: center; /* Centre l'image */
    background-repeat: no-repeat; /* Évite la répétition */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 25px 100px 25px;
}

.coinComposte div h2, .coinComposte div p{
    color: #f3f3f3 !important;
}

.detailAffichage{
    padding: 25px 25px 25px 25px;
    background-color: #f3f3f3;
}

.cardScroll{
    padding: 0px 25px 0px 25px;
}

footer {
    width: 100%;
    position: fixed;
    bottom: 0px;
    display: flex;
    justify-content: center;
    position: fixed;
    z-index: 1000;
}

#Apprentissage{
    background-color: #90B012;

}

.video{
    width: 100%;
    height: auto; 
    display: flex;
    flex-direction: column;
    padding: 50px 0px 50px 0px;
}

.video div h2, .video div p{
    color: #f3f3f3;
    padding: 0px 25px 0px 25px;
}

#videoYT{
    padding: 0px 25px 0px 25px;
}

.video iframe{
    width: 100%;
    height: 200px;
    border-radius: 16px;
}

.wiki{
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 0px 0px 50px 0px;
}

.wiki div h2, .wiki div p{
    color: #f3f3f3;
    padding: 0px 25px 0px 25px;
}

.wikiFF{
    display: flex;
    justify-content: center;
    gap: 25px;
}

.aider{
    background-image: url(../static/images/fond.png);
    background-size: cover; /* Ajuste l'image à l'écran */
    background-position: center; /* Centre l'image */
    background-repeat: no-repeat; /* Évite la répétition */
    padding: 50px 25px 100px 25px;
}

.aider div h2{
    color: #f3f3f3;
}

.clubGraine{
    background-image: url(../static/images/fond.png);
    background-size: cover; /* Ajuste l'image à l'écran */
    background-position: center; /* Centre l'image */
    background-repeat: no-repeat; /* Évite la répétition */
    padding: 50px 25px 50px 25px;
}

.clubGraine div h2, .clubGraine div p{
    color: #f3f3f3;
}

.middle{
    display: flex;
    justify-content: center;
    text-align: center;
    gap: 50px;
}

.pousseProm{
    padding: 50px 25px 100px 25px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.espaceTop{
    margin-top: 40px;
}

.scanContainer{
    position: relative; /* Nécessaire pour le ::before */
    background-image: url(../static/images/photoPlante.jpg);
    width: 100%;
    height: 100vh;
    background-position: center; /* Centre l'image */
    background-repeat: no-repeat; /* Évite la répétition */
}

.scanContainer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.scanContainer .scan {
    position: relative;
    z-index: 2;
}

.scan{
    width: 100%;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

#zIndex{
    position: relative;
    z-index: 1000;
}

.boiteIdee{
    background-color: #90B012;
}

#footerBoite{
    background-color: #90B012;
    position: fixed;
    z-index: 1000;
}

.futureJardin{
    padding: 50px 25px 100px 25px;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.futureJardin div h2, .futureJardin div p{
    color: #f3f3f3;
} 

.iconify{
    border-radius: 100px;
    padding: 8px;
    font-size: 40px;
    color: #AE8353;
    background-color: #DBA053;
}

.image-container {
    position: relative;
    display: inline-block; /* Pour que le div s'adapte à l'image */
}

.image-container img {
    display: block; /* Évite les marges blanches autour de l’image */
}

.image-container .add {
    position: absolute;
    cursor: pointer; /* Rend l’icône cliquable */
}

#firstAdd{
    top: 50px;  
    left: -20px; 
}

#secondAdd{
    bottom: 50px;  
    right: -20px; 
}

#thirdAdd{
    top: 120px;  
    right: -20px; 
}

#fourAdd{
    top: 50px;  
    left: -20px; 
}

#fiveAdd{
    bottom: 50px;  
    right: -20px; 
}

#sixAdd{
    top: 120px;  
    right: -20px; 
}

#sevenAdd{
    top: 50px;  
    left: -20px; 
}

#eightAdd{
    bottom: 50px;  
    right: -20px; 
}

#nineAdd{
    top: 120px;  
    right: -20px; 
}

.menuChoix{
    width: 100%;
    height: 25vh;
    position: fixed;
    bottom: 0px;
    z-index: 1;
    display: grid;
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); /* Max 8 par ligne */
    gap: 10px; /* Espacement entre les éléments */
    max-width: 396px; /* Ajuste selon ton besoin */
    padding-bottom: 50px;
    overflow-Y: auto;
}

.menuChoix button{
    width: 125px;
    height: 25px;
    border: solid 0px;
    border-radius: 10px 10px 0px 0px;
    background-color: #DDDDDD; /* Gris clair par défaut */
    color: #B4B4B4; /* Texte gris clair par défaut */
    position: fixed;
    bottom: 262px;
}

/* .mesButtons{
} */

.menuChoix button:nth-child(1){
    position: fixed;
    left: 0px;
}
.menuChoix button:nth-child(2){
    position: fixed;
    left: 125px;
}
.menuChoix button:nth-child(3){
    position: fixed;
    left: 250px;
}
.menuChoix button.active {
    background-color: #f0f0f0; /* Fond blanc */
    color: #718A13; /* Texte vert */
}

#fruitList{
    margin: 0px;
    background-color: #f0f0f0;
    color: #f3f3f3;
    list-style: none !important;
    padding: 10px;
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 8 colonnes max */
    gap: 10px; /* Espacement entre les éléments */
}

.infoCard{
    width: 100%;
    height: auto;
    background-color: #f3f3f3;
    padding-bottom: 50px;
}

/* Cartes infos */
.card {
    background-color: #809C13;
    color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    width: 90%;
    max-width: 300px;
    padding: 20px;
    text-align: left;
}
.card p {
    font-size: 14px;
    margin: 0px 0;
    font-style: italic;
    color: #f3f3f3;
}
.card h3 {
    font-size: 20px;
    font-weight: bold;
    margin: 2px 0;
}
.card img.thumbnail {
    width: 80px;
    height: auto;
    border-radius: 8px;
}
.months-visual {
    margin: 10px 0;
    border-collapse: collapse; 
    width: 100%;
}
.months-visual td {
    width: 30px;
    height: 30px;
    text-align: center;
    vertical-align: middle;
    border: 1px solid white; /* Bordure blanche */
}
.facts-icons {
    background-color: #718A13;
    display: flex;
    justify-content: space-around; /* Espacement des cercles */
    margin-top: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 6px;
}
.fact-text {
    display: flex;
    width: 217px;
    padding: 5px 10px;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    border-radius: 8px;
    background: #F5F5F5;
    box-shadow: 0px 5px 6px 0px rgba(0, 0, 0, 0.20);
}
.fact-text p{
    font-size: 10px;
    color: #9B7653;
    margin: 2px;
    text-align: left;
}
.iconify {
    font-size: 40px; /* Augmenter la taille des icônes */
}

/* Ajout du style pour les icônes dans un cercle avec une couleur de fond */
.thumbnail-container {
    background-color: #DBA053; /* Couleur de fond spécifique */
    border-radius: 50%; /* Rendre la forme circulaire */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px; /* Taille du cercle */
    height: 60px; /* Taille du cercle */
}
.thumbnail-container img,
.thumbnail-container .iconify {
    border-radius: 50%; /* Rendre l'image ou l'icône circulaire */
}

.facts-text-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Aligner le contenu vers le haut */
    align-items: flex-start; /* Aligner à gauche */

}

.containerBot{
    /* display: flex; */
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.botContent{
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 5px;
    padding-right: 5px;
    border-radius: 8px;
    background: #F5F5F5;
    height: 55px;
    box-shadow: 0px 4px 5px 0px rgba(0, 0, 0, 0.20);
}

.infoCardd{
    display: flex;
    align-items: center;
}

.infoCardd p{
    font-size: 10px;
    margin: 5px;
}
.infoCardd .iconify{
    font-size: 15px;
}
/* fin de cartes infos */

.validButton{
    display: flex;
    align-items: center;
    gap: 5px;
    border-radius: 8px;
    border: none;
    background: #809C13;
    padding: 10px 20px 10px 20px;
}

.validButton h2{
    margin: 0px;
    font-weight: 400;
}

.validButton svg{
    color: #f3f3f3;
    width: 35px;
    height: 35px;
}

.menu-container {
    display: none;
    position: fixed;
    top: 50%;
    left: 30%;
    transform: translate(-27%, -55%); /* Centre précisément */
    z-index: 1000; /* Assure qu'il soit au-dessus du reste */
}
#dos{
    position: fixed;
    top: 50%;
    left: 30%;
    transform: translate(-22%, -55%); /* Centre précisément */
}

.menu-filter{
    background-color: #f3f3f3;
    width: 100%;
    height: fit-content;
    padding-bottom: 30px;
    box-shadow: 4px 4px 10px 0px rgba(0, 0, 0, 0.20);
    border-radius: 2cap;
}
.filter-options {
    padding: 30px 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 colonnes égales */
    gap: 10px; /* Espacement entre les boutons */
}

.filter-options input[type="checkbox"] {
    display: none;
}

.filter-options label:has(input:checked) {
    background: #5D710E; /* Couleur verte pour montrer que c'est sélectionné */
}

.filter-options label{
    background-color: #809C13;
    border-style: none;
    color: #f3f3f3;
    border-radius: 10px;
    padding: 10px 20px 10px 20px;
}
.menuTop{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px 10px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.20);
}

.menuTop h2{
    color: #131313;
}

.menuTop svg{
    width: 35px;
    height: 35px;
}

.menuBot{
    padding: 10px 20px 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.validFilter{
    background-color: #0085C4;
    padding: 10px;
    border-radius: 20px;
    color: #f3f3f3;
    border: none;
}

.annulFilter{
    color: #131313;
    padding: 10px;
    border-radius: 20px;
    border: #131313 solid 1px;
}

.search{
    width: 315px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 25px 10px 25px;
}

.search input{
    width: 70%;
    padding: 10px;
    border-radius: 10px 0px 0px 10px;
    border: none;
}

.search button{
    width: 30%;
    background-color: #809C13;
    padding: 10px;
    border-radius: 0px 10px 10px 0px;
    border: none;
    color: #f3f3f3;
}

.cardWiki .thumbnail .iconify{
    border-radius: 0px;
    padding: 0px;
}

.infoCardd .iconify{
    background-color: #f3f3f3;
    padding: 0px;
    border-radius: 0px;
}


#tenAdd{
    top: 70px;  
    right: -20px; 
}
#elevenAdd{
    bottom: 190px;  
    left: -20px; 
}
#twelveAdd{
    top: 150px;  
    right: -20px; 
}
#thirteenAdd{
    bottom: 70px;  
    left: -20px; 
}

#cardScrollPotager{
    margin: 0px !important;
}

.notifsVote{
        position: fixed;
        top: 10px;
        display: flex;
        justify-content: center;
}

.goodNotif{
    display: none;
    width: 60%;
    background-color: #f3f3f3;
    padding: 10px 20px 10px 20px;
    border-radius: 10px;
}

.goodNotif p{
    color: #718A13 !important;
}

.badNotif{
    display: none;
    width: 60%;
    background-color: #f3f3f3;
    padding: 10px 20px 10px 20px;
    border-radius: 10px;
}

.badNotif p{
    color: #926D4A !important;
}

.voteContainer{
    display: none;
    position: fixed;
    width: 70%;
    top: 20%;
    left: 9%;
    padding: 25px;
    border-radius: 20px;
    background-color: #f3f3f3 !important;
    box-shadow: 0px 8px 8px 0px rgba(0, 0, 0, 0.15);
    z-index: 2000;
}

.voteContainer .iconify{
    font-size: 25px !important;
}

.icons-section{
    display: flex !important;
    justify-content: space-between;
    margin-top: 5px;
    margin-left: 10px;
}

.voteContainer #crossIco{
    font-size: 45px !important;
    position: absolute;
    top: -25px;
    right: -25px;
    cursor: pointer;
}

.showButton{
    display: flex;
    align-items: center;
    gap: 5px;
    border-radius: 8px;
    border: none;
    background: #809C13;
    padding: 10px 20px 10px 20px;
}

.showButton h2{
    margin: 0px;
    font-weight: 400;
}

.showButton svg{
    color: #f3f3f3;
    width: 35px;
    height: 35px;
}

.resetVote{
    padding: 10px 20px 10px 20px;
    border-radius: 20px;
    background-color: #DC3131;
    color: #f3f3f3;
    margin-top: 50px;
    border: none;
}

.containerUp form, .containerDel form{
    padding: 0px 30px 100px 30px;
}

.containerUp button, .containerDel button, #fauneForm button, #floreForm button, #fruitsVeggiesForm button{
    background-color: #5a6d0f;
    border-radius: 10px;
    width: 180px;
}

#name, #latin_name, #thumbnail, #fact1_text, #fact2_text, #fact3_text, #conseil_1, #conseil_2, #habitat, #role, #observation{
    width: 318px !important;
}

.intro{
    padding: 20px 30px 20px 30px !important;
}

.containerUp h2, .containerDel h2, .containerDel p{
    padding-left: 30px;
}





/* Début Navbar */
.menu{
    margin: 0;
    display: flex;
    width: 32.05em;
    font-size: 1.5em;
    padding: 0 2.85em;
    position: relative;
    align-items: center;
    justify-content: center;
    background-color: #809C13;
    border-style: solid;
    border-color: #718A13;   
}

.menu__item{
    
    all: unset;
    flex-grow: 1;
    z-index: 100;
    display: flex;
    cursor: pointer;
    position: relative;
    border-radius: 50%;
    align-items: center;
    will-change: transform;
    justify-content: center;
    padding: 0.55em 0 0.85em;
    transition: transform var(--timeOut , var(--duration));
    
}

.menu__item::before{
    
    content: "";
    z-index: -1;
    width: 4.2em;
    height: 4.2em;
    border-radius: 50%;
    position: absolute;
    transform: scale(0);
    transition: background-color var(--duration), transform var(--duration);
    
}


.menu__item.active {

    transform: translate3d(0, -.8em , 0);

}

.menu__item.active::before{
    
    transform: scale(1);
    background-color: var(--bgColorItem);

}

.icon{
    
    width: 2.6em;
    height: 2.6em;
    stroke: white;
    fill: transparent;
    stroke-width: 1pt;
    stroke-miterlimit: 10;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 400;
    
}

.menu__item.active .icon {

    animation: strok 1.5s reverse;
    
}

@keyframes strok {

    100% {

        stroke-dashoffset: 400;

    }

}

.menu__border{

    left: 0;
    bottom: 99%;
    width: 10.9em;
    height: 2.4em;
    position: absolute;
    clip-path: url(#menu);
    will-change: transform;
    background-color: #809C13;
    border-color: #718A13;
    transition: transform var(--timeOut , var(--duration));
    
}

.svg-container {

    width: 0;
    height: 0;
}


@media screen and (max-width: 50em) {
    .menu{
        font-size: .8em;
    }
}
/* Fin Menu */



/* Debut Manu (Club graine et jardiiere idee) */
.manu-container {
    position: fixed;
    top: 20px;
    right: -180px; /* Caché par défaut */
    display: flex;
    align-items: center;
    transition: right 0.3s ease-in-out;
}

.manu-container.open {
    right: 0px; /* Déplacement vers la gauche */
}
.manu-button {
    width: 50px;
    height: 50px;
    background-color: #718A13;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}
.manu {
    background-color: #718A13;
    border-radius: 10px;
    padding: 5px 0;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}
.manu a {
    display: block;
    padding: 10px 20px;
    color: white;
    text-decoration: none;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}
.manu a:first-child {
    border-top: none;
}
.manu a:hover {
    background-color: #5a6d0f;
}
/* Fin Manu */