
body{
    background:linear-gradient(to bottom,#aec9f0,#ffffff);
    height: 100%;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Empêche le défilement de la page pendant le chargement */
}


.boite1{
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h2{
    position: relative;
    text-align: center;
        font-family: "basier"; /* Changer la typographie */
    color: rgb(21, 89, 63); /* Changer la couleur */
    font-size: 7vh;
}

.pion {
    position: absolute;
    top: 30px;
    max-width: 30vh;
    left : 30px;
    height: auto;
    z-index: 6;
} 


.grosse{
    position: absolute;
    right: 0px;
    max-width: 50vh;
    margin-top: 10vh;
} 

h3{
    position: relative;
    margin-top: 50vh;
        text-align: center;
        font-family: "dina"; /* Changer la typographie */
        color: #348b6a; /* Changer la couleur */
        font-size: 2.5vh;
}

audio{
    position: relative;
    margin-top: -2vh;
    width: 30vh;
        border-radius: 50px;
        background-color: #ffffff00; /* Bleu clair */

        
}

.titles-container {
    position: absolute;
    bottom: 17vh;
    width: calc(100% - 1vh); /* Enlevez les marges de gauche et de droite */
    display: flex;
    justify-content: space-between;
    padding: 0 6vh;
    box-sizing: border-box;
}

h4, h5 {
    font-family: "dina";
    color: #348b6a;
    font-size: 2.5vh;
    margin: 0; /* Supprimez la marge pour un alignement précis */
}



/*Bouton bas droite*/


.imgbtn{
    height: 13vh;
    position: fixed;
    bottom: 15px;
    right: 3vh;
    padding: 10px 20px;
    border: none;

}

#openImageBtn {
    height: 15vh;
    width: 15vh;
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    opacity: 0%;
}


#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    z-index: 1;

    justify-content: center;
    align-items: center;

}

#imageContainer {
    position: relative;
    background-color: #46f21b00;
    max-width: 89%;
    max-height: 89%;
    aspect-ratio: 4.285 / 3;
    display: flex;
    justify-content: center;
    align-items: center;

}

#closeBtn {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 8%;
    right: 3%;
    font-size: 4vh;
    cursor: pointer;
    color: rgb(255, 0, 212);
    z-index: 100;
    width: 5vh; /* Largeur du cercle */
    height: 5vh; /* Hauteur du cercle */
    border: 2px solid #ff00d4; /* Bordure du cercle */
    border-radius: 50%; /* Pour faire le cercle */
    background-color: #ffffff; /* Couleur de fond du cercle */
    padding: 10px 10px; /* Ajuster le padding */
    }
    

#image {
    position: relative;
    width: 100%;
    background-color: #ffffff;
    padding: 3% 3.2%;
    border-radius: 8%/10%;
    z-index: 50;

}

/* Affichage de l'image lorsqu'elle est cochée */
#showImage:checked + #overlay {
    display: block;
}

/*Bouton bas gauche*/


.imgbtn2{
    height: 13vh;
    position: fixed;
    bottom: 15px;
    left: 2vh;
    padding: 10px 20px;
    border: none;

}

#openImageBtn2 {
    height: 15vh;
    width: 15vh;
    position: fixed;
    bottom: 20px;
    left: 20px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    opacity: 0%;
}


#overlay2 {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    z-index: 1;
    justify-content: center;
    align-items: center;

}

#image2Container {
    position: relative;
    background-color: #46f21b00;
    max-width: 89%;
    max-height: 89%;
    aspect-ratio: 4.285 / 3;
     display: flex;
     justify-content: center;
     align-items: center;
     left : -3%
   
   
}

#closeBtn2 {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 9%;
    right: 0%;
    font-size: 4vh;
    cursor: pointer;
    color: rgb(255, 255, 255);
    z-index: 100;
    width: 5vh; /* Largeur du cercle */
    height: 5vh; /* Hauteur du cercle */
    border: 2px solid #ffffff; /* Bordure du cercle */
    border-radius: 50%; /* Pour faire le cercle */
    background-color: #aec9f0; /* Couleur de fond du cercle */
    padding: 10px 10px; /* Ajuster le padding */

}

#image2 {
    position: relative;
    width: 100%;
    background-color: #aec9f0;
    padding: 3% 3.2%;
    border-radius: 8%/10%;
    z-index: 50;
    

}

/* Affichage de l'image lorsqu'elle est cochée */
#showImage2:checked + #overlay2 {
    display: block;
}







@font-face {
    font-family:"dina";
    src: url(font/AkzidenzGroteskBE-It.otf);
    font-style: normal;
    font-weight: 100;
}