﻿.aluno-atividade-background {
    background: #030617;
    height: auto;
    display: block;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: absolute;
    left: 0px;
    top: 0px;
}

.aluno-atividade-concluir-button {
    background: #0C0F1E;
    width: 98%;
    height: 45px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    color: #4C5687;
    font-weight: bold;
    object-fit: cover;
    margin: 10px auto;
    display: flex;
    position: relative;
    justify-content: center;
}

.aluno-atividade-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeScaleIn 0.5s ease-out forwards;
}

@keyframes fadeScaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.aluno-atividade-icone-bau {
    width: 200px;
    height: 200px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    position: relative;
    justify-content: center;
    align-items: center;
    background: none;
    animation: bounceStart 0.5s ease-out, bounceLoop 1.5s ease-in-out 0.5s 3;
}
@keyframes bounceStart {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-25px);
    }

    100% {
        transform: translateY(0);
    }
}
@keyframes bounceLoop {
    0%, 100% {
        transform: translateY(0);
    }

    25% {
        transform: translateY(-10px);
    }

    50% {
        transform: translateY(0);
    }

    75% {
        transform: translateY(-5px);
    }
}

.aluno-atividade-pontos-container {
    font-size: 16px;
    color: #030617;
    background-color: white;
    border-radius: 20px;
    padding: 5px 10px 5px 25px; /* Ajuste para deixar espaço para o ícone */
    text-align: left; /* Alinhamento do texto */
    width: 40%;
    display: block;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    margin-top: 15px;
    margin-bottom: 20px;
    position: relative;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.aluno-atividade-icone-tiivos {
    width: 40px;
    height: 40px;
    object-fit: cover;
    position: absolute;
    left: -10px;
    top: -5px;
    border-radius: 50%;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
    /* Define o estado inicial igual ao da animação para não sumir */
    opacity: 0;
    transform: translateY(-100px) rotate(0deg);
    animation: coinDrop 1s ease forwards;
    animation-delay: 0.4s;
    animation-fill-mode: both; /* mantém estilos antes e depois da animação */
}
@keyframes coinDrop {
    0% {
        opacity: 0;
        transform: translateY(-100px) rotate(0deg);
    }

    100% {
        opacity: 1;
        transform: translateY(-5px) rotate(360deg); /* posição final */
    }
}

.aluno-atividade-icone-trofeu {
    width: 50px;
    height: 50px;
    object-fit: cover;
    position: absolute;
    left: -10px;
    top: 50%;
    border-radius: 50%;
    /*box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);*/
    /* Estado inicial */
    opacity: 0;
    transform: translateY(-50%) scale(0.5);
    animation: zoomIn 0.8s ease-out forwards;
    animation-delay: 0.6s;
    animation-fill-mode: both;
}
@keyframes zoomIn {
    from {
        opacity: 0;
        transform: translateY(-50%) scale(0.5);
    }

    to {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
}

.aluno-resposta-correta {
    font-size: 30px;
    color: white;
    margin-top: 50px;
    margin-bottom: 15px;
    text-align: center;
    font-weight: bold;
    animation: pulse 1.5s infinite;
}

.aluno-resposta-incorreta {
    font-size: 30px;
    color: red;
    margin-top: 50px;
    margin-bottom: 15px;
    text-align: center;
    font-weight: bold;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.aluno-atividade-proxima-pergunta-button {
    background: #0C0F1E;
    width: 50%;
    height: 50px;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    color: White;
    font-weight: bold;
    object-fit: cover;
    display: flex;
    margin: 0 auto;
    margin-top: 50px;
    position: relative;
    justify-content: center;
    opacity: 0;
    animation: slideUp 0.6s ease-out 0.8s forwards;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.aluno-atividade-icone-bau {
    object-fit: contain;
    animation-delay: 0.2s;
}

.aluno-atividade-proxima-pergunta-button {
    animation-delay: 0.8s;
}

.aluno-atividade-pontos-texto {
    margin-left: 15px;
}