* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;


}

html {
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;

}

img {
    max-width: 100%;
}


h1 {
    font-size: 30px;
}

h2 {
    font-size: 27px;

}

h3 {
    font-size: 25px;
}

h4 {

    font-size: 21px;
}

h5 {
    font-size: 18px;
}





.contenedor1 {
    display: flex;
    justify-content: space-between;

}

.cabecera {
    background-image: url(../Img/banner2.jpg);
    background-position: center bottom;
    background-size: cover;



}

.contenedor1 {
    background: rgba(0, 0, 0, 0.3);
}

.logo {
    max-width: 100%;
}

.logo a {
    text-decoration: none;
}

.logo a img {
    margin-left: 0;
    max-width: 300px;
    max-height: 250px;


}


/**Generales**/
.centrar {
    width: 80%;
    margin: auto;
    text-align: center;
    margin-top: 30px;
    margin-bottom: 30px;
}

.navegar {
    background: linear-gradient(90deg, #0a4c9e 1%, black);
    width: 100%;
    height: 35px;

}

nav {

    display: flex;
    margin: auto;
}

main {}

.menu {
    text-align: center;
    color: white;
    text-decoration: none;
    padding: 15px;
    line-height: 0.1;
    height: 35px;
}

.menu .active {
    background: black;

}

.principal {
    margin-left: 40px;
}

.menu:hover {
    background: black;
}


.pedido {

    color: white;
    margin-top: 40px;
    width: 400px;
    height: 50px;

}

.pedido a {

    text-decoration: none;
    color: black;
    font-size: 30px;

}

.pedido img {

    width: 30px;
    height: 40px;
    margin: auto;


}

span {
    color: white;

    padding: 1px;

}




.numeros {

    margin-top: 30px;
    font-size: 20px;

}



.frase {
    margin-top: 30px;
    text-align: center;
    color: #0a4c9e;

}

.desde {
    margin-bottom: 20px;
    text-align: center;
    line-height: 2;
}

.banner {
    border: solid 1px black;
    max-width: 100%;
    height: 600px;
    background-image: url(/Img/banner.JPG);
    background-position: center center;

    background-size: cover;



}

.tipos {
    margin-top: 20px;
    margin-bottom: 10px;
    text-align: center;
    color: #fff;
    background: linear-gradient(90deg, #0a4c9e 1%, black);
    height: 50px;
    line-height: 2;



}


.fotosportada {
    display: flex;
    flex-wrap: wrap;

    justify-content: center;

}

.ttrabajo {
    color: black;
    margin-top: 10px;


}


.sabermas {
    margin-bottom: 50px;
    background: #0a4c9e;
    text-decoration: none;
    color: white;
    padding: 10px ;


}

.imagen {
    padding: 20px;
    max-width: 500%;
    height: 150px;
    box-sizing: border-box;

    margin-top: 20px;
    object-fit: cover;
    object-position: center center;
    animation: escalar 3s infinite alternate;
    z-index: 1;


}

@keyframes escalar {

    to {
        transform: scale(1);
    }

    from {

        transform: scale(1.1);
    }
}


.contenedor2 {


    border: 1px solid rgba(25, 25, 25, 0.5);

}

.imagen2 {
    margin-left: 0;
    max-width: 30px;

}

.check {
    display: flex;



}

.detrabajo {
    color: black;
    width: 300px;
    margin: auto;
    height: 90px;
    margin-bottom: 10px;
    margin-top: 20px;
}

.camion {
    width: 40px;
}

.detallecheck {
    color: black;
    margin-left: 20px;
    font-size: 20px;
}

.nuestros-clientes {
    margin-top: 80px;
    color: white;
    background: linear-gradient(45deg, #0a4c9e 1%, black);

}

.clientes {
    width: 80%;


}

.clientes-fotos {
    width: 80%;

    flex-wrap: wrap;


}

.sobrenuestraempresa {
    background: linear-gradient(45deg, #0a4c9e 1%, black);
    color: white;
}

.video {
    max-width: 100%;
}

video {
    max-width: 100%;
}

.iclientes {

    width: 180px;
    padding: 10px;

}

.testimoniales {
    display: none;
}


.contenedorfinal {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column 3;
    max-width: 100%;

}

.trescol {
    flex-basis: 33.3% 33.3% 33.3%;
}


.footer1 {
    width: 200px;
    margin-left: 20px;
}

.desobre {
    color: white;
}

.footer1 h3 {
    color: white;
    margin-bottom: 30px;
    margin-top: 20px;
}

.footer2 {
    margin-left: 200px;
    max-width: 300px;
}

.footer2 h3 {
    color: white;
    margin-bottom: 30px;
    margin-top: 20px;
}

.sede {
    color: white;
    font-weight: 400;
    font-size: 20px;
    margin-bottom: 10px;
}

.detalledireccion {
    color: white;
    font-size: 15px;
    line-height: 2;
}

.numerofot {
    color: white;
}

footer {
    margin: 0;
    padding: 0;
    max-width: 100%;
    background: linear-gradient(45deg, #0a4c9e 1%, black);
}



.footer3 {

    margin-top: 10px;
    max-width: 100%;
    height: 80px;
    color: white;

}

.derechos {
    width: 100%;
    text-align: end;
    margin-right: 0px;
}

.redessociales {
    position: fixed;
    display: flex;
    flex-direction: column;



}


.redes {
    background: linear-gradient(90deg, #0a4c9e 1%, black);
    width: 50px;
    height: 50px;
    padding: 10px;
    border-radius: 0 10px 10px 0;
}

.redes:hover {
    box-sizing: content-box;
    padding-right: 15px;

}




/***CONTACTO**/

.infocontac {
    display: grid;
    grid-template-columns: repeat(2, 400px);
    column-gap: 10px;
}

.cont {
    display: grid;
    grid-template-columns: repeat(3, 10%);
    column-gap: 50%;
    line-height: 3;
    width: 90%;
    background-image: url(/Img/bannercontacto.png);
    background-size: cover;
    background-attachment: fixed;
}


.tituloscontacto {
    padding: 10px;
}

.telfcontacto {
    color: black;
    text-align: start;
}

.cont3 {
    font-weight: 600;
    color: black;
    text-align: start;

}

.cont4 {
    text-align: start;
    color: black;
}

.ubicacion {
    width: 80%;
    height: 500px;

}

iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 2px solid grey;
}

form {
    width: 400px;
    margin: auto;

    padding: 1rem 2rem;
    box-sizing: border-box;
    margin-top: 2rem;
    border-radius: 0.7rem;

}

.contactoh2 {
    color: black;
    text-align: center;
    margin-bottom: 1rem;
    font-size: 20px;
}

input,
textarea {
    width: 100%;
    margin-bottom: 1rem;
    padding: 0.7rem;
    box-sizing: border-box;
    font-size: 1rem;
    border: none;


}

textarea {

    min-height: 10rem;
    max-height: 20rem;
    max-width: 100%;


}

#boton {
    color: white;

    background: linear-gradient(45deg, #0a4c9e 1%, black);
    padding: 2rem;

}

#boton:hover {
    cursor: pointer;

}

/**Gracias**/


.msjgracias {
    padding: 50px;
    text-align: center;
}

.btnretornar {
    text-decoration: none;
    color: white;
    background: linear-gradient(45deg, #0a4c9e 1%, black);
    padding: 20px;
    display: block;

}

/** Quienes Somos**/

.contenedorqui {
    width: 90%;
    margin: auto;
}

.parrahis {
    width: 600px;
    padding: 20px;
    text-align: justify;
}

.contenedor6 {
    max-width: 90%;
    display: grid;
    grid-auto-columns: 30px;
    grid-template-columns: 50% 50%;
}

.imagen4 {
    margin-top: 50px;
    max-width: 300px;
    height: 500px;
    padding: 20px;
    z-index: 1;
    object-fit: cover;
    object-position: center center;

}

.fotohistroria {
    text-align: center;

}

.fotohistoria2 {
    display: grid;
    column-gap: 30% 33% 33%;
    grid-template-columns: repeat(3, 1fr)
}

.imagen5 {
    padding: 30px;
    width: 100%;
    height: 400px;
    box-sizing: border-box;
    z-index: 1;
    object-fit: cover;
    object-position: center center;
}

.entre {

    text-align: center;
}

/**galeria**/


.contenedorimagen {

    margin: auto;
    width: 90%;
    background: #fff;
    margin-bottom: 60px;
    background: black;

}

.col-flex {

    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;



}

.imagen6 {

    object-fit: contain;
    object-position: center center;
    padding: 2px;
    width: 100%;
    height: 250px;
    border: 2px solid #fff;


}

.imagen6:active {}

.titulogaleria {

    padding: 1px;
    text-align: center;
    color: white;
    background: linear-gradient(45deg, #0a4c9e 1%, black);

}

.enlaces {
    box-sizing: content-box;
    flex-basis: 20%;
    width: 300px;
    height: 200px;
    margin-bottom: 50px;
    padding: 20px;



}

.final {

    margin-bottom: 100px;

}
.nav > li {
    float:left;
}
.nav li ul {
    list-style: none;
    position:absolute;
	min-width:140px;
}

.nav li:hover > ul {
    display: none;
}
.nav li:hover > ul {
    display: block;
}
/**********MODAL***********/
.modal {
    display: none
}

.modal:target {
    top: 0;
    left: 0;
    width: 100vw;
    position: fixed;
    background: rgba(0, 0, 0, 0.9);
    height: 330%;
    display: flex;
    margin: auto;
    flex-direction: column;


}


.imagenmodal {
    margin: 0 auto;
    width: 800px;
    height: 500px;
}



.textomodal {
    color: white;
}

.imagencerrar {
    box-sizing: content-box;
    padding: 20px;
    width: 30px;
    height: 30px;
    margin: auto;
}

.detallega {
    
    color: white;
    text-align: center;
   
}

/***********TRABAJOS*************/

.contendor-trabajo {
    
}

.listas {
   list-style: none;
    text-align: start;
    line-height: 3;
   
}
.titra {
   padding: 50px;
}

.lisacc {
    line-height: 2;
   
}

.contenedor_acc {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
}



/****ADPATABLE***/

@media (max-width:1024px) {

    /*quienes somos*/

    .contenedor6 {
        display: flex;
        flex-direction: column;
        justify-content: center;

    }

    .contenedorqui h2 {
        text-align: center;
    }

    .parrahis {
        margin: auto;
    }

    .contenedorfinal {
        display: grid;
        grid-template-columns: repeat(2, 1fr)
    }

    .footer1 {
        display: none;
    }

    .desobre {
        width: 400px;
    }

    /*******Contacto***********/

    .cont {
        display: flex;
        flex-direction: column;
        column-gap: 20%;
        line-height: 3;
        width: 90%;

    }

    /**Galeria***/

    .enlaces {
        margin: auto;
        flex-basis: 50%;
        object-fit: cover;

        margin-bottom: 50px;
    }


    /**********menu adaptable**************************/
        
    .navegar {
    
    height: 55px;


        
        }
    }






















    
