/* --------------------------
   RESET GENERAL
--------------------------- */
:root {
    --color-font: linear-gradient(to bottom, #b8ada3 15%, #ce8d52 100%);
}

html {
    scroll-behavior: smooth;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


.loader {
    width: 60px;
    aspect-ratio: 4;
    background: radial-gradient(circle closest-side, #fff 90%, #0000) 0/calc(100%/3) 100% space;
    clip-path: inset(0 100% 0 0);
    animation: l1 1s steps(4) infinite;
}

@keyframes l1 {
    to {
        clip-path: inset(0 -34% 0 0)
    }
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #5E1A33;
    color: #fff;
    line-height: 1.6;
    text-align: center;
    overflow: hidden;
}

main {
    filter: blur(5px);
    transition: filter 0.8s ease-in-out;
}

main.loaded {
    filter: unset;
    /* elimina el blur completamente */
}



/* --------------------------
   PORTADA PRINCIPAL
--------------------------- */
.section-front {
    display: flex;
    position: relative;
    height: 110vh;
    align-items: center;
    justify-content: space-evenly;
    background-image: url(../images/fotos/portada.jpg);
    background-size: cover;
    flex-direction: column;
}

.section-front .title {
    font-family: 'Great Vibes';
    color: #ffffff;
    text-shadow: 2px 0px 20px #171d26;
    transform: rotate(358deg);
    position: relative;
    bottom: 40px;
}

.section-front .subtitle {
    font-family: 'Great Vibes';
    background: #ffffff;
    font-size: 2.0rem;
    transform: rotate(355deg);
    position: relative;
    left: 90px;
    bottom: 65px;
    /* background: linear-gradient(to bottom, #ffffff 15%, #ffffff 100%); */
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: #00000000;
    /* -webkit-text-stroke-width: 1.5px; */
    /* -webkit-text-stroke-color: black; */
    text-shadow: 2px 0px 20px #5e1a33;
}

.section-front-end img {
    max-width: 35%;
}

#particulas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.carousel-control-prev,
.carousel-control-next,
.btn-play,
.btns {
    z-index: 3;
}

/* --------------------------
   CAROUSEL
--------------------------- */


.barra-decoracion-top img {
    position: absolute;
    width: 100%;
    right: 0;
    z-index: 1;
    top: -5px;
}

.barra-decoracion-botton img {
    position: absolute;
    width: 100%;
    right: 0;
    z-index: 0;
    bottom: -10px;
}



/* Animación con keyframe llamada "latidos" */
@keyframes latidos {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.4);
    }

    100% {
        transform: scale(1);
    }
}


@keyframes luz {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.particula {
    position: absolute;
    background-color: #ccc5b5;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    opacity: 0.2;
    animation: luz var(--tiempo-animacion) infinite alternate;
    box-shadow: 0 0 10px #ccc5b5, 0 0 20px #ccc5b5, 0 0 30px #dbc48a, 0 0 40px #dbc48a;
}


/* --------------------------
   CONTADOR
--------------------------- */
.section-countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 30px;
    margin-bottom: 30px;
}


.countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin: 20px;
}

.time-box {
    display: flex;
    background-image: url(../images/circle4.png);
    background-position: center;
    background-size: 75px;
    background-repeat: no-repeat;
    height: 60px;
    align-items: center;
    flex-direction: column;
    width: 60px;
}

.time-box h2 {
    font: bold 80px / 1 arial;
    font-family: 'Great Vibes';
    text-transform: uppercase;
    text-shadow: 0 2px 0 #322705;
    margin-top: 15px;
    font-size: 2.2rem;
}

.time-box span {
    font-size: 1.5rem;
    background: #EDCE7C;
    background: var(--color-font);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Great Vibes';
    margin-top: 15px;
}

.paragraph-countdown {
    font-family: 'Great Vibes';
    margin-top: 20px;
    background: #EDCE7C;
    background: var(--color-font);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --------------------------
   SECCIÓN INFO
--------------------------- */


.modal-content h4,
.modal-content h2 {
    font-family: 'Great Vibes';
    font-size: 35px;
}

.modal-content p {
    font-family: 'Great Vibes';
    font-size: 25px;
}





/* --------------------------
   CEREMONIA
--------------------------- */
.ceremonia .title {
    /* color: #efb810; */
    font-family: 'Great Vibes';
    /* text-shadow: 0px 3px #2a1b20; */
    font-size: 3.6rem;
    background: #EDCE7C;
    background: var(--color-font);
    /*linear-gradient(to bottom, #EDCE7C 15%, #B88414 100%);*/
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ceremonia .subtitle {
    /* color: #efb810; */
    font-family: 'Great Vibes';
    /* text-shadow: 0px 3px #2a1b20; */
    font-size: 3.6rem;
    background: #EDCE7C;
    background: var(--color-font);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ceremonia p {
    /* color: #efb810; */
    font-family: 'Great Vibes';
    /* text-shadow: 0px 3px #2a1b20; */
    font-size: 2.5rem;
    background: #EDCE7C;
    background: var(--color-font);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --------------------------
   FECHA CEREMONIA
--------------------------- */
.ceremonia-fecha {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ceremonia-fecha .ceremonia-day,
.ceremonia-fecha .ceremonia-month {
    /* color: #efb810; */
    font-family: 'Great Vibes';
    /* text-shadow: 0px 3px #2a1b20; */
    font-size: 2.6rem;
    background: #EDCE7C;
    background: var(--color-font);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ceremonia-fecha .ceremonia-date {
    font-family: 'Great Vibes';
    font-size: 6.5rem;
    background: #EDCE7C;
    background: var(--color-font);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-right: 15px;
    padding-left: 15px;
}



/* --------------------------
   TEXTOS GENERALES
--------------------------- */
.title-paragraph {
    font-family: 'Great Vibes';
    font-size: 2.2rem;
    background: #EDCE7C;
    background: var(--color-font);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-left: 10px;
    padding-right: 10px;
}

.subtitle-paragraph {
    background: #EDCE7C;
    background: var(--color-font);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Great Vibes';
    font-size: 3.5rem;
}

.paragraph {
    background: #EDCE7C;
    background: var(--color-font);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Great Vibes';
}

/* --------------------------
   BOTONES
--------------------------- */
.btn {
    text-shadow: 0px 3px #2a1b20;
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    background-color: #00000047;
    color: linear-gradient(to bottom, #b8ada3 15%, #ce8d52 100%);
    font-weight: bold;
    border: none;
    border-radius: 20px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-play {
    background-image: url(../images/icons/play.png);
    background-size: cover;
    background-repeat: no-repeat;
    width: 70px;
    height: 70px;
    animation: latidos 2s infinite;
    transform-origin: center;
}


.btn:hover {
    background-color: #911f27;
}

.btns {
    /* display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column; */
    position: relative;
    padding-bottom: 50px;
}

.btns svg {
    margin-right: 5px;
}


/* --------------------------
   LÍNEA DE TIEMPO
--------------------------- */
.timeline {
    margin-top: 30px;
    text-align: center;
}

.timeline-item {
    margin: 10px 0;
}

/* --------------------------
   MENSAJE FINAL
--------------------------- */
.footer {
    color: #efb810;
    font-family: 'Great Vibes';
    text-shadow: 0px 3px #2a1b20;
    font-size: 3.5rem;
}

/* --------------------------
   RESPONSIVE
--------------------------- */

@media (max-width: 1080px) {
    .title {
        font-size: 5.5rem;
    }

    .section-front .subtitle {
        font-size: 2.5rem;
        left: 150px;
        bottom: 75px;
    }

    .countdown {
        gap: 10px;
    }

    .time-box {
        width: 80px;
    }

    .time-box h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .title {
        font-size: 4.5rem;
    }

    .section-front .subtitle {
        font-size: 2.2rem;
        left: 100px;
        bottom: 65px;
    }

    .countdown {
        gap: 10px;
    }

    .time-box h2 {
        font-size: 2rem;
    }

}

@media (max-width: 520px) {
    .title {
        font-size: 3.5em;
    }

    .section-front .subtitle {
        font-size: 2.0rem;
        left: 70px;
        bottom: 60px;
    }

}



/* Fondo del modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

/* Contenido del modal */
.modal-content {
    background-color: #5e1a33;
    margin: 10% auto;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 430px;
    text-align: center;
}

/* Botón de cierre */
.close-btn {
    background-color: #f44336;
    color: white;
    border: none;
    padding: 10px 20px;
    margin-top: 15px;
    cursor: pointer;
    border-radius: 5px;
}

.close-btn:hover {
    background-color: #d32f2f;
}