.app {
    min-height: initial !important;
    flex-grow: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

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


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

.formulaire {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.titreDialog {
    font-size: 2rem;
}

.table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(5, 1fr);
    gap: 0.5rem;
    text-align: end;
    font-size: 1.3rem;
}

.lineClose button {
    font-size: 1.5rem;
    padding: 0.2rem 0.8rem;
    /* font-weight: bold;
    border-radius: 8px;
    border: none;
    background: #ffce6d;
    color: #673838; */
}

.affichageCalcul {
    color: #dad7d7;
    font-size: 2rem;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

.encartReponse {
    position: absolute;
    top: 20%;
    padding: 3rem;
    box-shadow: 0px 0px 20px 20px transparent;
    border-radius: 15%;

}

.formulaireReponse {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;

    input {
        height: 2.5rem;
        width: 7.5rem;
        display: flex;
        text-align: center;
        font-size: 2rem;
    }

    button {
        height: 2rem;
        width: 5.5rem;
        font-size: 1.2rem;
        font-weight: bold;
        border-radius: 8px;
        border: none;
        background: #ffce6d;
        color: #673838;
    }
}

.mauvaiseReponse {
    padding: 3rem;
    box-shadow: 0px 0px 20px 20px rgb(255 0 0 / 58%);
    border-radius: 15%;

}

.bonneReponse {
    padding: 3rem;
    box-shadow: 0px 0px 20px 20px rgba(38, 255, 0, 0.58);
    border-radius: 15%;
}


@media (max-width: 600px) {
    .formulaireReponse input {
        width: 50%;
        max-width: 200px;
    }

    .formulaireReponse button {
        width: 50%;
        max-width: 200px;
    }

    .titreDialog {
        font-size: 1.1rem;
    }

    label {
        font-size: 0.9rem;
    }

    .table input {
        height: 0.9rem;
        width: 2rem;
        align-self: center;
    }
}

@media (max-height: 350px) {

    .contenuDialog {
        height: 90%;
        max-height: 280px;
    }

    .titreDialog {
        font-size: 1.2rem;
    }

    label {
        font-size: 1rem;
    }

    .table input {
        height: 0.9rem;
        width: 3rem;
        align-self: center;
    }

    .lineClose button {
        font-size: 1rem;

    }

}