* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}


body {
    font-family: 'Roboto', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #1d273b;
    font-weight: 300;
}

.contenedor {
    width: 90%;
    max-width: 1000px;
    margin: auto;
    overflow: hidden;
}


.contenedor_services {
    width: 90%;
    max-width: 1000px;
    margin: auto;
    overflow: hidden;
    padding: 60px 0;
}


h1 {
    font-size: 50px;
}

/* WhatsApp */

#whatsapp {
    position: fixed;
    bottom: 100px;
    right: 7px;
    text-align: center;
    z-index: 100;
}

#whatsapp p {
    background: #1f2229;
    font-size: 90%;
    margin-bottom: 10px;
    padding: 0.5em;
    color: white;
}

#whatsapp p:before {
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 12px solid #1f2229;
    bottom: -2px;
    content: "";
    height: 0;
    left: 50%;
    position: absolute;
    width: 0;
    transform: translate(-50%, 0);
}

.btn-wsp a{
    position:fixed;
    width: 60px;
    height: 60px;
    right: 30px;
    bottom: 30px;
    font-family: 'Roboto', sans-serif;
    color:white;
    text-decoration: none;
    background: linear-gradient(to left, #0fcf48, #049931);
    padding: 8px 10px 0px 11px;
    border-radius: 80px;
    z-index: 99;
    box-shadow: 1px 1px 10px 0 rgba(0, 0, 0, .4);
}

.btn-wsp a:hover {
    background: #0ddd02;
}

.whatsapp_logo {
    -webkit-filter: invert(100%) sepia(11%) saturate(755%) hue-rotate(201deg) brightness(120%) contrast(100%);
    filter: invert(100%) sepia(11%) saturate(755%) hue-rotate(201deg) brightness(120%) contrast(100%);
}


/* Header */

header{
    background: linear-gradient(to bottom,
    rgb(31, 34, 41, 0.7),
    rgb(244, 156, 15, 0.7)
    ), url(../img/Portada.jpg);
    /* background-attachment: fixed; */
    background-size: cover;
    background-position: center center;
    width: 100%;
    height: 620px;
}

header::before {
    content: "";
    display: block;
    margin-bottom: 80px;
}


nav {
    width: 100%;
    height: 100px;
    background: #fff;
    border-bottom: 1px solid transparent;
    box-shadow: 1px 1px 10px 0 rgba(0, 0, 0, .2);
    position: fixed;
    top: 0;
    z-index: 100;
    transition: ease-in-out 0.5s;
}

.nav {
    display: flex;
    justify-content: space-between;
    height: 100px;
    width: 100%;
    align-items: center;
    padding: 0 40px;
}

.nav .logo {
    height: 80px;

}

.nav .logo img {
    height: 100%;
    vertical-align: top;
}

.enlaces-header {
    font-weight: 600;
    transition: ease-in-out 0.5s;
}

.nav .enlaces-header a {
    color: #1f2229;
    text-decoration: none;
    margin-left: 20px;
}

.hamburguer {
    width: 80px;
    height: 80px;
    display: none;
    text-align: center;
    z-index: 100;
    cursor: pointer;
    transition: color 0.5s ease-in;
}

.hamburguer>i {
    font-size: 25px;
    line-height: 80px;
}

.contenido-header {
    width: 100%;
    height: 600px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contenido-header>img {
    width: 550px;
    animation: ease-in animat 1s;
}

@keyframes animat {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}


.textos-header {
    margin: 0 0 0 30px;
}

.contenido-header h1 {
    color: #ffffff;
    font-weight: bold;
}

.contenido-header h2 {
    margin-top: 14px;
    color: #ffffff;
}

.contenido-header a {
    margin: 28px 0 0 0;
    width: 130px;
    display: inline-block;
    background: #1f2229;
    text-align: center;
    color: #fff;
    padding: 12px 0;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    border-radius: 5px;
    box-shadow: 0 8px 32px rgba(31, 222, 130, .46);
}

/* Services */

.services {
    background: #f2f2f2;
}

.titulo {
    font-size: 40px;
    font-weight: bold;
    text-align: center;
    margin: -15px 0 -15px 0;
}

.contenedor-card {
    display: flex;
    flex-wrap: wrap;
    margin-top: 60px;
    justify-content: space-around;
}

.card {
    width: 29%;
    background: #fff;
    margin-bottom: 30px;
    transition: 0.5s;
}

.card_img {
    width: 100%;
    object-fit: cover;
}

.card:hover {
    box-shadow: 0 4px 10px rgba(17, 29, 48, .26);
}

.card>h3 {
    font-size: 24px;
    margin-top: 30px;
    padding: 0px 30px 0px 30px;
    text-align: center;
    font-weight: bold;
}

.card>p {
    font-weight: 100;
    color: #5D6678;
    margin-top: 15px;
    padding-bottom: 20px;
    padding: 20px 30px 40px 30px;
}


/* Contact */


.contact {
    height: 640px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.contact>img {
    width: 500px;
    /* margin-top: -5%; */
    margin-right: 150px;
}

.form{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.input{
    background: transparent;
    border: 0;
    color: #F49C0F;
    outline: none;
    border: 1px  solid #1f2229;
    padding: 20px 10px;
}

.input::placeholder{
    color: rgb(0, 0, 0);
}

input[type="text"]{
    display: inline-block;
    width: 100%;
    margin-bottom: 30px;
}

input[type="email"],
input[type="number"]{
    display: inline-block;
    width: 48%;
    margin-bottom: 30px;
}

/* .form textarea{
    width: 100%;
    margin-bottom: 15px;
} */

/* input[type="submit"]{
    width: 120px;
    text-align: center;
    padding: 14px 0;
}

input[type="submit"]:hover{
    cursor: pointer;
    color: tomato;
    background: #fff;
} */

/* .form button{
    margin-top: 5%;
    width: 45%;
    height: 50px;
    cursor: pointer;
    background-color: #F49C0F;
    color: white;
    font-weight: bold;
    border: solid 1px #1f2229;
    margin: auto;
}

.form button:hover{
    cursor: pointer;
    color: #F49C0F;
    background: #1f2229;
} */

.textos-contact p{
    text-align: center;
    padding: 4%;
}

/* Proyectos */

.projects {
    width: 100%;
    height: 350px;
    background: linear-gradient(to bottom,
    rgb(31, 34, 41, 0.50),
    rgb(31, 34, 41, 1)
    ), url(../img/Proyectos.jpg);
    /* background-attachment: fixed; */
    background-position: center;
    background-size: cover;
    padding-top: 30px;
}

.projects h2{
    color: white;
    font-size: 40px;
    font-weight: bold;
    text-align: center;
    margin: 20px 0 30px 0;
}

.conten-projects {
    display: flex;
    justify-content: space-evenly;
}

.numbers {
    width: 70%;
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.numbers .number {
    width: 23%;
    background: rgb(244, 156, 15, 0.80);
    color: #fff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: center;
}

.numbers .number h4 {
    color: #fff;
    font-size: 50px;
    font-weight: bold;
    margin-bottom: 20px;
}

.numbers .number p {
    color: #f2f5fc;
    font-weight: 300;
}

.numbers .number img {
    width: 45%;
    vertical-align: text-bottom;
    margin-bottom: -10px;
}

/* Portafolio */

.portafolio{
    padding-top: 40px;
}

.galeria-port{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    overflow: hidden;
}

.imagen-port{
    width: 30%;
    justify-content: space-evenly;
    margin-bottom: 20px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: 0 0 8px 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: rgb(244, 156, 15, 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: #fff;
}

.imagen-port:hover .hover-galeria{
    transform: scale(1);
}

/* / Clientes / */

.testimony{
    background: #fafafa;
}

.testimony-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.testimony__card{
    width: 30%;
    height: 500px;
    background: linear-gradient(180deg, #1f2229  0%, #1f2229 100%);
    border-radius: 10px;
    position: relative;
    margin-bottom: 30px;
}

.testimony__img{
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
    object-position: center top;
}

.testimony__copy{
    position: absolute;
    bottom: 20px;
    left: 5%;
    width: 90%;
    background: linear-gradient(180deg, #1f2229 0%, #1f2229 100%);
    color: #fff;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: var(--shadow) var(--color_shadow);
    padding: 15px 8px;
    display: flex;
    align-items: center;
}

.testimony__copy--modifier{
    background: none;
    box-shadow: none;
}

.testimony__logo{
    font-size: 40px;
    margin-right: 15px;
    display: inline-block;
}

.testimony__name{
    font-size: 24px;
    line-height:28px;
    color: white;
    font-weight: bold
}

.testimony__position{
    color: white;
}

.testimony__text{
    padding: 40px 0;
    width: 90%;
    margin: 0 auto;
    color: #fff;
}


.testimony__history{
    font-size: 21px;
    font-weight: 300;
}


.testimony__info{
    width: 70%;
}

/* footer */

footer {
    background: #f2f2f2;
}

.footer-container {
    width: 100%;
    padding: 30px 150px;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    margin: auto;
}

.partFooter {
    width: 20%;
    text-align: center;
}

.partFooter h4 {
    color: #1d273b;
    font-size: 20px;
    font-weight: 400;
    text-align: left;
    margin-bottom: 30px;
}

.partFooter p {
    display: block;
    color: #5D6678;
    font-weight: 300;
    text-align: left;
    transition: color .3s ease-in-out;
    margin-bottom: 10px;
}

.partFooter i {
    color: #049931;
}

.partFooter a:hover {
    color: #1FDE82;
}

.partFooter img {
    width: 85%;
}

.social-media a {
    display: inline-block;
}

.social-media i {
    font-size: 20px;
    display: inline-block;
    color: #049931;
    border: 1px solid #adb6c7;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    line-height: 36px;
    cursor: pointer;
    margin-top: 0px;
    text-align: center;
    transition: all ease-in-out .3s;
    margin-right: 5px;
}

.social-media i:hover {
    color: #fff;
    background-color: #1FDE82;
    border-color: #1FDE82;
}

/* Breakpoints responsive */

@media screen and (max-width:820px) {
    .titulo {
        font-size: 45px;
    }

    .contenido-header {
        flex-direction: column;
        justify-content: space-evenly;
        height: 720px;
    }

    .contenido-header>img {
        width: 400px;
    }

    .textos-header {
        margin: 0;
    }

    /* About us */

    .card {
        width: 45%;
    }

    /* Contact */

    .contact {
        justify-content: space-evenly;
        flex-direction: column;
    }

    .textos-contact p{
        text-align: center;
        padding: 6%;
    }

    .contact>img {
        width: 400px;
        margin: 0%;
    }

    /* Proyectos */

    .projects {
        width: 100%;
        height: 600px;
    }

    .conten-projects {
        flex-direction: column-reverse;
    }

    .numbers {
        width: 100%;
        justify-content: space-around;
    }

    .numbers .number {
        width: 35%;
    }

    /* Portafolio */

    .imagen-port {
        width: 44%;
    }

    /* Footer */

    .footer-container {
        padding: 10px 40px;

    }

    .partFooter{
        width: 60%;
    }

    .partFooter img {
        width: 50%;
    }
    
    .partFooter h4{
        text-align: center;
    }

}

@media screen and (max-width:600px) {
    .titulo {
        font-size: 35px;
    }

    h1 {
        font-size: 40px;
    }

    .contenido-header {
        height: 650px;
    }

    .nav {
        padding: 0 10px;
    }

    .contenido-header>img {
        width: 200px;
    }

    .enlaces-header {
        position: fixed;
        background: linear-gradient(170deg, rgb(31, 34, 41, 0.85) 30%, rgb(31, 34, 41, 0.80) 70%);
        /* fallback for old browsers */
        /* Chrome 10-25, Safari 5.1-6 */
        /* background: linear-gradient(to right, #667db6, #0082c8, #0082c8, #667db6); */
        /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
        top: 0;
        right: 0;
        width: 50%;
        height: 100vh;
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: space-evenly;
        clip-path: circle(0.0% at 100% 0);
    }

    .nav .menudos {

        -webkit-clip-path: circle(150% at 100% 0);
        clip-path: circle(150% at 100% 0);

    }

    .nav .enlaces-header a {
        color: #fff;
        margin: -100px;
    }

    .hamburguer {
        display: block;
    }

    /* About us */

    .card {
        width: 95%;
    }

    /* Contact */

    .contact {
        height: 1500px;
        justify-content: space-evenly;
        flex-direction: column;
        margin-top: -280px;
    }

    .contact>img {
        width: 380px;
        margin-top: -250px;
    }

    /* projects */
    
    .projects {
        height: 1000px;
    }

    .numbers .number {
        width: 74%;
    }

    /* Portafolio */

    .imagen-port {
        width: 100%;
        margin: auto;
        margin-top: 30px;
    }
    
    /* Footer */
    .partFooter {
        width: 100%;
        margin-bottom: 15px;
    }
}