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

body{
    font-family: roboto mono;
}

.contenedor{
    padding: 60px 0;
    width: 90%;
    max-width: 1000px;
    margin: auto;
    overflow: hidden;

}


.titulo{
    color: dimgray;
    font-size: 30px;
    text-align: center;
    margin-bottom: 60px;

}





/* HEADER */

header{
    width: 100%;
    height: 720px;
    background: #616161;  
    /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, hsla(177, 27%, 69%, 0.418), hsla(0, 0%, 38%, 0.418)), url(../img/portada.jpg); 
    /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, hsla(177, 27%, 69%, 0.418), hsla(0, 0%, 38%, 0.418)), url(../img/portada.jpg);
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    background-size:auto;
    background-attachment: fixed;
    position: relative;
}


nav{
    text-align: right;
    padding: 30px 50px 0 0;
}


nav > a{
    color: white;
    font-weight: 200;
    text-decoration: none;
    margin-right: 10px;
}


nav > a:hover{
    text-decoration: underline;
    
}
header .textos-header{
    padding: 0;
    display: flex;
    height: 430px;
    width: 100%;
    margin-left: 30px;
    margin-top: 80px;
    align-items: left;
    justify-content: center;
    flex-direction: column;
    text-align: center;

}

.textos-header h1{
    font-size: 70px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.43);

}

.textos-header h2{
    font-size: 15px;
    font-weight: 400;
    margin-top: 15px;
    color: rgba(255, 255, 255, 0.43);
    

}







/* LISTADO */


.contenedor-sobre-nosotros{
    display: flex;
    justify-content: space-evenly;
}

.imagen-about-us{
    width: 75%; padding: 2rem;
}

.sobre-nosotros .contenido-textos{
    width: 48%;

}

.contenido-textos h3{
    margin-bottom: 15px;

}

.contenido-textos h3 span{
    background: gray;
    color: white;
    border-radius: 50%;
    display: inline-block;
    text-align: center;
    width: 30px;
    height: 30px;
    padding: 2px;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.5);
    margin-right: 10px;
   
}

.contenido-textos p{
    padding: 0px 0px 30px 40px;
    font-size: 12px;
    font-weight: 400;
    text-align: ;
}

.contenido-textos p span{
    padding: 0px 0px 30px 40px;
    color: rgba(0, 0, 0, 0.342);
    font-size: 13px;
    font-weight: 400;
    text-align: justify;
    margin-left: -30px;
}







/* GALERIA */

.portfolio{
    background: #f2f2f2;
}


.galeria-port{
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}


.imagen-port{
    width: 24%;
    
    margin-bottom: 10px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.5);
}

.imagen-port > img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hover-galeria{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    transform: scale(0);
    background: hsla(0, 0%, 13%, 0.911);
    transition: transform .5s;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.hover-galeria img{
    width: 50px;
}


.hover-galeria p{
    font-weight: 200;
    margin-top: 10px;
    color: #fff;
}

.imagen-port:hover .hover-galeria{
    transform: scale(1);
}








/* FOOTER */

footer{
    background: rgb(27, 27, 27);
    padding: 60px 0 30px 0;
    margin: auto;
    overflow: hidden;

}

.contenedor-footer{
    display: flex;
    width: 90%;
    justify-content: space-evenly;
    margin: auto;
    padding-bottom: 50px;
    border-bottom: 1px solid #ccc;

}

.content-foo{
    text-align: center;
}

.content-foo h4{
    color: white;
    border-bottom: 3px solid #cecece8e;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.content-foo p{
    color: rgb(197, 197, 197);
    font-size: 13px;
    font-weight: 200;
}

footer p{
    color:white;
    font-size: 10px;
    text-align: center;
    margin: 35px 0 0 0;
}

.nomaterias{color: lightgray}


.links{
    text-decoration: none;
}



@media screen and (max-width: 1200px){
    nav{
        text-align: center;
        padding: 30px 0 0 0;}
    
    header{background-position: center;}
    .contenedor-sobre-nosotros{
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .sobre-nosotros . contenido-textos{
        width: 90%;
    }
    .imagen-about-us{
        width: 70%; padding: 50px;
    }
    
    .imagen-port{
        width: 44%;
    }
}
