:root {
    --primary-color: #f7c631; /* Color principal */
    --secondary-color: #f0f0f0; /* Color secundario */
    --text-color: #333; /* Color del texto */
    --shadow-color: rgba(0, 0, 0, 0.2); /* Color de la sombra */
    --border-color: #f1a22e; /* Color del borde */
    --background-gradient: linear-gradient(135deg, #f7c631, #f2a16f); /* Fondo con degradado */
}

main, .background {
    height: 100%;
    overflow: hidden;
    padding-bottom: 20px;
}

.main {
    border: 3px solid var(--border-color);
    background: rgba(255, 255, 255, 0.3);
    border-radius: 12px; /* Bordes redondeados */
}

.esconder {
    font-size: 0;
    color: transparent;
    text-shadow: none;
}

/* ANIMACIÓN DE MOVIMIENTO DEL BACKGROUND */
.background {
    background: url(../backgrounds/fondo.jpg) no-repeat center center fixed;
    background-size: cover;
    animation: moveBackground 30s linear infinite, slideBackground 60s linear infinite;
}

/* ANIMACIÓN DE RECORRIDO DEL BACKGROUND */
@keyframes moveBackground {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100% 100%;
    }
}

@keyframes slideBackground {
    0% {
        background-position: 0 0;
    }
    50% {
        background-position: 100% 100%;
    }
    100% {
        background-position: 0 0;
    }
}

/* ESTILO DE LAS SOMBRAS */
:root {
    --shadow: 0px 4px 6px var(--shadow-color), 0px -4px 6px var(--shadow-color);
}

.descripcion {
    width: 90%;
    padding: 0;
    margin-bottom: 0;
    font-size: 16px;
    color: var(--text-color);
}

.titulo {
    margin-top: 0;
}

/* NOMBRE */
.titulo h1 {
    font-size: 72px;
    color: var(--primary-color);
    text-shadow: var(--shadow);
    text-align: center;
    line-height: 1.2;
    font-family: 'Walter', sans-serif;
    letter-spacing: 1.5vw;
    margin-bottom: 10px;
}

/* CUMPLE */
.titulo h2 {
    color: var(--secondary-color);
    text-shadow: var(--shadow);
}

/* IMAGEN NUMERO */
.titulo img {
    width: 180px;
    margin: 10px 0;
}

/* FECHA */
.fecha span {
    color: var(--secondary-color);
    text-shadow: var(--shadow);
}

.countdown-container {
    border: 4px solid var(--primary-color);
    background: rgba(0, 0, 0, 0.6); /* Fondo translúcido oscuro */
    border-radius: 12px;
    box-shadow: 0 8px 32px 0 var(--shadow-color);
    color: var(--primary-color);
    padding: 15px;
}

/* COUNTDOWN NUMBERS */
.faltan div {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(10px);
    padding: 10px;
    border-radius: 12px;
}

/* VESTIMENTA */
.vestimenta img {
    width: 100px;
}

.vestimenta span {
    color: var(--secondary-color);
    text-shadow: var(--shadow);
}

/* SALÓN BELANOVA */
.descripcion span {
    color: var(--secondary-color);
    width: 90%;
    padding: 0;
    margin-bottom: 10px;
    font-size: 16px;
}

/* BOTONES */
.buttons a {
    color: var(--text-color);
    height: 45px;
    padding: 12px 20px;
    border-radius: 8px;
    background-color: var(--primary-color);
    box-shadow: 0 4px 15px var(--shadow-color);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

/* LEYENDA */
.leyenda span {
    color: var(--secondary-color);
    text-shadow: var(--shadow);
    font-size: 30px;
    text-align: center;
    line-height: 1.3;
}

/* REPRODUCTOR */
input[type=range]::-webkit-slider-thumb {
    background-color: #ffffff;
    width: 24px;
    height: 24px;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    margin-top: -12px;
}

input[type=range]::-webkit-slider-runnable-track {
    background-color: var(--primary-color);
    height: 6px;
}

/* Botón Play/Pause */
#play-pause-button {
    background-color: var(--secondary-color);
}

/* SVG Play */
.icon-tabler-player-play-filled path:nth-child(2) {
    fill: var(--primary-color);
}

/* SVG Pause */
.icon-tabler-player-pause-filled path:nth-child(2),
.icon-tabler-player-pause-filled path:nth-child(3) {
    fill: var(--primary-color);
}

/* DECORACIONES */
.img1, .img2, .img3, .img4, .vuelo {
    position: absolute;
    z-index: -1;
}

.img1 {
    width: 250px;
    left: -30px;
    animation: img1Animate 8s infinite;
}

.img2 {
    width: 200px;
    right: -60px;
    animation: img2Animate 10s infinite;
}

.img3 {
    width: 230px;
    right: -90px;
    animation: img3Animate 12s infinite;
}

.img4 {
    width: 280px;
    left: -100px;
    animation: img4Animate 14s infinite;
}

.vuelo {
    width: 80px;
    right: -20px;
    bottom: 0;
    animation: volarAnimate 16s infinite;
}

@keyframes volarAnimate {
    0% {
        transform: translate(-1000px, -300px) rotate(-15deg);
    }
    50% {
        transform: translate(1000px, -700px) scale(1.2) rotate(15deg) scaleX(-1);
    }
    100% {
        transform: translate(-1000px, -300px) rotate(-15deg) scaleX(-1);
    }
}

@keyframes img1Animate {
    0% {
        transform: translateY(150px) rotate(15deg) scale(1);
    }
    25% {
        transform: translateY(-120px) rotate(-15deg) scale(1.1) scaleX(-1);
    }
    50% {
        transform: translateY(-240px) rotate(-15deg) scale(0.9);
    }
    75% {
        transform: translateY(-120px) rotate(15deg) scale(1.1) scaleX(1);
    }
    100% {
        transform: translateY(150px) rotate(15deg) scale(1);
    }
}

@keyframes img2Animate {
    0% {
        transform: translateY(120px) rotate(10deg) scale(1);
    }
    25% {
        transform: translateY(-160px) rotate(20deg) scale(1.1) scaleX(-1);
    }
    50% {
        transform: translateY(-320px) rotate(20deg) scale(0.9);
    }
    75% {
        transform: translateY(-160px) rotate(10deg) scale(1.1) scaleX(1);
    }
    100% {
        transform: translateY(120px) rotate(10deg) scale(1);
    }
}

@keyframes img3Animate {
    0% {
        transform: translateY(30px) rotate(-15deg) scale(1);
    }
    25% {
        transform: translateY(-130px) rotate(15deg) scale(1.1) scaleX(-1);
    }
    50% {
        transform: translateY(-260px) rotate(15deg) scale(0.9);
    }
    75% {
        transform: translateY(-130px) rotate(-15deg) scale(1.1) scaleX(1);
    }
    100% {
        transform: translateY(30px) rotate(-15deg) scale(1);
    }
}

@keyframes img4Animate {
    0% {
        transform: translateY(60px) rotate(20deg) scale(1);
    }
    25% {
        transform: translateY(-140px) rotate(-20deg) scale(1.1) scaleX(-1);
    }
    50% {
        transform: translateY(-280px) rotate(-20deg) scale(0.9);
    }
    75% {
        transform: translateY(-140px) rotate(20deg) scale(1.1) scaleX(1);
    }
    100% {
        transform: translateY(60px) rotate(20deg) scale(1);
    }
}
