* {
    box-sizing: border-box;
}

body {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
}

@media only screen and (max-width: 1080px) {
    body {
        background-color: #fff;
    }
}

nav {
    position: absolute;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-item: center;
    justify-content: space-between;
    height: 100%;
}

.container {
    display: flex;
    align-items: center;
    flex-direction: column;
}

header {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 15px;
    background-color: #00c1cf;
}

@media only screen and (max-width: 1080px) {
    header {
        padding: 8px 15px;
    }
}

header .box-title {
    display: flex;
    width: 100%;
    max-width: 1200px;
    align-items: center;
}

@media only screen and (max-width: 1080px) {
    header .box-title {
        justify-content: center;
    }
}

header .box-title a {
    text-decoration: none;
}

header .box-title a h1 {
    font-size: 27px;
    font-weight: 200;
    text-transform: uppercase;
    color: #fff;
}

@media only screen and (max-width: 1080px) {
    header .box-title a h1 {
        font-size: 18px;
    }
}

main {
    display: flex;
    max-width: 1200px;
    width: 100%;
    align-items: center;
    justify-content: center;
    margin: 40px 0;
}

@media only screen and (max-width: 1080px) {
    main {
        margin: 15px 0 40px 0;
    }
}

main .quiz-container {
    background-color: #fff;
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 50px 30px 30px 30px;
}

@media only screen and (max-width: 1080px) {
    main .quiz-container {
        border-radius: 0px;
        box-shadow: none;
        padding: 10px 20px;
    }
}

main .quiz-container h1 {
    font-size: 30px;
    color: #3e3e3e;
    font-weight: 200;
    margin: 0;
}

@media only screen and (max-width: 1080px) {
    main .quiz-container h1 {
        font-size: 25px;
    }
}

.question {
    display: none;
    /* Esconde todas as perguntas inicialmente */
}

.active {
    display: block;
    /* Mostra apenas a pergunta ativa */
}

.question h2 {
    font-size: 22px;
    color: #3e3e3e;
    font-weight: 500;
    margin: 0 0 30px 0;

    @media (max-width: 1080px) {
        font-size: 20px;
    }
}

@media only screen and (max-width: 1080px) {
    .question h2 {
        font-size: 18px;
    }
}

main p {
    font-size: 20px;
    color: #3e3e3e;
    font-weight: 200;
    margin: 20px 0 30px 0;
    line-height: 1.5em;
}

@media only screen and (max-width: 1080px) {
    main p {
        font-size: 17px;
    }
}

main button,
.btn {
    padding: 20px 32px;
    text-align: center;
    text-decoration: none;
    font-size: 18px;
    width: 100%;
    cursor: pointer;
    border-radius: 8px;
    transition: 0.4s;
    margin: 18px 0 20px 0;
    border: 2px solid #00c1cf;
    justify-content: center;
    display: flex;
    align-items: center;
    background-color: #fafafa;
    color: #2b2b2b;
}

@media only screen and (max-width: 1080px) {
    main button,
    .btn {
        font-size: 15px;
        padding: 12px 22px;
        border: 1px solid #00c1cf;
        line-height: 1.3em;
        margin: 12px 0 15px 0;
    }
}

main button:hover,
.btn:hover {
    box-shadow: 1px 1px 6px 3px rgba(0,0,0,0.2);
}

main button:active,
.btn:active {
    box-shadow: 1px 1px 6px 3px rgba(0,0,0,0.2);
}

footer {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 15px;
    background-color: #3e3e3e;
}

footer .content-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
}

footer .content-footer text {
    font-size: 15px;
    color: #f1f1f1;
}

@media only screen and (max-width: 1080px) {
    footer .content-footer text {
        font-size: 12px;
    }
}

footer .content-footer div {
    display: block;
    margin-top: 10px;
}

footer .content-footer div .link {
    font-size: 15px;
    color: #b0aeae;
    margin-top: 10px;
    text-decoration: none;
    transition: 0.2s;
}

@media only screen and (max-width: 1080px) {
    footer .content-footer div .link {
        font-size: 12px;
    }
}

footer .content-footer a:hover {
    text-decoration: underline;
    color: #f1f1f1;
}