/* styles.css */
/* Estilos existentes */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.container {
    width: 80%;
    max-width: 1200px;
    margin: 20px auto;
    text-align: center;
}

/* Estilos para la imagen */
#imagen-test {
    max-width: 50%; /* Ajusta el ancho máximo al 100% del contenedor */
    height: auto; /* Mantiene la proporción de la imagen */
    margin-bottom: 10px; /* Espacio debajo de la imagen */
}

h1 {
    text-align: center;
    color: blue;
    }

#testForm {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.pregunta {
    background: #fff;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.pregunta label {
    display: block;
    margin-bottom: 5px;
}

button {
    width: 100%;
    padding: 10px;
    border: none;
    background-color: #333;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: block;
    margin-top: 20px;
}

button:hover {
    background-color: #555;
}

@media (max-width: 768px) {
    #testForm {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Nuevos estilos para los resultados */
#resultadosTexto h2,#resultadosTexto p {
    text-align: center;
    margin-bottom: 25px;
}

.resultado-color {
    margin: 5px auto;
    font-size: 20px;
    display: flex;
    justify-content: center; /* Centra los elementos dentro del flex container */
    align-items: center;
    font-weight: bold; /* Añade negrilla a los resultados */
}

.color-circulo {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 15px;
}

/* Estilos para los colores específicos */
.rojo .color-circulo { background-color: red; }
.amarillo .color-circulo { background-color: yellow; }
.verde .color-circulo { background-color: green; }
.azul .color-circulo { background-color: blue; }

.rojo { color: red; }
.amarillo { color: black; }
.verde { color: green; }
.azul { color: blue; }


#descripcion-test {
    text-align: left; /* Centrar el texto */
    font-size: 16px; /* Tamaño del texto */
    color: #333; /* Color del texto */
    margin-top: 10px; /* Espacio arriba */
    margin-bottom: 30px; /* Espacio abajo */
  
  
 