/*page créée par Ephram Guenaud
  cette page est la page de style pour le menu burger
  Le 10 Janvier 2025 */

/* Style général */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* Bouton pour ouvrir le menu */
.openbtn {
    font-size: 60px;
    padding: 10px 15px;
    background-color: transparent;
    color: white;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 20px;
    left: 20px;
}

.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #9c29b7;
    transition: width 0.5s ease;
    padding-top: 60px;
}

.sidenav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: none;
    text-align: center;
}

.sidenav ul li {
    padding: 4px 8px;
}

.sidenav.active ul {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.sidenav ul li a {
    text-decoration: none;
    color: black;
    display: block;
    transition: 0.3s;
}

.sidenav ul li a:hover {
    color: #111;
}

/* Bouton de fermeture */
.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    color: black;
    cursor: pointer;
}

/* Activer le menu en pleine largeur (100% de la page) */
.sidenav.active {
    width: 100%;
    /* Menu occupe toute la largeur de la page */
}

.jeux_1 {
    font-size: 50px;
}

.jeux_2 {
    font-size: 30px;
}

.jeux_3 {
    font-size: 20px;
}

#select1 {
    background-color: rgba(242, 201, 251, 0.4);
    border-radius: 50px;
    width: 100%;
    justify-self: center;
    text-decoration: underline;
}

#select2 {
    background-color: rgba(242, 201, 251, 0.4);
    border-radius: 50px;
    width: 100%;
    display: flex;
    justify-self: center;
    justify-content: center;
}

.jeux_1 {
    font-size: 38px;
}

.jeux_2 {
    font-size: 28px;
}

.jeux_3 {
    font-size: 23px;
}

@media screen and (max-width: 1000px) {

    .openbtn {
        font-size: 60px;
        padding: 10px 15px;
        background-color: transparent;
        color: white;
        border: none;
        cursor: pointer;
        position: fixed;
    }

    .sidenav ul li {
        padding: 1px 2px;
    }

    #select1 {
        width: 100%;
    }

    #select2 {
        width: 100%;
    }

}

@media screen and (max-width: 400px) {

    .jeux_1 {
        font-size: 33px;
    }

    .jeux_2 {
        font-size: 23px;
    }

    .jeux_3 {
        font-size: 18px;
    }

    .openbtn {
        font-size: 30px;
        padding: 5px 7px;
    }

    #select1 {
        width: 100%;
    }

    #select2 {
        width: 100%;
    }

}