#exercice {
    display: grid;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem;
    grid-template-rows: auto auto;
    box-sizing: border-box;
}

#sousApp {
    height: 100%;
    align-self: center;
}


.question {
    padding: 1rem 0;
}


.question,
.numeroChoisi,
.verification {
    display: flex;
    justify-content: center;
    color: white;
    text-align: center;
}

.hidden {
    display: none !important;
}

.numeroChoisi,
.verification {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.verification {
    height: 1rem;
}

.numeroChoisi {
    font-family: "Lora";
}




.contenuDialog {
    width: 55%;
    max-width: 500px;
    background: linear-gradient(179deg, rgb(0 0 0 / 87%), rgb(24 66 31));
    border: 2px dashed #b79b46;
    border-radius: 20px;
    padding: 0.5rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 -20px 80px 30px rgb(70 120 60 / 50%);
    ;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    animation: scaleIn 0.4s ease;
}

.stations {
    display: grid;
    grid-template-columns: 1fr 5% 10% 10% 2% 1fr;
    grid-template-rows: repeat(6, 1fr);
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    width: 90%;
}

.presets {
    position: relative;
    top: 0.75rem;
    box-shadow: 0px 0px 20px 2px black;
}

.titreFormulaire {
    padding-bottom: 1rem;
    font-size: 1.5rem;
}

.colonneMinMax {
    text-align: start;
}

.stations input[type=number] {
    width: 2.5rem;
    height: 1.7rem;
    border: 1px solid black;
    border-radius: 6px;
    text-align: center;
    background-color: #ffe0a1;
    padding: 0 0.3rem;
}


.stations label {
    text-align: end;
}

.stations input[type=checkbox] {
    width: 1rem;
}

.num0 {
    color: rgb(0, 255, 0);
}

.numRouge {
    color: red;
}

.numNoir {
    color: black;
}

.btnClose {
    width: 20%;
}

.controls {
    align-self: start;
    color: #dad7d7;
    display: flex;
    justify-content: center;
    gap: 0.8rem;
}

.controls input[type=number] {
    padding: 0 0.3rem;
    text-align: center;
    font-weight: bold;
}

.lineClose {
    display: flex;
    justify-content: center;
}

.boutonCache {
    display: none;
}

.controls>* {
    flex: 1;
}


/***************** MEDIA QUERY *****************/

@media (max-width: 450px) {

    .contenuDialog {
        height: 250px;
        width: 290px;
    }

    .stations input[type=number] {
        height: 1rem;
        width: 1.8rem;
        font-size: 0.7rem;
    }

    .stations label {
        font-size: 0.6rem;
    }

    .stations input[type=checkbox] {
        width: 0.7rem;
    }

    .presets {
        font-size: 0.7rem;
        height: 1.5rem;
        width: 5rem;
    }

    .btnClose {
        font-size: 0.7rem;
        height: 1.5rem;
        width: 5rem;
    }

    .stations {
        grid-template-columns: 28% 4% 9% 8% 2% 30%;
    }

    .titreFormulaire {
        padding-bottom: 0.5rem;
        font-size: 1.1rem;
    }

    .numeroChoisi {
        font-size: 1rem;
    }

}

@media (max-height: 450px) {

    .btnReponse,
    .afficherReponse,
    .boutonCache {
        font-size: 0.7rem;
    }

    .presets,
    .btnClose {
        font-size: 0.7rem;
        height: 1.2rem;
        width: 6rem;

    }

    .stations input[type=number] {
        height: 1.2rem;
        width: 1.6rem;
        font-size: 0.7rem;
    }

    .numeroChoisi {
        font-size: 1.1rem;
    }

}