@import url(./style.css);

/* ====== DARK MODE ====== */
body.dark-mode h1, body.dark-mode h2, body.dark-mode p {
    color: var(--main-dark-text-color);
}

body.dark-mode .quiz {
    background-color: var(--main-dark-other-color);
}

body.dark-mode .answer {
    background: var(--main-dark-gradient);
    color: var(--main-dark-text-color);
}

body.dark-mode .submit-button {
    text-align: center;
    margin-top: 80px;

}

body.dark-mode .buttonSudmite {
    background: linear-gradient(90deg, #6100ff 0%, #1b0048 100%);
    font-family: "roboto condensed", sans-serif;
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 30px;
    cursor: pointer;
}

/* ====== LIGHT MODE ====== */

body.light-mode h1, body.light-mode h2, body.light-mode p {
    color: var(--main-light-text-color);
}

body.light-mode .quiz {
    background-color: var(--main-light-other-color);
}


body.light-mode .answer {
    background: var(--main-light-gradient);
    color: var(--main-light-text-color);
}

/* ====== ECRAN DEFAUT ====== */

h1, h2, p {
    font-family: "roboto condensed", sans-serif;
    text-align: center;
}

.quiz {
    height: 60vh;
    width: 60vw;
    margin: auto;
    padding: 2%;
    border-radius: 25px;
}

.answers {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    margin: auto;
    width : 50vw;
    row-gap: 7vh;
    column-gap: 7vh;
}

.answer {
    border: none;
    border-radius: 25px;
    width: 35vh;
    padding: 2vw;
    font-size: 25px;
    text-align: center;
    cursor: pointer;
}

.answer:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease-in-out;
}

#timer{
    width: 20vw;
    display: block;
    margin: auto;
    text-align: center;
    margin-bottom: 5vh;
}

h2{
    margin-bottom: 7vh;
    word-wrap: break-word;
    word-break: break-word;
}

/* ====== ECRAN TABLETTE ====== */

@media (max-width: 834px) or (max-aspect-ratio : 1/1){
    .quiz {
        height: 72vh;
        width: 60vw;
    }
}

/* ====== ECRAN TELEPHONE ====== */

@media (max-width: 480px){

}