@font-face {
    font-family: 'Marko'; 
    src: url('fonts/MarkoOne-Regular.woff2') format('woff2'); 
    font-weight: normal; 
    font-style: normal;
}
@font-face {
    font-family: 'WorkSans'; 
    src: url('fonts/WorkSans-VariableFont_wght.woff2') format('woff2'); 
    font-weight: normal; 
    font-style: normal;
}
@font-face {
    font-family: 'WorkSans-black'; 
    src: url('fonts/WorkSans-Black.woff2') format('woff2'); 
    font-weight: bolder; 
    font-style: normal;
}

.loader-text {
    font-size: 30px;
}

::selection {
    background-color: var(--yellow); 
    color: var(--text-dark);     
  }
  
  ::-moz-selection {
    background-color: var(--bg-accent); 
    color: var(--text-dark);     
  }

:root {
    --bg-light: #F8F7F4;
    --bg-dark: #2D2D2D;
    --bg-accent: #C8E68C;
    --text-dark: #2D2D2D;
    --text-light: #F8F7F4;
    --yellow: #FFF3B1;
    --font-serif: 'Marko', serif;
    --font-sans: 'WorkSans', sans-serif;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    background-color: var(--bg-light);
    color: var(--text-dark);
    text-align: center;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 90%;
    margin: 0 auto;
    height: 100vh;
}

h1 {
    font-family: 'WorkSans', sans-serif !important;
    font-size: 120px;
}

h3 {
    font-family: 'WorkSans-black', sans-serif !important;
    font-size: 40px; 
    margin: 0px;
    text-align: left;
}

em {
    font-family: 'Marko', serif;
    font-style: normal;
}

a:hover {
    color: #C8E68C !important;
}

header {
    text-align: left;
    padding: 48px;
    position: absolute;
}

header img {
    max-width: 80%;
    height: auto;
}

.header {
    font-family: var(--font-serif);
    font-size: 2rem;
    line-height: 1.4;
    padding: 0px;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.header h1 {
    font-size: 120px;
    margin: 0px;
    gap: 0.25em;
}

.header h1 {
    font-size: 120px;
    margin: 0px;
 
    display: flex;        
    align-items: center;  
    flex-wrap: wrap;      
    justify-content: center;
}

.header em {
    font-style: normal;
    font-family: 'Marko', serif;
}

.header .cat-lover {
    display: inline-flex;
    align-items: center;
    background-color: var(--bg-accent);
    padding: 25px 35px;
    border-radius: 200px;
    font-family: var(--font-sans);
    font-size: 70px;
    margin: 0 10px;
    vertical-align: middle;
    height: 170px;
    width: 560px;
    justify-content: center;
}

.header .cat-lover img {
    width: 175px;
    height: 127px;
    border-radius: 200px;
    margin-right: 24px;
}


.roles-container {
    display: inline-flex;
    position: relative;  
    vertical-align: middle;
    height: 170px; 
    width: 620px; 
    margin: 0 10px;
}


.role-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-accent);
    padding: 25px 35px;
    font-family: var(--font-sans);
    font-size: 40px;
    box-sizing: border-box;
    gap: 32px;
    border-radius: 200px;
}


.role-item.cat-lover img {
    width: 175px;
    height: 127px;
    border-radius: 200px;
    margin-right: 24px;
}



.contenedor-horizontal {
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center; 
}

.contenido-animado {
    display: flex;
    flex-direction: column; 
    align-items: center;   
}

.texto-largo {
    width: max-content;
    white-space: nowrap;
    font-size: 6vw;
    font-weight: bold;
    color: var(--bg-dark);
    font-family: 'WorkSans-black', sans-serif;
    margin: 0;
    padding: 0;
}

.texto-largo > div {
    display: inline-block;
}

.parrafo-descripcion {
    max-width: 500px;
    margin-top: 40px; 
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-dark);
    opacity: 0; 
}

.cta-work, .services, .footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.services {
     background-color: var(--bg-accent);
     color: var(--text-dark);
     position: relative;
}

.cta-work {
    position: relative;
}

.cta-work h2 {
    font-family: var(--font-serif);
    font-size: 3rem;
    margin: 0;
}

.cta-work .container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.work {
    display: flex;
    gap: 17%;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.cuadro {
    cursor: pointer;
}

.container-do {
    display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 12%;
        position: relative; 
        padding-bottom: 5%;
}

.services h1 {
    font-family: 'WorkSans-black', sans-serif !important;
}

.services h2 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    margin-top: 0;
    margin-bottom: 40px;
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 78px;
    align-items: center;
    height: auto;
}



.service-card div {
    background-color: var(--bg-light);
    padding: 25px;
    transform: rotateZ(7deg);
    border-radius: 24px;
    width: 290px;
    max-width: 290px;
    display: flex;
        flex-direction: column;
        justify-content: flex-end;
}

.service-card .dark {
    background-color: var(--bg-dark);
    color: var(--text-light);
    transform: rotateZ(-7deg);
}

.service-card h3 {
    font-family: var(--font-serif);
    margin-top: 78px;
    border-bottom: 2px solid var(--bg-dark);
    padding-bottom: 18px;
}

.service-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
    font-size: 24px;
}

.service-card ul li {
    margin-bottom: 10px;
}

.icon {
    font-size: 2rem;
    margin-top: 40px;
    position: absolute;
    bottom: -13%; 

    left: 50%;
    transform: translateX(-50%);
}

.footer {
    height: 90vh;
    background-color: var(--bg-light) !important;
    display: flex;
    align-items: center;
    position: relative;
}

.footer .container {
    padding: 20px 0;
    height: auto !important;
    background-color: var(--bg-dark);
    color: var(--bg-light);
    width: 100% !important;
    position: relative;
    z-index: 99;
}

.footer-nav a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.2rem;
    margin: 0 15px;
    font-family: var(--font-serif);
}

.flair {
    position: fixed;
    opacity: 0;
    width: 100px;
    z-index: 98;
  }



  @keyframes circleRotation {
    from {transform: rotate(0deg);}
    to {transform: rotate(360deg);}
  }

  .icon img {
    animation: circleRotation 5s linear infinite;
  }

  .icon {
    top: -150px;
  }

  .loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-accent);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    visibility: visible;
    opacity: 1;
}

.loader-text {
    color: var(--bg-dark); 
    font-weight: bold;
    font-family: 'Marko', serif;
}

.menu-hamburguesa {
    background-color: var(--yellow);
    padding: 0px 24px 0px 0px;
    border-radius: 24px;
    width: 250px;
    font-family: 'WorkSans', sans-serif;
    padding-bottom: 64px;
    display: flex;
    flex-direction: column;
    margin: 24px 0px 0px 24px;
    position: fixed;
    top: 0px;
    z-index: 1999;
    opacity: 0;
    visibility: hidden; 
    pointer-events: none; 

    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.menu-hamburguesa.es-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.menu-cabecera img {
    cursor: pointer;
}


.menu-cabecera {
    text-align: left;
    padding: 24px 0px 0px 24px;
}

.menu-cabecera img {
    width: 40px;
}

.menu-lista-proyectos {
    display: flex;
    flex-direction: column;
    gap: 16px;
    list-style: none;
    padding-left: 24px;
}

.menu-item-proyecto a {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: var(--color-texto-principal);
    padding: 8px;
    border-radius: var(--radio-borde-pequeno);
    transition: background-color 0.2s ease-in-out;
}

.menu-item-proyecto a:hover {
    color: var(--bg-dark) !important;
}

.menu-item-proyecto .thumbnail {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover; 
    flex-shrink: 0; 
}

.menu-item-proyecto .detalles {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.menu-item-proyecto .tag {
    background-color: var(--bg-accent);
    color: var(--bg-dark);
    padding: 4px 10px;
    border-radius: 20px; 
    font-size: 12px;
    font-weight: 700;
    align-self: flex-start; 
}

.menu-item-proyecto .titulo {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    text-align: left;
}



.boton-principal {
    display: block; 
    background-color: var(--color-fondo-boton);
    color: var(--color-texto-boton);
    text-align: center;
    padding: 20px;
    border-radius: var(--radio-borde-pequeno);
    text-decoration: none;
    font-weight: 900;
    font-size: 18px;
    transition: background-color 0.2s ease-in-out;
}

.menu-item-proyecto:hover .tag {
    background-color: var(--bg-light);
}


  @media (max-width: 430px) {



    h1, em {
        font-size: 52px !important;
    }

    header img {
        height: auto;
        width: 40px !important;
    }

    header {
        text-align: left;
        padding: 48px;
        position: relative;
        padding-bottom: 20px;
        padding-top: 20px;
        padding-left: 24px;
    }

    .header {
        justify-content: flex-start !important;
        
    }

    .role-item {
        font-size: 36px !important;
        gap: 16px !important;
    }

    .roles-container {
        width: 100% !important;
    }

    .contenido-animado {
        width: 100%;
    }

    .parrafo-descripcion {
        margin-left: 12px;
    margin-right: 12px;
    }

    .parrafo {
        margin: 10px 0px !important;
        text-align: center !important;
    }

    .container-do {

            min-height: 100vw;
            height: auto;
            gap: 16px;
    }

    .services {
        overflow: hidden;
        padding-top: 48px;
    padding-bottom: 48px;
    }

    .services h1 {
        margin-bottom: 24px;
    }

    .icon {
        width: 120px;
        top: -94px;
    }

    footer .container {
        background-color: transparent !important;
        color: #2d2d2d !important;
    }

    .footer-nav {
        padding: 20px 0;
    height: auto !important;
    background-color: var(--bg-dark);
    color: #2d2d2d;
    width: 100% !important;
    }

    .texto-largo {
        font-size: 10vw;
    }

    .menu-hamburguesa {
        border-radius: 0px 0px 24px 24px;
        margin: 0px;
        width: 100vw;
        padding: 0px 0px 128px 0px;
    }

    .image-column {
        height: 45vh !important;
    }

    
}

  @media (min-width: 430px) and (max-width: 768px) {

    header img {
        width: 50px;
    }

    .header {
        gap: 20px;
    }

    h1 {
        font-size: 60px !important;
    }


.cat-again img, .web img {
    display: none;
}

.parrafo-descripcion {
    width: 90vw;
    font-size: 19px;
}

.container-do {
    height: auto;
    gap: 24px;
}

.cta-work {
    min-height: 100vh;
    height: auto;
    display: flex;
}

.parrafo {
    text-align: center !important;
}

.services {
    padding: 36px 8px 36px 8px;
}

.icon {
    top: -150px;
}

.footer .footer-nav {
    padding: 20px 0;
    height: auto !important;
    background-color: var(--bg-dark);
    color: var(--bg-light);
    width: 100% !important;
    position: relative;
    z-index: 99;

  }

  .footer .container {
    padding: 0px !important;
    height: auto !important;
    background-color: var(--bg-light);
    color: var(--bg-dark);
    width: 100% !important;
    position: relative;
    z-index: 99;
}

.texto-largo {
    font-size: 50px !important;
}


.roles-container {
    width: 100% !important;
}

.contenedor-horizontal {
    max-width: 100% !important;
    width: 100% !important;
}

  }

@media  (min-width: 768px) and (max-width: 1098px) {

    html {
        overflow-x: hidden;
    }

    .services {
        overflow: hidden;
    }
    
    .header {
        font-size: 2.5rem;
        gap: 20px;
    }
    
    .anywhere {
        display: none;
    }
    

    h1 {
        font-size: 60px !important;
    }


    header img {
        width: 50px;
    }


.cat-again img, .web img {
    display: none;
}

.parrafo-descripcion {
    width: 90vw;
    font-size: 19px;
}

.container-do {
    height: auto;
    gap: 24px;
}

.cta-work {
    min-height: 100vh;
    height: auto;
    display: flex;
}

.parrafo {
    text-align: center !important;
}

.services {
    padding: 36px 8px 36px 8px;
}

.icon {
    top: -150px;
}

.footer .footer-nav {
    padding: 20px 0;
    height: auto !important;
    background-color: var(--bg-dark);
    color: var(--bg-light);
    width: 100% !important;
    position: relative;
    z-index: 99;

  }

  .footer .container {
    padding: 0px !important;
    height: auto !important;
    background-color: var(--bg-light);
    color: var(--bg-dark);
    width: 100% !important;
    position: relative;
    z-index: 99;
}

.texto-largo {
    font-size: 50px !important;
}



  }

  @media (min-width: 1098px) and (max-width: 1200px) {


    html {
        overflow-x: hidden;
    }

    .container-do {
        height: auto !important;
    min-height: 100vh !important;
    }

    .services-grid {
        display: flex;
        flex-direction: column !important;
        gap: 78px;
        align-items: center;
        height: auto;
        justify-content: center;
    }

    .services-grid {
        flex-direction: row;
    }

    .anywhere {
        display: none;
    }

    header img {
        width: 50px;
    }


  }

@media (min-width: 1200px) {

    .services-grid {
        flex-direction: row;
    }

    .container-do {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 12%;
        position: relative;
        padding-bottom: 5%;
    }

    .services-grid {
        display: flex;
        flex-direction: row;
        gap: 78px;
        align-items: center;
        height: auto;
        justify-content: center;
    }

    .anywhere {
        display: none;
    }

    header img {
        width: 50px;
    }

}