body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #0f172a;
    color: white;
    position: relative;
}
@keyframes blinkGreen {
    0% {
        box-shadow: 0 0px 1px rgba(255, 255, 255, 1);
        color: white; /* Cor do texto inicial */
        text-shadow: 0 0px 1px rgba(255, 255, 255, 1); /* Sombra inicial do texto */
    }
    50% {
        box-shadow: 0 0px 10px rgba(0, 255, 0, 0.8); /* Verde brilhante no box-shadow */
        color: #0f0; /* Cor verde brilhante do texto */
        text-shadow: 0 0px 10px rgba(0, 255, 0, 0.8); /* Verde brilhante na sombra do texto */
    }
    100% {
        box-shadow: 0 0px 1px rgba(255, 255, 255, 1);
        color: white; /* Cor do texto final */
        text-shadow: 0 0px 1px rgba(255, 255, 255, 1); /* Sombra final do texto */
    }
}

/* Classe para aplicar a animação de piscar verde */
.blink-green {
    animation: blinkGreen 1s ease-in-out;
}

/* Estilo para o container de vídeo */
#video-container {
    position: relative;
    width: 70%;
    max-width: 400px;
    aspect-ratio: 3/4;
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0px 1px rgba(255, 255, 255, 1);
    display: none;
    justify-content: center;
    align-items: center;
}


 #start-video {
z-index: 99999;
}


/* Estilo para o container de instruções */
.instructions {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 20px; /* Aumenta o padding horizontal para mais espaço */
    border-radius: 5px;
    font-size: 15px;
    z-index: 1001; /* Garante que fique sobre outros elementos */
    display: none; /* Inicia oculto */
    box-shadow: 0 0px 1px rgba(255, 255, 255, 1);
    white-space: nowrap; /* Garante que o texto fique em uma única linha */
    overflow: hidden; /* Oculta qualquer texto que ultrapasse o container */
    text-overflow: ellipsis; /* Adiciona reticências se o texto for muito longo */
}


 canvas {
            position: absolute;
            top: 0;
            left: 0;
            z-index: 1; /* Certifique-se de que o z-index do canvas é menor que o do botão */
        }
#form-container {
    width: 80%;
    max-width: 600px;
    background-color: #1e293b;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

#video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scaleX(-1);
    position: absolute;
    top: 0;
    left: 0;
}

#canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#progress {
    width: 100%;
    display: none;
    position: fixed; /* Para fixar a barra de progresso no rodapé */
    bottom: 0; /* Alinha ao rodapé */
    left: 0;
    z-index: 1000; /* Garante que esteja sobreposto */
}

#credit {
    position: absolute;
    bottom: 10px;
    text-align: center;
    width: 100%;
}

/* Estilo para mobile */
@media (max-width: 768px) {
    #credit {
        position: fixed;
        bottom: 0;
        width: 100%;
        padding: 10px 0;
        text-align: center;
        color: white;
        z-index: 1000;
    }
}

#credit a {
    color: #ffffff;
    text-decoration: none;
}

#credit a:hover {
    text-decoration: underline;
}

.button-container {
    text-align: center;
    margin-top: 20px;
}

button {
    padding: 10px 20px;
    background-color: #3b82f6;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #2563eb;
}
