section#video .sliderBox {
    position: absolute;
    top: 23%;
    width: 400px;
    left: 8%;
}

section#video {
    position: relative;
}

section#video .sliderBox {
    position: relative;
    z-index: 600;
}

section#video .plecaDeg {
    position: absolute;
    z-index: 500;
    top: 0px;
    height: calc(100% + 6px);
    width: 100%;
    background: rgb(13, 89, 114);
    background: linear-gradient(90deg, rgba(13, 89, 114, 1) 0%, rgba(13, 89, 114, 0.9304315476190477) 31%, rgba(13, 89, 114, 0) 100%);
}

section#video .sliderBox h1 img {
    height: 62px;
}

section#video .sliderBox .sliderCont .slideTitle {
    color: var(--texto-clara);
    font-family: 'BwModelica-bold', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 50px;
    font-size: 2.7rem;
    margin: 1.5rem 0 2rem;
}

section#video .sliderBox .sliderCont {
    width: 26rem;
}

section#video .sliderBox .sliderCont .slideDesc {
    color: var(--texto-clara);
    font-size: 1.1rem;
    font-family: 'Open Sans', sans-serif;
    line-height: 23px;
    min-height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-background-holder {
    position: relative;
    background-color: var(--principal);
    height: 100vh;
    min-height: 25rem;
    width: 100%;
    overflow: hidden;
    background-size: cover;
    background-position: right center;
}

.video-background-holder video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    -ms-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}

section#nosotros {
    min-height: 100vh;
    background-color: #F5F5F5;
    display: flex;
    align-items: center;
}


section#nosotros .textContainer {
    background-color: #fff;
    text-align: center;
    max-width: 50rem;
    padding: 2rem 4rem;
    margin: auto;
    border-radius: 5px;
    -webkit-box-shadow: 0px 0px 11px 0px rgba(222, 222, 222, 1);
    -moz-box-shadow: 0px 0px 11px 0px rgba(222, 222, 222, 1);
    box-shadow: 0px 0px 11px 0px rgba(222, 222, 222, 1);
}

section#nosotros .textContainer h3 {
    color: var(--principal);
    font-size: 1.25rem;
}

section#nosotros .textContainer p {
    max-width: 35rem;
    margin: 1.7rem auto 0rem;
}



section#servicios {
    min-height: 100Vh;
    display: flex;
    align-items: center;
    background-color: var(--principal);
    background-size: cover;
    background-position: center;
}

section#servicios h2 {
    color: var(--texto-clara);
}

section#servicios p {
    color: var(--texto-clara);
    max-width: 29rem;
}

section#servicios .servicioGrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 4 columnas con tamaño igual */
    grid-template-rows: repeat(2, 1fr);
    /* 4 filas con altura de 100px */
    gap: 6rem;
    /* Espacio entre las celdas */
    align-items: center;
    /* Espacio vertical entre las filas */
}

section#servicios .servicioGrid .servicio {
    text-align: center;
}

section#servicios .servicioGrid .servicio img {
    max-height: 5rem;
}

section#servicios .servicioGrid .servicio .gridLabel {
    font-family: 'BwModelica-medium', sans-serif;
    color: var(--interaccion);
    font-size: 0.8rem;
    max-width: 7rem;
    margin: auto;
    margin-top: 1rem;
}





section#flota {
    padding: 4rem 0;
}

section#flota .textContainer {
    text-align: center;
    max-width: 40rem;
    margin: auto;
}

section#flota h3 {
    color: var(--principal);
    font-size: 1.25rem;
    text-align: center;
    margin: 3rem 0 2.5rem;
}

section#flota .unidad {
    text-align: center;
}

section#flota .unidad img {
    height: 3.3rem;
}


section#flota .unidad .textContainer {
    margin-top: 1.3rem;
}

section#flota .unidad .textContainer .nombre {
    color: var(--principal);
    font-family: 'BwModelica-medium', sans-serif;
    font-size: 1.13rem;
}

section#flota .unidad .textContainer .capacidad {
    font-family: 'BwModelica-regular', sans-serif;
    font-size: 0.93rem;
    line-height: 1.1rem;
}

section#flota .splide__arrow {
    background-color: transparent;
    height: 2rem;
    width: 2rem;
    opacity: 1;
    right: 1em;
}

section#flota .splide__arrow:disabled {
    display: none;
}

section#flota .splide__arrow svg {
    fill: var(--interaccion);
    height: 2em;
    width: 2em;
}


@media (max-width: 992px) {

    section#video .plecaDeg {
        position: absolute;
        z-index: 500;
        top: 0px;
        height: 100%;
        width: 100%;
        background: rgb(13, 89, 114);
        background: linear-gradient(0deg, rgba(13, 89, 114, 1) 0%, rgba(13, 89, 114, 0.9304315476190477) 31%, rgba(13, 89, 114, 0) 100%);
    }

    section#nosotros {
        min-height: auto;
        padding-top: 2.3rem;
        padding-bottom: 2.3rem;
    }

    section#nosotros .textContainer {
        padding: 1.5rem 1rem;
    }

    section#servicios {
        min-height: auto;
        padding-top: 2.3rem;
        padding-bottom: 2.3rem;
        background-position: right;
    }

    section#servicios .servicioGrid {
        gap: 1rem;
        margin-top: 3rem;
    }



    section#flota .unidad {
        margin-bottom: 3rem;
    }

    section#video .sliderBox {
        width: 100%;
    }

    section#video .sliderBox {
        width: 94%;
        left: 6%;
    }



    .video-background-holder {
        height: 850px;
    }

    .video-background-holder video {
        position: relative;
        top: 66%;
        left: 50%;
        width: auto;
        height: auto;
        z-index: 0;
        -ms-transform: translateX(-50%) translateY(-50%);
        -moz-transform: translateX(-50%) translateY(-50%);
        -webkit-transform: translateX(-50%) translateY(-50%);
        transform: translateX(-50%) translateY(-50%);
    }

    #videoback {
        height: 560px;
        object-fit: cover;
        position: absolute;
        z-index: 100;
        width: calc(100%);
        overflow: hidden;
        top: -4px;
        left: 0px;
    }

    #plecaMobile {
        display: block;
        background: rgba(17, 98, 177, 0);
        background: -moz-linear-gradient(top, rgba(17, 98, 177, 0) 0%, rgba(17, 98, 177, 1) 29%, rgba(17, 98, 177, 1) 30%, rgba(0, 76, 150, 1) 100%);
        background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(17, 98, 177, 0)), color-stop(29%, rgba(17, 98, 177, 1)), color-stop(30%, rgba(17, 98, 177, 1)), color-stop(100%, rgba(0, 76, 150, 1)));
        background: -webkit-linear-gradient(top, rgba(17, 98, 177, 0) 0%, rgba(17, 98, 177, 1) 29%, rgba(17, 98, 177, 1) 30%, rgba(0, 76, 150, 1) 100%);
        background: -o-linear-gradient(top, rgba(17, 98, 177, 0) 0%, rgba(17, 98, 177, 1) 29%, rgba(17, 98, 177, 1) 30%, rgba(0, 76, 150, 1) 100%);
        background: -ms-linear-gradient(top, rgba(17, 98, 177, 0) 0%, rgba(17, 98, 177, 1) 29%, rgba(17, 98, 177, 1) 30%, rgba(0, 76, 150, 1) 100%);
        background: linear-gradient(to bottom, rgba(17, 98, 177, 0) 0%, rgba(17, 98, 177, 1) 29%, rgba(17, 98, 177, 1) 30%, rgba(0, 76, 150, 1) 100%);
        filter: progid: DXImageTransform.Microsoft.gradient(startColorstr="#1162b1", endColorstr="#004c96", GradientType=0);
        position: absolute;
        width: 100%;
        height: 592px;
        top: 200px;
    }

    section#video .sliderBox .sliderCont {
        width: 90%;
    }

    section#video .sliderBox {
        top: 50%;
        left: 3%;
    }
}

