.app {
    min-height: initial !important;
    flex-grow: 1;
    position: relative;
}

body {
    height: 100dvh;
    display: flex;
    flex-direction: column;
}

#exercice {
    align-items: center;
    box-sizing: border-box;
    display: grid;
    gap: 1.5rem;
    grid-template-rows: 2fr 2fr;
    height: 80%;
    justify-content: center;
    padding: 1.5rem;
}

#sousApp {
    align-self: center;
}



.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: 25% 5% 10% 10% 2% 20%;
    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;
    height: 1.8rem;
}

.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;
}

.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%;
    height: 1.5rem;
}

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

.btnReponse {
    padding: 0.3rem;
}


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

@media (max-width: 600px) {

    .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;
    }

}