* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #202020;
    color: #f0f0f0;
    line-height: 1.6;

}

.wrapper {
    display: flex;
    flex-direction: column;
    height: 100vh;
    position: relative;
    gap: 20px;
}

#app {
    flex-grow: 1;
    overflow-y: auto;
}

.hidden {
    display: none;
}

.head {
    display: flex;
    justify-content: space-between;
    background-color: #D9D9D9;
    color: black;
    padding: 10px;
}

.head .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #525252;
    font-size: 0.9rem;
}

.head-left .username {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: flex-start;
}


.head-left {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.head-left .user-avatar {
    border-radius: 50%;
    max-width: 40px;
    border: 1px solid #2f2f2f;
}

.head-left .user-name {
    font-weight: bold;
    color: #333;
    overflow: ellipsis;
    font-size: 1rem;
}

.head-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.head .stage {
    font-size: 1.2em;
    font-weight: bold;
}

.head .progress {
    font-size: 1em;
    color: #525252;
}

.box {
    width: 100%;
    /* height: 100vh; */
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.items {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: center;
}

.content {
    background-color: #333;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.content:hover {
    background-color: #555;
}

.content .image {
    overflow: hidden;
    border-radius: 5px;
    margin-bottom: 3px;
}

.img-100px {
    width: 100px;
    height: 100px;
}

.img-200px {
    width: 200px;
    height: 200px;
}

.content .image img {
    width: 100%;
    height: 100%;
}

.question {
    font-size: 1.2em;
    /* margin-bottom: 2px; */
    text-align: center;
}

.answer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.txt-answer {
    font-size: 1em;
    text-align: center;
    color: #c6c6c6;
}

button {
    background-color: #D9D9D9;
    color: black;
    border: none;
    padding: 2px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
    width: 100px;
    height: 50px;
    font-weight: bold;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

button:hover {
    background-color: #bfbfbf;
}

button.btn-red {
    background-color: #ad1f1f;
    color: white;
    font-weight: bold;
}

button.btn-red:hover {
    background-color: #ce0000;
}

button.btn-purple {
    background-color: #4c51af;
    color: white;
    font-weight: bold;
}

button.btn-purple:hover {
    background-color: #6069d6;
}

.fz-lg {
    font-size: large;
}

.show-text {
    position: fixed;
    top: 90px;
    right: 7px;
}

.show-text button {
    border-radius: 50px;
    width: 40px;
    height: 40px;
}

.hidden-text {
    display: none;
}

/* explantion */
.explanation {
    margin: 0 auto;
    text-align: justify;
    padding: 5px 25px;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.explanation .logo {
    width: 400px;
    height: auto;
    border-radius: 14px;
}

.explanation .title {
    font-size: 1.5em;
    font-weight: bold;
    text-align: center;
}

.explanation p {
    border-radius: 20px;
    background-color: #3333335c;
    padding: 15px;
    line-height: 1.5;
}

.explanation ul {
    list-style-type: disc;
    margin-left: 20px;
}

.explanation li {
    margin-bottom: 5px;
    line-height: 1.5;
}

.line {
    width: 80%;
    border: 1px solid #444444;
    margin: 20px 0;
}

.feeling-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
}

/* Container para centralizar o spinner */
.loading-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.797);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 1000;
}

/* O spinner em si */
.loading-container .spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    /* Borda cinza clara */
    border-top-color: #fff;
    /* A borda de cima é branca para o efeito de rotação */
    border-radius: 50%;
    /* Transforma o elemento em um círculo */
    animation: spin 1s ease-in-out infinite;
    /* Aplica a animação */
}

/* A animação real de rotação */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


@media screen and (max-width: 720px) {
    .items {
        display: grid;
        grid-template-columns: repeat(2, 0.6fr);
        gap: 20px;
        list-style: none;
        margin: 0;
        justify-content: center;
    }
}