@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


body {
    font-family: "poppins", sans-serif;
    text-align: center;
    text-decoration: none;
    margin: 0;
    background-color: #fce7ca;
}

.contenedor-principal {
    background-color: white;
    max-width: 1025px;
    margin: 0 auto;
}



/* Pantalla inicial */
#portada {
    background-image: url(../imagenes/fondo3.jpg);
    background-size: cover;
    position: fixed;
    background-position-x: center;
    background-repeat: no-repeat;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 9999;
}


#portada p {
    font-size: 50px;
    font-weight: 600;
    font-family: "Great Vibes", serif;
    color: #784913;
    margin-top: 50px;
}

#portada img {
    margin-top: -100px;
    max-width: 70%;

}


/* Invitación oculta al inicio */
#invitacion {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease;
}

#invitacion.activa {
    opacity: 1;
    visibility: visible;
}



/*CONTENEDOR1*/
.contenedor1 {
    background-image: url(../imagenes/fondo1.jpg);
    padding-top: 50px;
    padding-bottom: 100px;
    margin-top: -25px;
}

.contenedor1 h1 {
    font-family: "Great Vibes";
    color: #fcfce8;
    font-size: 164px;
    margin-top: 30px;
    text-shadow: 0px 4px 12px #3f2a13, 0px 2px 4px rgba(0, 0, 0, 0.4);
}

.contenedor1 h2 {
    font-family: "Great Vibes";
    color: #fcfce8;
    font-size: 150px;
    margin-top: -48px;

    text-shadow: 0px 4px 12px #3f2a13, 0px 2px 4px rgba(0, 0, 0, 0.4);
}

.contenedor1 p {
    font-family: "poppins", sans-serif;
    padding-bottom: 50px;
    color: #5b3c45;
    font-size: 37px;
    font-weight: 300;
    padding-left: 80px;
    padding-right: 80px;
}

.inicial {
    font-family: "Great Vibes", serif;
    font-size: 60px;
    padding-right: 6px;
}

/*contador*/

.contenedor1 h3 {
    font-family: "Great Vibes", serif;
    color: #5b3c45;
    font-size: 60px;
}

.contador {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.tiempo {
    text-align: center;
}

.tiempo span {
    font-family: "poppins", sans-serif;
    color: #5b3c45;
    font-size: 75px;
    display: block;
}

.texto {
    font-family: "poppins", sans-serif;
    font-size: 20px;
    color: #5b3c45;
    margin-top: 10px;
    letter-spacing: 2px;
}

/*Carrusel*/
.contenedor3 {
    background-image: url(../imagenes/fondo4.jpg);
}

.miCarrusel {
    width: 80%;
    max-width: 900px;
    margin: 0 auto;
    padding-top: 30px;
    padding-bottom: 30px;
}

.miCarrusel img {
    width: 85%;
    border-radius: 20px;
}

.swiper-button-next,
.swiper-button-prev {
    color: #784913;
}

.swiper-pagination-bullet {
    background-color: #784913;
    opacity: 0.4;
}

.swiper-pagination-bullet-active {
    background-color: #784913;
    opacity: 1;
}

/*CONTENEDOR4*/
.contenedor4 img {
    max-width: 100%;
}

.contenedor4 h2 {
    font-family: "Great Vibes", serif;
    color: #bb7628;
    font-size: 75px;
    margin-top: 30px;
    margin-bottom: 45px;
}

.contenedor4 h3 {
    font-family: "Great Vibes", serif;
    color: #bb7628;
    font-size: 75px;
    margin-top: 50px;
    margin-bottom: 42px;
}

.contenedor4 h4 {
    font-family: "poppins", sans-serif;
    color: #5b3c45;
    font-size: 43px;
    margin-bottom: 31px;
    font-weight: 300;
}


.contenedor5 {
    background-image: url(../imagenes/fondo3.jpg);
    background-size: contain;
    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: #fffff4;
}

.tarjeta img {
    max-width: 100%;
}

.tarjeta h3 {
    font-family: "Great Vibes", serif;
    color: #5b3c45;
    font-size: 55px;
    margin-bottom: 20px;
}

.tarjeta h4 {
    font-family: "poppins", sans-serif;
    color: #7e4709;
    font-size: 30px;
    margin-top: 35px;
    margin-bottom: 42px;
}

.tarjeta h5 {
    font-family: "poppins", sans-serif;
    font-size: 25px;
    margin-bottom: 50px;
    font-weight: 400;
}

.tarjeta a {
    padding: 17px 20px;
    border-radius: 38px;
    background-color: #7e4709;
    font-family: "poppins", sans-serif;
    font-size: 30px;
    color: white;
    text-decoration: none;
}

.tarjeta a:hover {
    padding: 17px 20px;
    border-radius: 38px;
    background-color: #b96608;
    font-size: 30px;
    color: white;
    text-decoration: none;
}

/*CONTENEDOR 6*/
.contenedor6 {
    position: relative;
}

.contenedor6 h3 {
    font-family: "Great Vibes", serif;
    color: #bb7628;
    font-size: 60px;
    padding: 10px 88px;
}

.contenedor6 p {
    font-family: "poppins", sans-serif;
    margin-top: 69px;
    margin-bottom: 80px;
    color: #5b3c45;
    font-size: 40px;
    font-weight: 300;
    padding-left: 80px;
    padding-right: 80px;
}

.contenedor6 img {
    max-width: 100%;
}

.contenedor6 img:last-of-type {
    position: relative;
    margin-top: -190px;
    z-index: 1;
}

.botonsi,
.botonno {
    display: block;
    width: fit-content;
    margin: 20px auto;
    position: relative;
    z-index: 2;

}

.botonsi {
    padding: 20px 37px;
    border-radius: 53px;
    background-color: #bb7628;
    font-size: 35px;
    color: white;
    text-decoration: none;
}

.botonsi:hover {
    border: solid #bb7628;
    background-color: white;
    color: #bb7628;
}

.botonno {
    padding: 20px 37px;
    border-radius: 53px;
    background-color: #7e4709;
    font-size: 35px;
    color: white;
    text-decoration: none;
}

.botonno:hover {
    border: solid #7e4709;
    background-color: white;
    color: #7e4709;
}

/*CONTENEDOR 7*/

.contenedor7 {
    background-image: url(../imagenes/fondo3.jpg);
    background-size: cover;
    background-repeat: repeat;
    padding-top: 60px;
    padding-bottom: 50px;
}

.contenedor8 {
    background-image: url(../imagenes/fondo4.jpg);
    padding-bottom: 80px;
}

.contenedor9 {
    background-color: white;
}

.contenedor9 h3 {
    font-family: "Great Vibes", serif;
    color: #5b3c45;
    font-size: 60px;
    font-weight: 400;
    padding-top: 50px;
    padding-left: 210px;
    padding-right: 210px;
    margin-top: 30px;
}

.contenedor9 img {
    margin-top: -241px;
}



footer {
    background-color: #4e3d27;
    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 h1 {
        font-size: 130px;
        margin-top: 57px;
    }

    .contenedor1 h2 {
        font-size: 105px;
        margin-top: -43px;
    }

    .contenedor1 p {
        font-size: 29px;
        font-weight: 300;
        padding: 30px 16%;
    }

    .contenedor1 h3 {
        font-size: 54px;
        margin-top: 52px;
    }

    .miCarrusel img {
        width: 70%;
    }

    .contenedor2 p {
        padding-left: 150px;
        padding-right: 150px;
    }

    .contenedor3 h4 {
        font-size: 55px;
    }

    .tarjeta {
        max-width: 60%;
    }

    .tarjeta img {
        max-width: 60%;
    }

    .contenedor4 img {
        max-width: 99%;
    }

    .tarjeta 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: 24px;
        font-size: 125px;
        margin-top: 30px;
    }

    .contenedor1 h2 {
        font-size: 85px;
    }

    .contenedor1 p {
        font-size: 27px;
        font-weight: 300;
        padding: 30px 18%;
    }

    .contenedor1 h3 {
        font-size: 50px;
        margin-top: 41px;
    }

    .tiempo span {
        font-size: 54px;
    }

    .contenedor2 p {
        font-size: 34px;
        padding-left: 80px;
        padding-right: 80px;
    }

    .inicial {
        font-size: 40px;
    }

    .miCarrusel {
        margin: 0 auto;
        padding: 61px 1px;
    }

    .contenedor4 h2 {
        font-size: 45px;
    }

    .contenedor4 h4 {
        font-size: 32px;
    }

    .contenedor4 h3 {
        font-size: 45px;
    }

    .tarjeta {
        max-width: 65%;
    }

    .tarjeta img {
        max-width: 50%;
    }

    .tarjeta h3 {
        font-size: 45px;
    }

    .tarjeta h4 {
        font-size: 26px;
    }

    .tarjeta a {
        font-size: 22px;
    }

    .contenedor6 h3 {
        font-size: 41px;
    }

    .contenedor6 p {
        margin-top: 26px;
        margin-bottom: 67px;
        font-size: 29px;
        padding: 10px 16%;
    }

    .botonsi {
        font-size: 22px;
    }

    .botonno {
        font-size: 22px;
    }

    .tarjeta h5 {
        font-size: 22px;
        margin-bottom: 23px;
    }

    .contenedor9 h3 {
        font-size: 41px;
        font-weight: 400;
        padding: 10px 16%;
        margin-top: 19px;
    }

    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 img {
        max-width: 70%;
    }

    .contenedor1 h1 {
        margin-bottom: -20px;
        font-size: 106px;
        margin-top: 10px;
    }

    .contenedor1 h2 {
        margin-bottom: 36px;
        margin-top: 10px;
        font-size: 62px;
    }

    .inicial {
        font-size: 29px;
    }

    .contenedor1 h3 {
        font-size: 40px;
    }

    .contenedor1 p {
        font-size: 23px;
    }

    .contenedor2 p {
        font-size: 22px;
        padding-left: 55px;
        padding-right: 55px;
    }

    .contenedor2 h3 {
        font-size: 32px;
        margin-bottom: -22px;
    }

    .contador {
        gap: 30px;
    }

    .tiempo span {
        font-size: 29px;
        padding-top: 0;
    }

    .texto {
        font-size: 13px;
    }

    .contenedor4 h2 {
        font-size: 39px;
        margin-bottom: 16px;
    }

    .contenedor4 h4 {
        font-size: 21px;
        margin-bottom: 10px;
    }

    .contenedor4 h3 {
        font-size: 36px;
        margin-top: 35px;
        margin-bottom: 5px;
    }

    .tarjeta {
        max-width: 62%;
    }

    .tarjeta img {
        max-width: 80%;
    }

    .tarjeta h3 {
        font-size: 37px;
    }

    .tarjeta h4 {
        font-size: 20px;
        margin-top: 30px;
        margin-bottom: 23px;
    }

    .tarjeta h5 {
        font-size: 18px;
        margin-bottom: 47px;
        font-weight: 300;
    }

    .tarjeta a {
        padding: 13px 12px;
        font-size: 19px;
    }

    .tarjeta a:hover {
        padding: 13px 24px;
        font-size: 21px;
    }

    .contenedor6 img {
        font-size: 21px;
    }

    .contenedor6 img:last-of-type {
        margin-top: -164px;
    }

    .contenedor6 h3 {
        font-size: 30px;
        padding: 9px 18%;
    }

    .contenedor6 p {
        margin-top: 10px;
        margin-bottom: 34px;
        font-size: 20px;
        padding: 5px 18%;
    }

    .botonsi {
        padding: 13px 20px;
        font-size: 18px;
        margin-bottom: 26px;
    }

    .botonsi:hover {
        padding: 13px 20px;
        font-size: 18px;
    }

    .botonno {
        padding: 13px 20px;
        font-size: 18px;
    }

    .botonno:hover {
        padding: 13px 20px;
        font-size: 18px;
    }

    .contenedor9 {
        background-color: white;
    }

    .contenedor9 h3 {
        font-size: 34px;
        margin-top: 5px;
        padding: 5px 18%;
        margin-bottom: 39px;
    }


}

@media (max-width: 394px) {

    .contenedor1 h1 {
        margin-bottom: -20px;
        font-size: 75px;
        margin-top: 15px;
    }

    .contenedor1 h2 {
        margin-bottom: 30px;
        margin-top: 10px;
        font-size: 52px;
    }

    .inicial {
        font-size: 26px;
    }

    .contenedor1 p {
        font-size: 21px;
    }

    .contenedor1 h3 {
        font-size: 32px;
    }


    .tarjeta {
        max-width: 80%;
    }

    .miCarrusel img {
        width: 95%;
    }

    .botonsi {
        padding: 13px 20px;
        font-size: 16px;
        margin-bottom: 26px;
    }

    .botonno {
        padding: 13px 16px;
        font-size: 16px;
    }

    .contenedor9 h3 {
        font-size: 34px;
        margin-top: 33px;
        padding: 5px 18%;
        margin-bottom: 99px;
    }

}

@media (max-width: 340px) {
    .tarjeta a {
        padding: 13px 12px;
        font-size: 17px;
    }
    
    .tarjeta a:hover {
        padding: 13px 12px;
        font-size: 17px;
    }
}