: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;
}

.myVideo{
    position: fixed;
    overflow: hidden;
    z-index: -2;
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.myVideo video{
    min-width: 1400px;
    width: 100%;
    height: auto;
    min-height: 800px;
}

#contentBody{
    width: 100vw;
    justify-content: center;
    align-items: center;
}

.jumplineb{
    width: 100%;
    box-sizing:border-box;
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
    padding-top: 20px;
    padding-bottom: 20px;
    background-color: var(--bgdark);
    padding-left: 220px;
    padding-right: 220px;
    min-width: 250px;
}

.jumplinec{
    background-color: var(--bgdark);
}

.pmain{
    font-size: 24px;
    text-align: justify;
    text-align-last: center;
    color: var(--font-light);
    font-family: Gabarito;
    padding-top: 20px;
}

h1{
    color: var(--font-light);
    justify-content: center;
    align-content: center;
    font-family: Chakra Petch;
    font-weight: 700;
    font-size: 47px;
    text-align: center;
    text-shadow: 0 0 20px var(--alprema-cus);
    padding-left: 2%;
    padding-right: 2%;
}

h2{
    font-size: 42px;
    text-align: center;
    font-family: Chakra Petch;
    font-weight: 500;
    color: var(--font-light);
    text-shadow: 0 0 20px var(--alprema-cus);
}

h3{
    font-size: 18px;
    font-weight: 800;
    padding-bottom: 5px;
    font-family: Chakra Petch;
    color: var(--font-light);
}

#aboutus{
    background-color: #1b1b1b5b;
    height: 80vh;
    display: flex;
    justify-content: center;
}

#aboutus2{
    background-image: url("../img/facility/bgg.png");
    background-repeat: no-repeat;
    background-attachment:fixed;
    background-size: cover;
    background-position: center;
    padding-bottom: 150px;
    padding-top: 150px;
    color: var(--font-light);
    font-family: Gabarito;
    color: var(--font-light);
    height: 100%;
}
/* ========================= OFF CONTENT  ========================= */

.hlight{
    font-size: 60px;
    font-family: Chakra Petch;
    font-weight: 700;
}

.stext{
    font-size: 20px;
}

.sqboxa{
    width: 800px;
    padding-bottom: 20px;
}

.qbox{
    padding-top: 100px;
    display: flex;
    flex-wrap: wrap;
    align-items: start;
}

.qbox div{
    width: 250px;
    padding-right: 20px;
}
.textboxa{
    width: 100%;
}

.quadbox{
    padding-top: 20px;
    display: flex;    
    flex-wrap: wrap;
    justify-content: center;
    padding-bottom: 20px;
}

.qbdiv{
    width: 22%;
    min-width: 330px;
    padding-top: 20px;
    padding-right: 20px;
}

.innerbox{
    background-color:  var(--alprema-cus);
    height: 220px;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 25px;
    box-shadow: 0 0 5px #222222;
    border-radius: 10px;
}


.icondiv{
    font-size: 60px;
    width: 100%;
    padding-bottom: 10px;
    color: white;
}

.qbdiv p{
    font-family: Gabarito;
    color: white;
    text-align: left;
    text-align-last: left;
    font-size: 16px;
}

.sortImages{
    background-color: var(--font-light);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    padding-top: 20px;
    padding-bottom: 20px;
}

.sortImages img{
    width: 13%;
    min-width: 120px;
    height: 100%;
    background-color: white;
}

.sortImages img:hover{
    -ms-transform: scale(1.5); /* IE 9 */
    -webkit-transform: scale(1.5); /* Safari 3-8 */
    transform: scale(1.5); 
    transition: .5s ease;
    box-shadow: 0 0 10px #17488d;
}

.dualbox{
    overflow: hidden;
    height: 100%;
    display: flex;
    align-items: center;    
    flex-wrap: wrap;
    justify-content: center;
    padding-bottom: 20px;
}

.dualbox div{
    width: 46%;    
    min-width: 250px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 10px;
}

.boxa1{
    height: 100%;
}

ul{
    color: var(--font-light);
    font-family: Gabarito;
    font-size: 22px;
    padding-left: 35px;
}

.boxa2{
    display: block;
    height: 400px;
}

.boxa2 {
    display: flex;
    align-items: center;
    justify-content:center;
    height: 450px;
    overflow: hidden;
}

.boxa2 img {
    height: 450px;
}

.boxa21{
    display: block;
    height: 400px;
}

.imgcar{
    display: block;
    position: relative;
}
.imgcar div{
    position: absolute;
    top: -100;
    width: 100%;
    height: 400px;
    background-size:contain;
    background-repeat: no-repeat;
    background-position: center;
    animation: fade 12s infinite;
    border-radius: 10px;
    background-color: rgb(24, 24, 24);
}

.dualboxb{
    overflow: hidden;
    height: 100%;
    display: flex;
    align-items: center;    
    flex-wrap: wrap;
    justify-content: center;
    padding-bottom: 20px;
}

.dboxsub{
    width: 46%;    
    min-width: 250px;
    padding-left: 20px;
    padding-right: 20px;
}

.dboxsub img{
    width: 100%;
    max-width: 600px;
    float: right;
}

.dualboxc{
    height: 100%;
    display: flex;
    align-items: center;    
    flex-wrap: wrap;
    justify-content: center;
    padding-bottom: 20px;
}

.dualboxc div{
    width: 46%;    
    min-width: 250px;
    padding-left: 20px;
    padding-right: 20px;
}

.dualboxc div img{
    width: 100%;
}

.tribox{
    display: flex;
    justify-content:center;
    flex-wrap: wrap;
}

.tribox div{
    height: 250px;
    min-width: 250px;
    padding-bottom: 20px;
    padding-left: 5px;
    padding-right: 5px;
}
.tribox div img{
    height: 100%;
    width: 100%;
}


.sortImagesc{
    padding-top: 10px;
    padding-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding-left: 220px;
    padding-right: 220px;
    color: var(--font-light);
    overflow: hidden;
}
.sortImagesc div{
    height: 200px;
}
.sortImagesc img{
    padding-bottom: 20px;
    min-width: 70px;
    height: 100%;
    padding-left: 40px;
    padding-right: 40px;
    border-radius: 20px;
}
.sortImagesc p{
    font-family: Chakra Petch;
    font-weight: 600;
    font-size: 100%;
    position: relative;
    text-align: center;
    top: -140px;
    text-shadow: 0 0 5px #246bcd;
    z-index: 4;
    opacity: 0;
    padding-top: 10px;
    padding-bottom: 10px;
    transition: .5s ease;
}

.sortImagesc div:hover img{
    -ms-transform: scale(1.6); /* IE 9 */
    -webkit-transform: scale(1.6); /* Safari 3-8 */
    transform: scale(1.6); 
    transition: .5s ease;
    /*
    box-shadow: inset 10px 10px 10px 0px rgba(0, 0, 0),
    inset -10px -10px 10px 0px rgba(0, 0, 0);
    background-color: rgb(15, 15, 15);
    */
}

.sortImagesc div:hover .textualbox p{
    opacity: 100;
    transition: .5s ease;
    background-color: rgba(0, 0, 0, 0.608);
}

/* ========================= Supplies  ========================= */

.cardboxlyr{
    position: relative;
    height: 520px;
    width: 350px;
    display: flex;
    align-content: center;
    justify-content: center;
    border-radius: 20px;
    transition: .5s ease;
}
.cardboxlyr img{
    position: absolute;
    width: 350px;
    height: 100%;
}
.higherimg{
    z-index: 1;
}
.textualcard{
    position: absolute;
    z-index: 1;
    display: flex;
    align-content: center;
    justify-content: center;
    height: 100%;
}
.cardboxlyr p{
    align-self: center;
    text-align: center;
    color: white;
    font-family: Chakra Petch;
    font-weight: 700;
    font-size: 28px;
    padding-left: 10px;
    display: none;
    transition: .5s ease;
}
.cardboxlyr:hover p{
   display: block;
   transition: .5s ease;
}
.cardboxlyr:hover div{
    background-color: rgba(0, 0, 0, 0.671);
    transition: .5s ease;
}
/* ========================= ImageCarrousel A ========================= */

#f5{
    animation-delay: 10s;
    background-image: url('../img/machines/4.png');
}
#f4{
    animation-delay: 8s;
    background-image: url('../img/machines/3.png');
}
#f3{
    animation-delay: 6s;
    background-image: url('../img/machines/2.png');
}
#f2{
    animation-delay: 4s;
    background-image: url('../img/machines/1.png');
}
#f1{
    animation-delay: 2s;
    background-image: url('../img/machines/0.png');
}

@keyframes fade {
    0% { opacity: 1;}
    20% { opacity: 1;}
    34% { opacity: 0;}
    88% { opacity: 0;}
    100% { opacity: 1;}
}

/* ========================= ImageCarrousel B ========================= */

.boxb1t{
    width: calc(400px * 3);
    overflow: hidden;
}

.boxb1{
    height: 400px;
    display: flex;
    animation: scroll 8s linear infinite;
}

  @keyframes scroll {
	0% { transform: translateX(0); }
	100% { transform: translateX(-3345px)}
}


/* ========================= SIZES  ========================= */

@media only screen and (max-width: 1550px) {
    .jumplineb{
        padding-left: 170px;
        padding-right: 170px;
    }
    .sqboxa{
        width: 70%;
    }
    .dualbox div{
        width: 40%;    
    }
    .dboxsub{
        width: 98%;    
        min-width: 250px;
        padding-left: 20px;
        padding-right: 20px;
    }
    .dboxsub img{
        float: none;
    }
    
    #dboximg{
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .sortImagesc{
        padding-left: 160px;
        padding-right: 160px;
    }
}

@media only screen and (max-width: 1340px) {
    .jumplineb{
        padding-left: 150px;
        padding-right: 150px;
    }
    .sqboxa{
        width: 75%;
    }
    .hlight{
        font-size: 55px;
    }
    .dualbox div{
        width: 95%;    
    }
    .sortImagesc{
        padding-left: 100px;
        padding-right: 100px;
    }
    
}

@media only screen and (max-width: 900px) {
    .jumplineb{
        padding-left: 60px;
        padding-right: 60px;
    }

    .myVideo{
        margin-top: -20px;
    }
    
    h1{
        font-size: 30px;
    }

    h2{
        font-size: 27px;
    }

    .pmain{
        font-size: 20px;
    }
    .sqboxa{
        width: 80%;
    }
    .hlight{
        font-size: 45px;
    }
    ul{
        font-size: 20px;
    }
    .dualbox div{
        width: 95%;    
    }
    .sortImagesc{
        padding-left: 60px;
        padding-right: 60px;
    }
}

@media only screen and (max-width: 500px) {
    .jumplineb{
        padding-left: 25px;
        padding-right: 25px;
    }
    
    h1{
        font-size: 25px;
    }
    
    h2{
        font-size: 22px;
    }
    .pmain{
        font-size: 17px;
    }
    .sqboxa{
        width: 90%;
    }
    .qbdiv{
        min-width: 280px;
    }
    ul{
        font-size: 15px;
    }
    .sortImagesc{
        padding-left: 25px;
        padding-right: 25px;
    }
    ul{
        padding-left: 0px;
    }
}

/* ========================= Automatizacion  ========================= */
#automationa {
    padding-bottom: 150px;
    padding-top: 150px;
    height: 100%;
    background-image: url("../img/machines/auto1.jpeg");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    color: white;
}