:root {
    --main-color: #ff9300;
    --secondary-color: #4ea72e;
    --negative-color: #9b2f2f;
     --black-color: black; /* #0a0a0a; */
    --gray-color: #a5a5a5;
    --gray-bg-color: rgba(255, 255, 255, 0.05);
    --main-font: Arial, sans-serif;
    --base-font-size: 18px;

    --animation-beizer: cubic-bezier(0,.37,0,1.01);

    --underline-thickness: 3px;
}

html {
    scroll-behavior: smooth;
    box-sizing: border-box;
    font-size: var(--base-font-size);
    background-color: var(--black-color) !important;
}
body {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    position: relative;
    font-size: var(--base-font-size);
    background-color: var(--black-color) !important;
}

/* DEBUG */

/* * {
    border: 1px solid white;
    box-sizing: border-box;
} */

/* GENERALES */

.main-color {
    color: var(--main-color);
}

.main-color-bg {
    background-color: var(--main-color);
}

.secondary-color {
    color: var(--secondary-color) !important;
}

.secondary-color-bg {
    background-color: var(--secondary-color);
}

.section-padding {
    padding: 3rem 14rem;
}

ul {
    list-style: none;
}

section {
    box-sizing: border-box;
}

p {
    color: var(--gray-color);
}

.p-highlight {
    color: rgba(255, 255, 255, 0.884);
}

h4, h5 {
    color: var(--main-color) !important;
}

.h3-sub-height {
    min-height: 2.3rem;
}

.h5-grande {
    font-size: 1.6rem;
}

h6 {
    color: var(--gray-color) !important;
}

a {
    color: white !important;
    text-decoration: none !important;
}

button {
    outline: none;
    border: none;
    background-color: transparent;
}

.oculto {
    display: none !important;
}

.no-visible {
    visibility: hidden;
}

.section-separator {
    width: 50vw;
    height: 3px;
    background-color: var(--gray-color);
    opacity: 0.1;
    margin: 4rem auto;
}

.dots-decoration-wrapper {
    width: 100%;
    height: 15rem;
    margin-bottom: -10rem;
    pointer-events: none;
}

.dots-decoration {
    position: relative;
    top: 1rem;
    right: 0;
    height: 100%;
    max-width: 70vw;
    opacity: 0.2;
    background-image: url(../svg/dots-1.svg);
    background-repeat: no-repeat;
    background-position: bottom right;
    pointer-events: none;
}

.dots-decoration.dots-inverted {
    right: auto;
    top: -1rem;
    left: 0;
    background-image: url(../svg/dots-2.svg);
    background-position: top left;
}

/* Subrayado */

.subrayado-dinamico, .subrayado-dinamico-texto {
    --starting-width: 40%;
    --thickness: var(--underline-thickness);
    background: linear-gradient(var(--main-color) 0 0) 
    bottom left/
    var(--underline-width, var(--starting-width)) var(--thickness)
    no-repeat;
    display: inline-block;
    text-decoration: none;
    transition: background-size 0.25s var(--animation-beizer);
}

.subrayado-dinamico.sec-color, .subrayado-dinamico-texto.sec-color {
    background: linear-gradient(var(--secondary-color) 0 0) 
    bottom left/
    var(--underline-width, var(--starting-width)) var(--thickness)
    no-repeat;
}

.subrayado-dinamico.subrayado-min-0, .subrayado-dinamico-texto.subrayado-min-0 {
    --starting-width: 0%;
}

.subrayado-dinamico-texto {
    text-shadow: 0 0 1px var(--black-color), 0 0 1px var(--black-color), 0 0 1px var(--black-color), 0 0 1px var(--black-color);
}

.subrayado-dinamico:hover, .subrayado-dinamico-texto:hover,
.subrayado-dinamico-trigger:hover .subrayado-dinamico,
.subrayado-dinamico-trigger:hover .subrayado-dinamico-texto {
    --underline-width: 70%;
}

.subrayado-dinamico.subrayado-max-100:hover, .subrayado-dinamico-texto.subrayado-max-100:hover,
.subrayado-dinamico-trigger:hover .subrayado-dinamico.subrayado-max-100,
.subrayado-dinamico-trigger:hover .subrayado-dinamico-texto.subrayado-max-100 {
    --underline-width: 100%;
}

.subrayado-fino {
    --thickness: calc(var(--underline-thickness) / 2);
}

.separador-subrayado {
    width: 100%;
    height: var(--underline-thickness);
    margin: 0.8rem 0;
}

/* ELEMENTOS HTML */

#web-wrapper {
    width: calc(100% - 1px);
    max-width: calc(100% - 1px);
    min-height: 100vh;
    overflow: hidden;
    box-sizing: border-box;
    background-color: var(--black-color) !important;

    font-family: var(--main-font);
    /* font-weight: 400; Jet Brains Mono Extra Light */
}

/* NAVBAR */

#navbar-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    box-sizing: border-box;
}

#nav-logo-mobile {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    width: 6rem;
    height: 6rem;
    transform: translateX(-50%);
}

nav {
    pointer-events: all;
    gap: 0;
}

.nav-li a {
    width: 7rem;
    padding: 0;
    margin: 0;
    text-wrap: nowrap;
}

nav.open {
    overflow: hidden;
}

#navbar-ul {
    display: none;
    gap: 1rem;
    margin-top: -8rem;
}

nav.open #navbar-ul {
    display: flex;
}

a.nav-link {
    font-family: var(--font-main);
    font-size: 1.6rem;
    /* text-transform: uppercase; */
    font-weight: 100;
}

.nav-link:hover {
    text-decoration: underline;
}

nav.open {
    padding-top: 0;
    margin-top: 0;
}

nav.open #navbar-content {
    display: flex;
    background-color: var(--black-color);
    height: 100vh;
    width: 30vw;
    flex: auto;
    flex-grow: inherit;
}

#nav-burger {
    width: 50px;
    height: 40px;
    /* position: relative; */
    position: absolute;
    top: 3rem;
    right: 2rem;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
    z-index: 20;
}

#nav-burger > span {
    display: block;
    position: absolute;
    height: 4px;
    width: 100%;
    background: white;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}

nav.open > #nav-burger > span {
    background: white;
    opacity: 0.8;
}

#nav-burger > span:nth-child(1) {
    top: 0px;
}

#nav-burger > span:nth-child(2), #nav-burger > span:nth-child(3) {
    top: 16px;
}

#nav-burger > span:nth-child(4) {
    top: 32px;
}

#nav-burger.open > span:nth-child(1) {
    top: 16px;
    width: 0%;
    left: 50%;
}

#nav-burger.open > span:nth-child(2) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

#nav-burger.open > span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

#nav-burger.open > span:nth-child(4) {
    top: 16px;
    width: 0%;
    left: 50%;
}

/* HEADER */

header {
    background-image: url(../img/bg/bg-1-desktop.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

/* QUIENES SOMOS */

.quienes-somos-integrante {
    min-width: 25%;
}

.integrante-bio-fondo {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    width: 100vw;
    height: 100%;
    background-color: var(--gray-bg-color);
}

.integrante-seleccionado-linea {
    position: absolute;
    left: 0;
    bottom: -61px;
    height: 5px;
    width: 100%;
    background-color: var(--gray-color);
}

.integrante-nombre {
    text-transform: uppercase;
    letter-spacing: .4rem;
}

.integrante-ocupacion {
    font-size: 1rem;
    color: var(--gray-color) !important;
}

.integrante-ocupacion-2 {
    text-transform: uppercase;
}

.integrante-img-wrapper {
    max-width: 300px;
    
}

.integrante-img {
    max-width: 100%;
    max-height: 300px;
    border-radius: 1.5rem;
}

.integrante-bio-img {
    width: 100%;
    max-width: 300px;
    max-height: 300px;
}

.integrante-btn {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: .5rem;
    transition: background-color .15s ease-out;
}

.integrante-btn:active {
    background-color: rgba(255, 255, 255, 0.05);
    transition: none;
}

/* QUÉ HACEMOS */

#que-hacemos {
    background-image: url(../img/bg/bg-2-desktop.jpg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: top center;
}

#problema-lista {
    list-style: disc;
    list-style-position: inside;
}

.problema-li {
    flex-basis: 50%;
    padding: 1rem;
    border-radius: .5rem;
    box-sizing: border-box;
    color: var(--negative-color);
}

/* METODOLOGÍA */

#metodologia {
    background-image: url(../img/bg/bg-2-alt-desktop.jpg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: top center;
}

.metodologia-overview-paso-titulo {
    border-radius: 10px;
    background-color: white;
    padding: .5rem 1rem;
    margin: 0;
    color: var(--black-color);
    font-size: 1.5rem;
    letter-spacing: .1rem;
}

.metodologia-overview-paso-semanas {
    position: absolute;
    left: 50%;
    bottom: -3rem;
    transform: translateX(-50%);
    white-space: nowrap;
}

.linea-puntos-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    padding: 0 .25rem;
    position: relative;
}

.linea-puntos {
    width: 100%;
    border-bottom: 2px dotted white;
}

.linea-puntos.grande {
    border-bottom: 4px dotted white;
}

.linea-puntos-subrayado {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: var(--underline-thickness);
    transform: translateY(-50%);
}

.sprint-link {
    display: block;
    border-radius: .5rem;
    padding: 1rem 2rem;
}

.sprint-link:hover {
    background-color: var(--gray-bg-color);
}

.sprint-header {
    position: relative;
    overflow: hidden;
    background-color: var(--gray-bg-color);

    background-image: url(../svg/logo-cropped.svg);
    background-repeat: no-repeat;
    background-position: center right;
}

#sprint-intro-header {
    font-weight: bold;
    background-image: none;
}

#sprint-intro-header::after {
    display: none;
}

.sprint-content {
    background-image: url(../img/bg/bg-3-desktop.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
}

.sprint-objectivo-icono {
    width: 50px;
    height: 50px;
}

.sprint-paso {
    position: relative;
}

.sprint-paso::after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    right: -49px;
    width: 30px;
    height: 30px;
    background-image: url(../svg/flecha.svg);
    background-repeat: no-repeat;
    transform: translateY(-50%);
}

#sprint-ultimo-paso::after {
    display: none;
}

#end-metodologia {
    width: 100%;
    height: 6px;
    margin-top: 0;
}

/* SERVICIOS */

#servicios {
    background-image: url(../img/bg/bg-2-desktop.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
}

.span-extra-line {
    visibility: hidden;
}

.servicio-subtitulo {
    min-height: 4rem;
}

.digital-t-parrafo {
    min-height: 120px;
}

.digital-t-img {
    width: 100%;
}

/* CONTACTO */

.contacto-lista-item {
    font-size: 1.2rem; 
}

/* CUSTOM ANIMATION */

.custom-fadeInUp-animation {
    opacity: 0;
    animation: 0.5s fadeInUp;
    animation-fill-mode: forwards;
}

@keyframes customFadeInUp {
  0% {
    transform: translateY(100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0%);
    opacity: 1;
  }
}

/* MEDIA QUERY */

@media(max-width: 1200px) {
    #nav-logo-mobile {
        width: 8rem;
        height: 8rem;
        bottom: 4rem;
    }

    nav.open #navbar-content {
        padding-bottom: 20vh;
    }

    #navbar-ul {
        gap: 2rem;
    }

    .sprint-header {
        background-image: url(../svg/logo-cropped-mobile.svg);
        background-position: top right;
    }

    .sprint-header > h2 {
        padding-right: 35%;
    }
}

@media(max-width: 1000px) {
    nav.open #navbar-content {
        width: auto;
        flex: 100%;
        flex-grow: 1;
        justify-content: center;
    }

    #navbar-ul {
        margin-top: 0;
        padding-left: 0 !important;
        gap: 3.5rem;
    }

    .nav-li a.nav-link {
        display: flex;
        justify-content: center;
    }
}

@media(max-width: 992px) {
    html, body {
        font-size: 16px;
    }

    .no-mobile {
        display: none;
    }

    .section-padding {
        padding: 3rem 2rem;
    }

    header {
        background-image: url(../img/bg/bg-1-mobile.jpg);
    }

    #que-hacemos {
        background-image: url(../img/bg/bg-2-mobile.jpg);
    }

    #metodologia {
        background-image: url(../img/bg/bg-2-alt-mobile.jpg);
    }

    #metodologia-overview {
        padding: 0;
    }

    #metodologia-overview-intro {
        padding: 0rem 2rem;
    }

    #metodologia-pasos {
        padding: 3rem 2rem;
        padding-bottom: 0rem;
    }

    .sprint-content {
        background-image: url(../img/bg/bg-3-mobile.jpg);
    }

    .section-separator {
        width: 75vw;
    }

    .integrante-seleccionado-linea {
        bottom: 0px;
        margin: 0 auto;
    }

    .problema-li {
        padding-left: 0;
    }

    .metodologia-overview-paso-semanas {
        position: inherit;
        top: 0;
        left: 0;
        transform: none;
        text-align: center;
    }

    .linea-puntos.linea-paso {
        height: 120px;
    }

    .linea-puntos.grande {
        border-bottom: none;
        border-right: 4px dotted white;
    }

    .sprint-paso::after {
        top: auto;
        bottom: -40px;
        right: 50%;
        transform: translateX(50%) rotate(90deg);
    }

    #servicios {
        background-image: url(../img/bg/bg-2-mobile.jpg);
    }

    .servicio-subtitulo {
        min-height: auto;
    }

    .digital-t-parrafo {
        min-height: auto;
    }
}

@media(max-width: 768px) {
    #navbar-ul {
        gap: 2rem;
    }
}