body {
    background-image: url('background.png'); /* Caminho da imagem */
    background-size: cover; /* Preenche toda a tela */
    background-position: center; /* Centraliza */
    background-repeat: no-repeat; /* Não repete */
    background-attachment: fixed; /* Dá efeito fixo no desktop */
    font: normal 15pt Arial, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh; /* Garante altura mínima */
    display: flex;
    flex-direction: column;
}

header {
    color: white;
    text-align: center;
    -webkit-text-stroke: 2px black;
}
section {
    background: rgb(17, 132, 63);
    border-radius: 10px;
    border: 4px solid black;
    padding: 15px;
    width: 500px;
    max-width: 90%; /* Ajusta no mobile */
    margin: auto;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.447);
    backdrop-filter: blur(5px); /* Efeito vidro */
}
section img {
    width: 100%;        /* ocupa toda a largura disponível da section */
    max-width: 100%;    /* nunca ultrapassa a section */
    height: auto;       /* mantém proporção */
    display: block;
    margin: 0 auto 10px auto;
}    
section div p {
    text-align: center;
    color: white;
    font-family: 'Dancing Script', sans-serif;
    font-size: 2em;
}

#contador { 
    text-align: center;
    font-size: 1.5em;
    color: white;
    background: rgba(0, 0, 0, 0.3);
    padding: 15px 20px; 
    border-radius: 15px; 
    box-shadow: 3px 3px 10px rgba(0,0,0,0.5);
}
footer {
    color: white;
    text-align: center;
    font-style: italic;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

#contador span {
    animation: pulse 1s ease-in-out infinite; /* animação contínua */
}
