body {
    margin: 0; padding: 0;
    display: flex; flex-direction: column;
    align-items: center; 
    background-color: #3D2C50;
    color: #e94560;
    font-family: sans-serif, 'Times New Roman';
}
.header {
    position: absolute;
    top: 40px;
    width: 100%;
    font-size: 23px;
    text-align: center;
    font-family: Georgia, 'Times New Roman', Times, serif;
    text-shadow: 6px 4px 0px #5e548e;
    color:#9d8df1;
}
.mucho-texto {
    position: static;
    top: 40px;
    width: 100%;
    font-size: 23px;
    margin-top: 150px;
    max-width: 800px;
    line-height: 1.4;
    padding: 20px;
    text-align: left;
    font-family: serif;
    color:#9d8df1;
}
.medio-texto {
    position: static;
    top: 40px;
    width: 100%;
    font-size: 23px;
    margin-top: 40px;
    max-width: 800px;
    line-height: 1.4;
    padding: 20px;
    text-align: left;
    font-family: serif;
    color: #9d8df1;
}
.poco-texto {
    font-size: 19px;
    position: static;
    text-align: center;
    font-family: serif;
    color: #e94560;
}
.tabla {
    width: 90%;
    max-width :800px;
    margin :20px auto;
    border-collapse: auto;
    background: #2a1e3a; 
    border-radius: 15px;
    overflow: hidden;
    font-family: serif;
    color: #9d8df1;
}
tr:hover {
    background-color: #2a1e3a;
}
th, td {
    padding: 15px;
    border-bottom: 1px solid rgba( 157, 141, 241, 0.2);
    text-align: left;
}
th {
    background-color: #2a1e3a;
    color:#e94560;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 2px;
}
.background-overlay {
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: linear-gradient(45deg, #2a1e3a, #5e548e);
    z-index: -1;
}
.quiz-section {
    width: 90%;
    max-width: 500px;
    margin: 40px auto;
}
.quiz-container {
    background: rgba(22, 22, 37, 0.8);
    padding: 25px;
    border-radius: 20px;
    border: 1px solid #9d8df1;
    color: #9d8df1;
    text-align: center;
}
.question {
    text-align: left;
    margin-bottom: 20px;
}
.question p {
    color: #e94560;
    font-weight: bold;
}
.submit-quiz {
    background: #e94560;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 15px;
    cursor: pointer;
    font-weight: bold;
    width: 100%;
}
/* Caja de agradecimiento */
.thanks-box {
    background: rgba(157, 141, 241, 0.1);
    padding: 30px;
    border-radius: 20px;
    border: 2px dashed #9d8df1;
    color: #9d8df1;
    text-align: center;
    /* Animación  */
    animation: aparecer 0.6s ease-out;
}
/* A-RULE es una regla avisa sobre algun comportamiento */
@keyframes aparecer {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}
/* Estilos del Carrusel */
.carousel-wrapper {
    position: relative; 
    width: 100%; 
    max-width: 1000px;
    display: flex; 
    align-items: center; 
    margin: 40px 0;
}
.carousel-container {
    width: 100%; 
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2); 
    padding: 20px 0;
    scroll-behavior: smooth;
}

.carousel-track { 
    display: flex; 
    width: max-content; 
    padding: 0 50px; 
}
.carousel-item img {
    width: 280px; 
    height: 180px; 
    object-fit: cover;
    border-radius: 15px; 
    border: 2px solid #9d8df1;
    transition: 0.3s; 
    margin: 0 10px;
}
.nav-btn {
    background: #e94560; 
    color:aqua; 
    border: none;
    width: 40px; 
    height: 40px; 
    border-radius: 50%;
    cursor: pointer; 
    z-index: 10;
}
.contenedor {
    text-align: center; 
    z-index: 70;
    background: rgba(33, 33, 37, 2.0);
    border-radius: 50px;
    color: #9d8df1;
}
/* Estilos nuevos para el footer */
#miFooter {
    background-color: #3D2C50; /* Color oscuro */
    color: #9d8df1;
    text-align: center;
    padding: 20px;
    margin-top: 30px;
    font-family: sans-serif;
    border-top: 3px solid #9d8df1; 
}
.footer-box p {
    margin-bottom: 10px;
}
