html, body {
    height: 100%;
    margin: 0;
    font-size: 62.5%;
    text-align: center;
}

#menu {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    padding: 10px;
    background-color: #333;
}

.choice_nb_question {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
    padding: 10px;
    width: 80%;
    margin: 0 auto;
}

.choice_nb_question a {
    color: white;
    text-decoration: none;
    padding: 10px;
    transition: background-color 0.3s;
    background-color: #333;
    border-radius: 10px;
    aspect-ratio: 1 / 1;
}

.choice_nb_question a:hover {
    background-color: #555;
}

#menu a {
    color: white;
    text-decoration: none;
    padding: 10px;
    transition: background-color 0.3s;
}

#menu a:hover {
    background-color: #555;
}

#menu a.selected {
    background-color: #555;
    color: yellow;
}

#burger-menu {
    display: none;
    font-size: 5em;
    cursor: pointer;
    color: white;
}

@media (max-width: 768px) {
    #menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 50px;
        left: 10px;
        background-color: #333;
        padding: 10px;
        border-radius: 5px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    }
    
    #menu.show {
        display: flex;
    }

    #burger-menu {
        display: block;
        position: absolute;
        top: 0px;
        left: 10px;
        color: black;
    }
}

.choice {
    display: flex;
    justify-content: space-between;
    width: 90%;
    margin: 0 auto;
}

.choice_color {
    width: 45%;
    aspect-ratio: 1 / 1;
    border-style: solid;
    border-width: 1px;
    font-size: 7rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

.choice_color.white:hover {
    color: black;
}

.choice_color.black:hover {
    color: white;
}

.white {
    background-color: white;
    border-color: #888888;
    color: #888888;
}

.black {
    background-color: black;
    border-color: #888888;
    color: #888888;
}

@media (min-width: 200px) {
    h1 { font-size: 3.2rem; }
    .choice_color { font-size: 6rem; }
    #menu a { font-size: 3.9em; }
    .choice_nb_question a { width: 50px; line-height: 50px; font-size: 3rem;}
}

@media (min-width: 300px) {
    h1 { font-size: 3.3rem; }
    .choice_color { font-size: 7rem; }
    #menu a { font-size: 4em; }
    .choice_nb_question a { width: 50px; line-height: 50px; font-size: 3rem;}
}

@media (min-width: 400px) {
    h1 { font-size: 3.4rem; }
    .choice_color { font-size: 8rem; }
    #menu a { font-size: 4.1em; }
    .choice_nb_question a { width: 50px; line-height: 50px; font-size: 3rem;}
}

@media (min-width: 500px) {
    h1 { font-size: 3.5rem; }
    .choice_color { font-size: 10rem; }
    #menu a { font-size: 4.2em; }
    .choice_nb_question a { width: 50px; line-height: 50px; font-size: 3rem;}
}

@media (min-width: 600px) {
    h1 { font-size: 3.6rem; }
    .choice_color { font-size: 11rem; }
    #menu a { font-size: 4.3em; }
    .choice_nb_question a { width: 50px; line-height: 50px; font-size: 3rem;}
}

@media (min-width: 700px) {
    h1 { font-size: 3.7rem; }
    .choice_color { font-size: 12rem; }
    #menu a { font-size: 4.4em; }
    .choice_nb_question a { width: 56px; line-height: 56px; font-size: 3rem;}
}

@media (min-width: 800px) {
    h1 { font-size: 3.8rem; }
    .choice_color { font-size: 13rem; }
    #menu a { font-size: 4.5em; }
    .choice_nb_question a { width: 58px; line-height: 58px; font-size: 3.1rem;}
}

@media (min-width: 900px) {
    h1 { font-size: 3.9rem; }
    .choice_color { font-size: 14rem; }
    #menu a { font-size: 4.6em; }
    .choice_nb_question a { width: 60px; line-height: 60px; font-size: 3.2rem;}
}

@media (min-width: 1000px) {
    h1 { font-size: 4.0rem; }
    .choice_color { font-size: 15rem; }
    #menu a { font-size: 4.7em; }
    .choice_nb_question a { width: 60px; line-height: 60px; font-size: 3.3rem;}
}

@media (min-width: 1100px) {
    h1 { font-size: 4.1rem; }
    .choice_color { font-size: 16rem; }
    #menu a { font-size: 4.8em; }
    .choice_nb_question a { width: 62px; line-height: 62px; font-size: 3.4rem;}
}

@media (min-width: 1200px) {
    h1 { font-size: 4.2rem; }
    .choice_color { font-size: 17rem; }
    #menu a { font-size: 4.9em; }
    .choice_nb_question a { width: 64px; line-height: 64px; font-size: 3.5rem;}
}

@media (min-width: 1300px) {
    h1 { font-size: 4.3rem; }
    .choice_color { font-size: 18rem; }
    #menu a { font-size: 5em; }
    .choice_nb_question a { width: 66px; line-height: 66px; font-size: 3.6rem;}
}

@media (min-width: 1400px) {
    h1 { font-size: 4.4rem; }
    .choice_color { font-size: 19rem; }
    #menu a { font-size: 5.1em; }
    .choice_nb_question a { width: 68px; line-height: 68px; font-size: 3.7rem;}
}

@media (min-width: 1500px) {
    h1 { font-size: 4.5rem; }
    .choice_color { font-size: 20rem; }
    #menu a { font-size: 5.2em; }
    .choice_nb_question a { width: 70px; line-height: 70px; font-size: 3.8rem;}
}

@media (min-width: 1600px) {
    h1 { font-size: 4.6rem; }
    .choice_color { font-size: 21rem; }
    #menu a { font-size: 5.3em; }
    .choice_nb_question a { width: 72px; line-height: 72px; font-size: 4.0rem;}
}

@media (min-width: 1700px) {
    h1 { font-size: 4.7rem; }
    .choice_color { font-size: 22rem; }
    #menu a { font-size: 5.4em; }
    .choice_nb_question a { width: 74px; line-height: 74px; font-size: 4.2rem;}
}

@media (min-width: 1800px) {
    h1 { font-size: 4.8rem; }
    .choice_color { font-size: 23rem; }
    #menu a { font-size: 5.6em; }
    .choice_nb_question a { width: 76px; line-height: 76px; font-size: 4.4rem;}
}

@media (min-width: 1900px) {
    h1 { font-size: 4.9rem; }
    .choice_color { font-size: 24rem; }
    #menu a { font-size: 5.8em; }
    .choice_nb_question a { width: 78px; line-height: 78px; font-size: 4.6rem;}
}

@media (min-width: 2000px) {
    h1 { font-size: 5.0rem; }
    .choice_color { font-size: 25rem; }
    #menu a { font-size: 6em; }
    .choice_nb_question a { width: 80px; line-height: 80px; font-size: 5rem;}
}
