:root{
    --primario:#5a7c97;
    --secundario: #65a5c8;
    --terceario: #eef5f2;
    --letras: black;
    --fondo: #dbebe1;
}
@font-face {
    font-family: 'Lavanderia';
    src: url('fonts/Lavanderia Sturdy.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Lavanderia_Bold';
    src: url('fonts/Lavanderia Sturdy.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'khamila';
    src: url('fonts/khamila.regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Champagne_limu';
    src: url('fonts/Champagne & Limousines Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
body {
    font-family: 'Champagne_limu', sans-serif;
    background-color: var(--fondo);
    color: var(--letras);
    font-size: 1.5rem;
    overflow-x: hidden;
}


.dt-button{
    border: 0px !important;

}
.swiper {
    width: auto;
    height: auto;
}

.swiper {
    width: 90%;
    max-width: 1000px;
    padding: 20px 0;
    margin: 20px auto 50px auto !important;
}
.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}
.swiper-slide img {
    width: auto;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    height: 500px;
    object-fit: cover;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primario) !important;


}
.swiper-pagination-bullet {
    background: var(--primario) !important;
    opacity: 0.7;
}

.dt-paging-button{
    background-color: var(--primario) !important;
    color: #F8F2E8 !important;
    border: none !important;
    padding: 5px 10px !important;
    border-radius: 5px !important;
    margin: 0 2px !important;
    cursor: pointer !important;
}


.hero {
    position: relative;
    text-align: center;
    color: #F8F2E8;
}
.hero img {
    width: 100%;
    height: auto;
    border-radius: 0 0 20px 20px;
    max-height: 800px;
    object-fit: cover;
}
.hero-button{
    position: absolute;
    top: 4%;
    left: 0%;
    margin: 5px;
}

.hero-text {
    z-index: 500;
    position: absolute;
    top: 5%;
    left: 50%;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    transform: translateX(-50%);
    color: #c79862 !important;
    margin-bottom: 5px !important;

}

.hero-text h1 {
    /*font-family: 'Lavanderia', cursive;*/
    font-family: 'khamila',cursive;

    font-size:3.5rem;
    font-weight: bold;
}
.hero-text h2 {
    /*font-family: 'Lavanderia', cursive;*/
    font-family: 'khamila',cursive;

    font-size:2rem;
    font-weight: 100;
}
.hero-text h3 {
    font-weight: bold;
    font-size: 1.2rem;
    font-family: 'Champagne_limu', serif;
}
.music-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 20px auto;
}
.music-btn {
    background-color: var(--primario);
    color: var(--fondo);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: none;
    transition: 0.3s;
}


.music-btn:hover {
    background-color: var(--secundario);
}
.invite-title {
    font-family: 'Dancing Script', cursive;
    font-size: 2.2rem;
    color: var(--primario);
    text-align: center;
    margin-top: 30px;
}
.invite-text {
    max-width: 600px;
    margin: 20px auto;
    text-align: center;
    font-size: 1.5rem;
    line-height: 1.6;
}
#songTitle {
    margin-top: 10px;
    font-weight: bold;
    color: var(--primario);
    text-align: center;

}
#volumeBar{
    accent-color: var(--primario);
}
.heart {
    font-size: 2.2rem;
    color: var(--primario);
    animation: pulse 1.5s infinite;
}

.btn-boda{
    background-color: var(--primario);
    color: var(--fondo);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}


/* seccion  */
section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease-out;
}
section.visible {
    opacity: 1;
    transform: translateY(0);
}
h1, h2 {
    margin-bottom: 5px;
    font-weight: 800;
}

/*******TEMPORIZADOR ***/
.contador {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.tiempo {
    background-color: var(--primario);
    color: var(--fondo);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transition: background-color 0.3s;
    font-family: "Champagne_limu", cursive;
}

.tiempo span {
    font-size: 1.2rem;
    font-weight: normal;
    margin-top: 4px;
    color: var(--fondo);
}
.img_tomador{
    width: 500px;
    height: auto;
    margin-top: 20px;
}

/*******TEMPORIZADOR ***/
@media only screen and (max-width: 1000px) and (min-width: 701px) {
    .img_tomador{
        width: 100%;
        height: auto;
        margin-top: 20px;
    }
    .swiper {
        width: 50%;
        margin-left: 15% !important;
        padding: 20px 0;
    }
    .swiper {

        max-width: 500px;

    }
}


@media only screen and (max-width: 700px) and (min-width: 401px) {
    .img_tomador{
        width: 100%;
        height: auto;
        margin-top: 20px;
    }
    .swiper {
        max-width: 500px;
    }

    .hero-text h1 {
        font-size: 1.7rem;
    }
    .hero-text h3 {
        font-size: 1rem;
    }
    .music-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    .invite-title {
        font-size: 1.8rem;
        color: #5a7c97;
    }
    .invite-text {
        padding: 0 10px;
        font-size: 1.5rem;
    }
    .tiempo {
        width: 70px;
        height: 70px;
        font-size: 1.4rem;
    }

    .swiper-slide img {
        height: 300px;

    }

    .swiper {
        width: 28%;

        padding: 20px 0;
    }

}

@media only screen and (max-width: 400px)  {
    .img_tomador{
        width: 100%;
        height: auto;
        margin-top: 20px;
    }
    .swiper {
        max-width: 450px;
    }
    .swiper-slide img {
        margin-left: 10px;

    }
    .hero-text h1 {
        font-size: 2.5rem;
    }
    .hero-text h3 {
        font-size: 1rem;
    }
    .music-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    .invite-title {
        font-size: 1.8rem;
    }
    .invite-text {
        padding: 0 10px;
        font-size: 1.2rem;
    }
    .tiempo {
        width: 70px;
        height: 70px;
        font-size: 1.4rem;
    }
}


/*********fechaa/hora******/
.fecha-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    font-weight: bold;
    color: var(--primario);
}
.fecha-container span {
    display: block;
    text-align: center;
}
.dia {
    font-size: 1.2rem;
    letter-spacing: 2px;
}
.mes {
    font-size: 0.9rem;
}
.numero {
    font-size: 3rem;
    line-height: 1;
}
.anio {
    font-size: 0.9rem;
}
.hora {
    font-size: 1.2rem;
    letter-spacing: 1px;
}
.separator {
    border-left: 2px solid #6e2c1c;
    height: 60px;
}

/* modaaaaal sobre */
/* Overlay */
.overlay {
    z-index: 5000;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,1);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s ease;
}

.overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Card */
.card {
    background: #fff;
    padding: 30px;
    width: 340px;
    text-align: center;
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

/* Textos */
.title {
    font-size: 18px;
    letter-spacing: 3px;
    color: #888;
}

.names {
    font-size: 28px;
    margin: 10px 0;
    font-weight: bold;
    font-style: italic;
    font-family: "khamila", cursive;
    color: #c79862 !important;
}

.date {
    font-size: 14px;
    margin-bottom: 25px;
    color: black;
}

/* Sobre */
.envelope {
    width: 220px;
    height: 140px;
    margin: auto;
    position: relative;
    cursor: pointer;
    perspective: 1000px;
}

/* Base */
.envelope-body {
    width: 100%;
    height: 100%;
    background: var(--primario);
    border-radius: 6px;
    position: absolute;
    z-index: 1;
}
.sello {
    width: 50px;
    height: auto;
    position: fixed;
    z-index: 10;
    top: 40%;
    left: 40%;

}
.sello-img{
    width: 100%;
    height: auto;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}
.sello-open{
    animation: desaparecer 0.4s;
    display: none;
}



@keyframes desaparecer{
    0%{
        opacity: 1;

    }
    50%{
        opacity: 0.5;

    }
    100%{
        display: none;
        opacity: 0;

    }
}

/* Tapa */
.envelope-flap {
    width: 100%;
    height: 100%;
    background: var(--secundario);
    position: absolute;
    top: 0;
    left: 0;
    transform-origin: top;
    transition: transform 0.8s ease;
    clip-path: polygon(0 0, 100% 0, 50% 60%);
    z-index: 2;
}

/* Carta */
.letter {
    position: absolute;
    width: 90%;
    height: 90%;
    background: #fff;
    top: 5%;
    left: 5%;
    border-radius: 6px;
    transform: translateY(0);
    transition: transform 0.8s ease;
    z-index: 0;
}

/* Estado abierto */
.open .envelope-flap {
    transform: rotateX(180deg);
}

.open .letter {
    transform: translateY(-120%);
}

/* Shake */
@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(4px); }
    50% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
    100% { transform: translateX(0); }
}

.shake {
    animation: shake 0.4s;
}

.cta {
    margin-top: 18px;
    font-size: 12px;
    color: #999;
    letter-spacing: 1px;
}

/*fin  modal sobre */


/*mesa*/

.mesa-section{
    padding:80px 20px;
    display:flex;
    justify-content:center;
    align-items:center;
}

/* CARD */
.mesa-card{
    background:var(--primario);
    color:white;
    padding:40px 60px;
    border-radius:50%;
    box-shadow:0 20px 50px rgba(0,0,0,0.15);
    text-align:center;
    max-width:300px;
    width:100%;
    transition:.3s;

}

.mesa-card:hover{
    transform:translateY(-5px) scale(1.02);
}
.label{
    letter-spacing:3px;
    font-size:19px;
    opacity:.8;
    font-family: 'Champagne_limu', serif;
}

.numero{
    font-family: 'Champagne_limu', serif;
    font-size:64px;
    font-weight:700;
    margin:10px 0;
}

.sub{
    font-size:16px;
    opacity:.9;
}
/*fin mesa*/