/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

/* Estilo do body */
body {
    background-color: #f7f7f7;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    position: relative;
}

/* Estilo do container */
.container {
    width: 100%;
    max-width: 400px;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    z-index: 1;
    margin-top: 40px; /* Ajusta a margem superior para centralizar */
}

/* Centraliza e estiliza o logo dentro do bloco */
.logo-container {
    margin-bottom: 20px; /* Adiciona um pequeno espaço entre o logo e o título */
}

.logo {
    width: 120px; /* Ajuste o tamanho conforme necessário */
}

/* Estilo do título principal */
h1 {
    font-size: 1.6em;
    margin-bottom: 20px;
    color: #333;
}

/* Estilo dos campos de formulário */
.form-group {
    margin-bottom: 15px;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.9em;
    color: #333;
}

.input-field, .file-upload {
    width: 100%;
    padding: 10px;
    border-radius: 20px;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    outline: none;
    font-size: 1em;
    transition: border-color 0.3s ease;
}

.input-field:focus, .file-upload:focus {
    border-color: #007bff;
}

/* Botão de sorteio */
.submit-button {
    width: 100%;
    padding: 10px;
    background-color: #8894AB; /* Cor ajustada para #8894AB */
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:disabled {
    background-color: #999;
}

.submit-button:hover:enabled {
    background-color: #66718D; /* Cor mais escura no hover */
}

/* Contagem regressiva - overlay */
.overlay {
    display: none; /* Inicialmente invisível */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999; /* Colocar acima de todos os elementos */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: white;
}

.countdown {
    font-size: 5em;
    animation: fadeInOut 1s ease infinite;
}

.winner-display {
    font-size: 3em;
    color: #ffffff; /* Cor do texto ajustada para #ffffff */
    opacity: 0;
    transition: opacity 1s ease, transform 1s ease;
}

/* Animação de fade para contagem regressiva */
@keyframes fadeInOut {
    0%, 100% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
}

/* Animação mais sutil do vencedor, ajustada para mover abaixo do campo "Vencedor" */
@keyframes moveToInput {
    0% {
        opacity: 1;
        transform: scale(2) translateY(0); /* Aumentado levemente */
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(30px); /* Leve deslocamento para baixo */
    }
}
