* {

margin: 0;
padding: ;
list-style: none;
text-decoration: none;
font-family: Arial, Helvetica, sans-serif;
box-sizing: border-box;

}

.head {
width: 85vw;
max-width: 1000px;
min-width: 320px;
margin: auto;
}

header {
    width: 100%;
    height: 50px;
    background-color: hsl(339, 88%, 3%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;

}

.logo {
font-size: 20px;
font-weight: bold;
color: white;
padding: 100px;

}

.bars {
display: none;

}

.nav-bar ul {
display: flex;

}

.nav-bar ul li a {
display: block;
color: white;
font-size: 17px;
padding: 10px 15px;
border-radius: 5px;
transition: 0.2s;
margin: 0 5px;

}

.nav-bar ul li a:hover {
color: grey;
background-color: white;

}

.nav-bar ul li a:active {
color: grey;
background-color: white;
}



/* BANNER */

#banner{
    padding: 0 50px;
    background-image: url("img/banner.png");
    height: 50vh;
    background-size: cover;
    background-position: center;
    flex-direction: column;
    
}

.contenido-banner h3{
    font-size: 50px;
    font-weight: 400;
    padding: 10px 0px;  
    color: white; 
    
}

.contenido-banner h3 span{
    font-weight: 600;  
    
}
/* PERSONAS */


#nosotros {
    padding: 50px 50px;
    display: flex;
    justify-content: center;
    text-align: center; 
    
      
}
#nosotros img{
    border-radius:20%;  
 
}
#nosotros div{
    padding: 30px 30px;  
}
#nosotros div h4{
    color: gray;
    font-size: 20px;
    margin: 15px 0px;   
}

#nosotros div p{
    color: hsl(0, 100%, 1%);
    font-size: 18px;   
}

/* PORTAFOLIO */





#portafolio{
    background: #a9a7a7;
    padding-bottom: 30px;
    text-align: center;
    
}

#portafolio h1{
    text-align: center;
    font-size: 90px 0px;
    margin-bottom: 20px;
    color: white;
       
}

.galeria-port{
    width: 90%;
    max-width: 900px;
    margin: 40px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-auto-rows: 500px;
    
    
}

.imagen-port{
    width: 90%;
    height: 100%;
    margin-bottom: 10px;   
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: 0 0 6px 0 #ad191980;
    

    
}

.imagen-port > img{
    width: 100%;
    height: 90%;
    object-fit: cover;
     width: 90%;
    max-width: 1200px;
    margin: 40px auto; 
    display: grid;
    
    
}

.hover-galeria{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    transform: scale(0);
    background: hsla(273,91%,27%, 0.7);
    transition: transform .5s;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.hover-galeria img{
    width: 50px;
}

.hover-galeria p{
    color: #ffff;
}

.imagen-port:hover .hover-galeria{
    transform: scale(2);
}


/* PORTAFOLIO2 */

#portafolio2{
    padding: 0px 50px;
    background: rgba(77, 77, 77, 0.6);
        
}

#contenido-portafolio2{
        padding: 50px 50px 0px 50px; 
        display: block;
        justify-content: space-between;
        text-align: center;
}

#portafolio2 h1{
    text-align: center;
    font-size: 50px 0px;
    margin-bottom: 20px;
       
}

#contenido-portafolio2 p{
    color: white;
    font-size: 20px;


    }

#contenido-portafolio2 div{
    flex: 1;
    margin: 20px 0px;
    border-right: 2px solid rgba(255, 255, 255, 0.2);
}


/* FORMULARIO */

#contacto{
    background: black;
    padding: 50px 0px;
    color: white;       
}

#contacto h1{
    text-align: center;
    font-size: 50px 0px;
    margin-bottom: 20px;
       
}

#contacto form{
    max-width: 80%;
    margin: 0 auto;
     
}

.datos-form{
    display: flex;     
}

.datos-form div{
    padding: 10px;
    flex: 1;
       
}

form label{
    display: block;
    margin-bottom: 10px;
       
}

form input,
form textarea{
    width: 100%;
       
}

.boton-formulario .boton-saber-mas{
    display: block;
    border: 1px solid white;
    color: #FFF;
    text-align: center;
    transition: 0.4s;
       
}

footer{
    background: goldenrod;
    text-align: center;
    padding: 10px 0px;
       
}


/* RESPONSIVE */


@media(max-width:768px) {

header {
padding: 0 10px;

}

section {
padding: 0px 50px;

}

.bars {
display: block;
cursor: pointer;

}

.bars .line{
width: 30px;
height: 3px;
background-color: white;
margin: 6px 3px;
}  

.nav-bar {
height: 0px;
position: absolute;
top: 50px;
left: 0px;
right: 0;
width: 100vw;
background-color: hsl(336, 100%, 2%);
transition: 0.5s;
overflow: hidden;

}

.nav-bar ul {
display: block;
width: fit-content;
margin: 80px auto 0 auto;
text-align: center;
transition: 0.5s;
opacity: 50;

}

.nav-bar.active {
height: 450px;

}

.nav-bar ul li a {
margin-bottom: 20px;

}

/* portafolio */

#contenido{
        display: flex;
        justify-content: space-evenly; 
         }

#portafolio h1 {
    color: #011a1a;
    text-shadow: 1px 2px 2px black, 0 0 5px blue ;
    text-align: center;
}

 #portafolio .texto{
        width: 50%;
        max-width: 600px;
        text-align: initial;
        padding-left: 30px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

#portafolio .img-container{
        background-image: url("img/img14.png");
        background-size: cover;
        background-position: center center;
        height: 500px;
        width: 400px; 
    }

#contenido-portafolio{
    flex-direction: column;
      
}

.datos-form{
    flex-direction: column;
       
}

/* portafolio2 */

#portafolio2{
        display: flex;
        justify-content: space-evenly; 
         }

#portafolio2 h1 {
    color: #011a1a;
    text-shadow: 1px 2px 2px black, 0 0 5px blue ;
    text-align: center;
}

 #portafolio2 .texto{
        width: 50%;
        max-width: 600px;
        text-align: initial;
        padding-left: 30px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

#portafolio2 .img-container{
        background-image: url("img/img14.png");
        background-size: cover;
        background-position: center center;
        height: 500px;
        width: 400px; 
    }

#contenido-portafolio2{
    flex-direction: column;
      
}

.datos-form{
    flex-direction: column;
       
}

}
