@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@400;500;600;700&display=swap');

#pelotaverde{
    z-index: -1;
}
#pelotaazul{
    z-index: -1;
}
#pelotaroja{
    z-index: -1;
}
#pelotaamarilla{
    z-index: -1;
}
#pelotamorada{
    z-index: -1;
}
/*Main*/
main{
    width: 100%;
    height: fit-content;
    padding-bottom: 50px;

    font-family: 'Work Sans';
}





/*Sección Invitaciones*/
#wrapperinvitaciones{
    margin-top: 100px;
    width: 100%;
    max-width: 1200px;
    height: 1500px;

    margin-left: calc(50% - 1200px/2);
}
#h1invitaciones{
    position: relative;
    top: 20px;
    left: 315px;
    font-size: 96px;
    font-weight: 600;

    height: 90px;
    width: 600px;

    color: black;
    overflow: hidden;
}
#divinvitacionesh1{
    position: relative;
    height: 5px;
    width: 0px;

    background-color: rgb(127, 193, 255);

    margin-left: 546px;
}
#divinvitacion1{
    position: relative;
    top: 100px;

    background-color: rgba(242, 162, 253, 0.158);

    padding-top: 50px;
    padding-bottom: 50px;
    border-radius: 20px;

    max-width: 1000px;
    margin-left: 100px;
}
#imginvitacion1{
    margin-left: 100px;

    max-width: 550px;
    max-height: 550px;
}
#spaninvitacion1img{
    position: absolute;
    margin-top: 0px;
    margin-left: 50px;

    color: white;
    background-color: rgb(214, 18, 149);
    padding: 20px;
    border-radius: 20px;

    font-weight: 500;
}
#spaninvitacion1img:hover{
    background-color: white;
    color: rgb(214, 18, 149);
}
#spaninvitacion1pdf{
    position: absolute;
    margin-top: 80px;
    margin-left: 50px;

    color: white;
    background-color: rgb(50, 142, 255);
    padding: 20px;
    border-radius: 20px;

    font-weight: 500;
}
#spaninvitacion1pdf:hover{
    background-color: white;
    color: rgb(50, 142, 255);
}

#divinvitacion2{
    position: relative;
    top: 200px;

    background-color: rgba(159, 167, 235, 0.158);
    
    padding-top: 50px;
    padding-bottom: 50px;
    border-radius: 20px;

    max-width: 1000px;
    margin-left: 100px;
}
#imginvitacion2{
    margin-left: 100px;

    max-width: 550px;
    max-height: 550px;
}
#spaninvitacion2img{
    position: absolute;
    margin-top: 0px;
    margin-left: 50px;
    
    color: white;
    background-color: rgb(214, 18, 149);
    padding: 20px;
    border-radius: 20px;

    font-weight: 500;
}
#spaninvitacion2img:hover{
    background-color: white;
    color: rgb(214, 18, 149);
}
#spaninvitacion2pdf{
    position: absolute;
    margin-top: 80px;
    margin-left: 50px;

    color: white;
    background-color: rgb(50, 142, 255);
    padding: 20px;
    border-radius: 20px;

    font-weight: 500;
}
#spaninvitacion2pdf:hover{
    background-color: white;
    color: rgb(50, 142, 255);
}












/*Medias*/
@media (max-width: 1100px){
    #wrapperinvitaciones{
        width: 100%;
        height: 1500px;
    
        margin-left: 0;
    }
    #h1invitaciones{
        position: relative;
        top: 20px;
        left: calc(50% - 580px/2);
        font-size: 96px;
        font-weight: 600;
    
        height: 90px;
        width: 580px;
    
        color: black;
        overflow: hidden;
    }
    #divinvitacionesh1{
        position: relative;
        height: 5px;
        width: 0px;
    
        background-color: rgb(127, 193, 255);
    
        left: calc(50% - 100px/2);
        margin-left: 0;
    }
    #divinvitacion1{
        position: relative;
        top: 100px;
    
        background-color: rgba(242, 162, 253, 0.158);
    
        padding-top: 50px;
        padding-bottom: 50px;
        border-radius: 20px;
    
        max-width: 95%;
        margin-left: 2.5%;
    }
    #imginvitacion1{
        margin-left: 50px;
    
        max-width: 550px;
        max-height: 550px;
    }
    #spaninvitacion1img{
        position: absolute;
        margin-top: 0px;
        margin-left: 50px;
    
        color: white;
        background-color: rgb(214, 18, 149);
        padding: 20px;
        border-radius: 20px;
    
        font-weight: 500;
    }
    #spaninvitacion1img:hover{
        background-color: white;
        color: rgb(214, 18, 149);
    }
    #spaninvitacion1pdf{
        position: absolute;
        margin-top: 80px;
        margin-left: 50px;
    
        color: white;
        background-color: rgb(50, 142, 255);
        padding: 20px;
        border-radius: 20px;
    
        font-weight: 500;
    }
    #spaninvitacion1pdf:hover{
        background-color: white;
        color: rgb(50, 142, 255);
    }
    
    #divinvitacion2{
        position: relative;
        top: 200px;
    
        background-color: rgba(159, 167, 235, 0.158);
        
        padding-top: 50px;
        padding-bottom: 50px;
        border-radius: 20px;
    
        max-width: 95%;
        margin-left: 2.5%;
    }
    #imginvitacion2{
        margin-left: 50px;
    
        max-width: 550px;
        max-height: 550px;
    }
    #spaninvitacion2img{
        position: absolute;
        margin-top: 0px;
        margin-left: 50px;
        
        color: white;
        background-color: rgb(214, 18, 149);
        padding: 20px;
        border-radius: 20px;
    
        font-weight: 500;
    }
    #spaninvitacion2pdf{
        position: absolute;
        margin-top: 80px;
        margin-left: 50px;
    
        color: white;
        background-color: rgb(50, 142, 255);
        padding: 20px;
        border-radius: 20px;
    
        font-weight: 500;
    }
}
@media (max-width: 920px){
    #wrapperinvitaciones{
        width: 100%;
        height: fit-content;
    
        margin-left: 0;
        margin-bottom: 350px;
    }
    #h1invitaciones{
        position: relative;
        top: 20px;
        left: calc(50% - 580px/2);
        font-size: 96px;
        font-weight: 600;
    
        height: 90px;
        width: 580px;
    
        color: black;
        overflow: hidden;
    }
    #divinvitacionesh1{
        position: relative;
        height: 5px;
        width: 0px;
    
        background-color: rgb(127, 193, 255);
    
        left: calc(50% - 100px/2);
        margin-left: 0;
    }
    #divinvitacion1{
        position: relative;
        top: 100px;
    
        background-color: rgba(242, 162, 253, 0.158);
    
        padding-top: 50px;
        padding-bottom: 225px;
        border-radius: 20px;
    
        max-width: 95%;
        margin-left: 2.5%;
    }
    #imginvitacion1{
        margin-left: calc(50% - 550px/2);
    
        max-width: 550px;
        max-height: 550px;
    }
    #spaninvitacion1img{
        position: absolute;
        margin-top: 430px;
        margin-left: 0px;
        left: calc(50% - 180px/2);
    
        color: white;
        background-color: rgb(214, 18, 149);
        padding: 20px;
        border-radius: 20px;
    
        font-weight: 500;
    }
    #spaninvitacion1pdf{
        position: absolute;
        margin-top: 500px;
        margin-left: 0px;
        left: calc(50% - 180px/2);
    
        color: white;
        background-color: rgb(50, 142, 255);
        padding: 20px;
        border-radius: 20px;
    
        font-weight: 500;
    }
    
    #divinvitacion2{
        position: relative;
        top: 200px;
    
        background-color: rgba(159, 167, 235, 0.158);
    
        padding-top: 50px;
        padding-bottom: 225px;
        border-radius: 20px;
    
        max-width: 95%;
        margin-left: 2.5%;
    }
    #imginvitacion2{
        margin-left: calc(50% - 550px/2);
    
        max-width: 550px;
        max-height: 550px;
    }
    #spaninvitacion2img{
        position: absolute;
        margin-top: 430px;
        margin-left: 0px;
        left: calc(50% - 180px/2);
    
        color: white;
        background-color: rgb(214, 18, 149);
        padding: 20px;
        border-radius: 20px;
    
        font-weight: 500;
    }
    #spaninvitacion2pdf{
        position: absolute;
        margin-top: 500px;
        margin-left: 0px;
        left: calc(50% - 180px/2);
    
        color: white;
        background-color: rgb(50, 142, 255);
        padding: 20px;
        border-radius: 20px;
    
        font-weight: 500;
    }
}
@media (max-width: 650px){
    #wrapperinvitaciones{
        width: 100%;
        height: fit-content;
    
        margin-left: 0;
        margin-bottom: 350px;
        margin-top: -10px;
    }
    #h1invitaciones{
        position: relative;
        top: 20px;
        left: calc(50% - 370px/2);
        font-size: 62px;
        font-weight: 600;
    
        height: 70px;
        width: 370px;
    
        color: black;
        overflow: hidden;
    }
    #divinvitacionesh1{
        position: relative;
        height: 4px;
        width: 0px;
    
        background-color: rgb(127, 193, 255);
    
        left: calc(50% - 100px/2);
        margin-left: 0;
    }
    #divinvitacion1{
        position: relative;
        top: 100px;
    
        background-color: rgba(242, 162, 253, 0.158);
    
        padding-top: 50px;
        padding-bottom: 135px;
        border-radius: 20px;
    
        max-width: 95%;
        margin-left: 2.5%;
    }
    #imginvitacion1{
        margin-left: 5%;
    
        max-width: 90%;
        max-height: auto;

        padding-bottom: 50px;
    }
    #spaninvitacion1img{
        position: relative;
        margin-top: 0vw;
        margin-left: 0px;
        left: calc(50% - 180px/2);
    
        color: white;
        background-color: rgb(214, 18, 149);
        padding: 20px;
        border-radius: 20px;
    
        font-weight: 500;
    }
    #spaninvitacion1pdf{
        position: absolute;
        margin-top: 50px;
        margin-left: 0px;
        left: calc(50% - 180px/2);
    
        color: white;
        background-color: rgb(50, 142, 255);
        padding: 20px;
        border-radius: 20px;
    
        font-weight: 500;
    }
    
    #divinvitacion2{
        position: relative;
        top: 200px;
    
        background-color: rgba(159, 167, 235, 0.158);
    
        padding-top: 50px;
        padding-bottom: 135px;
        border-radius: 20px;
    
        max-width: 95%;
        margin-left: 2.5%;
    }
    #imginvitacion2{
        margin-left: 5%;
    
        max-width: 90%;
        max-height: auto;

        padding-bottom: 50px;
    }
    #spaninvitacion2img{
        position: relative;
        margin-top: 0vw;
        margin-left: 0px;
        left: calc(50% - 180px/2);
    
        color: white;
        background-color: rgb(214, 18, 149);
        padding: 20px;
        border-radius: 20px;
    
        font-weight: 500;
    }
    #spaninvitacion2pdf{
        position: absolute;
        margin-top: 50px;
        margin-left: 0px;
        left: calc(50% - 180px/2);
    
        color: white;
        background-color: rgb(50, 142, 255);
        padding: 20px;
        border-radius: 20px;
    
        font-weight: 500;
    }
}

/*Footer*/
@media (max-width: 750px){
    footer{
        margin-top: -50px;
    }
}