:root {
    --color1: rgb(0, 0, 0);
    --color2: rgb(57, 143, 214);
    --color3: rgba(48, 127, 134, 0.062);
    --fondo: #f2f2f2;
    --titulos: 33px;
    --margenes: 60px;
    --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;
}

/* Preloader */

.hidden {
    overflow: hidden;
}

.centrado {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: #000;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lds-facebook {
    /* change color here */
    color: #73adbe
}

.lds-facebook,
.lds-facebook div {
    box-sizing: border-box;
}

.lds-facebook {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.lds-facebook div {
    display: inline-block;
    position: absolute;
    left: 8px;
    width: 16px;
    background: currentColor;
    animation: lds-facebook 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
}

.lds-facebook div:nth-child(1) {
    left: 8px;
    animation-delay: -0.24s;
}

.lds-facebook div:nth-child(2) {
    left: 32px;
    animation-delay: -0.12s;
}

.lds-facebook div:nth-child(3) {
    left: 56px;
    animation-delay: 0s;
}

@keyframes lds-facebook {
    0% {
        top: 8px;
        height: 64px;
    }

    50%,
    100% {
        top: 24px;
        height: 32px;
    }
}

/* header */

header {
    width: 100%;
    height: 600px;
    background: linear-gradient(to bottom,
            rgb(30, 108, 160),
            rgba(177, 162, 162, 0.493),
            rgba(7, 109, 1500, .45)), url(../imagenes/portada.jpg);

    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}

nav {
    width: 100%;
    position: fixed;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, .5)
}

.nav1 {
    background: transparent;
    height: 80px;
    color: #fff;
}

.nav2 {
    background: var(--fondo);
    height: 100px;
    color: var(--color1);
    z-index: 20;
}

.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 img {
    height: 80px;
    filter: brightness(0%);
}

.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;
    color: #000000;
    overflow: hidden;
    text-align: center;
}

.textos>h1 {
    font-size: 60px;
    font-family: 'Julius Sans One';
}

.textos>h2 {
    font-size: 20px;
    font-weight: 700;
    color: #2e2e2e;
}


/* Main */

.contenedor {
    margin: auto;
    padding: var(--margenes) 0;
    width: 90%;
    max-width: 1000px;
    text-align: center;
    overflow: hidden;
}

.contenedor h3 {
    font-size: var(--titulos);
    color: var(--color1);
    margin-bottom: var(--espacios);
}

.contenedor p {
    font-size: var(--subtitulos);
    font-weight: 300;
    color: var(--color1);
}

.after::after {
    content: '';
    display: block;
    margin: auto;
    margin-top: var(--espacios);
    width: 100px;
    height: 2px;
    background: var(--color1);
    margin-bottom: var(--espacios-contenido);

}

.card {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.content-card {
    width: 31%;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, .5);
    overflow: hidden;
    height: 450px;
}

.people {
    height: 80%;
}

.content-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.texto-team {
    font-size: 15px;
    height: 20%;
    width: 100%;
    text-align: center;
    padding: 10px 10px 10px 10px;

}

.texto-team p {
    padding-top: 7px;
}

.about {
    background: url(../imagenes/fondo1.jpg);
    height: auto;
    background-size: cover;
}


.servicios {
    display: flex;
    color: #000000;
    justify-content: space-between;
    margin: auto;
    flex-wrap: wrap;
}

.caja-servicios {
    width: 27%;
}

.caja-servicios>img {
    width: 150px;
    height: 150px;
    border-radius: 100px;
}

.caja-servicios>h4 {
    margin-bottom: var(--espacios);
    margin-top: 15px;
}

.caja-servicios>p {
    text-align: center;
}

.botones-work {
    overflow: hidden;
}

.botones-work li {
    display: inline-block;
    text-align: center;
    margin-left: var(--espacios);
    margin-bottom: var(--espacios-contenido);
    padding: 6px 12px;
    border: 1px solid var(--color1);
    list-style: none;
    color: var(--color1);
}

.botones-work li:hover {
    background: var(--color2);
    color: #fff;
    cursor: pointer;
}

.botones-work .active {
    background: var(--color1);
    color: #fff;
}

.galeria-work {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.galeria-work .cont-work {
    width: 31%;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, .5);
    height: 300px;
    overflow: hidden;
    margin-bottom: var(--espacios-contenido);
}

.img-work {
    height: 85%;
    width: 100%;
}

.img-work img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.textos-work {
    height: 10%;
}

.textos-work h4 {
    padding: 5px 0 5px 0;
    line-height: 30px;
    font-weight: 600;
    font-size: 20px;
}

/* footer */

footer {
    background: url(../imagenes/fondo1.jpg);
    height: auto;
}

.footer-contenedor {
    display: flex;
    justify-content: flex-start;
}

.marca-logo {
    margin-top: 50px;
    width: 50%;
    display: flex;
    justify-content: center;
}

.marca-logo img {
    width: 200px;
    margin-bottom: 20px;
    filter: brightness(0%);
    filter: contrast(150%);
}

.iconos {
    margin-top: 50px;
    width: 5%;
    display: flex;
    flex-direction: column;
}

.fa-brands {
    margin-top: 22px;
    font-size: 40px;
    color: #000000;
}

.nombres {
    margin-top: 50px;
    width: 45%;
    display: flex;
    flex-direction: column;
}

.nombres p {
    margin-top: 35px;
}

.nombres2 {
    text-align: center;
    font-family: 'open sans';
    font-size: 12px;
    color: #ffffff;
    background-color: #2b2424ce;
    padding-top: 8px;
    padding-bottom: 8px;
}

.nombres2 a {
    text-decoration: none;
    color: inherit;
}


@media screen and (max-width: 800px) {

    .logo img {
        height: 60px;
    }

    .nav2 {
        color: #fff;
    }

    .icono {
        display: block;
        cursor: pointer;
    }

    .enlaces {
        position: fixed;
        top: 80px;
        background: #2c3e50;
        right: 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;
    }

    .textos>h1 {
        font-size: 50px;
    }

    .textos>h2 {
        font-size: 20px;
    }

    .card {
        justify-content: space-around;
    }

    .content-card {
        width: 40%;
        margin-bottom: var(--margenes);
        align-items: center;
    }

    .people {
        height: 75%;
    }

    .nombres {
        font-size: 7px;
    }

    .textos-work h4 {
        font-size: 15px;
    }

    .nombres {
        margin-top: 55px;
        margin-left: 10px;
        align-items: flex-start;
        justify-content: space-around;
        height: 195px;
        font-size: 15px;
    }

    .nombres p {
        margin-top: 0;
    }

    :root {
        --margenes: 30px;
    }

}

@media screen and (max-width: 550px) {
    :root {
        --espacios-contenido: 25px;
    }

    header {
        height: 400px;
    }
    .textos>h1 {
        font-size: 30px;
    }

    .textos>h2 {
        font-size: 10px;
    }

    .card {
        align-items: center;
        justify-content: center;
    }

    .contenedor h3 {
        font-size: 25px;
    }



    .contenedor p {
        font-size: 15px;
    }

    .content-card {
        width: 80%;
    }

    .people {
        height: 75%;
    }

    .servicios {
        align-items: center;
        justify-content: center;

    }

    .caja-servicios {
        width: 80%;
        margin-bottom: 15px;
    }

    .caja-servicios h4 {
        margin: 0;
    }

    .botones-work {
        font-size: 18px;
    }

    .galeria-work .cont-work {
        width: 85%;

    }

    .marca-logo {
        width: 40%;
    }

    .marca-logo img {
        width: 80%;
    }

    .iconos {
        margin: auto;
    }

    .fa-brands {
        font-size: 30px;
    }

    .nombres {
        margin-top: 30px;
        align-items: flex-start;
        justify-content: space-around;
        height: 155px;
        font-size: 10px;
    }

    .nombres p {
        margin-top: 0;
    }

    .nombres2 {
        font-size: 10px;
    }

}