* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
}

.contenedor{
    padding: 60px 0;
    width: 90%;
    max-width: 1000px;
    margin: auto;
    overflow: hidden;
}

.titulo{
    color: #642a73;
    font-size: 30px;
    text-align: center;
    margin-bottom: 60px;
}

/* HEADER */

header {
    width: 100%;
    height: 600px;
    background: #000000;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, hsla(0, 0%, 26%, 0.582), hsla(0, 0%, 0%, 0.486));  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, hsla(0, 0%, 26%, 0.582), hsla(0, 0%, 0%, 0.486)),  url(../img/pexels-sourav-mishra-1149831.jpg); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    background: url(../img/pexels-sourav-mishra-1149831.jpg);   
    background-size: cover;
    background-attachment: fixed;
    position: relative;
}

nav{
    text-align: right;
    padding: 30px 50px 0 0;

}

nav a {
    color: #ffffff;
    font-weight: 300;
    text-decoration: none;
    margin-right: 10px;
}

nav a:hover {
    text-decoration: underline;
}

header .textos-header{
    display: flex;
    height: 430px;
    width: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

header .textos-header h1{
    font-size: 50px;
    color: #fff;
}

header .textos-header h2{
    font-size: 30px;
    font-weight: 300;
    color: #fff;
}

.wave {
    position: absolute;
    bottom: 0;
    width: 100%;
}

/* ABOUT US */

.contenedor-sobre-nosotros{
    display: flex;
    justify-content: space-between;
}

.image-about-us {
    width: 48%;
    padding: 40px;
}

.sobre-nosotros .contenido-textos{
    width: 48%;
}

.contenido-textos h3{
    margin-bottom: 15px;
     
}

.contenido-textos h3 span{
    background: #4d0686;
    color: #fff;
    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, 5);
    margin-right: 10px;   

}

.contenido-textos p{
    padding: 0px 0px 30px 15px;
    font-weight: 300;
    text-align: justify;
}

/* GALERIA */

.portafolio{
    background-color: #f2f2f2;
}

.gallery-port{
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.image-port{
    width: 24%;
    margin-bottom: 10px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0 , .5);
}

.image-port img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hover-gallery{
    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-gallery img{
    width: 50px;
}*/

.hover-gallery p{
    color: #fff;
}

.image-port:hover .hover-gallery{
    transform: scale(1);
}

/* CLIENTES */ 

.clientes-contenedor h2{
    padding-top: 50px;
}

.cards{
    display: flex;
    justify-content: space-evenly;
}

.cards .card{
    background: #4d0686;
    display: flex;
    width: 46%;
    height: 200px;    
    align-items: center;
    justify-content: space-evenly;
    border-radius: 5px;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.6);
}

.cards .card img{
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 3px solid #fff;
    border-radius: 50%;
    display: block;
}

.cards .card > .contenido-texto-card{
    width: 60%;
    color: #fff;

}

.cards .card > .contenido-texto-card p{
    font-weight: 300px;
    padding-top: 5px;
}

/* OUR TEAM */

.about-sevice{
    background: #f2f2f2;
    padding-bottom: 30px;
}

.service-cont{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.service-ind{
    width: 30%;
    text-align: center;
}

.service-ind img{
    width: 90%;
}

.service-ind h3{
    margin: 10px 0;
}

.service-ind p{
    font-weight: 300;
    text-align: justify;
}

.service-ind img{
    height: auto;
    width: auto;
    max-height: 100px;
    max-width: 100px;
}


/* FOOTER */

footer{
    background: #414141;
    padding: 20px 0 30px 0;
    margin: auto;
    overflow: hidden;
}

.contenedor-footer{
    display: flex;
    width: 90%;
    justify-content: space-evenly;
    margin: auto;
    padding-bottom: 10px;
    border-bottom: 1px solid #ccc;
}

.content-foot{
    text-align: center;
}

.content-foot h4{
    color: #fff;
    border-bottom: 3px solid #af20d3;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.content-foot p{
    color: #ccc;
}

.titulo-final{
    text-align: center;
    font-size: 18px;
    margin: 20px 0 0 0;
    color: #9e9797;
}

/*hacer la pagina responsive*/

@media screen and (max-width: 770px) {
    .image-about-us {
        display: none;
    }

    
}

@media  screen and (max-width: 770px) {
    .sobre-nosotros .contenido-textos {
        width: 100%;
    }
}

@media  screen and (max-width: 770px) {
    head{
    background-size: auto;
    }
}

@media  screen and (max-width: 770px) {
    footer{
        font-size: small;
    }
}
