
/* ------------------------------------------------------------------------------ */

*{
    margin: 0;
    padding: 0;
}

.body-content{
    width: 100%;
    padding: 20px;
    text-align: justify;
    box-sizing: border-box;
    font-size: 10px;
    line-height: 40px;
}

.body{
    padding: 3em;
}

/* --------------------------------------------       MENU                             --------------------------------- */

.navbar{
    box-shadow: 2px 2px 5px #000;
    opacity: .9;
}

.navbar .nav-item .nav-link{
    color: #000000;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.navbar-default{
    background-color: rgba(252, 249, 248, 0.9);
}

/* ------------------------------------         CSS EFECTOS DE IMAGEN          ------------------------------------------ */

.imgBx{
    position: relative;
    max-width: 100%;
    height: auto;
    overflow: hidden;
    border-radius: 1%;
    margin: 50px, 50px, 50px, 50px;
}

.imgBx img{
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;
    background-size: cover;
    transition: 0.5s;
}

.imgBx:hover img:nth-child(2){
    transform: translateX(-50%) scaleX(2);
    opacity: 0;
    filter: blur(10px);
}

.imgBx img:nth-child(1){
    transform: translateX(50%) scaleX(2);
    opacity: 0;
    filter: blur(10px);
}

.imgBx:hover img:nth-child(1){
    transform: translateX(0) scaleX(1);
    opacity: 1;
    filter: blur(0);
}

#imgResponsive{
    overflow: hidden;
    border-radius: 25px 25px;
    border: 2px solid rgb(18, 19, 18);
    padding: 20px;
}

/* ----------------------------------   CSS DE LOS TEXTOS GRANDES -------------------------------------------- */

#textoTransporte{
    color: rgb(66, 3, 168);
    font-size: 4em;
    letter-spacing: 0.5px;
    line-height: 0.9em;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    text-shadow: 4px 4px 4px #aaa;
}

#textoProductos{
    color: rgb(66, 3, 168);
    font-size: 1.5em;
    letter-spacing: 0.5px;
    line-height: 0.9em;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

#textoServicios{
    color: rgb(66, 3, 168);
    font-size: 4em;
    letter-spacing: 0.5px;
    line-height: 0.9em;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    text-shadow: 4px 4px 4px rgba(4, 110, 84, 0.4);
}

#textoEquipo{
    color: rgb(66, 3, 168);
    font-size: 4em;
    letter-spacing: 0.5px;
    line-height: 0.9em;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    text-shadow: 4px 4px 4px #aaa;
}

#textoGaleria{
    color: rgb(66, 3, 168);
    font-size: 4em;
    letter-spacing: 0.5px;
    line-height: 0.9em;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    text-shadow: 4px 4px 4px #aaa;
}

/* ----------------------   CSS DEL CARRUSEL 2 -------------------------------- */

#efectoBloque{
    widows: 50px; /* ANCHURA */
    height: 75px; /* ALTURA */
    /* border: 3px solid #555; */
    background: rgba(33, 1, 70, 0.8);
    border-radius: 2%;
}

.carousel-item:before{ /* ---- EFECTO FONDO DE COLOR ---- */
    -webkit-box-shadow: inset 0 0 0 2000px rgba(4, 110, 84, 0.4);
    box-shadow: inset 0 0 0 2000px rgba(4, 110, 84, 0.4);  
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: "";
}

.carousel{
    width: 100%;
}

#slides{
    color: grey;
    background-color: grey !important;
  }
  
  .carousel{
    color: grey;
    background-color: grey !important;
  }
  .carousel-item{
    color: grey;
    background-color: grey;
  }

#slider{
    position: relative;
    width: 50%;
    height: 30vw;
    margin: 80px auto;
    font-family: 'Helvetica Neue', sans-serif;
    perspective: 1400px; /* Controlar el tamaño del efecto */
    transform-style: preserve-3d; /* para no superponer */
}

#slider label{
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    color: white;
    font-size: 70px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 400ms ease;
}

#slide1{
    background-image: url(../img/carrusel2_1.jpg);
    background-size: 100% 100%;
}

#slide2{
    background: url(../img/carrusel2_2.jpg);
    background-size: 100% 100%;
}

#slide3{
    background: url(../img/carrusel2_5.jpg);
    background-size: 100% 100%;
}

#slide4{
    background: url(../img/carrusel2_9.jpg); 
    background-size: 100% 100%;
}

#slide5{
    background: url(../img/carrusel2_4.jpg);
    background-size: 100% 100%;
}

input[type=radio]{
    position: relative;
    top: 108%;
    left: 50%;
    width: 18px;
    height: 18px;
    margin: 0 15px 0 0;
    opacity: 0.4;
    transform: translateX(-83px);
    cursor: pointer;
}

input[type=radio]:nth-child(5){
    margin-right: 0px;
}

input[type=radio]:checked{
    opacity: 1;
}

/* Slider Function */

#s1:checked ~ #slide1, #s2:checked ~ #slide2, #s3:checked ~ #slide3, #s4:checked ~ #slide4,
#s5:checked ~ #slide5  {
    box-shadow: 0 13px 26px rgba(0,0,0, 0.3), 0 12px 6px rgba(0,0,0, 0.2);
    transform: translate3d(0%, 0, 0px);
} 

#s1:checked ~ #slide2, #s2:checked ~ #slide3, #s3:checked ~ #slide4, #s4:checked ~ #slide5,
#s5:checked ~ #slide1 {
    box-shadow: 0 6px 10px rgba(0,0,0, 0.3), 0 12px 6px rgba(0,0,0, 0.2);
    transform: translate3d(15%, 0, -100px);
}

#s1:checked ~ #slide3, #s2:checked ~ #slide4, #s3:checked ~ #slide5, #s4:checked ~ #slide1,
#s5:checked ~ #slide1 {
    box-shadow: 0 1px 4px rgba(0,0,0, 0.4);
    transform: translate3d(30%, 0, -250px);
}

#s1:checked ~ #slide4, #s2:checked ~ #slide5, #s3:checked ~ #slide1, #s4:checked ~ #slide2,
#s5:checked ~ #slide3{
    box-shadow: 0 1px 4px rgba(0,0,0, 0.4);
    transform: translate3d(-30%, 0, -250px);
}

#s1:checked ~ #slide5, #s2:checked ~ #slide1, #s3:checked ~ #slide2, #s4:checked ~ #slide3,
#s5:checked ~ #slide4{
    box-shadow: 0 6px 10px rgba(0,0,0, 0.3), 0 12px 6px rgba(0,0,0, 0.2);
    transform: translate3d(-15%, 0, -100px);
}


/* ---------------------------- CSS DE CONTENEDORES ------------------------------ */

#Transportes{ 
    margin: 100px;
    margin-left: auto;
    margin-right: auto;
}

#Servicios{
    background: rgba(40, 136, 104, 0.8);
    margin: 100px;
    margin-left: auto;
    margin-right: auto;
    padding: 50px;

    position: relative;
    width: 100%;
}

.btnCorporacion{
    width: 50%;
    position: relative;
    left: 25%;
    padding: 15px;
    background-color: #362172 !important;
}

#Equipo{
    margin: 100px;
    margin-left: auto;
    margin-right: auto;
    padding: 25px;
}

#Galeria{
    margin-bottom: -70px;
}

/* ---------------------------------- EFECTOS DEL BOTON ---------------------------------- */

.btnHovHov{
    background: none;
    color: rgb(255, 251, 251);
    width: 50%;
    height: 60px;
    border: 1px solid #338033;
    font-size: 18px;
    border-radius: 4px;
    transition: .6s;
    overflow: hidden;

    position: relative;
    left: 30%;
}

.btnHovHov:focus{
    outline:none;
}

.btnHovHov:before{
    content: '';
    display: block;
    position: absolute;
    background: rgba(255,255,255,.5);
    width: 60px;
    height: 100%;
    left: 0;
    top: 0;
    opacity: .5s;
    filter: blur(30px);
    transform: translateX(-130px) skewX(-15deg);
}

.btnHovHov:after{
    content: '';
    display: block;
    position: absolute;
    background: rgba(255,255,255,.2);
    width: 30px;
    height: 100%;
    left: 30px;
    top: 0;
    opacity: 0;
    filter: blur(30px);
    transform: translate(-100px) scaleX(-15deg);
}

.btnHovHov:hover{
    background: #338033;
    cursor: pointer;
}

.btnHovHov:hover:before{
    transform: translateX(300px) skewX(-15deg);
    opacity: .6;
    transition: .7s;
}

.btnHovHov:hover:after{
    transform: translateX(300px) skewX(-15deg);
    opacity: 1;
    transition: .7s;
}

/* ----------------------------- CSS DEL FORMULARIO ---------------------------------- */

#logoFormulario{
    position: relative;
    left: 68%;
    bottom: 450px;
}

#indexFormulario{
    margin-bottom: -350px;
}

/* ---------------------------- CSS DEL FOOTER ------------------------------------ */

.footer{
    width: 100%;
    /* background: #00121b; */
    display: block;
    background-image: url(../img/footer_1.jpg);
    background-size: 100% 100%;
    /* background: rgba(170, 30, 30, 0.9); */
    box-shadow:inset 0 0 0 2000px rgba(17, 6, 41, 0.8);
}

.inner-footer{
    width: 95%;
    margin: auto;
    padding: 80px 80px; /* tamaño del footer */
    display: flex;
    flex-wrap: wrap;
    box-sizing: border-box;
    justify-content: center;
}

.footer-items{
    width: 25%;
    padding: 10px 20px;
    box-sizing: border-box;   
}

h1{
    padding: 10px 0;
    font-size: 25px;
    color: #fff;
    text-transform: uppercase;
}

.footer-items p{
    color: grey;
    font-size: 16px;
    text-align: justify;
    line-height: 25px;
}

h2{
    margin: 10px 0;
    color: grey;
    font-size: 16px;  
    font-weight: lighter;
    text-transform: uppercase;
}

.border{
    height: 2px;
    width: 40px;
    background: #ff9800;
}

ul{
    list-style: none;
    color: #fff;
    font-size: 15px;
    letter-spacing: 0.5px;
}

ul a{
    text-decoration: none;
    outline: none;
    color: #fff;
    transition: 0.3s;
}

ul a:hover{
    color: #ff9800;
}

ul li{
    margin: 10px 0;
    height: 25px;
}

li i{
    margin-right: 20px;
}

.social-media{
    width: 100%;
    color: #fff;
    text-align: center;
}

.social-media a{
    text-decoration: none;
}

.social-media i{
    height: 15px;
    widows: 15px;
    margin: 20px 5px;
    padding: 10px;
    color: #fff;
    border-radius: 50%;
    border: 1px solid grey;
    transition: 0.3s;
}

.social-media:hover{
background: grey;
}

.footer-bottom{
    padding: 10px;
    /* background: #3d545f; */
    color: #fff;
    font-size: 12px;
}

/* ------------------------------------------- RESPONSIVE ---------------------------------------- */

@media screen and (max-width: 990px){
    .footer-items{
        width: 50%;
    }
    #textoTransporte{
        font-size: 3em;
    }

    #textoServicios{
        font-size: 3em;
    }

    #textoEquipo{
        font-size: 3em;
    }

    #textoGaleria{
        font-size: 3em;
    }

    .btnHovHov{
        left: 27%;
        margin-bottom: 20px;
    }

    #Equipo{
        margin: 20px;
        margin-left: auto;
        margin-right: auto;
        padding: 20px;
    }

    #Galeria{
        margin: 0px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: -70px;
        padding: 0px;
    }
    #indexFormulario{
        margin-bottom: 0;
    }
}

@media screen and (max-width: 600px){
    .footer-items{
        width: 100%;
    }

    .footer{
        background-image: url(../img/footer_1_600px.jpg);
    }

    #textoTransporte{
        font-size: 2em;
    }

    #textoServicios{
        font-size: 2em;
    }

    #textoEquipo{
        font-size: 2em;
    }

    #textoGaleria{
        font-size: 2em;
    }

    #Transportes{ 
        margin: 40px;
        margin-left: auto;
        margin-right: auto;
    }
    
    #Servicios{
        margin: 100px;
        margin-left: auto;
        margin-right: auto;
        padding: 20px;
    }

    #Servicios{
        margin: 20px;
        margin-left: auto;
        margin-right: auto;
        padding: 25px;
    }

    #Equipo{
        margin: 20px;
        margin-left: auto;
        margin-right: auto;
        padding: 20px;
    }

    #Galeria{
        margin: 0px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: -70px;
        padding: 0px;
    }
    #indexFormulario{
        margin-bottom: 0;
    }
}

/* -------------------------------------------------------- */

@media screen and (max-width 600px){
    .footer-bottom{
        width: 100%
    }
}

@media screen and (min-width 800px){
    .footer-bottom{
        width: 100%
    }
}