/* @import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');
* {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    box-sizing: border-box;
} */
/*color tranqui*/
/* color: white; */
/*color stanley*/
/*color: white*/

@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@100;200;300;400;500&display=swap');
*{
    margin:0;
    font-family: 'heebo:wght@100',sans-serif;
    box-sizing: border-box;
}

body{
    background-image: url(files/rodamientogris.jpg);
    background-size: cover;
}
/*--------------------------HEADER----------------------------------*/

#header {
    position:fixed;
    top:0px;
    width:100%;
    display:inline-flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 10px; 
    background: rgb(40 66 107);
    color: white;
    min-height: 100px;
    align-items: left;
    z-index: 500;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.936);
}

/*-------------------------MENU PRINCIPAL---------------------------*/
#header a{
    text-decoration: none;
    /* color:#f1f1f1; */
}

/* #baseheader{
    position:absolute;
    top: 100px;
} */

#header a:hover{font-size:large;font-weight: bolder;}

/*--------------MENU RESPONSIVE PARA TABLET Y CELULAR----------------*/
#btn-menu {
    display: none;
}

header label{
    display: none;
    width: 30px;
    height: 30px;
    padding:10px;
}

header label:hover{
    cursor:pointer;
}

.menu ul{
    margin: 0;
    list-style: none;
    padding:0;
    display:flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    top: -100%;
    background-color: rgb(40 66 107);
}
.menu{
    /* position: relative; */
    display: flex;
    justify-content: center;
}
.menu li{
    flex-grow:1;
}

.menu li a{
    display:block;
    padding:15px 20px;
    text-decoration: none;
    font-size: larger;
    color:white;
    width: 100%;
}

.logo {
    display: flex;
    border: none; 
    cursor: pointer;
    align-items: center;
}

.logo img {
    margin: 10px;
}

/*-----------------------------NAV---------------------------------------*/

nav{
    display: flex;
    flex-direction: row;
}
nav a{
    font-weight: 600;
    padding: 10px;
}

/*------------------------------BODY---------------------------------*/
body{
    background-color: #fff;
    display:flex;
    flex-direction: column;
}

/* .body-nos{
    background-image: url(files/rodamientogris.jpg);
    background-repeat: no-repeat;
    opacity: 100%;
} */
/*------------------------------INDEX---------------------------------*/

.imagenPre{
    display:inline-flex;
    flex-direction: column;
    justify-content:center;
    /* margin-top:15%; */
    background-repeat:no-repeat;
    background-size:cover;
    background-position: center;
    position:relative;
    max-width: 100%;
    max-height: 100%;
}
#logo1{
    width: 95%;
}
.textoPrincipal{
    display:flex;
    flex-direction: row;
    margin: 30px 200px;
    align-items: center;
}
#nombre_empresa{
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
#pre_empresa{
    width: 60%;
}
#titulo{
    font-size: 2.5em;
    font-weight: bolder;
    padding: 20px;
}
#subtitulo{
    font-size: 2em;
    font-weight: bold;
}  
#pre_empresa p{
    font-size: 1.25em;
}  

/*--------------------------TITULO DE PAGINA---------------------------*/

.tituloprincipal{
    /* position:relative; */
    margin-top:130px;
    /* margin:10px; */
    padding: 16px;
    font-size: 2.5em;
    font-weight:bolder;
    /* text-align: center; */
    color:#000;
    border:5px;
    border-style:solid none solid none;
    border-color: rgba(40, 66, 107, 0.68);
    /* background-color:: white; */
}

.tituloprincipal {
    /* animation-name: mover_izq; */
    animation-name: color;
    /* animation-name: mover_color; */
    animation-duration: 1.5s;
    animation-timing-function:linear;
}

@keyframes mover_izq{
    0% {right:-100%;}
    25% {right:-75%;}
    50% {right:-50%;}
    75%{right:-25%;}
    100% {right:0%;}   
}

@keyframes color {
    0% {opacity: 0%;}
    25% {opacity: 25%;}
    50% {opacity: 50%;}
    75%{opacity: 75%;}
    100% {opacity: 100%;}
}

@keyframes mover_color {
    0% {opacity: 0%;top:0%;}
    25% {opacity: 25%;top:25%;}
    50% {opacity: 50%;top:50%;}
    75%{opacity: 75%;top:75%;}
    100% {opacity: 100%;top:100%;}
}

#titulo2{
    margin: 0 !important;
}

/*-------------------------MAPA---------------------------*/

/*----------------------------WHATSAPP------------------------------*/
.boton {
    /* padding: 20px; */
    font-size: 30px;
    width: 30px;
    display: block !important;
    text-align:right;
    text-decoration: none;
    margin: 5px 2px;
    border-radius: 50%;
    position: fixed;
    z-index: 9999999;
    top:65%;
    left:90%;
}
    
.boton:hover {
    opacity: 0.7;
}
    
.btn-whatsapp {
    background: #45bbff;
    color:white;
}

/*----------------------------QUIENES SOMOS------------------------------*/
#contenedor{
    display:flex;
    flex-direction: row;
    justify-content: center;
}
#quienes{
    column-gap: 50px;
    align-items: center;
    display: flex;
    flex-direction: row;
    justify-content: center;
    /* height: auto; */
    position:relative;
    /* top:100px; */
    /* font-weight:light; */
    column-gap: 40px;
    /* width: 70%; */
    /* margin-bottom: 50px; */
    padding: 20px;
    /* align-content: center; */
}
/* #texto_quienes{
    font-size: 1em;
} */
.quienes-img
{
    margin: 20px;
    /* border-radius: 5px;
    border-style:inset;
    border-color: rgba(40, 66, 107, 0.68); */
    /* width:fit-content; */
    width: 60%;
    height: fit-content;
}
.quienes-articulo{
    display: flex;
    flex-direction: column;
}
.quienes-art{
    display: flex;
    flex-direction: column;
    height:auto;
    width:80%;
    /* flex-wrap: nowrap; */
    /* flex-wrap: wrap-reverse; */
    /* justify-content:center; */
    /* align-content: center; */
    
}


.quienes-art-tit{
    font-size: 1.5em;
    text-align:left;
    font-weight:bold;
    padding: 20px;
}

.quienes-art-txt{
    box-sizing: content-box;
    height:fit-content;
    width: 100%;
    padding: 0px 0px 20px 20px;
    font-size: 1em;
    /* color: #000; */
    text-align:left;
}

#ultimo{ 
    margin-bottom: 20px;
}

/*---------------------------------ASIDE--------------------------------*/

/*----------------------PRODUCTOS-----------------------*/

#productos{
    display:flex;
    flex-direction: column;
}

.prod{
    display: flex;
    flex-direction: row;
    justify-content: center;
    column-gap: 50px;
    align-items: center;
    height: auto;
    width: 100%;
}

.prod-img{
    width: 30%;
    display: flex;
    flex-direction: row;
    /* align-items: center; */
    justify-content: center;
}

.prod-img img{
    margin: 20px;
    border-radius: 5px;
    border-style:inset;
    border-color: rgba(40, 66, 107, 0.68);
    width: 60%;
    height: 60%;
}
.prod-img:hover{
    width: 50%;
}

.prod-txt{
    box-sizing: content-box;
    height:fit-content;
    width: 30%;
    /* height: 100%; */
    padding: 0px 0px 20px 20px;
    font-weight: bolder;
    font-size: 1.5em;
    /* background-color:: white; */
    text-align:center;
    padding: 20px;
    border:2px;
    border-style:solid none solid none;
    border-color: rgba(40, 66, 107, 0.68);
}

/*--------------------FOOTER--------------------------------*/

.email-direccion{
    font-size: 20px;
    text-align: center;
}
/* .pie-pagina #footlogo{
    max-width: 80%;
} */

.pie-pagina {
    position:relative;
    width: 100%;
    background-color:  rgb(40 66 107);
    color: white;
    font-weight: lighter;
}

/* .pie-pagina .grupo-1{
    width: 100%;
    height: 35%;
    display:grid;
    grid-template-columns: auto auto;
    grid-gap:25px;
    padding: 25px 0px 0px 0px;
} */

.pie-pagina .grupo-1{
    /* grid-row: 1/3; */
    display:flex;
    flex-direction: row;
    justify-content:center;
    /* text-align: center; */
    /* font-size: 20px;
    font-weight: bolder;*/
    align-items: center;
    padding: 25px 0px 0px 0px;
}

.pie-pagina .grupo-1 .box{
    display:flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    font-size: 20px;
    align-items: center;
    padding: 0px 60px 0px 60px;
}

.pie-pagina .grupo-1 .box a{
    text-decoration: none;
    color: white;
}
/* .pie-pagina .grupo-1 .box b{
    font-size: x-large;
} */

.pie-pagina .grupo-2{
    margin: 25px 10px;
    text-align: center;
    color: white;
    font-size:small;
    border-color: white;
    border-style:solid none solid none;
    border-width: 1px;
}

.pie-pagina .grupo-2 a{
    text-decoration: none;
    color: white;
}

/*-------------------------RESPONSIVE--------------------------------*/

@media (max-width:1025px){
    /* .imagenPre img{
        background-image: url("files/empresa.jpg");
        width:auto;
    } */
    .textoPrincipal{
        margin:25px 150px;
    }
    #titulo{
        font-size: 2em;
    }
    #subtitulo{
        font-size: 1.25em;
    }
    #pre_empresa p{
        font-size: 1em;
    }
    /* .textoPrincipal{
        font-size:1em ;
    } */
    .tituloprincipal{
        font-size:2.25em;
    }
    #quienes{
        row-gap: 10px;
        /* width: 100%; */
    }
    /* .quienes-img{
        width: 30%;
    } */
    /* .quienes-img img{
        width: 50%;
    } */
    .quienes-art-img{
        width:30%;
        margin: 0px;
    }
    .quienes-art-txt{
        width: 100%;
        font-size: 0.75em;
    }
    .boton {
        top:60%;
        left:90%;
    }
    .pie-pagina .grupo-1{
        font-size: 16px;
    }
}

/*--------------------*/

@media (max-width:769px){
    header label{
        display: block;
        margin:30px;
    }
    .menu{
        display: none;
        position: absolute;
        top: 100%;
        width: 100%;
        height: 100%;
        /* margin-top: -100%; */
        transition: all 2s;
    }
    .menu ul{
        flex-direction: column;
    }
    .menu li{
        border-top: white solid 1px;
        text-align: center;
    }
    #btn-menu:checked ~ .menu{
        margin:-10px;
        display: block;
    }
    .imagenPre{ 
        height:50%;
        margin-top:50px;
    }
    #logo1{
        /* width: 50%; */
        /* height: 50%; */
        margin: 20px;
    }
    .textoPrincipal{
        margin:20px 100px;
    }
    #titulo{
        font-size: 1.5em;
    }
    #subtitulo{
        font-size: 1em;
    }
    #pre_empresa p{
        font-size: 0.75em;
    }
    /* .textoPrincipal{
        font-size:1em ;
    } */
    .tituloprincipal{
        font-size:2.25em;
        text-align: center;
    }

    #quienes{
        margin:20px;
        height: 50%;
        flex-direction: column;
        /* width: 100%; */
        align-items: center;
        justify-content: center;
    }
    .quienes-img{
        justify-content: center;
        align-items: center;
        width: fit-content;
        display:flex;
    }
    .quienes-img img{
        height:70%;
        width: 70%;
    }
    .quienes-articulo{
        justify-content: center;
        align-items: center;
    }
    .quienes-art{
        flex-direction: column;
    }
    .quienes-art-txt{
        width: 100%;
        padding: 0px;        
    }
    .imagenPre img{
        background-image: url("files/empresa.jpg")
    }
    #header>img{
        opacity: 0;
        background-image: url("files/reparar_amarillo.png");
    }
    .menu li a{
        padding:10px 20px;
        font-size: medium;
    }
    
    .boton {
        top:60%;
        left:85%;
    }

    .prod-img{
        width: 40%;
    }
    
    .prod-txt{
        font-size: 1.25em;
        width: 30%;
    }

    .pie-pagina .grupo-1{
        width: 100%;
        flex-direction: column;
        /* grid-template-columns: repeat(1, 1fr);
        grid-gap:20px; */
        padding: 5px 0px 0px 0px;
        /* font-size: 10px; */
    }
    .pie-pagina .grupo-1 .box{
        font-size: small;
    }
    .email-direccion{
        font-size: small;
        text-align: center;   
    }
    .pie-pagina .grupo-2{
        font-size: xx-small;
        text-align: center;
        margin: 15px 10px;
    }
}
/*-----------------------------------*/


@media (max-width:500px){
    .textoPrincipal{
        font-size:1.5em;
        flex-direction: column;
        /* width: 100%; */
        margin:20px 30px;
    }
    .menu li a{
        padding:10px 20px;
        font-size: medium;
    }
    .imagenPre{
    margin:70px 0px 0px 0px;
    height: 200px;
    }
    .pie-pagina .grupo-1 a{
        font-size: 13px;
    }
    #titulo{
        font-size: 1em;
        text-align: center;
    }
    #subtitulo, #pre_empresa p{
        font-size: 0.75em;
        text-align: center;
    }
    #img_mapa iframe{
        width: 300px;
        height: 150px;
    }
    #txt_mapa{
        font-size: 0.5em;
    }

    .prod-img{
        width: 60%;
    }
    
    }
    .prod-txt{
        font-size: 1.15em;
        width: 60%;
    }
    .prod{
        flex-direction: column;
        /* flex-direction: column-reverse; */
    }


@media (max-width:426px){
    .imagenPre img{
        background-image: url("files/empresa.jpg");
        background-repeat:no-repeat;
        background-size:cover;
        background-position: center;
        width: 100%;
        height: 550px;
        display: flex;
        flex-direction: column;
        /* justify-content: center; */
    }
    .imagenPre{
       margin-bottom: 20px 0px; 
    }
    .textoPrincipal{
        font-size:25px;
    }
    /* .tituloprincipal, #subtitulo{
        padding:0px;
    } */
    .pie-pagina .grupo-1 .box{
        font-size: small;
    }

}

@media (max-width:400px){
    .form-datos{
        display:flex;
        flex-direction: column;
        align-items: center;
    }
    .form-titulo, .form-datos, .form-motivo, .form-comentario{
        font-size: 0.75em;
    }
    .pie-pagina .grupo-1 .box{
        font-size: small;
    }
}

@media (max-width:375px){
    aside{
        height: 60px;
    }
    .imagenPre .textoPrincipal{
        font-size: 1em;
    }
    .pie-pagina .grupo-1 .box{
        font-size: small;
    }
}