@import "https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap";

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: black;
}

::-webkit-scrollbar-thumb {
    background-color: #333;
    border-radius: 10px;
    border: 2px solid transparent;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}

* {
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    cursor: pointer;
}

ul,
li {
    list-style: none;
}

body {
    padding: 0;
    margin: 0;
}

header {
    display: grid;
    background: #101010;
    height: 80px;
    position: fixed;
    z-index: 10;
    width: 100%;
    transition: transform 0.3s ease-in-out;
}

header .content {
    grid-template-columns: 180px 1fr auto;
    gap: 20px;
    align-items: center;
}

header .content .logo {
    background-image: url("../assets/images/logo-white.png");
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 100%;
}

header .content nav a {
    color: #fff;
    font-size: 15px;
    padding: 0 14px;
}

header .content .contact {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(3, 1fr);
}

header .content .contact a i {
    filter: invert(1);
    width: 24px;
    height: 24px;
}

header .content .menu {
    display: none;
    cursor: pointer;
    color: #fff;
    font-size: 24px;
    text-align: right;
}

header .content .menu.active + nav {
    display: flex;
    flex-direction: column;
    background: #101010;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    padding: 10px 20px;
    z-index: 20;
}

@media (max-width: 680px) {
    header .content {
        grid-template-columns: 180px auto;
    }

    header .content nav,
    header .content .contact {
        display: none;
    }

    header .content .menu {
        display: block;
    }

    .content {
        width: 85% !important;
    }

    section#inicio .content {
        width: 80% !important;
        text-align: center !important;
        margin: 0 auto !important;
    }

    .write {
        font-size: 48px !important;
    }

    section#empresa .content {
        grid-template-columns: 1fr !important;
    }

    section#empresa .content .business {
        width: 80% !important;
        margin: 0 auto;
    }

    section#empresa .content .items {
        justify-self: center !important;
    }

    section#empresa .content .items li {
        position: relative !important;
    }

    section.work {
        position: relative !important;
        height: auto !important;
        top: 0 !important;
        padding: 80px 0 !important;
    }

    section.work .content {
        height: auto !important;
        grid-template-columns: 1fr !important;
    }

    section.work .content .items li {
        grid-template-columns: 1fr !important;
        grid-template-rows: 48px 1fr !important;
    }

    section.work .content .items li i,
    section.work .content .items li p {
        justify-self: center;
    }

    section.work .content .items li p {
        font-size: 18px !important;
    }

    section.work .content .items {
        height: auto !important;
    }

    section#servicios {
        clip-path: none !important;
    }

    section#servicios h2 {
        font-size: 48px !important;
        padding: 40px 0 !important;
        height: auto !important;
        line-height: 60px !important;
    }

    section#servicios .content {
        margin: 0 auto 80px auto;
    }

    section#servicios .content .items li {
        position: relative !important;
        margin: 20px 0 !important;
        height: auto !important;
    }

    section#servicios .content .items li .box {
        padding: 40px !important;
        width: 100% !important;
    }

    section#servicios .content .items li .box .top h4 {
        font-size: 24px !important;
    }

    section#servicios .content .items li .box p {
        font-size: 15px !important;
    }

    section.work .content .data h2 {
        font-size: 34px !important;
        text-align: center;
    }

    section.choose {
        height: auto !important;
    }

    section.choose .content .data p {
        font-size: 16px !important;
    }

    section.choose .content .items {
        grid-template-columns: 1fr !important;
        grid-template-rows: repeat(6, 1fr) !important;
    }

    section.choose .content .items li h4 {
        font-size: 16px !important;
    }

    section.phrase .content {
        grid-template-columns: 1fr !important;
    }

    section.phrase .content .rt {
        padding: 60px 0 0 0;
        text-align: center !important;
    }

    footer#contacto {
        top: 0 !important;
        position:  relative !important;
        padding: 0 !important;
        background: #1f252d !important;
    }

    footer#contacto .data {
        clip-path: none !important;
        background: #fff !important;
        position: relative !important;
    }

    footer#contacto .data h2 {
        font-size: 60px !important;
    }

    footer#contacto .contact .content {
        width: 85% !important;
        grid-template-rows: repeat(5, auto) !important;
        grid-template-columns: 1fr !important;
        grid-template-areas: none !important;
        height: auto !important;
        row-gap: 0 !important;
        padding: 80px 0;
    }

    footer#contacto .contact .content img.logo,
    footer#contacto .contact .content .copy {
        position: relative !important;
        top: auto !important;
        bottom: auto !important;
    }

    footer#contacto .contact .content .lt,
    footer#contacto .contact .content .rt,
    footer#contacto .contact .content .buttons {
        grid-area: auto !important;
    }

    footer#contacto .contact .content .lt,
    footer#contacto .contact .content .copy {
        margin: 40px 0 0 0;
    }

    footer#contacto .contact .content .rt {
        margin: 0 0 40px 0;
    }

    footer#contacto .contact .content .buttons .items {
        grid-template-columns: 1fr !important;
    }

    footer#contacto .contact .content .buttons .items a {
        width: 80%;
        margin: 0 auto;
    }

    footer#contacto .contact .content .buttons .items a i {
        width: 34px !important;
        height: 34px !important;
    }

    footer#contacto .contact .content .buttons .items a p {
        font-size: 18px !important;
    }

    section.customers .content .box {
        width: 100% !important;
    }

    section.customers .content .box .items {
        width: 100% !important;
    }

    section.customers .content {
        width: 100% !important;
    }

    section.customers .content .top {
        margin: 0 10vw;
        padding: 0 0 40px 0 !important;
    }

    section.customers .content .top h2 {
        font-size: 28px !important;
    }

    section.customers .content .top h2::before {
        content: "Nuestros ";
    }

    section.customers .content .top h2:last-child {
        display: none;
    }

    section.customers {
        padding: 80px 0 !important;
        height: auto !important;
    }
}

i {
    width: 18px;
    height: 18px;
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
    display: block;
    transition: .5s;
}

i.mail {
    background-image: url("../assets/images/mail.png");
}

i.tel {
    background-image: url("../assets/images/tel.png");
}

i.whatsapp {
    background-image: url("../assets/images/whatsapp.png");
}

i.mission {
    background-image: url("../assets/images/mission.gif");
}

i.vision {
    background-image: url("../assets/images/vision.gif");
}

i.tecnology {
    background-image: url("../assets/images/tecnology.gif");
}

i.philosophy {
    background-image: url("../assets/images/philosophy.gif");
}

i.customers {
    background-image: url("../assets/images/customers.gif");
}

i.software {
    background-image: url("../assets/images/software.gif");
}

i.web {
    background-image: url("../assets/images/web.gif");
}

i.app {
    background-image: url("../assets/images/app.gif");
}

i.consultancy {
    background-image: url("../assets/images/consultancy.gif");
}

i.magnament {
    background-image: url("../assets/images/magnament.gif");
}

i.location {
    background-image: url("../assets/images/location.png");
}

i.mail-contact {
    background-image: url("../assets/images/mail-contact.png");
}

i.chat {
    background-image: url("../assets/images/chat.png");
}

i.meeting {
    background-image: url("../assets/images/meeting.png");
}

i.budget {
    background-image: url("../assets/images/budget.png");
}

i.developments {
    background-image: url("../assets/images/developments.png");
}

i.implementation {
    background-image: url("../assets/images/implementation.png");
}

i.support {
    background-image: url("../assets/images/support.png");
}

.hidden {
    opacity: 0;
}

.write {
    text-align: center;
    color: #fff;
    margin: auto;
    width: 100%;
    font-weight: 600;
    font-size: 80px;
}

.write .space {
    position: relative;
    bottom: 0;
    right: -20px;
}

@media (max-width: 680) {
    .write {
        font-size: 34px;
    }
}

section#inicio {
    display: grid;
    padding: 0;
    background: #101010;
    height: 100vh;
    z-index: 10;
    position: relative;
}

section#inicio .content {
    width: 40%;
    position: absolute;
    height: 100vh;
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 20px;
    padding: 60px 0;
    justify-self: center;
}

section#inicio .content img {
    width: 240px;
    justify-self: center;
}

section#inicio .background {
    background: rgba(0, 0, 0, 0.6);
    width: 100%;
    position: absolute;
    height: 100vh;
}

section#inicio video {
    height: 100vh;
    width: 100%;
    object-fit: cover;
}

section#inicio .content a.arrow {
    box-sizing: border-box;
    height: 38px;
    width: 38px;
    border-style: solid;
    border-color: white;
    border-width: 0px 2px 2px 0px;
    transform: rotate(45deg);
    justify-self: center;
    transition: .5s;
}
  
.content {
    display: grid;
    margin: 0 auto;
    width: 80%;
}

section#empresa .content {
    grid-template-columns: repeat(2, 1fr);
    padding: 80px 0;
}

section#empresa .content .business {
    width: 80%;
    justify-self: left;
}

section#empresa .content .business .data {
    position: sticky;
    top: 120px;
}

section#empresa .content .business .data img {
    width: 280px;
}

section#empresa .content .business .data h2 {
    font-size: 34px;
    color: #171E43;
}

section#empresa .content .items {
    width: 80%;
    justify-self: right;
}

section#empresa .content .items li {
    padding: 0 0 80px 0;
    display: grid;
    grid-template-columns: 48px 1fr;
    border-left: 1px solid #ccc;
    position: sticky;
    top: 120px;
    background: #fff;
}

section#empresa .content .items li i {
    width: 24px;
    height: 24px;
    padding: 20px;
    margin: 0 0 0 -35px;
    border: 1px solid #101010;
    border-radius: 50%;
    background-size: 48px;
    background-color: #fff;
    box-sizing: content-box;
}

section#empresa .content .items li .data h4 {
    color: #171E43;
    font-size: 24px;
    padding: 20px 0 0 0;
    margin: 0;
}

section#empresa .content .items li .data p,
section#empresa .content .business .data p,
section#servicios .content .data p {
    color: #343537;
    font-size: 1rem;
    line-height: 1.8;
    padding: 12px 0;
    margin: 0;
}

section.work {
    overflow: hidden;
    position: sticky;
    top: 20vh;
    height: 2250px;
}

section.work .content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    background: #fff;
    border-radius: 8px;
    padding: 20px 40px;
    color: #343537;
    height: 60vh;
    align-items: center;
    border: 1px solid #343537;
}

section.work .content .data h2 {
    font-size: 60px;
    margin: 0;
}

section.work .content .items {
    height: 40vh;
    overflow: hidden;
}

section.work .content .items li {
    padding: 30px;
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 20px;
    border-radius: 8px;
    background: #deeffe;
    margin: 20px 0;
}

section.work .content .items li i {
    width: auto;
    height: auto;
    filter: invert(1);
    background-color: burlywood;
    border-radius: 50px;
    padding: 25px;
    background-size: 50%;
}

section.work .content .items li p {
    margin: 0;
    font-size: 24px;
    font-weight: 500;
    align-content: center;
}

section#servicios {
    background: #101010;
    color: #fff;
    position: relative;
    z-index: 1;
    padding: 0 0 20vh 0;
    overflow-x: hidden;
}

section#servicios h2 {
    font-size: 210px;
    line-height: 250px;
    text-transform: uppercase;
    text-align: center;
    height: 100vh;
    padding: 100vh 0;
}

section#servicios h2 span {
    color: orangered;
}

section#servicios .content .items {
    display: grid;
    padding: 0;
    margin: 0;
}

section#servicios .content .items li {
    height: 100vh;
    position: sticky;
    top: 0;
    background: #101010;
    align-content: center;
    justify-items: center;
}

section#servicios .content .items li .box {
    background: #202020;
    border-radius: 10px;
    width: 80%;
    padding: 80px;
}

section#servicios .content .items li .box .top {
    display: grid;
    grid-template-rows: repeat(2, auto);
    gap: 20px;
}

section#servicios .content .items li .box .top .icon {
    background: #000;
    padding: 12px;
    border-radius: 50%;
    align-self: center;
    width: max-content;
}

section#servicios .content .items li .box .top .icon i {
    filter: invert(1);
    width: 48px;
    height: 48px;
}

section#servicios .content .items li .box .top h4 {
    font-size: 34px;
    color: #fff;
    margin: 5px 0;
}

section#servicios .content .items li .box p {
    color: rgba(255,255,255,0.59);
    line-height: 1.8;
    font-size: 18px;
}

section#servicios .tecnology {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    width: 100%;
    position: sticky;
    white-space: nowrap;
    top: 40px;
    background: orangered;
    transform: rotate(5deg);
}

section#servicios .tecnology:last-child {
    background: royalblue;
    transform: rotate(-2deg);
}

section#servicios .tecnology .data {
    display: inline-block;
    white-space: nowrap;
    animation: move-tecnology-lt 25s linear infinite;
}

section#servicios .tecnology:last-child .data {
    animation: move-tecnology-rt 25s linear infinite;
}

section#servicios .tecnology .data span {
    display: inline-block;
    padding: 0 2rem;
    font-size: 120px;
    font-weight: bold;
    color: #101010;
    text-transform: uppercase;
}

@keyframes move-tecnology-lt {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes move-tecnology-rt {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

section.choose {
    background: #000;
    padding: 80px 0;
    position: relative;
    z-index: 1;
    display: grid;
    align-content: center;
    height: 100vh;
}

section.choose .content {
    grid-template-rows: auto 1fr;
}

section.choose .content .data {
    padding: 0 0 40px 0;
    border-bottom: 1px solid #404040;
}

section.choose .content .data h2 {
    font-size: 38px;
    color: royalblue;
}

section.choose .content .data p {
    color: #fff;
    font-size: 20px;
    line-height: 1.8;
}

section.choose .content .items {
    gap: 20px;
    padding: 40px 0 0 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
}

section.choose .content .items li {
    display: grid;
    grid-template-columns: 48px 1fr;
    grid-template-rows: auto 1fr;
    grid-template-areas:
        "item-icon item-name"
        "item-description item-description";
    flex: 0 0 32%;
}

section.choose .content .items li i {
    filter: invert(1);
    width: 34px;
    height: 34px;
    grid-area: item-icon;
}

section.choose .content .items li h4 {
    font-size: 18px;
    color: #fff;
    margin: 0;
    align-content: center;
    font-weight: 600;
}

section.choose .content .items li p {
    font-size: 17px;
    line-height: 1.8;
    color: gray;
    grid-area: item-description;
    display: none;
}

section.customers {
    background: #fff;
    height: 100vh;
    position: relative;
    z-index: 1;
    align-content: center;
    overflow-x: hidden;
}

section.customers .content {
    width: 100%;
}

section.customers .content .top {
    text-align: center;
    padding: 0 0 80px 0;
}

section.customers .content .top h2 {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    font-size: 48px;
    margin: 0;
}

section.customers .content .top.animated h2:last-of-type {
    animation: reveal 6s;
}

section.customers .content .top.animated h2:last-of-type span {
    font-size: 48px;
    color: royalblue;
    width: 620px;
}

@keyframes reveal {
    0% {
        opacity: 0;
        width: 0px;
    }

    20% {
        opacity: 1;
        width: 0px;
    }

    30% {
        width: 620px;
    }

    80% {
        opacity: 1;
    }

    100% {
        opacity: 1;
        width: 620px;
    }
}

section.customers .content .box {
    width: 80%;
    margin: 0 auto;
    border: 1px dashed #ccc;
    border-radius: 5px;
    display: grid;
    overflow-x: hidden;
}

section.customers .content .box .items {
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow: hidden;
    width: 150%;
}

section.customers .content .box .items ul {
    display: flex;
    position: relative;
    white-space: nowrap;
    padding: 0;
    margin: 0;
    border-top: 1px dashed #ccc;
}

section.customers .content .box .items ul:first-child {
    border: none;
}

section.customers .content .box .items ul li {
    width: 100%;
    height: 150px;
    object-fit: contain;
    aspect-ratio: 1/1;
    mix-blend-mode: color-burn;
    margin: 0;
    padding: 14px;
    border-left: 1px dashed #ccc;
}

section.customers .content .box .items ul li img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    aspect-ratio: 1/1;
    mix-blend-mode: color-burn;
    filter: grayscale(1);
    transition: .5s;
}

section.customers .content .box .items ul li:hover img {
    filter: none;
}

footer#contacto {
    position: sticky;
    top: 0;
    display: grid;
    z-index: 1;
    align-content: center;
    background: #fff;
    padding: 40px 0 0 0;
}

footer#contacto .data {
    height: 100vh;
    align-content: center;
    position: sticky;
    top: 0;
    background-color: #1f252d;
}

footer#contacto .data h2 {
    background-image: linear-gradient(90deg, #ea41fe, #0ff2fe);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 120px;
    text-align: center;
    margin: 0;
}

footer#contacto .contact {
    position: relative;
    background-color: #1f252d;
}

footer#contacto .contact .content {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    row-gap: 80px;
    column-gap: 20px;
    grid-template-areas:
        "contact-lt contact-rt"
        "contact-buttons contact-buttons";
    z-index: 1;
    position: relative;
    color: #fff;
    align-content: center;
    height: 100vh;
}

footer#contacto .contact .content .lt {
    grid-area: contact-lt;
}

footer#contacto .contact .content .rt {
    grid-area: contact-rt;
}

footer#contacto .contact .content .lt h2,
footer#contacto .contact .content .rt h2,
footer#contacto .contact .content .buttons h2 {
    font-weight: 400;
}

footer#contacto .contact .content .buttons {
    grid-area: contact-buttons;
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 40px;
    border-top: 1px solid #4b5460;
    padding: 40px 0 0 0;
}

footer#contacto .contact .content .lt h2 strong,
footer#contacto .contact .content .rt h2 strong,
footer#contacto .contact .content .buttons h2 strong {
    font-weight: bold;
}

footer#contacto .contact .content .buttons h2 {
    text-align: center;
}

footer#contacto .contact .content .buttons h2 strong {
    position: relative;
}

footer#contacto .contact .content .buttons h2 strong svg {
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100%;
}

footer#contacto .contact .content .buttons .items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: center;
}

footer#contacto .contact .content .buttons .items a {
    display: grid;
    grid-template-columns: 48px auto;
    align-items: center;
    gap: 20px;
}

footer#contacto .contact .content .buttons .items a i {
    filter: invert(1);
    width: 48px;
    height: 48px;
}

footer#contacto .contact .content .buttons .items a p {
    margin: 0;
    font-size: 24px;
    color: #fff;
    font-weight: 500;
}

footer#contacto .contact .content .copy {
    position: absolute;
    text-align: center;
    font-size: 14px;
    bottom: 40px;
    width: 100%;
}

footer#contacto .contact .content img.logo {
    position: absolute;
    justify-self: center;
    width: 280px;
    top: 40px;
}

section.phrase {
    width: 100%;
    padding: 60px 0;
    background: royalblue;
    display: grid;
    position: relative;
}

section.phrase .content {
    grid-template-columns: repeat(2, 1fr);
    align-content: center;
}

section.phrase .content .lt p,
section.phrase .content .lt strong {
    color: #fff !important;
}

section.phrase .content .lt {
    float: left;
    padding: 0 0 0 20px;
    border-left: 5px solid cornflowerblue;
}

section.phrase .content .lt p,
section.phrase .content .lt strong {
    font-size: 34px;
    width: 100%;
    line-height: 50px;
    text-align: left;
    margin: 0;
}

section.phrase .content .lt strong {
    font-weight: bold;
}

section.phrase .content .rt {
    text-align: right;
    align-content: center;
}

section.phrase .content .rt a {
    margin: 0 0 0 12px;
}

section.phrase .content .rt a img {
    width: 24px;
    filter: invert(1);
}

@media screen and (min-width: 681px) and (max-width: 1120px) {
    .write {
        font-size: 48px !important;
    }

    section#empresa .content .items li .data h4 {
        font-size: 18px !important;
    }

    section#empresa .content .items li .data p, section#empresa .content .business .data p, section#servicios .content .data p {
        font-size: 14px !important;
    }

    section#empresa .content .business .data img {
        width: 180px !important;
    }

    section#empresa .content .business .data h2 {
        font-size: 24px !important;
    }

    section#empresa .content .items li i {
        width: 18px !important;
        height: 18px !important;
        padding: 18px !important;
    }

    section.work .content .data h2 {
        font-size: 34px !important;
    }

    section.work .content .items li p,
    section.choose .content .items li h4 {
        font-size: 14px !important;
    }

    section.work .content .items li {
        padding: 20px !important;
    }

    section#servicios h2 {
        font-size: 120px !important;
        line-height: 150px !important;
        height: auto !important;
        padding: 80px 0 !important;
    }

    section#servicios .content .items li .box .top h4 {
        font-size: 24px !important;
    }

    section#servicios .content .items li .box p {
        font-size: 15px !important;
    }

    section#servicios .content .items li .box {
        padding: 40px !important;
    }

    section#servicios .content .items li .box .top .icon i {
        width: 34px !important;
        height: 34px !important;
    }

    section.choose .content .data p {
        font-size: 16px !important;
    }

    section.customers .content .top h2::before {
        content: "Nuestros ";
    }

    section.customers .content .top h2:last-child {
        display: none;
    }

    footer#contacto .data h2 {
        margin: 0 auto !important;
        width: 90% !important;
        font-size: 80px !important;
    }

    footer#contacto .contact .content .lt p,
    footer#contacto .contact .content .rt p {
        line-height: 1.8;
    }

    section.choose {
        height: auto !important;
    }

    section.customers {
        height: auto !important;
        padding: 80px 0 !important;
    }

    section.customers .content .top {
        padding: 0 0 40px 0 !important;
    }

    footer#contacto .data {
        height: auto !important;
        padding: 80px 0 !important;
    }

    footer#contacto .contact .content {
        grid-template-rows: auto repeat(2, 1fr) auto !important;
        grid-template-areas:
            "contact-logo contact-logo"
            "contact-lt contact-rt"
            "contact-buttons contact-buttons"
            "contact-copy contact-copy";
        height: auto !important;
        padding: 80px 0 !important;
    }

    footer#contacto .contact .content img.logo {
        position: relative !important;
        top: auto !important;
        grid-area: contact-logo;
    }

    footer#contacto .contact .content .copy {
        position: relative !important;
        bottom: 0 !important;
        grid-area: contact-copy;
    }

    footer#contacto .contact .content .buttons .items {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-template-rows: repeat(2, 1fr) !important;
        column-gap: 20px !important;
        row-gap: 40px !important;
    }

    section#servicios .content .items {
        gap: 20px !important;
    }

    section#servicios .content .items li {
        height: auto !important;
        position: relative !important;
        top: 0 !important;
    }

    header .content {
        grid-template-columns: 180px auto !important;
    }

    header .content nav {
        text-align: right;
    }

    header .content nav a {
        font-size: 14px !important;
        padding: 0 10px !important;
    }

    header .content .contact {
        display: none !important;
    }
}
