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

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


#sousBody {
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;


    #sousApp {
        width: 90%;
        max-width: 800px;
        padding: 2rem;
        background-color: rgba(0, 0, 0, 0.5);
        border-radius: 1rem;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    }

    .titre {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        text-align: center;
        margin-bottom: 2rem;
    }

    .titre h1 {
        font-size: 2rem;
        background-image: linear-gradient(#f0ad2c, #ffce6d, #af9052);
        background-clip: text;
        -webkit-background-clip: text;
        color: transparent;
        text-shadow: 1px 4px 20px #474747;
    }


    .numChoisi {
        font-size: 3.5rem;
        font-weight: 700;
        text-align: center;
        margin: 2rem 0;
        background-image: linear-gradient(#f0ad2c, #ffce6d, #af9052);
        background-clip: text;
        -webkit-background-clip: text;
        color: transparent;
        text-shadow: 1px 4px 20px #474747;
        font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    }

    .btnReponse {
        display: flex;
        justify-content: center;
        gap: 2rem;
        margin-bottom: 2rem;
    }


    .btnReponse button:active {
        animation: bounceClick 0.2s ease;
    }


    .btnReponse button {
        border: 2px solid white;
        border-radius: 0.5rem;
        width: 7rem;
        height: 3rem;
        font-size: 1rem;
        font-weight: bold;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .btnRouge {
        background-image: none;
        background-color: #ff0000;
        color: white;
    }

    .btnNoir {
        background-image: none;
        background-color: black;
        color: white;
    }

    .btnReponse button:hover {
        transform: scale(1.05);
        opacity: 0.9;
    }

    button.bonneReponse {
        outline: 12px solid green;
    }

    button.mauvaiseReponse {
        outline: 12px solid red;
    }

    .score {
        display: flex;
        justify-content: flex-end;
        gap: 2rem;
        font-size: 1.2rem;
        font-weight: bold;
        margin-top: 2rem;
        font-family: 'Times New Roman', Times, serif;
    }

    .nbRepJuste {
        background-color: #00ff0d;
    }

    .nbRepFausse {
        background-color: #ff3636;
    }


    .nbRepJuste,
    .nbRepFausse {
        padding: 0 1rem;
        border-radius: 8px;
        color: #000000;
        font-weight: bold;
    }

    #contenuDialog {
        width: 90%;
        max-width: 500px;
        background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
        border: 2px dashed #b9a37a;
        border-radius: 20px;
        padding: 1.5rem;
        backdrop-filter: blur(10px);
        box-shadow: 0 -20px 80px 30px rgba(255, 174, 0, 0.5);
        color: white;
        text-align: center;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        animation: scaleIn 0.4s ease;
    }

    #txtFinal {
        font-size: 2rem;
        font-weight: bold;
        color: #ffd166;
    }


    #txtFinal,
    #scoreFinal {
        animation: slideUp 0.4s ease-in-out;
    }

    #scoreFinal {
        font-size: 3rem;
        color: #ffcb29;
        font-weight: bold;
    }

    #btnFinal {
        margin-top: auto;
        padding: 0.8rem 1.8rem;
        font-size: 1rem;
        color: rgb(0, 0, 0);
        transition: all 0.3s ease;
    }

    #btnFinal:hover {
        background-color: #5a4903;
        transform: scale(1.05);
    }
}

@keyframes fadeIn {
    from {
        background-color: rgba(0, 0, 0, 0);
    }

    to {
        background-color: rgba(0, 0, 0, 0.6);
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes bounceClick {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}