*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
}
.container{
    padding: 60px 0;
    width: 100%;
    max-width: 1000px;
    margin: auto;
    overflow: hidden;
}
.title{
    color: #0A94CD;
    font-size: 45px;
    font-weight: 900;
    margin-bottom: 40px;
    text-align: left;
    
}
/*#8C52FF, #00BF63*/

header{
    width: 100%;
    height: 750px;
    background: #CAC531;
    background: #750099;
    /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #ec2F4B, #009FFF);  
    /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #ec2f4b93, #009dff86), url(../img/cover_image.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: #FFF;
    font-weight: 300;
    text-decoration: none;
    margin-right: 10px;
}
nav > a:hover{
    text-decoration: underline;
}
header .texts-header{
    display: flex;
    height: 430px;
    width: 90%;
    align-items:center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 60px;
}
.texts-header h1{
    font-size: 55px;
    font-weight: 900;
    color: #0A94CD;
}
.texts-header h2{
    font-size: 35px;
    font-weight: 500;
    color: #fff;
}
.wave{
    position: absolute;
    bottom: 0;
    width: 100%;
}

/*ABOUT US*/
.container-about-us{
    display: flex;
    justify-content: space-evenly;
}
.image-about-us{
    width: 48%;
}
.about-us .texts-content{
    width: 48%;
}
.texts-content h3{
    margin-bottom: 15px;
}
.texts-content h3 span{
    background: #0A94CD;
    color: #fff;
    border-radius: 20%;
    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: 5px;
}
.texts-content p{
    padding: 0px 0px 30px;
    font-weight: 300;
    text-align: justify;
}
/*PORTFOLIO*/

.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 8px 0 rgba(0, 0, 0, rgba(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: #0a93cd69;
    transition: transform .5s;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.hover-galeria p{
    color: #fff;
}

.imagen-port:hover .hover-galeria{
    transform: scale(0);
}
/*CLIENT*/
.cards{
    display: flex;
    justify-content: space-evenly;
}
.cards .card{
    background: linear-gradient(to bottom, #750099, #0A94CD);
    display: flex;
    width: 32%;
    height: 200px;
    align-items: center;
    justify-content: space-evenly;
    border-radius: 5px;
    box-shadow: 0 0 6px 0 rgba(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>.content-text-card{
    width: 60%;
    color: #fff;
}
.cards .card>.content-text-card h4{
    color: #000;
}
.cards .card>.content-text-card p{
    padding-top: 5px;
    font-weight: 200;
}
/*TEAM*/
.about-services{
    background: #f2f2f2;
    padding-bottom: 30px;
}
.service-cont{
    display: flex;
    justify-content: space-between;
    align-items:start;
}
.service-ind{
    width: 30%;
    text-align: justify;
}
.service-ind img{
    width: 95%;
}
.service-ind h3{
    margin: 10px 0;
}
.service-ind p{
    font-weight: 200;
    text-align: justify;
}

/*FOOTER*/
footer{
    background: linear-gradient(to bottom, #750099, #0A94CD);
    padding: 60px 0 30px 0;
    margin: auto;
    overflow: hidden;
}
.container-footer{
    width: 90%;
    display: flex;
    justify-content: space-evenly;
    margin: auto;
    padding-bottom: 50px;
    border-bottom: 2px solid #fff;
}
.content-foo{
    text-align: center;
}
.content-foo h4{
    color: #fff;
}
.content-foo p{
    font-weight: 200;
}
.final-title{
    text-align: center;
    padding-bottom: 20px;
    color: white;
    font-size: 24px;
}
.final-tile-content{
    font-size: 12px;
    font-weight: 200;
    text-align: center;
    margin: 0 30px;
}
.final-tile-content a{
    font-weight: 400;
    color: #FFF;
    text-decoration: none;
}
.final-tile-content a:hover{text-decoration: underline;}

/*RESPONSIVE DESIGN*/
@media screen and (max-width: 900px){
    header{
        background-position: center;
    }
    .container-about-us{
        flex-direction: column;
        justify-content: center;
        align-items: start;
    }
    .image-about-us{
        width: 98%;
    }
    .about-us .texts-content{
        width: 98%;
    }

    /*PORTFOLIO*/
    .imagen-port{
        width: 46%;
        margin-bottom: 20px;
    }

    /*CLIENT*/
    .cards{
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .cards .card{
        width: 98%;
        margin-bottom: 30px;
    }
    /*SERVICE*/
    
    .service-cont{
    justify-content: center;
    flex-direction: column;
    }
    .service-ind{
        width: 100%;
        text-align: justify;
    }
    .service-ind:nth-child(1), .service-ind:nth-child(2){
        margin-bottom: 60px;
    }
    .service-ind img{
        width: 95%;
    }
    /*FOOTER*/
    .content-foo p{
        font-size: 14px;
    }

}
@media screen and (max-width: 500px){
    nav{
        text-align: center;
        padding: 30px 0 0 0;
    }
    nav>a{
        margin-right: 5px;
    }
    .texts-header h1{
        font-size: 35px;
    }
    .texts-header h2{
        font-size: 20px;
        font-weight: 400;
    }
    .title{
        text-align: center;
        font-size: 35px;
    }
    /*ABOUT*/
    
    .image-about-us{
        width: 98%;
        margin-bottom: 60px;
    }

    /*SERVICE*/
    
    .service-cont{
        align-items:center;
    }
    .service-ind{
        width: 100%;
        text-align: center;
    }
    .service-ind P{
        text-align: center;
    }
    /*PORTFOLIO*/
    .imagen-port{
        width: 98%;
        margin-bottom: 20px;
    }
    .cards .card{
        height: 450px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .cards .card img{
        width: 90px;
        height: 90px;
    }
    .cards .card>.content-text-card{
        width: 90%;
        color: #fff;
        text-align: center;
    }
    /*FOOTER*/
    .container-footer{
        flex-direction: column;
        border: none;
    }
    .content-foo{
        margin-bottom: 20px;
        text-align: center;
    }
    .content-foo p{
        border-bottom: 1px solid #f2f2f2;
        padding-bottom: 20px;
    }
    .final-title{
        font-size: 18px;
        font-weight: 700;
    }
    .content-foo p{
        font-size: 12px;
    }

}