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

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

h1 {
    padding: 1.5rem 0 1rem;
}


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

.annonceChoisie,
.verification {
    font-size: clamp(1rem, 2.5vw, 1.7rem);
    margin-bottom: 0.4rem;
}

.verification {
    height: 1rem;
}

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

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

.numRouge {
    color: red;
}

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

.suppr {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: var(--tapis-width);
    gap: 0.8rem;
}

.gomme,
.clear,
.valider,
.suivant,
.afficherReponse {
    flex: 1;
    min-width: 70px;
    min-height: 30px;
    transition: background 0.3s ease;
}

.boutonCache {
    display: none;
}

.gomme img {
    width: 2rem;
    height: 2rem;
}

.gommeActive {
    background-color: #b78383;
}

.gomme:hover,
.clear:hover,
.valider:hover,
.suivant:hover {
    background: #f0ad2c;
}

/* Responsive mobile */
@media (max-width: 600px) {
    .suppr {
        flex-wrap: wrap;
        align-items: stretch;
    }

    .gomme,
    .clear,
    .valider,
    .suivant {
        width: auto;
        font-size: 0.7rem;
        align-self: center;
        min-height: 19px;
    }

    .gomme img {
        width: 1rem;
        height: 1rem;
    }

    h1 {
        padding: 1.7rem 0 0.5rem;
        font-size: 1rem;
        max-width: 80%;
    }
}

@media (max-height: 350px) {

    h1 {
        font-size: 1rem;
        padding: 0 0 0.5rem 0;
    }

    .annonceChoisie {
        font-size: 0.8rem;
    }

    .gomme,
    .clear,
    .valider,
    .suivant {
        width: auto;
        font-size: 0.7rem;
        align-self: center;
        min-height: 19px;
    }

    .gomme img {
        width: 0.88rem;
        height: 0.88rem;
    }
    .verification {
        font-size: 0.7rem;
    }
}