body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #F3E2D0;
    font-family: 'Amiri', serif;
    color: #333;  /* Color base para el texto */
}

.container {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #f5e8d0;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 360px;
    height: 90%;
    max-height: 740px;
    overflow: hidden;
    position: relative;
}

h1 {
    font-size: 1.5em;
    margin-bottom: 20px;
}

.image-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.image-option {
    width: 180px;
    height: auto;
    margin: 15px 0;
    cursor: pointer;
    transition: transform 0.3s;
}

.image-option:hover {
    transform: scale(1.1);
}

#message-container {
    margin-top: 20px;
    font-size: 1.2em;
    color: #333; /* Asegurando que el texto tenga un color visible */
}

.success-message {
    color: #008000; /* Verde oscuro */
}

.error-message {
    color: #FF0000; /* Rojo */
}

.next-button {
    display: block;
    margin-top: 10px;
    padding: 10px 20px;
    background-color: transparent;
    border: none;
    font-size: 1.2em;
    color: #000;  /* Color negro para asegurar visibilidad */
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s;
}

.next-button:hover {
    color: #333;
}

.bottom-buttons {
    display: flex;
    justify-content: space-between;
    width: 100%;
    position: absolute;
    bottom: 20px;
}

.arrow-button img, .home-button img {
    width: 50px;
    height: 50px;
}

.arrow-button, .home-button {
    text-decoration: none;
    transition: transform 0.3s;
}

.arrow-button:hover, .home-button:hover {
    transform: translateY(-2px);
}

