:root {

    /**
   * coloress
   */

    --white: hsl(0, 0%, 100%);
    --black: hsl(0, 0%, 0%);
    --blue: #0cc0df;
    --grey: #141414;

    /**
   * tipografia
   */

    --ff-montserrat: "Montserrat", sans-serif;
    --ff-space: "Space Grotesk", sans-serif;

    --headline-lg: 5rem;
    --headline-md: 3rem;
    --headline-sm: 2rem;
    --title-lg: 1.8rem;
    --title-md: 1.5rem;
    --title-sm: 1.4rem;

    --fw-500: 500;
    --fw-700: 700;



    --section-padding: 120px;



    --shadow-1: 0px 2px 20px hsla(209, 36%, 72%, 0.2);
    --shadow-2: 0 4px 16px hsla(0, 0%, 0%, 0.06);



    --radius-circle: 50%;
    --radius-12: 12px;
    --radius-6: 6px;
    --radius-4: 4px;

    /**
   * transition
   */

    --transition-1: 0.25s ease;
    --transition-2: 0.5s ease;
    --transition-3: 1s ease;
    --cubic-in: cubic-bezier(0.51, 0.03, 0.64, 0.28);
    --cubic-out: cubic-bezier(0.05, 0.83, 0.52, 0.97);

}

/*-----------------------------------*\
  #SERVICIOS
\*-----------------------------------*/

body {
    background-color: var(--black);
    color: #fff;
}


.tarjetas-servicios-section {
    overflow: hidden;
    overflow-y: hidden;
    height: 100vh;
    padding-top: 0px !important;
    border-radius: 40px;
}

.tarjetas-container {
    position: relative
}

.tarjeta {
    width: 100%;
    height: 65vh;
    position: absolute;
    left: 0;
    right: 0;
    margin-inline: auto;
    padding-top: 15px;
    background-color: var(--black);
    backdrop-filter: blur(100%);
    -webkit-backdrop-filter: blur(100%);
    margin-top: 40px;
    padding-inline: 3rem;
}

.tarjeta1 {
    position: relative;
    border-radius: 20px 20px 0 0;
}

/* .tarjeta2 {
    top: 57%;
    z-index: 2;
    border-top: 1px solid #fff;
}

.tarjeta3 {
    top: 66%;
    z-index: 3;
    border-top: 1px solid #fff;
}

.tarjeta4 {
    top: 75%;
    z-index: 4;
    border-top: 1px solid #fff;
}

.tarjeta5 {
    top: 84%;
    z-index: 4;
    border-top: 1px solid #fff;
    border-radius: 0 0 20px 20px;
} */

.tarjeta2 {
    top: 79%;
    z-index: 2;
    border-top: 1px solid #fff;
}

.tarjeta3 {
    top: 93%;
    z-index: 3;
    border-top: 1px solid #fff;
}

.tarjeta4 {
    top: 106%;
    z-index: 4;
    border-top: 1px solid #fff;
}

.tarjeta5 {
    top: 119%;
    z-index: 4;
    border-top: 1px solid #fff;
}

.tarjeta h2 {
    font-family: var(--ff-space);
    font-weight: 400;
    color: var(--blue);
    font-size: 15px;
}

.flex-card-container {
    display: flex;
    margin-top: 10px;
}

.text-side-card {
    width: 65%;
}

.text-side-card p {
    /* white-space: pre-line; */
    font-size: 12px;
    line-height: 17px;
    width: 70%;
}

.text-side-card p span {
    font-weight: 700;
}

.img-side-card {
    width: 35%;
}

.img-side-card img {
    width: 100%;
    margin-top: -30px;
    transform: scale(0.7);
}

.tarjeta1 img {
    transform: scale(1);
}

.text-side-card h3 {
    font-weight: 700;
    font-size: 13px;
    margin-top: 25px;
}

.tags-marquee {
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: hidden;
    margin-block: 14px;
    width: 85%;
}

.marquee-row {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    position: relative;
}

.track {
    display: inline-flex;
    gap: 20px;
    animation: scroll var(--speed, 50s) linear infinite;
}

.reverse .track {
    animation-direction: reverse;
}

.tag {
    border: 1px solid white;
    border-radius: 999px;
    padding: 9px 23px;
    font-size: 9px;
    white-space: nowrap;
    flex-shrink: 0;
    color: white;
    text-transform: uppercase;
}

@keyframes scroll {
    0% {
        transform: translateX(0%);
    }

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

.text-highlighting-section h2 {
    text-align: center;
    font-weight: 300;
    font-size: 35px;
}

.text-highlighting-section h2 span {
    font-weight: 500;
}

.text-highligh {
    text-align: center;
    line-height: 25px;
    font-family: var(--ff-space);
    margin-top: 40px;
}

.hero-section {
    padding-bottom: 0 !important;
}

.text-highligh p {
    background: linear-gradient(to right,
            rgb(255, 255, 255) 50%,
            rgb(37, 37, 37) 50%);
    background-size: 200% 100%;
    background-position-x: 100%;
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    line-height: 1.4;
    font-size: 18px;
}

.text-highligh p span {
    font-weight: 600;
}

.text-highlighting-section {
    padding-block: 0px !important;
    margin-top: 100px;
}

.text-zaphi-side {
    width: fit-content;
}

.text-zaphi-side h2 {
    font-size: 35px;
    white-space: pre-line;
    font-weight: 300;
    line-height: 40px;
}

.text-zaphi-side h2 span {
    font-weight: 500;
}

.resultados-zaphi-container {
    border: 1px solid var(--white);
    width: fit-content;
    padding: 40px;
    border-radius: 20px;
    line-height: 22px;
    position: relative;
    margin-top: 60px;
    margin-inline: auto;
}

.resultado {
    display: flex;
    align-items: baseline;
    gap: 15px;
}

.resultado svg {
    width: 12px;
    min-width: 12px;
    transform: rotate(45deg);
}

.resultado p {
    font-family: var(--ff-space);
    font-size: 18px;
}

.resultado-absolute-text {
    color: var(--blue);
    border: 1px solid var(--blue);
    width: fit-content;
    padding: 10px 30px;
    border-radius: 40px;
    font-weight: 600;
    position: absolute;
    top: -25px;
    right: -20px;
    background-color: var(--black);
}

.card-zaphi-side {
    width: 40%;
}

.project-card {
    background-color: hsl(0, 0%, 8%, .3);
    padding-top: 10px;
    padding-bottom: 20px;
    padding-inline: 20px;
    border-radius: 20px;
    backdrop-filter: blur(100%);
    -webkit-backdrop-filter: blur(100%);
}

.zaphi-section .container {
    display: flex;
    justify-content: center;
    gap: 8rem;
    align-items: center;
}

.titulo-fecha-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.titulo-fecha-card p:first-of-type {
    font-size: 25px;
    font-family: var(--ff-space);
}

.titulo-fecha-card p:last-of-type {
    font-size: 25px;
    color: var(--blue);
    font-family: var(--ff-space);
}

.servicio-project-card a {
    border: 1px solid var(--white);
    width: fit-content;
    padding: 5px 20px;
    background-color: var(--black);
    border-radius: 40px;
    font-family: var(--ff-space);
    transition: all 500ms ease;
}

.servicio-project-card button {
    border: 1px solid var(--white);
    width: fit-content;
    padding: 5px 20px;
    background-color: var(--black);
    border-radius: 40px;
    font-family: var(--ff-space);
    transition: all 500ms ease;
    color: var(--white);
}

.servicio-project-card p {
    border: 1px solid var(--white);
    width: fit-content;
    padding: 5px 20px;
    background-color: var(--black);
    border-radius: 40px;
    font-family: var(--ff-space);
}

.servicio-project-card a:hover {
    background-color: var(--blue);
    color: var(--white);
}

.servicio-project-card a svg {
    width: 10px;
}

.servicio-project-card a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cls-1-app-movil {
    transition: all 500ms ease;
}

.servicio-project-card a:hover .cls-1-app-movil {
    fill: var(--white);
}

.servicio-project-card button:hover {
    background-color: var(--blue);
    color: var(--white);
}

.servicio-project-card a:hover span {
    color: var(--white);
}

.servicio-project-card span {
    color: var(--blue);
    transition: all 500ms ease;
}

.servicios-project-card {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.mas-servicios-container {
    position: absolute;
    z-index: 3;
    background-color: var(--black);
    border: 1px solid var(--white);
    border-radius: 0 20px 20px 20px;
    top: 140%;
    right: -40%;
    display: flex;
    padding-inline: 20px;
    flex-direction: column;
    gap: 10px;
    display: none;
}

.mas-servicios-active {
    display: flex;
    animation: animacionMasServicios .7s ease-in-out forwards;
}

.mas-servicios-deactive {
    animation: animacionMasServiciosDeactive .7s ease-in-out forwards;
}

.mas-servicios-active .servicio-project-card {
    opacity: 0;
}

.mas-servicios-active .servicio-project-card.active {
    animation: animacionContenidoMasServicios .5s ease-in-out forwards;
}

.servicio-project-card.deactive {
    animation: animacionContenidoMasServiciosDeactive .5s ease-in-out forwards;
}

@keyframes animacionMasServicios {
    0% {
        height: 0;
        padding-block: 0;
    }

    100% {
        height: 450%;
        padding-block: 20px;
    }
}

@keyframes animacionMasServiciosDeactive {
    0% {
        height: 450%;
        padding-block: 20px;
    }

    100% {
        height: 0;
        padding-block: 0;
    }
}

@keyframes animacionContenidoMasServicios {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes animacionContenidoMasServiciosDeactive {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}



.servicios-tiempo-card-container {
    margin-top: 10px;
}

.servicios-tiempo-card-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.media-project-card-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.media-square-project-card {
    width: 33.33%;
    height: 250px;
    border: 1px solid var(--white);
    border-radius: 20px;
}

.content-media-square {
    width: 100%;
    height: 100%;
    background-color: var(--blue);
    opacity: .2;
    border-radius: 20px;
}

.tecnologias-section h2 {
    color: var(--blue);
    font-family: var(--ff-space);
    font-weight: 400;
    text-align: center;
}

.tecnologias-section.section {
    padding-block: 0 !important;
}

.tetch-icons-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--white);
    width: fit-content;
    border-radius: 40px;
    padding: 10px 70px;
    gap: 60px;
    margin-inline: auto;
    margin-top: 60px;
}

.tetch-icons-container img {
    width: 100px;
}

.js-icon,
.html-icon,
.css-icon {
    width: 30px !important;
}

.php-icon {
    width: 70px !important;
}

@media (min-width: 300px) and (max-width: 399px) {
    .zaphi-section .container {
        flex-direction: column;
        gap: 4rem;
    }

    .text-zaphi-side h2 {
        width: 80%;
        font-size: 2.8rem;
    }

    .tetch-icons-container {
        padding: 10px 25px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
        gap: 20px;
        left: 0%;
        margin-inline: auto;
    }

    .tetch-icons-container img {
        margin-inline: auto;
        width: 115px;
    }

    .js-icon,
    .html-icon,
    .css-icon {
        width: 40px !important;
    }

    .php-icon {
        width: 87px !important;
    }

    .resultado-absolute-text {
        right: -5px;
    }

    .resultados-zaphi-container{
        width: 280px;
    }
    

    .project-card {
        padding-inline: 20px;
        width: 100%;
    }

    .text-highlighting-section h2 {
        font-size: 30px;
        line-height: 35px;
    }

    .flex-card-container {
        flex-direction: column;
        gap: 4rem;
    }

    .text-side-card {
        width: 100%;
    }

    .text-side-card p {
        white-space: inherit;
        font-size: 10px;
        line-height: 12px;
    }

    .text-side-card p span {
        display: block;
        margin-bottom: 1rem;
    }

    .tags-marquee {
        width: 100%;
        margin-block: 2px;
        gap: 5px;
    }

    .text-side-card h3 {
        margin-top: 10px;
        font-size: 10px;
    }

    .tag {
        font-size: 7px;
        padding: 7px 23px;
    }

    .img-side-card {
        width: 100%;
    }

    .tarjeta h2 {
        font-size: 13px;
    }

    .tarjeta2 {
        top: 80%;
    }

    .tarjeta3 {
        top: 88%;
    }

    .tarjeta4 {
        top: 96%;
    }

    .tarjeta5 {
        top: 104%;
    }

    .tarjeta {
        height: 80vh;
    }

    .tarjetas-servicios-section {
        border-radius: 0;
    }
}

@media (min-width: 400px) and (max-width: 767px) {
    .zaphi-section .container {
        flex-direction: column;
        gap: 4rem;
    }

    .tetch-icons-container {
        padding: 10px 35px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
        gap: 20px;
    }

    .tetch-icons-container img {
        margin-inline: auto;
        width: 115px;
    }

    .js-icon,
    .html-icon,
    .css-icon {
        width: 40px !important;
    }

    .php-icon {
        width: 87px !important;
    }

    .resultado-absolute-text {
        right: -5px;
    }

    .project-card {
        padding-inline: 20px;
        width: 100%;
    }

    .text-highlighting-section h2 {
        font-size: 30px;
        line-height: 35px;
    }

    .flex-card-container {
        flex-direction: column;
        gap: 4rem;
    }

    .text-side-card {
        width: 100%;
    }

    .text-side-card p {
        white-space: inherit;
        font-size: 10px;
        line-height: 12px;
        margin-top: 1rem;
    }

    .text-side-card p span {
        display: block;
        margin-bottom: 1rem;
    }

    .tags-marquee {
        width: 100%;
        margin-block: 2px;
        gap: 5px;
    }

    .text-side-card h3 {
        margin-top: 10px;
        font-size: 10px;
    }

    .tag {
        font-size: 7px;
        padding: 7px 23px;
    }

    .img-side-card {
        width: 100%;
    }

    .tarjeta h2 {
        font-size: 13px;
    }

    .tarjeta2 {
        top: 86%;
    }

    .tarjeta3 {
        top: 93%;
    }

    .tarjeta4 {
        top: 100%;
    }

    .tarjeta5 {
        top: 107%;
    }

    .tarjeta {
        height: 80vh;
    }

    .tarjetas-servicios-section {
        border-radius: 0;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .zaphi-section .container {
        flex-direction: column;
        gap: 5rem;
    }

    .tetch-icons-container {
        width: 100%;
        gap: 40px;
    }

    .project-card {
        width: 70%;
    }

    .flex-card-container {
        align-items: center;
        flex-direction: column;
        gap: 5rem;
    }

    .text-side-card {
        width: 100%;
    }

    .tags-marquee {
        width: 100%;
    }

    .text-side-card p {
        font-size: 15px;
        white-space: inherit;
        margin-top: 1rem;
    }

    .text-side-card h3 {
        font-size: 15px;
    }

    .tag {
        font-size: 11px;
    }

    .img-side-card {
        width: 65%;
    }

    .tarjeta5 {
        top: 890px;
    }

    .tarjeta4 {
        top: 830px;
    }

    .tarjeta3 {
        top: 770px;
    }

    .tarjeta2 {
        top: 710px;
    }

    .tarjetas-servicios-section {
        border-radius: 0;
    }

    .tarjeta {
        height: 800px;
        padding-bottom: 3rem;
    }
}

@media (min-height: 1050px) {
    .tarjetas-servicios-section {
        height: 1027px;
    }
}


@media (min-width: 1400px) {
    .container {
        max-width: 1200px;
    }

    .tarjetas-servicios-section {
        overflow: hidden;
        overflow-y: hidden;
        height: 100vh;
    }

    .tarjeta {
        width: 100%;
        height: 63vh;
        position: absolute;
        left: 0;
        right: 0;
        margin-inline: auto;
        padding-top: 10px;
    }

    .tarjeta1 {
        position: relative;
    }

    .tarjeta2 {
        top: 90%;
        z-index: 2;
        border-top: 1px solid #fff;
    }

    .tarjeta3 {
        top: 102%;
        z-index: 3;
        border-top: 1px solid #fff;
    }

    .tarjeta4 {
        top: 114%;
        z-index: 4;
        border-top: 1px solid #fff;
    }

    .tarjeta5 {
        top: 126%;
        z-index: 4;
        border-top: 1px solid #fff;
    }

    .tarjeta h2 {
        font-family: var(--ff-space);
        font-weight: 400;
        color: var(--blue);
        font-size: 18px;
    }

    .flex-card-container {
        display: flex;
        justify-content: center;
        margin-top: 10px;
    }

    .text-side-card {
        width: 65%;
    }

    .text-side-card p {
        white-space: inherit;
        font-size: 15px;
        line-height: 23px;
    }

    .text-side-card p span {
        font-weight: 700;
    }

    .img-side-card {
        width: 35%;
    }

    .img-side-card img {
        width: 100%;
        margin-top: -30px;
        transform: scale(0.7);
    }

    .tarjeta1 img {
        transform: scale(1);
    }

    .text-side-card h3 {
        font-weight: 700;
        font-size: 15px;
        margin-top: 25px;
    }

    .tags-marquee {
        display: flex;
        flex-direction: column;
        gap: 10px;
        overflow: hidden;
        margin-block: 14px;
        width: 85%;
    }

    .marquee-row {
        overflow: hidden;
        white-space: nowrap;
        width: 100%;
        position: relative;
    }

    .track {
        display: inline-flex;
        gap: 20px;
        animation: scroll var(--speed, 50s) linear infinite;
    }

    .reverse .track {
        animation-direction: reverse;
    }

    .tag {
        border: 1px solid white;
        border-radius: 999px;
        padding: 10px 25px;
        font-size: 11px;
        white-space: nowrap;
        flex-shrink: 0;
        color: white;
    }
}