:root {
    /*Stuff about general terms here*/
    --alprema-cus:#17488d;
    --alprema-cmx:#bf2128;
    --font-light: #ffffff;
    --font-dark: #181818;
    --bgdark: #1b1b1b;
}

body{
    height: 100%;
    width: 100vw;
    overflow-x: hidden;
    background-color: #1b1b1b;
    background-image: url("../img/nosotros/bgg.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment:fixed;
    background-position: center;
}

.dualbox{
    padding-top: 40px;
    padding-bottom: 40px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    min-width: 250px;
    height: 100%;
    background-color: #00000094;
    color:white;
    font-family: Gabarito;
}


.box2{
    width: 40%;
    min-height: 400px;
    min-width: 250px;
}
.box2 p{
    font-size: 20px;
}

.box2 a{
    text-decoration: none;
    color: white;
}

iframe{
    padding-top: 20px;
    height: 70%;
    width: 80%;
    min-height: 350px;
    min-width: 250px;
}



#mainline{
    display: flex;
    width: 40%;
    min-width: 250px;
    flex-wrap: nowrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: start;

}

#mainlineb{
    padding-top: 20px;
    padding-bottom: 20px;
    display: flex;
    width: 100%;
    min-width: 250px;
    flex-wrap: nowrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: start;
}

#mainlineb h1{
    font-size: 70px;
    margin-bottom: 5px;
    font-family: Quantico;
    font-weight: 500;
    text-align: center;
    color: white;
}

#mainlineb h2{
    font-size: 40px;
    font-family: Quantico;
    font-weight: 400;
    color: white;
    text-align: center;
}

#mainlineb p{
    font-size: 60px;
    margin-top: 15px;
    text-decoration: none;
    color: white;
    font-family: Gabarito;
    font-size: 20pt;
    font-weight: 500;
    text-align: center;
}
#mainlineb a{
    text-decoration: none;
}

#imageSocial{
    height: 200px;
    border-radius: 40%;
}

#mainline h1{
    font-size: 70px;
    margin-bottom: 5px;
    font-family: Quantico;
    font-weight: 500;
    text-align: center;
}

#mainline h2{
    font-size: 40px;
    font-family: Quantico;
    font-weight: 400;
    text-align: center;
}

#mainline p{
    font-size: 60px;
    margin-top: 15px;
    text-decoration: none;
    color: white;
    font-family: Gabarito;
    font-size: 20pt;
    font-weight: 500;
}
#mainline a{
    text-decoration: none;
}

.buttonLink{
    border: none;
    min-width: 250px;
    width: 30%;
    color: rgb(0, 0, 0);
    padding: 20px;
    text-align: center;
    text-decoration: none;
    font-size: 25px;
    margin-top: 30px;
    border-radius: 20px;
    font-family: Gabarito;
    background-color: #E3E3E3;
    border: none;
    outline: none;
    transition: color 300ms ease-in-out;
    z-index: 1;
    position: relative;
}

.buttonLink a{
    color: rgb(0, 0, 0);
}

.buttonLink::before{
    content: '';
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: var(--alprema-cmx);
    transition: transform 300ms ease-in-out;
    transform: scaleX(0);
    transform-origin: left;
    border-radius: 20px;
}

.buttonLink:hover,
.buttonLink:focus{
    color:white;
}

.buttonLink:hover::before,
.buttonLink:focus::before{
    transform: scaleX(1);
}

.jumpline{
    margin-top: 29px;
    margin-bottom: 20px;
}

#mainline a{
    text-align: center;
}

@media only screen and (max-width: 900px) {
    body{
        margin-top: -20px;
    }
    #mainline{
        width: 90%;
    }
    .box2{
        width: 90%;
        padding-bottom: 110px;
    }

    #mainline h1{
        font-size: 50px;
    }
    
    #mainline h2{
        font-size: 30px;
    }
    #mainlineb h1{
        font-size: 50px;
    }
    
    #mainlineb h2{
        font-size: 30px;
    }
    #mainline p{
        font-size: 100%;
    }
    #mainlineb p{
        font-size: 100%;
    }
}