@import url('https://fonts.googleapis.com/css2?family=Literata:ital,opsz,wght@0,7..72,200..900;1,7..72,200..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Imperial+Script&display=swap');


body {
    font-family: "Literata", serif;
    text-align: center;
    text-decoration: none;
    margin: 0;
    background-color: #F38891;
}

.contenedor-principal {
    background-color: white;
    max-width: 1025px;
    margin: 0 auto;
}

img {
    max-width: 99%;
}

/* Pantalla inicial */
#portada {
    position: fixed;
    inset: 0;
    background-color: #F38891;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 9999;
}

#portada img {
    max-width: 65%;
    animation: flotar 2s ease-in-out infinite;
}

#portada p {
    margin-top: 15px;
    font-size: 40px;
    font-family: "Literata", serif;
    color: white;
}


/* Invitación oculta al inicio */
#invitacion {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease;
}

#invitacion.activa {
    opacity: 1;
    visibility: visible;
}

/* Animación suave */
@keyframes flotar {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}



.contenedor1 h1 {
    font-family: "Imperial Script";
    margin-bottom: -20px;
    color: #F38891;
    font-size: 200px;
    font-weight: 400;
    margin-top: -165px;
}

.contenedor1 h2 {
    font-family: "Literata", serif;
    margin-bottom: 30px;
    color: #F38891;
    font-size: 75px;
}

.contenedor1 p {
    font-family: "Literata", serif;
    margin-top: 80px;
    margin-bottom: 80px;
    color: black;
    font-size: 43px;
    font-weight: 200;
    padding-left: 240px;
    padding-right: 240px;
}

.inicial {
    font-family: "Imperial Script";
    font-size: 60px;
    padding-right: 6px;
}

/*contador*/

.contenedor1 h3 {
    font-family: "Literata", serif;
    color: #F38891;
    font-size: 40px;
}

.contador {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.tiempo {
    text-align: center;
}

.tiempo span {
    font-family: "Literata", serif;
    color: #F38891;
    font-size: 75px;
    display: block;
}

.texto {
    font-size: 20px;
    color: #d46a75;
    margin-top: 10px;
    letter-spacing: 2px;
}

/*Carrusel*/
.miCarrusel {
    width: 80%;
    max-width: 900px;
    margin: 100px auto;
}

.miCarrusel img {
    width: 85%;
    border-radius: 20px;
}

.swiper-button-next,
.swiper-button-prev {
    color: #F38891;
}

.swiper-pagination-bullet {
    background-color: #F38891;
    opacity: 0.4;
}

.swiper-pagination-bullet-active {
    background-color: #F38891;
    opacity: 1;
}

.contenedor3 h2 {
    font-family: "Literata", serif;
    color: #F38891;
    font-size: 40px;
    margin-top: -131px;
    margin-bottom: 42px;
}

.contenedor3 h3 {
    font-family: "Literata", serif;
    color: #F38891;
    font-size: 40px;
    margin-top: 35px;
    margin-bottom: 42px;
}

.contenedor3 h4 {
    font-family: "Imperial Script";
    color: #b76369;
    font-size: 50px;
    margin-bottom: 20px;
}

.cont3f {
    margin-bottom: 85px;
}

.contenedor4 {
    background-image: url(../imagenes/15-flores6.png);
    background-size: cover;
    background-repeat: repeat;
    padding-top: 60px;
    padding-bottom: 50px;
}

.tarjeta {
    width: 100%;
    max-width: 55%;
    margin: 0 auto 60px;
    padding: 25px;
    padding-bottom: 50px;
    background-color: white;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.tarjeta img {
    max-width: 100%;
}

.contenedor4 h3 {
    font-family: "Imperial Script";
    color: #b76369;
    font-size: 55px;
    margin-bottom: 20px;
}

.contenedor4 h4 {
    font-family: "Literata", serif;
    color: #F38891;
    font-size: 30px;
    margin-top: 35px;
    margin-bottom: 42px;
}

.contenedor4 h5 {
    font-family: "Literata", serif;
    font-size: 25px;
    margin-bottom: 50px;
    font-weight: 400;
}

.contenedor4 a {
    padding: 17px;
    border-radius: 35px;
    background-color: #F38891;
    font-size: 25px;
    color: white;
    text-decoration: none;
}

.contenedor4 a:hover {
    padding: 17px;
    border-radius: 35px;
    background-color: #b76369;
    font-size: 25px;
    color: white;
    text-decoration: none;
}

.contenedor5 {
    background-image: url(../imagenes/15-flores7.png);
    background-size: cover;
    padding-top: 195px;
    padding-bottom: 120px;
}

.contenedor5 p {
    font-family: "Literata", serif;
    margin-top: 80px;
    margin-bottom: 80px;
    color: black;
    font-size: 32px;
    font-weight: 200;
    padding-left: 200px;
    padding-right: 200px;
}

.botonsi,
.botonno {
    display: block;
    width: fit-content;
    margin: 20px auto;
}

.botonsi {
    padding: 17px;
    border-radius: 35px;
    background-color: #F38891;
    font-size: 25px;
    color: white;
    text-decoration: none;
}

.botonsi:hover {
    border: solid #F38891;
    background-color: white;
    color: #F38891;
}

.botonno {
    padding: 17px;
    border-radius: 35px;
    background-color: #b76369;
    font-size: 25px;
    color: white;
    text-decoration: none;
}

.botonno:hover {
    border: solid #b76369;
    background-color: white;
    color: #b76369;
}

.contenedor6 {
    background-image: url(../imagenes/15-flores6.png);
    background-size: cover;
    background-repeat: repeat;
    padding-top: 60px;
    padding-bottom: 50px;
}

.contenedor6 a {
    padding: 17px;
    border-radius: 35px;
    background-color: #F38891;
    font-size: 25px;
    color: white;
    text-decoration: none;
}

.contenedor6 a:hover {
    padding: 17px;
    border-radius: 35px;
    background-color: #b76369;
    font-size: 25px;
    color: white;
    text-decoration: none;
}

.contenedor6 h3 {
    font-family: "Imperial Script";
    color: #b76369;
    font-size: 55px;
    margin-bottom: 20px;
}

.contenedor6 h4 {
    font-family: "Literata", serif;
    color: #F38891;
    font-size: 30px;
    margin-top: 35px;
    margin-bottom: 42px;
}

.contenedor6 h5 {
    font-family: "Literata", serif;
    font-size: 25px;
    margin-bottom: 50px;
    font-weight: 300;
}

.contenedor8 h3 {
    font-family: "Literata", serif;
    color: #b76369;
    font-size: 34px;
    font-weight: 400;
    padding-left: 210px;
    padding-right: 210px;
}

.contenedor8 {
    padding-bottom: 165px;
}

.contenedor8 img {
    margin-bottom: -167px;
}

footer {
    background-color: #654e50;
    padding: 40px 20px;
}

footer h5 {
    color: #ffffff;
    font-family: sans-serif;
}

footer img {
    max-width: 20%;
}



/*media queries*/
@media (max-width: 1024px) {
    #portada img {
        max-width: 85%;
    }

    #portada p {
        font-size: 40px;
    }

    .contenedor1 p {
        padding-left: 150px;
        padding-right: 150px;
    }

    .contenedor3 h4 {
        font-size: 55px;
    }

    .tarjeta {
        max-width: 60%;
    }

    .tarjeta img {
        max-width: 60%;
    }

    .contenedor4 h3 {
        font-size: 60px;
        margin-bottom: 25px;
    }

}

@media (max-width: 768px) {
    img {
        max-width: 100%;
    }

    #portada img {
        max-width: 90%;
    }

    #portada p {
        font-size: 40px;
    }

    .contenedor1 h1 {
        margin-bottom: -20px;
        font-size: 150px;
        margin-top: -185px;
    }

    .contenedor1 h2 {
        font-size: 65px;
    }

    .contenedor1 p {
        font-size: 34px;
        padding-left: 80px;
        padding-right: 80px;
    }

    .inicial {
        font-size: 49px;
    }

    .contenedor2 {
        background-color: #F38891;
    }

    .miCarrusel {
        margin: 0 auto;
        padding: 61px 1px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        color: white;
    }

    .swiper-pagination-bullet {
        background-color: white;
        opacity: 0.4;
    }

    .swiper-pagination-bullet-active {
        background-color: white;
        opacity: 1;
    }

    .contenedor3 h2 {
        font-size: 36px;
    }

    .contenedor3 h3 {
        font-size: 36px;
    }

    .tarjeta {
        max-width: 80%;
    }

    .tarjeta img {
        max-width: 65%;
    }

    .contenedor7 {
        background-color: #F38891;
    }

    footer img {
        max-width: 20%;
    }
}

@media (max-width: 600px) {
    footer h5 {
        font-size: 15px;
    }

    footer img {
        max-width: 27%;
    }
}

@media (max-width: 480px) {

    #portada p {
        font-size: 35px;
    }

    .contenedor1 h1 {
        margin-bottom: -20px;
        font-size: 120px;
        margin-top: -118px;
    }

    .contenedor1 h2 {
        margin-bottom: 1px;
        font-size: 55px;
    }

    .contenedor1 p {
        font-size: 30px;
        padding-left: 55px;
        padding-right: 55px;
        margin-top: 45px;
        margin-bottom: 65px;
    }

    .contenedor1 h3 {
        font-size: 32px;
        margin-bottom: -22px;
    }

    .tiempo span {
        font-size: 40px;
        padding-top: 0;
    }

    .contenedor3 h2 {
        font-size: 29px;
        margin-top: -82px;
        margin-bottom: 16px;
    }

    .contenedor3 h4 {
        font-size: 40px;
    }

    .contenedor3 h3 {
        font-size: 29px;
        margin-top: 35px;
    }

    .cont3f {
        margin-bottom: 17px;
    }

    .tarjeta {
        max-width: 75%;
    }

    .tarjeta img {
        max-width: 80%;
    }

    .contenedor4 h3 {
        font-size: 50px;
    }

    .contenedor4 h4 {
        font-size: 25px;
        margin-top: 22px;
        margin-bottom: 28px;
    }

    .contenedor4 h5 {
        font-size: 22px;
        margin-bottom: 50px;
        font-weight: 300;
    }

    .contenedor4 a {
        padding: 13px 24px;
        font-size: 21px;
    }

    .contenedor4 a:hover {
        padding: 13px 24px;
        font-size: 21px;
    }

    .contenedor5 p {
        margin-top: -65px;
        margin-bottom: 72px;
        font-size: 23px;
        padding-left: 50px;
        padding-right: 50px;
    }

    .botonsi {
        padding: 13px 24px;
        font-size: 21px;
    }

    .botonsi:hover {
        padding: 13px 24px;
        font-size: 21px;
    }

    .botonno {
        padding: 13px 24px;
        font-size: 21px;
    }

    .botonno:hover {
        padding: 13px 24px;
        font-size: 21px;
    }

    .contenedor6 h3 {
        font-size: 50px;
    }

    .contenedor6 h5 {
        font-size: 22px;
        margin-bottom: 40px;
        font-weight: 300;
    }

    .contenedor6 a {
        padding: 13px 24px;
        font-size: 21px;
    }

    .contenedor6 a:hover {
        padding: 13px 24px;
        font-size: 21px;
    }

    .contenedor8 h3 {
        font-size: 28px;
        padding-left: 55px;
        padding-right: 55px;
        margin-top: 115px;
    }

}

@media (max-width: 393px) {

    .tarjeta {
        max-width: 97%;
    }

}