@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Press Start 2P';
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: url(/images/Marcianitos2.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

@keyframes starfieldAnimation {
    0% { background-position: 0 0; }
    100% { background-position: 0 100%; }
}

.container {
    background: rgba(83, 8, 83, 0);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 100%;
}

h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #ffcc00;
    
}

@keyframes textGlow {
    0% { text-shadow: 0 0 20px rgba(255, 204, 0, 0.8); }
    100% { text-shadow: 0 0 40px rgba(255, 204, 0, 1); }
}

h2, h3 {
    color: #ffcc00;
}

input[type="text"], input[type="number"] {
    width: 20%;
    padding: 10px;
    margin: 10px 0;
    border-radius: 10px;
    border: none;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    transition: box-shadow 0.3s, transform 0.3s;
}

input[type="text"]:focus, input[type="number"]:focus {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
    transform: scale(1.05);
}

button {
    font-family: 'Press Start 2P';
    background-color: #ffcc00;
    color: #000;
    border: none;
    border-radius: 10px;
    padding: 15px 25px;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s, transform 0.2s, box-shadow 0.3s;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

button:hover {
    background-color: #e6b800;
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 255, 0, 1);
}

.hidden {
    display: none;
}

#feedback {
    margin-top: 20px;
    font-size: 20px;
    color: #ffcc00;
    text-shadow: 1px 1px 4px rgba(5, 5, 5, 0.404);
}

#timer {
    font-size: 22px;
    color: #ffcc00;
}

/* ... Código anterior ... */

#question {
    font-size: 24px;
    color: white; /* Color blanco */
    animation: fadeIn 1s ease-in-out; /* Animación de entrada */
    margin: 20px 0;
}


/* Nueva animación para el texto de la pregunta */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ... Código posterior ... */
/* ... Código anterior ... */

#question {
    font-size: 24px;
    color: rgb(0, 0, 0); /* Color blanco */
    animation: fadeIn 1s ease-in-out; /* Animación de entrada */
    margin: 20px 0;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8); /* Efecto de iluminación */
}

/* Nueva animación para el texto de la pregunta */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ... Código posterior ... */
/* ... Código anterior ... */

#score, #level {
    font-size: 22px;
    color: rgb(0, 0, 0); /* Color blanco */
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8); /* Efecto de iluminación */
}

/* ... Código posterior ... */

.content {
    position: relative;
    z-index: 1; /* Asegura que el contenido esté delante del video */
    color: white;
    text-align: center;
    padding: 20px;
}

.boton {
    background-color: black;
    justify-self:center;
    padding: 13px 30px;
    border-radius: 32px;
	margin-bottom: 20px;
    margin-right: auto;
}
.boton a {
    text-decoration: none;
    color: #fff;
}
.boton:hover{
    background-color: #e6b800;
}
@media screen and (max-width: 800px) {
    h1 {
        font-size: 30px;
        margin-bottom: 20px;
        color: #ffcc00;
        
    }
    button {
        font-family: 'Press Start 2P';
        background-color: #ffcc00;
        color: #000;
        border: none;
        border-radius: 10px;
        padding: 15px 25px;
        cursor: pointer;
        font-size: 18px;
        transition: background-color 0.3s, transform 0.2s, box-shadow 0.3s;
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    }
    
}