/*STYLES DE LA PAGE DES ÉNIGMES*/

*,
*::before,
*::after {
    box-sizing: border-box;
}


/*BOUTON POUR REMONTER LA PAGE*/

.top {
    position: fixed;
    bottom: 5%;
    right: 5%;
    height: auto;
    z-index: 6;
}

.top a {
    font-size: 2rem;
    margin: 0px;
    list-style: none;
}

.top i {
    color: #950101;
}

.top i:hover {
    color:#ff0606;
    transition: 1s;
}

/*FILTRE,TRI & RECHERCHE*/

.filter {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    gap:50px;
}


.filter label {
    font-weight: bold;
    color: #000000;
}

.filter select {
    padding: 6px 6px; 
    font-size: 0.8rem; 
    border: 2px solid #000000; 
    border-radius: 5px; 
    cursor: pointer;
    height: 44px;
}


.filter input {
    padding: 6px 6px; 
    font-size: 0.8rem; 
    border: 2px solid #000000; 
    border-radius: 5px; 
    height: 44px;
}


/*CARTES ÉNIGMES*/

.concept-cards h2 {
    background-color: #3D0000;
    border: solid white;
    padding: 15px;
    font-size: 1.3rem;
    width: 200px;
    margin: 0;
    position: relative;
    bottom: 40px;
    color: white;
    text-align: center;
}

/*complément du code dans styles.css*/


/*JEU ÉNIGME*/

.container_enigma {
    max-width: 600px;
    margin: auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 25px;
}

.question {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
}

.button_enigma {
    padding: 10px 20px;
    background-color: #950101;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s ease;
    height: 44px;
}

.button_enigma:hover {
    background-color: #ff0606;
}


.container_enigma h2 {
    font-family: "Lacquer", system-ui;
    font-size: 1.8rem;
}

.indice {
    display: none;
}

.index {
    background-color: white;
    border: none;
    cursor: pointer;
}

.index i {
    font-size: 1.8rem;
    color: rgb(253, 216, 49);
}

.clue {
    display: flex;
    justify-content: center;
}

.txt_clue{
    color:#950101;
    font-weight: bold;
}


@media screen and (width <= 800px) {
    .filter {
        flex-wrap: wrap;
    }
    
}