:root {
    --color1: #202046;
    --color2: rgb(23, 180, 83, .0788);
    --color3: rgb(11, 194, 211, 0.623);
    --color4: rgb(8, 8, 8);
    --color5: rgb(0, 0, 0);
    --color6: #ededf2;
    --fondo: #f2f2f2;
    --titulos: 33px;
    --margenes: 10px;
    --espacios: 10px;
    --espacios-contenido: 45px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'open sans';
    background: var(--fondo);
}

img {
    vertical-align: top;
}


/*preluader*/

.hidden {
    overflow: hidden;
}

.entrada {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: #000;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lds-ring {
    display: inline-block;
    position: relative;
    width: 64px;
    height: 64px;
}

.lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 51px;
    height: 51px;
    margin: 6px;
    border: 6px solid #cef;
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #cef transparent transparent transparent;
}

.lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
}

.lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
}

.lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
}

@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


/* Header */

header {
    width: 100%;
    height: 600px;
    background: linear-gradient(to bottom, rgb(211, 135, 20, .6), rgb(29, 241, 171, .6), rgb(7, 109, 150, .45)), url(img/banner.jpg);
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}

main {
    background: linear-gradient(to bottom, rgb(196, 214, 230), rgb(194, 245, 245), rgb(169, 199, 216));
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}

nav {
    width: 100%;
    position: fixed;
    height: 80px;
    box-shadow: 0 0 10px 0 rgb(0, 0, 0, .5)
}

.nav1 {
    background: transparent;
    height: 80px;
    color: #fff;
}

.nav2 {
    background: var(--fondo);
    height: 100px;
    color: #000;
}

.contenedor-nav {
    display: flex;
    margin: auto;
    width: 90%;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    height: inherit;
    overflow: hidden;
}

nav .enlaces a {
    display: inline-block;
    padding: 5px 0;
    margin-right: 17px;
    font-size: 17px;
    font-weight: 300;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    color: inherit;
}

nav .enlaces a:hover {
    border-bottom: 1px solid #1498a4;
    transition: 0.6s;
}


/*
.logo, .logo img{height: 80px;}
  */

.icono {
    display: none;
    font-size: 24px;
    padding: 23.5px 20px;
}

.textos {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.textos>h1 {
    text-align: center;
    font-size: 70px;
}

.textos>h2 {
    text-align: center;
    font-size: 30px;
    font-weight: 300;
    line-height: 40px;
    width: 48%;
}


/*main */

.contenedor {
    margin: auto;
    padding: var(--margenes) 0;
    width: 90%;
    max-width: 1800px;
    text-align: center;
    overflow: hidden;
}

.contenedor h3 {
    font-size: var(--titulos);
    color: var(--color5);
    margin-bottom: var(--espacios);
}

.contenedor p {
    font-size: var(--subtitulos);
    font-weight: 300;
    color: var(--color5);
}

.after::after {
    text-align: justify;
    content: '';
    display: block;
    margin: auto;
    margin-top: var(--espacios);
    width: 1150px;
    height: 2px;
    background: var(--color1);
    margin-bottom: var(--espacios-contenido);
}

.card {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.content-card {
    width: 23%;
    box-shadow: 0 0 6px rgb(0, 0, 0, .5);
    overflow: hidden;
    height: 400px;
    margin: 10px auto;
}

.people {
    height: 84%;
}

.content-card imag {
    widows: 100%;
    height: 100%;
    object-fit: cover;
}

.textos-team {
    height: 20%;
    widows: 100%;
    padding: var(--espacios) 0;
}

.about {
    background: url(img/fond_.jpg);
    height: auto;
}

.servicios {
    display: flex;
    color: #fff;
    justify-content: space-between;
    margin: auto;
    flex-wrap: wrap;
}

.caja-servicios>h4 {
    margin-bottom: var(--espacios);
}

.caja-servicios>p {
    text-align: center;
}

.botones-work {
    overflow: hidden;
}

.botones-work li {
    display: inline-block;
    text-align: center;
    padding: 6px 12px;
    list-style-type: none;
    color: var(--color1);
}

.botones-work li:hover {
    background: var(--color1);
    color: #fff;
    cursor: pointer;
}

.botones-work .active {
    background: var(--color1);
    color: #fff;
}

.botones-workk {
    overflow: hidden;
}

.botones-workk li {
    color: var(--color6);
}

.botones-workk li:hover {
    background: var(--color6);
    color: #fff;
    cursor: pointer;
}

.botones-workk .active {
    background: var(--color6);
    color: #fff;
}

.galeria-work {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.galeria-work .cont-work {
    width: 500px;
    box-shadow: 0 0 6px rgb(0, 0, 0, .5);
    height: 330px;
    overflow: hidden;
    margin-bottom: var(--espacios-contenido);
}

.img-work {
    height: 90%;
    width: 100%;
}

.img-work img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.img-work h5 {
    text-align: justify;
    font-size: 16px;
    font-weight: 300;
    line-height: 20px;
    width: 94%;
}

h6 {
    text-align: justify;
    font-size: 20px;
    font-weight: 300;
    line-height: 30px;
    width: 94%;
    color: #000;
}

.textos-work {
    height: 10%;
}

.textos_work h4 {
    line-height: 30px;
    font-weight: 300;
}


/* footer */

footer {
    background: url(img/fond_.jpg)
}

;
.marca-logo {
    width: 10%;
    margin: auto;
    margin-bottom: var(--espacios);
}

.marca-logo img {
    width: 10%;
    margin-bottom: var(--espacios-contenido);
}

.iconos {
    display: flex;
    margin: auto;
    justify-content: space-around;
    width: 100%;
}

.fab {
    font-size: 60px;
    color: white;
    margin-bottom: var(--espacios);
    display: inline-block;
}

.fas {
    font-size: 60px;
    color: white;
    margin-bottom: var(--espacios);
    display: inline-block;
}

footer p {
    margin-top: var(--espacios);
}

@media screen and (max-width: 980px) {
    .textos>h1 {
        font-size: 60px;
    }
    .textos>h2 {
        text-align: center;
        font-size: 30px;
        line-height: 30px;
        width: 80%;
    }
    .logo {
        margin-left: 20px;
    }
}

@media screen and (max-width: 700px) {
    .textos>h1 {
        font-size: 45px;
    }
    .textos>h2 {
        text-align: center;
        font-size: 25px;
        line-height: 30px;
        width: 80%;
    }
}

@media screen and (max-width: 700px) {
    .nav2 {
        color: rgb(255, 255, 255);
    }
    .icono {
        display: block;
        cursor: pointer;
    }
    .enlaces {
        position: fixed;
        top: 80px;
        background: #2c3e50;
        left: 0;
        height: 100%;
        transition: 1s;
        width: 0;
        overflow: hidden;
    }
    .enlaces a {
        display: block;
        width: 100%;
        height: 50px;
        padding: 20px;
        text-align: center;
        background: #34495e;
        color: #fff;
    }
    .content-card {
        width: 46%;
        margin-bottom: var(--margenes);
    }
     :root {
        --margenes: 30px;
    }
}

@media screen and (max-width: 500px) {
     :root {
        --espacios-contenido: 25px;
    }
    .content-card {
        width: 90%;
    }
    .caja-servicios {
        width: 90%;
        margin-bottom: var(--margenes);
    }
    .cont-work {
        width: 85%;
    }
    .marca-logo {
        width: 100%;
    }
    .iconos {
        margin: auto;
    }
}