@import url('https://fonts.googleapis.com/css2?family=Abel&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

:root {
    --quadro-font: "Abel", sans-serif;
    --font-padrao: "Open Sans", sans-serif;
    --color-default: #8a2be2;
    --color-acertou: #4be71c;
    --color-errou: #ff0000;
    --color-quadro: #0c4e0c;
    --color-quadro-border: #c48a3f;
    --color-colum: #e7e7e7;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: var(--font-padrao);
}

body {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    position: relative;
}

#container {
    background-color: #0b3286;
    padding: 0 1.6rem;
    width: 96%;
    max-width: 600px;
    border-radius: 0.65rem;
    box-shadow: 0 8px 20px rgb(0, 0, 0, 0.2);
    animation: fadeIn 0.6s ease-in-out;
}

#container > h1{
    color: #ffff00;
    font-variant: small-caps;
    font-size: 1.9rem;
    text-align: center;
    margin-top: 5px;
}

#quadro {
    width: 100%;
    background-color: var(--color-quadro);
    height: 7rem;
    border-radius: 15px;
    border: 4px solid var(--color-quadro-border);
    margin-bottom: 0.65rem;
    padding: 1rem;
    color: #fff;
}

#texto {
    font-family: var(--quadro-font);
}

ul {
    display: flex;
    flex-direction: column;
    width: 100%;
    list-style: none;
    margin-bottom: 0.65rem;
}

ul > li {
    background-color: var(--color-colum);
    margin: 5px 0;
    padding: 0.65rem;
    border-radius: 0.65rem;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
} 

#submeter-status {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#submeter-status .status {
    color: var(--color-errou);
}

#submeter-status > button {
    width: 100%;
    padding: 0.65rem;
    border: none;
    border-radius: 0.65rem;
    background-color: var(--color-acertou);
    color: #fff;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    font-variant: small-caps;
    margin-bottom: 0.65rem;
    transition: .3s;
}

#submeter-status > button:hover {
    background-color: #40c244;
    color: #d6d4d4;
}

#submeter-status > .outro {
    display: flex;
    height: 2rem;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.65rem;
    color: var(--color-acertou);
    font-size: 1.5rem;
    padding: 0.65rem;
    font-weight: bold;
}
 
#submeter-status #status-progresso {
    height: 1rem;
    background: #eee;
    border-radius: 0.65rem;
    overflow: hidden;
    width: 100%;
    margin-bottom: 0.8rem;
    position: relative;
}

#submeter-status > #status-progresso > #progresso {
    height: 100%;
    width: 0%;
    transition: width 0.4s ease-in-out;
    background: linear-gradient(to right, #4CAF50, #00c6ff);
}

#submeter-status > #status-progresso .terminou {
    position: absolute;
    z-index: 2;
    font-size: 1rem;
    right: 4px;
    bottom: -1px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/**/
.certo {
    background-color: var(--color-acertou);
    color: #fff;
    border: 3px solid var(--color-colum);
}

.errado {
    background-color: var(--color-errou);
    color: #fff;
    border: 3px solid var(--color-colum);
}