
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #8ac8f5;
    margin: 0;
    padding: 0;
    display: flex;
    height: 100vh;
    align-items: center;
    justify-content: center;
}

.container {
    background: white;
    border-radius: 20px;
    padding: 20px;
    width: 90%;
    max-width: 900px;
    text-align: center;
    position: relative;
    filter : drop-shadow(2px 2px 3px black);
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.home-button {
    background: black;
    color: white;
    border: none;
    padding: 10px;
    font-size: 24px;
    border-radius: 10px;
    cursor: pointer;
}

#phraseNumber {
    background: black;
    color: white;
    border-radius: 10px;
    padding: 10px;
    font-size: 18px;
    width: 50px;
    text-align: center;
}

.phrase {
    margin-bottom: 20px;
    filter : drop-shadow(2px 2px 3px black);
}

.text-block {
    padding: 15px;
    margin: 10px 0;
    font-size: 50px;
    font-weight: bold;
    border-radius: 15px;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 110px;
}

.fr-block {
    background: #ffcc00;
    color: black;
}

.ar-block {
    background: #66b2ff;
    color: black;
    font-family: 'Amiri', serif;
}

.text {
    opacity: 0;
    transition: all 0.6s ease;
}

.hidden-text {
    opacity: 0;
    visibility: hidden;
}

.visible-text {
    opacity: 1;
    visibility: visible;
}

.buttons-lang {
    margin-top: 20px;
}

.fr-button, .ar-button {
    width: 150px;
    border: none;
    padding: 10px 20px;
    margin: 5px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 15px;
    cursor: pointer;
    filter : drop-shadow(2px 2px 3px black);
}

.fr-button {
    background-color: #66b2ff;
    color: white;
}

.ar-button {
    background-color: #ffcc00;
    color: black;
}

.answer-buttons {
    margin-top: 20px;
}




.prev-button, .next-button {
    border: none;
    padding: 15px 30px;
    margin: 10px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 15px;
    cursor: pointer;
    filter: drop-shadow(3px 2px 3px black);
}
.filter-button.active,
.number-button.active {
    background-color: orange;
    color: #fff;
    transition: background-color 0.2s;
}
.prev-button {
    background-color: #f58a8ae3;
    color: rgb(0, 0, 0);
}

.next-button {
    background-color: #f58a8ae3;
    color: black;
}
.number-buttons {
    margin-bottom: 15px;
}
.number-button {
    background-color: #3578e5;
    color: white;
    border: none;
    margin: 3px;
    padding: 8px 16px;
    font-size: 16px;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.number-button:hover {
    background-color: #ffcc00;
    color: black;
}
.filter-button.active,
.number-button.active {
    background-color: #ffcc00;
    color: black;
}

/* Responsive pour mobile */
@media (max-width: 600px) {
    .container {
        width: 85%;
        text-align: center;
        position: relative;
        filter : drop-shadow(2px 2px 3px black);
    }
    .text-block {
        font-size: 30px;
        min-height: 60px;
        padding: 10px;
    }
    .prev-button, .next-button {
        width: 30%;
        margin: 8px 0;
        font-size: 14px;
        padding: 12px 0;
    }

    .fr-button, .ar-button, .true-button, .false-button {
        width: 48%;
        margin: 8px 0;
        font-size: 20px;
        padding: 12px 0;
    }

    .home-button {
        font-size: 20px;
        padding: 8px;
    }

    #phraseNumber {
        font-size: 16px;
        padding: 8px;
        width: 45px;
    }

    /*.header {
        flex-direction: column;
        gap: 10px;
    }*/
}


/* 🔵 Style pour les filtres */
.filter-buttons {
    margin-bottom: 20px;
}

.filter-button {
    background-color: #666;
    color: white;
    border: none;
    margin: 5px;
    padding: 8px 16px;
    font-size: 16px;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.filter-button:hover {
    background-color: #f50909;
}
