* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: url('../imagenes/decoraton_cursor.png'), auto !important;
}

body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #e6f7ff 0%, #ffe6f2 100%);
    color: #5a5a8a;
    min-height: 100vh;
}

.cabecera-principal {
    width: 100%;
    height: 12vh;
    background: linear-gradient(to right, #b3e0ff, #ffcce6);
    position: fixed;
    /* Otro ejemplo de uso de capas con posicionamiento */
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.navegacion-horizontal {
    display: flex;
    gap: 30px;
}

.enlace-menu {
    background-color: rgba(255, 255, 255, 0.7);
    color: #5a5a8a;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 25px;
    border-radius: 20px;
    transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.05);
}

.enlace-menu:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: #ff6b9d;
    transform: scale(1.05);
    /* Efecto CSS3 transform */
}

.enlace-menu.activo {
    background: #ff6b9d;
    color: white;
    text-shadow: 1px 1px 0 #5a5a8a,
        -1px 1px 0 #5a5a8a,
        -1px -1px 0 #5a5a8a,
        1px -1px 0 #5a5a8a;
    /* Contorno fino y oscuro sin engrosar la letra */
}

.contenedor-info {
    margin-top: 15vh;
    flex-grow: 1;
    /* Ocupa todo el espacio de flex */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
    flex-direction: column;
    /* Para colocar la lista y luego el div del GIF debajo */
}

.caja-translucida {
    position: relative;
    background-color: rgba(255, 255, 255, 0.285);
    width: 60%;
    border-radius: 25px;
    padding: 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.caja-translucida h1 {
    color: #ff6b9d;
    font-size: 2.2rem;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.caja-translucida p {
    color: #5a5a8a;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* Lista orientada a la izquierda */
.lista-decorada {
    text-align: left;
    margin: 0 auto;
    width: 90%;
    list-style-type: none;
}

.lista-decorada li {
    background-color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
    padding: 15px 20px;
    border-left: 5px solid #ff6b9d;
    /* Borde izquierdo rosa */
    border-radius: 10px;
    color: #5a5a8a;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.lista-decorada li:hover {
    transform: translateX(10px);
    background-color: #fff3b0;
    border-left-color: #ffd166;
}

.pie-pagina {
    margin-top: 10vh;
    width: 100%;
    min-height: 15vh;
    padding: 30px 10%;
    background: rgba(255, 255, 255, 0.4);
    display: flex;
    flex-direction: row;
    /* Dos columnas una al lado de la otra */
    justify-content: center;
    align-items: center;
    text-align: left;
    /* Alineamos el texto a la izquierda en su contenedor */
    gap: 80px;
    /* Separación horizontal entre columnas */
    color: #5a5a8a;
    box-shadow: none;
}

.columna-contacto h3 {
    color: #ff6b9d;
    margin-bottom: 10px;
}

.columna-contacto p {
    margin-bottom: 5px;
}

.boton-arriba {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ffd166;
    color: #5a5a8a;
    text-decoration: none;
    font-weight: bold;
    border-radius: 20px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.boton-arriba:hover {
    transform: translateY(-3px);
    background-color: #fadf85;
}

.estrella-animada {
    position: absolute;
    z-index: 1;
    /* Delante del contenedor */
    animation: parpadeo ease-in-out infinite alternate;
    animation-fill-mode: both;
    /* esta propiedad evita que la animación se "bugee" al recargar la página */
}

/* Tamaños, posiciones y duraciones aleatorias para cada estrella */
.e1 {
    width: 35px;
    top: -20px;
    left: -30px;
    animation-duration: 1.1s;
    animation-delay: 0s;
}

.e2 {
    width: 45px;
    top: 30%;
    right: -50px;
    animation-duration: 1.2s;
    animation-delay: 0.5s;
}

.e3 {
    width: 25px;
    bottom: 10%;
    left: -40px;
    animation-duration: 1.5s;
    animation-delay: 1.2s;
}

.e4 {
    width: 50px;
    bottom: -15px;
    right: -35px;
    animation-duration: 1.8s;
    animation-delay: 0.3s;
}

.e5 {
    width: 30px;
    top: -10px;
    right: 10%;
    animation-duration: 1.5s;
    animation-delay: 0.8s;
}

.e6 {
    width: 40px;
    top: 60%;
    left: -60px;
    animation-duration: 1.1s;
    animation-delay: 1.5s;
}

/* Control de la animación "parpadeo" mediante "frames" intermedios */
@keyframes parpadeo {
    0% {
        transform: scale(1);
        opacity: 0.6;
        filter: drop-shadow(0px 0px 4px rgba(255, 242, 168, 0.5));
    }

    100% {
        transform: scale(1.2);
        opacity: 1;
        filter: drop-shadow(0px 0px 15px rgba(255, 242, 168, 1));
    }
}