*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: 'open sans';
}

.contenedor{
    padding: 60px 0;
    width: 90%;
    max-width: 1000px;
    margin: auto;
    overflow: hidden;
}

.titulo{
    color: black;
    font-size: 50px;
    text-align: center;
    margin-bottom: 60px;
}
 
/* Header */

header{
    width: 100%;
    height: 600px;
    background: #00C9FF;  
    /* fallback for old browsers */
    background: linear-gradient(to right, hsla(126, 98%, 78%, 0.104), hsla(193, 100%, 50%, 0.161)), url(./img/rosario.jpg); 
     /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, hsla(126, 98%, 78%, 0.073), hsla(193, 100%, 50%, 0.136)), url(./img/rosario.jpg) ; 
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    background-size: cover;
    background-attachment: fixed;
    position: relative;
}    

nav{
    text-align: right;
    padding: 30px 50px 0 0;
}

nav > a{
    color: rgb(243, 248, 241);
    font-weight: 300;
    text-decoration: none;
    margin-right: 10px;
}

nav > a:hover{
    text-decoration: underline;
}

header .textos-header{
    display: flex;
    height: 100px;
    width: 100%;
    align-items: center;
    justify-content: center;
    color: rgb(92, 220, 237);
    font-size: 50px;
}

.wave{
    position: absolute;
    bottom: 0;
    width: 100%;
}

/* Abount */

.contenedor-sobre-nosotros{
    display: flex;    
  justify-content: space-evenly;
}

.abount{
    width: 48%;
}

.sobre-nosotros .contenido-textos{
    width: 48%;
}

.contenido-textos h2{
    margin-bottom: 15px;
}

.contenido-textos h3{
    margin-bottom: 15px;
}

.contenido-textos h3 span{
    background: #0a4454;
    color: azure;
    border-radius: 50%;
    display: inline-block;
    text-align: center;
    width: 30px;
    padding: 2px;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.5);
    margin-right: 5px;
}

.contenido-textos p{
    padding: 0px 0px 30px 15px;
    font-weight: 300;
    text-align: justify;
}

/* Gaeria */

.portafolio{
    background: white;
}

.galeria-port{
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.imag-port{
    width: 24%;
    margin-bottom: 10px;
    height: 200px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: 0 0 6px 0 black;
}

.imag-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(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: wheat;
}

.imag-port:hover .hover-galeria{
    transform: scale(1);
}

/* cliente*/

.cards{
    display: flex;
    justify-content: space-evenly;
}

.cards .card{
    background: rgba(43, 170, 238, 0.842);
    display: flex;
    width: 46%;
    height: 200px;
    align-items: center;
    justify-content: space-evenly;
    border-radius: 5px;
    box-shadow: 0 0 6px 0 black;
}

.cards .card img{
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 3px solid beige;
    display: block;
}

.cards .card > .contenido-texto-card{
    width: 60%;
    color: rgb(226, 233, 213);
}

.cards .card > .contenido-texto-card p{
    font-weight: 300;
    padding-top: 5px;
}

/* Servicios */

.about-services{
    background: #00C9FF;
    padding-bottom: 30px;
}

.servicio-cont{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.servicio-ind{
    width: 20%;
    text-align: center;
}

.servicio-ind img{
    width: 90%;
}

.servicio-ind h3{
    margin: 10px 0;
}

.servicio-ind p{
    font-weight: 300;
    text-align: justify;
}

/* Footer */

footer{
    background: #00c8ffbd;
    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 rgb(36, 163, 231);
}

.content-foo{
    text-align: center;
}

.content-foo h4{
    color: rgb(33, 28, 21);
    border-bottom:  2px solid rgb(36, 163, 231);
    padding-bottom: 5px;
    margin-bottom: 5px;
}

.content-foo p{
    color: rgb(61, 65, 60);
}

.titulo-final{
    text-align: center;
    font-size: 24px;
    margin: 20px 0 0 0;
    color: rgb(11, 8, 8);
}

/* java, para que se vea en el telefono*/

@media screen and (max-width:900px){
    header{
        background-position: center;
    }

    .textos-header{
        text-align: center;
        padding-top: 10%;
    }

    .contenedor-sobre-nosotros{
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .sobre-nosotros .contenido-textos{
        width: 90%;
    }

    .about{
        width: 90%;
    }

    /* Gleria*/

    .imag-port{
        width: 44%;
    }

    /* Clientes*/

    .cards{
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .cards .card{
        width: 90%;
    }

    .cards .card:first-child{
        margin-bottom: 30px;
    }

    /*Servicios*/

    .servicio-cont{
        justify-content: center;
        flex-direction: column;
    }

    .servicio-ind{
        width: 100%;
        text-align: center;
    }

    .servicio-ind:nth-child(1), .servicio-ind:nth-child(2){
        margin-bottom: 60px;
    }

    .servicio-ind img{
        width: 90%;
    }

    /*Footer*/

    .contenedor-footer{
        flex-direction: column;
    }

    .content-foo{
        margin-bottom: 20px;
        text-align: center;
    }

    .content-foo h4{
        border-bottom: none;
    }

    .content-foo p{
        border-bottom: 1px solid rgb(36, 163, 231);
        padding-bottom: 20px;
    }

    .titulo-final{
        font-size: 20px;
        border-bottom: none;
    }

}