@import url('https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,300..700;1,300..700&family=Lora:ital,wght@0,400..700;1,400..700&display=swap');

* {
    box-sizing: border-box;
}

body,
html {
    margin: 0 auto;
    padding: 0;
    height: 100%;
    background-color: #f0f0f0;

}

/* Carta */
/* Animación para subir y bajar */
@keyframes slideUpDown {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
        /* Ajusta el valor según la distancia que desees */
    }

    100% {
        transform: translateY(0);
    }
}

/* Estilos para la imagen animada */
#full-screen-img {
    animation: slideUpDown 2s infinite;
    /* 2s es la duración de la animación, ajusta según tu preferencia */
}

#animacion {
    animation: slideUpDown 2s infinite;
    /* 2s es la duración de la animación, ajusta según tu preferencia */
}

/* invitacion */

.footer-content a {
    text-decoration: none;
    /* Quita el subrayado */
    color: inherit;
    /* Hereda el color del elemento padre, o puedes especificar un color */
}

.hidden {
    display: none;
}

/* Animación de parpadeo para el icono */
@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.deslizar {
    text-align: center;
    position: relative;
    margin: 20px;
}

.deslizar .animate-text {
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
    /* Cambia el color si es necesario */
    animation: scale-up 2s infinite;
}

.deslizar .icon {
    font-size: 24px;
    color: #ffffff;
    /* Cambia el color si es necesario */
    animation: blink 1s infinite;
}

.deslizar a {
    text-decoration: none;
    /* Elimina el subrayado del enlace */
}

/* Animaciones del contenido de la invitación */
.contenedor {
    max-width: 600px;
    /* Asegúrate de que el contenedor no se desborde del viewport */
    overflow-x: hidden;
    /* Previene el scroll horizontal */
    box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.contenedor-ev {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    background-image: url(../img/fondo5.jpeg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-direction: column;
    box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);

}

.contenedor-agra {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    background-image: url(../img/fondo3.jpeg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);

}

.contenedor-ubi {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    background-image: url(../img/fondo8.jpeg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
}

.contenedor-m {

    max-width: 600px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    background-color: #7c0101;
    box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);

}

.texto-m {
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
    padding: 5rem 3rem;
    text-align: center;
    align-items: center;
}

.texto-m h2 {
    font-size: 19px;
    font-weight: 500;
    font-family: "Lora", serif;
    color: #d7b846;
    text-shadow: none;

}

.principal {
    position: relative;
    min-height: 100vh;
    background-image: url('../img/ximena4.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100%;
    width: 100%;
}

.principal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.15);
    /* Negro con 50% de opacidad */
    z-index: 1;
    /* Asegúrate de que la capa negra esté por encima de la imagen */
    pointer-events: none;
    /* Asegura que la capa negra no interfiera con las interacciones */
}

.principal#section-confirmar-asistencia {
    position: relative;
    min-height: 100vh;
    background-image: url('../img/ximena9.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100%;
    width: 100%;
}

h1 {
    font-family: "Lora", serif;
    font-weight: 500;
    font-size: 21px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 22px rgba(0, 0, 0, 0.9);
    margin: 0;
    text-transform: uppercase;
}

h2 {
    font-family: "Cormorant", serif;
    font-size: 80px;
    font-weight: 400;
    margin-bottom: 20px;
    text-shadow: 2px 2px 22px rgba(0, 0, 0, 0.9);
    margin: 0;
}


.texto-principal {
    z-index: 2;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;

}

.texto-principal h2 {
    font-size: 30px;
    line-height: 3rem;
}

.texto-principal h1 {
    font-size: 30px;
    line-height: 3rem;
}

.deslizar {
    margin-top: 20px;
}

.icon {
    font-size: 48px;
    color: #fff;
}

.animate-text {
    font-size: 24px;
    color: #fff;
    margin-top: 10px;
    animation: scaleText 2s infinite;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Invitaciones */

.cont-text {

    margin: 2rem;
    padding: 1rem 2rem;
    border: 3px solid #ca9f54;
    /* Borde delgado alrededor de toda la sección */

}

.cont-text-eve {
    margin: 2rem;
    padding: 2rem;
    gap: 2rem;
}

.cont-text-eve h1 {
    text-shadow: 0 0 0 .5rem #ffffff;

    color: white;
}

.texto-mensa {
    margin: 2rem 0;
    padding: 0 4rem;
}

@media(max-width: 480px) {

    .cont-text {

        margin: 2rem 0;
        padding: 2rem 1rem;
        gap: 2rem;
        border: none;
    }

    .texto-mensa {
        margin: 2rem 0;
        padding: 0 .2rem;
    }


}

.texto-mensa h2 {
    font-size: 30px;
    text-align: center;
    text-shadow: none;
}

.texto-mensa h1 {
    font-size: 19px;
    text-transform: none;
    text-shadow: none;
    text-align: center;
    font-weight: 400;
    line-height: 2rem;
}

.conteo {
    display: flex;
    flex-direction: column;
    align-items: center;

}

/* Contador */
#countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    /* Espacio entre cada elemento de la cuenta regresiva */
    font-family: "Lora", serif;
    color: #ffffff;
    padding-top: 1.5rem;

}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.number {
    font-size: 30px;
    /* Tamaño del número */
    font-weight: bold;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

.label {
    font-size: 15px;
    /* Tamaño del texto */
    margin-top: 5px;
    /* Espacio entre el número y el texto */
    text-transform: uppercase;
    /* Convertir el texto a mayúsculas */
    font-family: "Lora", serif;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

.conteo-bg {
    background-image: url(../img/ximena5.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
}

.conteo h1 {
    font-size: 50px;
    color: white;
    font-weight: 400;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

.cont-text a {
    color: inherit;
    /* Hereda el color del elemento padre */
    text-decoration: none;
    /* Quita el subrayado */

}

.ubicacion-txt {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 0;

}

.ubicacion-txt h2 {
    font-size: 30px;
    text-transform: uppercase;
    text-shadow: none;
    font-weight: 400;
    text-align: center;
    line-height: 32px;
}

.ubicacion-txt h1 {
    font-size: 21px !important;
    /* Sobrescribe cualquier otro estilo */
    font-weight: 400;
    text-align: center;
    text-shadow: none;
    line-height: 32px;
}

.btn2 {
    display: block;
    /* Para que `width` funcione adecuadamente */
    margin: 2rem auto;
    /* Centra el botón horizontalmente */
    padding: .2rem;
    width: 120px;
    /* Define un ancho fijo */
    border-radius: .5rem;
    background-color: #7c0101;
    text-align: center;
    color: white;
    font-family: "Lora", serif;
    transition: .3s ease-in-out;
}

.btn2:hover {

    background-color: #8d0a0a;
}

.ubicacion-img img {
    width: 100%;
    transition: .3s ease-in-out;

}


.ubicacion-img img:hover {
    transform: scale(1.02);
}


/* Sección del evento */
.evento {
    margin-bottom: 2rem;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.evento img {
    max-width: 100px;
    height: auto;
    border-radius: 10px;
    margin-top: 1rem;

}

.evento h2 {
    font-family: "Lora", serif;
    font-size: 24px;
    font-weight: 400;
    color: #333;
    text-shadow: none;
    margin: 0;
}

.evento h1 {
    font-family: "Cormorant", serif;
    font-size: 18px;
    font-weight: 400;
    color: #666;
    margin: 0;
}

.vestimenta-img {
    display: flex;
    align-items: center;
    justify-content: center;

}

.mesa-img {
    padding: 1rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mesa-img img {
    max-width: 150px;
}

.vestimenta-img img {
    max-width: 150px;
}

.regalo {
    padding: 1em 0;
}

.regalo h2 {
    text-align: center;
    font-family: "Lora", serif;
    font-size: 16px;
    text-wrap: wrap;
    font-weight: 400;
    color: #333;
    text-shadow: none;
    margin: 0;
}

.heart-container {
    text-align: center;
    /* Centra el corazón horizontalmente */
    margin-top: 10px;
    /* Espacio entre el texto y el corazón */
}

.heart-container .fa-heart {
    font-size: 35px;
    /* Tamaño del corazón */
    color: #ffc800;
    /* Corazón blanco */
}

.contenedor-fotos {
    display: flex;
    flex-direction: column;
    /* Alinea las fotos en vertical */
    align-items: center;
    /* Centra las fotos horizontalmente */
    width: 100%;
    /* Asegura que las fotos no se salgan del contenedor */
}

.contenedor-fotos img {
    max-width: 100%;
    /* Asegura que las imágenes no se desborden del contenedor */
    height: auto;

}


.reloj {
    position: relative;
    width: 100px;
    height: 100px;
    border: 5px solid white;
    border-radius: 50%;
    background: transparent;
    overflow: hidden;
    box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
}

.mano {
    position: absolute;
    width: 4px;
    background: rgb(0, 0, 0);
    border-radius: 2px;
    top: 50%;
    left: 50%;
    transform-origin: bottom;
    transform: translate(-50%, -100%);
}

.segundos {
    height: 50%;
    animation: girar-segundos 60s linear infinite;
}

.minutos {
    height: 40%;
    animation: girar-minutos 3600s linear infinite;
}

@keyframes girar-segundos {
    from {
        transform: translate(-50%, -100%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -100%) rotate(360deg);
    }
}

@keyframes girar-minutos {
    from {
        transform: translate(-50%, -100%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -100%) rotate(360deg);
    }
}

.reloj::before {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Estilo para el botón de música */
#music-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #7c0101;
    /* Color rojo base */
    color: white;
    border: none;
    border-radius: 50%;
    padding: 10px;
    font-size: 24px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

/* Efecto hover (oscurece el color) */
#music-btn:hover {
    background-color: #680101;
    /* Un poco más oscuro */
}

/* Efecto active (se hunde al hacer clic) */
#music-btn:active {
    background-color: #5a0101;
    /* Aún más oscuro */
    transform: scale(0.9);
}


/* Asistencia whatsapp */

.cont-text-eve {
    text-align: center;
}

h1.slider-up {
    font-size: 20px;
    color: #000;
    /* Color de texto oscuro */
    margin-bottom: 20px;


}

.form-label {
    font-size: 1rem;
    color: #000;
    /* Color de texto oscuro */
}

.form-control {
    border-radius: 5px;
    border: 1px solid #ced4da;
    padding: 10px;
    margin-bottom: 15px;
}

.btn-primary {
    background-color: #000;
    /* Color de fondo del botón */
    border: none;
    padding: 10px 20px;
    color: #fff;
    /* Color del texto del botón */
    border-radius: 5px;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #333;
    /* Color de fondo del botón en hover */
}

/* Estilo para el formulario */
#rsvp-form {
    max-width: 500px;
    margin: auto;
}

/* Estilo base para el botón .btn */
.btn {
    font-size: 16px;
    /* Tamaño de fuente */
    font-weight: 500;
    /* Peso de la fuente */
    border-radius: 5px;
    /* Bordes redondeados */
    text-transform: uppercase;
    /* Texto en mayúsculas */
    cursor: pointer;
    /* Cursor tipo mano al pasar por encima */
    transition: all 0.3s ease;
    /* Transición suave */
    outline: none;
    /* Quitar el contorno por defecto */
    padding: 10px 20px;
    /* Espaciado */
    border: 2px solid transparent;
    /* Borde transparente */
    border-width: 2px;
    /* Ancho del borde */
}

/* Estilo personalizado para el botón animado */
.btn-conf {
    background-color: #81b0a0;
    /* Color de fondo del botón */
    padding: 10px;
    color: white;
    text-transform: uppercase;
    font-size: 12px;
    border-radius: 5px;
    outline: none;
    /* Quitar el contorno por defecto */
    transition: .3s ease-in-out;
    border: 2px solid transparent;
    /* Borde transparente */
}



.btn-conf:hover {
    background-color: #6bb39b;
    /* Color de fondo del botón */
    padding: 10px;
    border-radius: 5px;
    transform: scale(1.05);
}

/* Estilo para el contenedor de la imagen de fondo */
/* Estilo para desactivar el scroll en el body */
.no-scroll {
    overflow: hidden;
    height: 100vh;
    /* Asegura que el body ocupe toda la altura de la ventana */
    position: fixed;
    /* Evita que el body se desplace */
    width: 100vw;
    /* Evita que el body se desplace horizontalmente */
}

#full-screen-img {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    /* Ajusta el ancho al 100% de la ventana */
    height: 100vh;
    /* Ajusta la altura al 100% de la ventana */
    background-image: url('../img/Sobre_invitacion.png');
    /* Cambia esta ruta a tu imagen */
    background-size: contain;
    /* Ajusta la imagen para que se vea completa */
    background-position: center;
    background-repeat: no-repeat;
    /* Evita que la imagen se repita */
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    /* Asegura que no haya desbordamiento de la imagen */
}

/* Botón para abrir la invitación */
#open-invite-btn {
    z-index: 10000;
    /* Asegúrate de que el botón esté por encima de la imagen */
}

/* Clases para manejar la visibilidad con animación */
.hidden {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.visible {
    opacity: 1;
    transition: opacity 0.5s ease;
}

.fade-in {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.fade-in.show {
    opacity: 1;
}


/* Estilo minimalista para el botón de abrir invitación */
#open-invite-btn {
    margin-top: 260px;
    padding: 10px 20px;
    background-color: #7c0101;
    /* Color principal */
    border: none;
    border-radius: 20px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

/* Estilos para tablets */
@media only screen and (max-width: 768px) {
    #open-invite-btn {
        font-size: 14px;
        margin-top: 250px;
        padding: 10px 20px;
        background-color: #680101;
        /* Un tono más oscuro */
    }
}

/* Estilos para móviles */
@media only screen and (max-width: 480px) {
    #open-invite-btn {
        font-size: 12px;
        margin-top: 145px;
        padding: 10px 20px;
        background-color: #5a0101;
        /* Un tono más oscuro */
    }
}

/* Hover (cambia de color y aumenta ligeramente de tamaño) */
#open-invite-btn:hover {
    transform: scale(1.05);
    background-color: #4e0101;
    /* Color más oscuro */
}

/* Active (cuando se presiona el botón) */
#open-invite-btn:active {
    transform: scale(0.95);
    background-color: #3f0000;
    /* Aún más oscuro */
}


.click {
    padding: 10px 0;
    width: 70px;
}

.footer {
    margin: 0 auto;
    max-width: 600px;
    position: relative;
    padding: 20px;
    background-color: #333;
    color: #fff;
    text-align: center;
}

.footer-content {
    position: relative;
}

.footer p {
    margin: 0;
    font-size: 14px;
}

.social-icons {
    margin: 10px 0;
}

.social-icon {
    color: #fff;
    font-size: 18px;
    margin: 0 10px;
    text-decoration: none;
    transition: color 0.3s;
}

.social-icon:hover {
    color: #ff6f61;
    /* Cambia el color si es necesario */
}

.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #ffcc00;
    /* Cambia el color si es necesario */
    color: #fff;
    border: none;
    border-radius: 50%;
    padding: 10px;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s, transform 0.3s;
}

.scroll-to-top:hover {
    background-color: #ffb700;
    /* Cambia el color si es necesario */
    transform: scale(1.1);
}

.scroll-to-top:focus {
    outline: none;
}

.scroll-to-top i {
    margin: 0;
}