body {
    font-family: Arial, sans-serif;
    background-color: rgb(203, 203, 203);
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}


.container {
    background-color: rgb(235, 234, 234);
    width: 100%;
    height: 100%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    align-items: center;
    /* Centre verticalement les enfants */
    justify-content: center;
    text-align: center;
    padding-bottom: 0px;
    /* Hauteur basée sur la largeur */
    position: relative;
    bottom: 0px;
}

.inputs-container {
    transform: scale(1, 1);
    background-color: rgb(255, 255, 255);
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-align: center;
    position: relative;
    z-index: 1;

}

.adapt-container {
    position: absolute;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 6vw;
    background-color: rgb(255, 255, 255);
    padding: 0px;
    margin: 0px;
    z-index: 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}

.erreurs {
    background-color: rgb(203, 203, 203);
    padding: 0px;
    margin: 0px;
    padding-top: 6.5vw;
    width: 100%;
    height: 25px;
    margin-left: auto;
    margin-right: auto;
    z-index: 5;
}

h2 {
    font-size: 1em;
    color: rgb(68, 58, 58);
}


label {
    margin: 10px 0;
}

.fullScreen {
    width: 40px;
    height: 40px;
    background-image: url("../images/fullScreen.png");
    background-size: contain;
    color: white;
    border: none;
    text-decoration: none;
    cursor: pointer;
}

.fullScreen:hover {
    background-color: #45a049;
}

input[type="text"],
input[type="radio"] {
    margin-right: 15px;
}


.button {
    color: white;
    border: none;
    padding: 6px 16px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    margin: 6px 2px;
    cursor: pointer;
    border-radius: 4px;
}

.buttonHelp {

    background-image: url("../images/help.png");

}

.buttonHelp:hover {
    border: 1px solid rgb(14, 173, 0);
}

.startButton {
    background-color: #1a9e00;
    width: 130px;
    height: 40px;
    font-size: 20px;
}

.init {
    background-image: url("../images/reset.svg");
}

.button:hover {
    background-color: #45a049;
}

.flags {
    border: 1px solid rgba(180, 180, 180, 0.3);
    /* définissez la largeur, le style et la couleur */
    border-radius: 8px;
    /* arrondit les coins */
    padding: 5px;
    left: 10vw;
    display: flex;
    flex-wrap: nowrap;
    /* si vous voulez empêcher les boutons de se mettre à la ligne */
    justify-content: flex-start;
    /* aligne les éléments à gauche du conteneur flex */
    align-items: center;
    /* centre les éléments verticalement */
    gap: 10px;
    /* espace entre les boutons */
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.3);
}

.petitFlag {
    border: 1px solid rgba(180, 180, 180, 0.3);
    /* définissez la largeur, le style et la couleur */
    border-radius: 6px;
    /* arrondit les coins */
    padding: 2px;
    left: 10vw;
    display: flex;
    flex-wrap: nowrap;
    /* si vous voulez empêcher les boutons de se mettre à la ligne */
    justify-content: flex-start;
    /* aligne les éléments à gauche du conteneur flex */
    align-items: center;
    /* centre les éléments verticalement */
    gap: 3px;
    /* espace entre les boutons */
}

.petitGap {
    gap: 1px;
}

.flagButton {
    background-color: white;
    background-position: center, center;
    background-repeat: no-repeat;
    text-decoration: none;
    display: inline-flex;
    /* utilisez inline-flex pour aligner le contenu */
    border: 1px solid transparent;
    /* définissez la largeur, le style et la couleur */
    border-radius: 15px;
    /* arrondit les coins */
    cursor: pointer;
    justify-content: center;
    align-items: center;
    width: 31px;
    height: 31px;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.3);
}

.flagButton:hover {
    border: 1px solid rgb(14, 173, 0);
}

.frButton {
    background-image: url("../images/fr.png");
}

.enButton {
    background-image: url("../images/en.png");
}

.esButton {
    background-image: url("../images/es.png");
}



.solButton {
    background-image: url("../images/cledesol.png");
}

.faButton {
    background-image: url("../images/cledefa.png");
}

.highLight {
    box-shadow: 0px 0px 10px rgb(255, 123, 0);
}





.iconeChro {
    position: absolute;
    left: -25px;
    top: -7px;
}

#progressContainer {
    position: relative;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 8px;
    margin-bottom: 0.5vw;
    height: 16px;
    background-color: rgba(246, 0, 0, 0.4);
}

#progressBar {
    height: 100%;
    border-radius: 8px;
    background-color: rgb(111, 177, 136);
    width: 100%;

    position: relative;
}

.piano-container {
    background-color: #eee;
    width: 100%;
    /* La largeur totale du clavier */
    margin-top: 0.5vw;
    padding-top: 14vw;
    /* Hauteur basée sur la largeur */
    position: relative;
    /* Conteneur pour le clavier */
    overflow: hidden;
    z-index: 1;
}



.groupe-piano {
    transform: scale(1, 1);
    /* Zoom de 50% */
    transform-origin: bottom center;
    /* Point d'origine du zoom */
    margin-top: auto;
    width: 100%;
    /* La largeur totale du clavier */
    padding-top: 17%;
    /* Hauteur basée sur la largeur */
    position: relative;
    /* Conteneur pour le clavier */

}

.bas {
    position: absolute;
    bottom: 0px;
    background-color: rgb(45, 10, 70);
    width: 100%;
    height: 200px;

    z-index: 0;
}


.piano {
    position: absolute;
    /* Positionnement par rapport au conteneur */
    top: 0;
    left: 0;
    right: 0;
    bottom: 35px;
    display: flex;
    justify-content: center;
    background-color: rgb(119, 119, 119);
    z-index: 1;
}

.ContSlider {
    transform: scale(1, 1);
    padding: 0;
    position: absolute;
    top: -25px;
    width: 99%;
    padding-bottom: 0px;
    margin-bottom: 0px;
    ;
    margin-left: auto;
    margin-right: auto;
    z-index: 2;
}




.videErreurs {
    visibility: hidden;
}

.flex-container {
    position: absolute;
    display: flex;
    bottom: 25px;
    width: 100%;
    left: 2%;
    z-index: 3;
    display: flex;
    gap: 15px;
}

.flex-item {
    flex: 1;
    /* Les div prendront une largeur égale */
}

.TZoom {
    width: 8%;
}

.Scaler {
    width: 25%;
}

.TPann {
    width: 3%;
}

.Panner {

    width: 25%;
}

.score {
    width: 20%;
}

.temps {
    width: 20%;
}

.key {

    border: 1px solid #000;
    box-sizing: border-box;
    cursor: pointer;
}

.white {
    height: 100%;
    background-color: white;
    background-blend-mode: multiply;
    background-image: url("../images/blanche.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    width: 1.92%;
    z-index: 1;
}

.black {
    height: 60%;
    background-color: black;
    background-blend-mode: lighten;
    background-image: url("../images/noire.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    width: 1%;
    margin-left: -0.5%;
    margin-right: -0.5%;
    z-index: 2;
}

.key.greyed-out {
    background-color: rgb(152, 152, 152);
}

@media (max-width: 480px) {

    /* Pour les écrans de téléphones mobiles */
    body {
        transform: scale(0.6, 1);
    }


}