/*REINICIO DE ESTILOS Y APLICAR TIPO DE FUENTE A TODA LA PAGINA*/
*{
    padding: 0px;
    margin: 0px;
}
 @font-face {
        font-family: 'Dosis', sans-serif;
        src: url("fonts/Dosis-Regular.ttf");
}
body{
    font-family: 'Dosis', sans-serif;
    /*overflow-x: hidden;*/ /*RECORDATORIO ACTIVARLO DESCOMENTARLO DESPUES DE TERMINAR LA PAGINA WEB ENTERA*/
}

/*HEADER Y MENU*/
header{
    height: 100px;
    margin: 0px 50px;
    display: flex;
    color: black;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.imagenlogo{
    height: 100px;
}
.logo{
    text-transform: uppercase;
    color: black;
    font-weight: 200;
    display: inline-flex;
}
h1{
    position: relative;
    top: 25px;
    left: 15px;
}
ul{
    display: flex;
    flex-direction: row;    
    list-style: none;
}
li{
    text-decoration: none;
}
.menu a{
    color:black;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0px 10px;
    transition: 0.4s;
    margin-left: 10px;
}
.mostrarmenu, .ocultarmenu{
    cursor: pointer;
    font-size: 30px;
    transition: 0.4s;
    display: none;
}
.mostrarmenu:hover, .ocultarmenu:hover, .menu a:hover{
        color: #cb220e;
        border-top: 1px solid #cb220e;
        padding: 10px 10px;
}
.mostrarmenu{
    order: 1;
}
#check{
    display: none;
}
h3{
    text-transform: uppercase;
}
#banner{
    background: url("../images/header.jpg") no-repeat;
    background-size: cover;
    height: 80vh;
    background-position-y: center;
    background-attachment: fixed;
    padding: 0px 50px;
}
#banner::before{
    content: "";
    background: rgba(77, 77,92, 0.8);
    width: 100%;
    height: 80vh;
    position: absolute;
    left: 0px;
}
.contenido-banner{
    height: 100%;
    position: relative;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.contenido-banner h3{
    font-size: 45px;
    font-weight: 600;
    padding: 10px 0px;
    text-align: center;
}
/*Mini barra de redes sociales*/
section#redes{
    height: 5vh;
    width: 100%;
    background: whitesmoke;
}
section#redes>article.sociales{
    display: flex;
    flex-direction: row;
    justify-content: center;
}
a.rsicon{
    color: black;
    margin-left: 10px;
    font-size: 25px;
    position: relative;
    top: 0.7vh;
    text-decoration: none;
}
a.rsicon:hover{
    color: #cb220e;
}
/*Quienes Somos*/
div#qsomos{
    text-align: center;
    margin-top: 50px;
    margin-bottom: 20px;
}
h2{
    color: black;
    text-decoration: red overline;
    padding-top: 10px;
    text-transform: uppercase;
    text-align: center;
    margin-top: 20px;
}
div#qsomos>div#qsomosrespuesta>p{
    text-transform: none;
    font-size: 20px;
    width: 70%;
    margin-top: 35px;
    position: relative;
    left: 15%;
    
}
/*Nuestros Servicios*/
#nservicios{
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-bottom: 50px;
}
.nserviciosimagen{
    width: 100%;
    height: 500px;
    border-radius: 3px;
}
.columna{
 float: left;
 width: 29.3%;
 margin-bottom: 16px;
 padding: 0 8px;
 margin: 10px;
 margin-top: 30px;
}
.tarjeta{
    box-shadow: 0 4px 8px 0 rgba(0, 0,0, 0.2);
    border-radius: 6px;
    margin-top: 20px;
    height: 100%;
}
.contenedor{
    padding: 0 16px;
}
.contenedor::after,#nservicios::after{
    content: "";
    clear: both;
    display: table;
}
h3{
    text-align: center;
    margin-top: 10px;
}
p.nserviciosdescripcion{
    text-align: center;
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 20px;
}

/*Contacto*/
#contacto{
    padding: 0 8px;
    margin: 10px;
    margin-top: 30px;
}
#tarjetacontacto{
    box-shadow: 0 4px 8px 0 rgba(0, 0,0, 0.2);
    border-radius: 6px;
    text-align: center;
}
.contactodescripcion{
    margin-top: 10px;
    margin-bottom: 20px;
    padding-bottom: 20px;
}
#tarjetacontacto>iframe{
    border-radius: 6px;
}
#contenedorcontacto>h3{
    margin-top: 20px;
    margin-left: 20px;
    margin-right: 20px;
}
#contenedorcontacto>a{
    margin-top: 20px;
}
/*Footer*/
div#footer{
    background: black;
    width: 100%;
    height: 50px;
    margin-top: 50px;
    color: white;
    text-align: center;
    font-size: 1.5em;
}
/*Pagina de Error*/
section#banner.bannererrorimg{
    background: url("../images/error.png");
}
h3.tituloerror{
    font-size: 5em;
}
h2.subtituloerror{
    text-decoration: none;
    color: white;
}
div#errorbtncontenedor{
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-top: 20px;
}
a#btn-error-volver{
    height: 50px;
    width: 150px;
    color: white;
    background: #cb220e;
    border: 0px;
    border-radius: 6px;
    display: block;
    text-align: center;
    font-size: 2em;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
}
a#btn-error-volver:hover{
    background: rgba(77, 77, 92, 0.95);
}
div#footer.footererror{
    height: 37px;
}
/*RESPONSIVE*/
@media(max-width:992px){
    /*Header*/
    h1{
        font-size: 17px;
    }
    .imagenlogo{
        height: 70px;
        width: auto;
    }
    .mostrarmenu, .ocultarmenu{
        display: block;
    }
    .menu{
        position: fixed;
        width: 100%;
        height: 100vh;
        background-color:rgba(77, 77, 92, 0.95);
        text-align: center;
        right: -100%;
        top: 0;
        padding: 100px 0px;
        z-index: 100; /*coloca este elemento por encima del resto*/
        transition: 0.8s;
    }
    ul{
        display: block;
        padding: 20px;
    }
    li{
        margin-top: 50px;
    }
    .menu a{
        color: white;
        position: relative;
        text-align: center;
        font-size: 1em;
    }
    .ocultarmenu{
        position: absolute;
        top: 40px;
        left: 50px;
        font-size: 5em;
        color: white;
    }
    #check:checked ~ .menu{
        right: 0;
    }
    /*Imagen del header y eslogan*/
    .contenido-banner>h3{
        font-size: 30px;
    }
    /*Mini barra de redes sociales*/
    section#redes{
        height: 5vh;
        width: 100%;
        background: whitesmoke;
    }
    section#redes>article.sociales{
        display: flex;
        flex-direction: row;
        justify-content: center;
    }
    a.rsicon{
        color: black;
        margin-left: 10px;
        font-size: 1.5em;
        position: relative;
        top: 0.7vh;
        text-decoration: none;
    }
    a.rsicon:hover{
        color: #cb220e;
    }
    /*Nuestros Servicios*/
    .columna{
        width: 94%;
        display: block;
    }
    #nservicios{
        flex-direction: column;
    }
    /*Pagina de Error*/
    h3.tituloerror{
        font-size: 5em;
    }
}