
/* Se aplica regla global para evitar que se mueva en scroll,
hacia un lado y quede espacio en algun costado */
@media screen and (max-width: 768px) {
    body {
        overflow-x: hidden !important;
    }
}





@media screen and (max-width: 768px) {
    body {
        overflow-x: hidden !important;
    }

    #encabezado {
        width: 100%;
        height: 700px;
        background-position: 50% 0px;
        background-repeat: no-repeat;
        background-size: cover;
    }

    
    .mascara {
        background-color: rgba(0, 0, 0, 0.391);
    }

    
    .texto1 {
        font-size: 60px;
    }

    /* Modifición del tamaño del contenedor para reducion general de
    las fuentes sin aplicar font-size */
    .contenedor {
        position: absolute;
        top: 120px;
        left: 0;
        width: 100%;
        height: 80%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        transform: scale(0.7); 

    }
}





/* Modificacion de opacidad, tamaño y color de fondo en 
la sección de las flores decorativas*/
@media screen and (max-width: 768px) {

    .flores::before,
    .flores::after {
        opacity: 5%;
        content: "";
        position: fixed;
        top: 100px;
        width: 130px;
        height: 250px;
        background-repeat: no-repeat;
        background-size: cover;
        z-index: -10;
    }
}




@media screen and (max-width: 768px) {

    
    #frase {
        width: 100%;
        margin-top: 50px;
        margin-bottom: 50px;
    }

    
    #frase p {
        font-weight: 200;
        font-size: 12px;
        line-height: 22px;
    }

    
    .salto1, .salto2{
        display: block;
    }
    .salto4{
        display: none;
    }


    
    .envoltura_escalable {
        transform: scale(0.9);
    }
}





@media screen and (max-width: 768px) {

    /* Modifición del tamaño del contenedor para reducion general de
    las fuentes sin aplicar font-size, junto con reduccion de
    espacios para juntar más las letras */
    .contenedor-cuentaregresiva {
        gap: 50px;
        transform: scale(0.5);
        bottom: 30px;
    }

    
    .numero-regresivo {
        font-size: 60px;
    }

    
    .label {
        font-size: 20px;
    }

    
    .groupo-cuentregresiva {
        position: relative;
        bottom: 150px;
        margin: 10px;
    }
}




@media screen and (max-width: 768px) {

    
    #invitacion {
        position: relative;
        bottom: 20px;
    }
    
    .texto_de_xv>br{
        display: inline;
    }
}





@media screen and (max-width: 768px) {

    
    #ubicaciones {
        width: 100%;
        height: 1000px;
    }

    
    .contenedor-padre-ubicaciones {
        display: flex;
        flex-direction: column;
        transform: scale(0.9);
    }

    /* Modifición de la posicion de la imagen decorativa en el medio
    de las ubicaciones*/
    .imagendeflor {
        position: relative;
        margin-top: 50px;
    }
}





@media screen and (max-width: 768px) {

    
    #contenedor-mesaderegalos-imagen {
        width: 100%;
        height: 1800px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    
    #imagenquinceañera-media {
        width: 100%;
    }

    
    #mesaderegalos {
        display: flex;
        flex-direction: column;
        position: relative;
        top: 30px;
        justify-content: space-around;
    }

    /* Modifición del orden de los elementos dentro del contenedor en donde se ubican
    los logos de las mesas de regalos*/
    .contenedorbuttonmesaderegalos,
    .envoltura-mesaderegalos {
        display: flex;
        flex-direction: column;
    }

    
    .contenedorbuttonmesaderegalos {
        gap: 80px;
    }

    
    .lluviadesobres {
        margin-top: 30px;
    }

    
    .imgsobre {
        margin-top: 20px;
    }

    
    .imagen-mesa-de-regalos {
        height: 100px;
    }
}





@media screen and (max-width: 768px) {

    
    #codigodevestimenta {
        width: 100%;
        height: 400px;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    
    #codigodevestimenta h2 {
        font-size: 23px;
    }

    
    #codigodevestimenta p {
        text-align: center;
        font-size: 13px;
        line-height: 25px;
        left: 12px;
        margin-top: 40px;
        letter-spacing: 17px;
    }
    
    #codigodevestimenta > div {
        height: 40px;
        width: 40px;
        border-radius: 100%;
        position: relative;
    }




@media screen and (max-width: 768px) {

    
    #contenedorcontacto {
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
    }

     /* Modifición del tamaño del contenedor 
        de texto arriba de qr */

    .escaneo_de_texto {
        text-align: center;
        max-width: 300px;

    }


    
    #contacto {
        height: auto;
        width: 100%;
        padding: 30px 0;
    }

    
    .ultimafoto {
        width: 100%;
    }

    
    .qr {
        height: 150px;
    }
}





@media screen and (max-width: 768px) {

    
    #noniños {
        width: 100%;
        height: 70px;
    }

    
    #noniños p {
        font-size: 7px;
    }
}




@media screen and (max-width: 768px) {

    
    #piedepagina {
        width: 100%;
        height: auto;
    }

    
    small {
        font-size: 7px;
    }
}




@media screen and (max-width: 768px) {

    
    .botonarriba {
        width: 40px;
        height: 40px;
        bottom: 10px;
        right: 10px;
        align-items: center;
        text-align: center;
        font-size: 10px
    }
}




@media screen and (max-width: 768px) {

    
    button {
        font-weight: 300;
    }
}


}

