body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #F3E2D0; /* Fondo de la página web */
    font-family: 'Amiri', serif;
}

.container {
    text-align: center;
    background-color: #f5e8d0; /* Color de la caja */
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 360px; /* Asegura el mismo ancho máximo */
    height: 90%; /* Asegura la misma altura máxima */
    max-height: 740px; /* Limitar la altura máxima */
}

h1 {
    font-size: 24px; /* Ajustar tamaño del título */
    font-weight: bold;
    margin-bottom: 20px;
}

.grid-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px; /* Espacio entre los botones */
}

.grid-button {
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 15px; /* Reducir padding para hacer los botones más pequeños */
    font-size: 16px; /* Tamaño de fuente ajustado */
    text-align: center;
    text-decoration: none;
    color: #000;
    font-family: 'Amiri Bold', serif;
    transition: background-color 0.3s, transform 0.3s;
    height: 80px; /* Altura ajustada para hacer los botones más pequeños */
}

.grid-button:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

.final-exam {
    font-size: 18px;
    margin-top: 20px;
}

.final-exam a {
    text-decoration: none;
    color: #000;
    transition: color 0.3s;
}

.final-exam a:hover {
    color: #555;
}
.bottom-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.arrow-button img, .home-button img {
    width: 50px; /* Tamaño aumentado de los íconos */
    height: 50px;
}

.arrow-button, .home-button {
    text-decoration: none;
    transition: transform 0.3s;
}

.arrow-button:hover, .home-button:hover {
    transform: translateY(-2px);
}
