@import url('https://fonts.googleapis.com/css2?family=Archivo+Narrow:ital,wght@0,400..700;1,400..700&family=Permanent+Marker&display=swap');

/* Estilos base de la página */
body {
    background: linear-gradient(to bottom right, #000000, #2F0B4A);
    font-family: Arial, sans-serif;
    color: white;
    margin: 0;
    padding: 20px;
    min-height: 100vh;
    width: 820px;
    margin: auto;
}

/* Contenedor principal blanco */
.container {
    background-color: white;
    max-width: 656px;
    margin: 30px auto;
    border-radius: 15px;
    padding: 20px;
    color: #333;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Títulos principales */
h2 {
    text-align: center;
    color: #57277B;
    margin-top: 0;
    font-family: "Permanent Marker";
}

/* Subtítulos */
h3 {
    color: #57277B;
    margin-top: 0;
    font-family: "Archivo Narrow";
}

/* Texto secundario */
.subtitle {
    color: #666;
    font-size: 0.9rem;
}

/* Colores para las respuestas */
.rojo { background-color: red; }
.azul { background-color: blue; }
.verde { background-color: green; }
.amarillo { background-color: yellow; }

/* Contenedor de la pregunta */
.pregunta-container {
    text-align: center;
}

a{
    text-decoration: none;
    color: white;
}

/* Temporizador */
.timer {
    font-size: 32px;
    font-weight: bold;
    color: #57277B;
    margin-bottom: 10px;
    font-family: "Permanent Marker";
    float: left;
}

/* Nombre del jugador */
.nombre-jugador {
    font-size: 19px;
    color: #57277B;
    margin-bottom: 20px;
    font-weight: bold;
    font-family: "Archivo Narrow";
    float: right;
}

/* Sección de la pregunta */
.pregunta-section h2 {
    color: #57277B;
    margin-bottom: 20px;
    font-family: "Permanent Marker";
    clear: both; /* Limpia los floats anteriores */
}

/* Contenedor de imagen de pregunta */
.imagen-pregunta {
    margin: 20px 0;
}

/* Campo para imagen */
.cuadro-imagen {
    background-color: #F5F5F5;
    border-radius: 10px;
    padding: 60px 20px;
    color: #666;
    font-weight: bold;
    border: 2px dashed #ddd;
    font-family: "Archivo Narrow";
}

/* Grid de respuestas */
.respuestas {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 columnas */
    gap: 15px;
    margin-top: 20px;
}

/* Estilo individual de cada respuesta */
.respuesta {
    border-radius: 10px;
    padding: 15px;
    color: #57277B;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    font-family: "Archivo Narrow";
    height: 100px; /* Altura fija para uniformidad */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Efecto hover en respuestas */
.respuesta:hover {
    filter: brightness(0.7); /* Oscurece al pasar el mouse */
}

@media screen and (max-width: 1024px) {
    body {
        width: 95%;
        padding: 15px;
    }
    
    .container {
        max-width: 90%;
        margin: 20px auto;
        padding: 15px;
    }
    
    .timer {
        font-size: 28px;
    }
    
    .nombre-jugador {
        font-size: 17px;
    }
    
    .respuesta {
        height: 90px;
        padding: 12px;
    }
}

@media screen and (max-width: 600px) {
    body {
        padding: 1.333%; /* 8px / 600px */
    }
    
    .container {
        max-width: 90%;
        margin: 1.667% auto; /* 10px / 600px */
        padding: 2%; /* 12px / 600px */
        border-radius: 10px;
    }
    
    .timer {
        font-size: 22px;
        margin-bottom: 1.667%; /* 10px / 600px */
        float: none;
        text-align: center;
    }
    
    .nombre-jugador {
        font-size: 15px;
        margin-bottom: 1.667%; /* 10px / 600px */
        float: none;
        text-align: center;
    }
    
    .pregunta-section h2 {
        font-size: 1.3rem;
        margin-bottom: 2%; /* 12px / 600px */
    }
    
    .cuadro-imagen {
        padding: 5% 1.667%; /* 30px 10px / 600px */
        font-size: 0.9rem;
    }
    
    .respuestas {
        grid-template-columns: 1fr; /* 1 columna en móviles */
        gap: 1.667%; /* 10px / 600px */
        margin-bottom: 4%;
    }
    
    .respuesta {
        height: 70px;
        padding: 1.333%; /* 8px / 600px */
        font-size: 0.85rem;
    }
}





