/* Reset general */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #2a2a2a;
    text-align: center;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    width: 80%;
    margin: 20px auto;
}

h1 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
}

button {
    padding: 10px 20px;
    background-color: #2980b9;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    transition: background-color 0.3s ease;
    margin-bottom: 20px;
}

button:hover {
    background-color: #1f618d;
}

/* Contenedor de las tarjetas */
.cards-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

/* Estilo básico de las tarjetas */
.card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 20px;
    width: 200px;
    height: 200px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;               /* Usar flexbox */
    flex-direction: column;
    justify-content: center;      /* Centrar verticalmente */
    align-items: center;          /* Centrar horizontalmente */
    text-align: center;           /* Asegurar que el texto dentro esté centrado */
}

.card h2 {
    font-size: 20px;
    color: #2980b9;
    margin-bottom: 10px;
}

.card-content {
    font-size: 16px;
    color: #2c3e50;
}

/* Estilo para el texto explicativo */
#explanation-text {
    margin-top: 20px;
    font-size: 16px;
    color: #2c3e50;
    text-align: left;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

/* Estilos del footer */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 20px;
    margin-top: auto;
    text-align: center;
}

footer p {
    font-size: 14px;
    line-height: 1.5;
}

/* Estilo general para enlaces (sin azul y sin subrayado) */
a {
    color: inherit; /* Usa el color del elemento padre */
    text-decoration: none; /* Quita el subrayado */
}

/* Estilo para enlaces en el footer */
footer a {
    color: white; /* Cambia el color de los enlaces en el footer a blanco */
}

footer a:hover {
    color: #ddd; /* Color de los enlaces al pasar el cursor */
}