@font-face {
    src: url(fonts/AdvercaseFont-Demo-Bold.otf);
    font-family: AdvercaseFont-Demo-Bold;
}

@font-face {
    src: url(fonts/AdvercaseFont-Demo-Regular.otf);
    font-family: AdvercaseFont-Demo-Regular;
}



@font-face {
    src: url(fonts/Indesign\ Signature\ -\ PERSONAL\ USE.ttf);
    font-family: Indesign\ Signature\ -\ PERSONAL\ USE;
}










@font-face {
    src: url(fonts/PPMonumentExtended-Regular.otf);
    font-family: PPMonumentExtended-Regular;
}



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;

}

:root {

    --letrabase: 'AdvercaseFont-Demo-Regular', sans-serif;
    --letratitulo: 'AdvercaseFont-Demo-Bold', sans-serif;
    --letrascript: 'Indesign\ Signature\ -\ PERSONAL\ USE', sans-serif;

    --letramonumentregular: 'PPMonumentExtended-Regular', sans-serif;
    --letrasatoshi: 'Satoshi', sans-serif;

}

html {
    height: 100%;
    overflow-x: ;
}

body {
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    overflow: auto;
    font-family: var(--letrabase);

    background: #000;
    cursor: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

body.loaded {
    opacity: 1;
}

section {
    width: 100%;
    position: relative;

}

.back-video {
    position: fixed;
    /* Fija el video en el fondo */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    /* Coloca el video detrás de otros elementos */
}

.navbar {
    width: 100%;
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1vw;
    /* padding: 1.2vw 6vw; */
    /* background: #fd4a2b; */
    z-index: 1000;

}

.logo {

    font-size: 1.5vw;
    font-family: var(--letratitulo);
    color: #f2b212;
    font-weight: 800;

    text-transform: uppercase;
}

.menuitems {
    display: flex;
    margin: auto 0;

}

.menuitems li {
    list-style: none;
    margin: 0 0.5vw;

}

.menuitems li a {
    font-family: var(--letrasatoshi);
    display: block;
    color: #f2b212;
    font-size: 0.8vw;
    letter-spacing: 4px;
    text-decoration: none;
    /* text-transform: uppercase; */
    cursor: none;

}

.menuitems li:hover a {
    /* color: #000; */
}

.cursor {
    position: fixed;
    width: 40px;
    height: 40px;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    color: #f2b212;
    /* background: rgba(0, 0, 0, 0.6); */
    border-radius: 50%;
    transition: transform 0.2s ease;
}

ol li:hover~.cursor {
    /* transform: scale(6); */

}







/* Parallax effect background */
.parallax-bg {
    background-attachment: scroll;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    will-change: background-position;
}


/* Move parallax background to .bg */
.bg.parallax-bg {
    background-image: url("/material/pexels-abdullah-5442192.webp");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    will-change: background-position;
}

.bg_container {
    height: 100vh;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 3rem;
}

.text_container {

    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 50%;

    /* padding-top: 5rem; */

    gap: 1rem;
}

.rights {
    position: absolute;

    top: -30px;
    line-height: 2vw;
}


.text_container .rights h5 {
    font-size: 1.5vw;
    text-transform: uppercase;
    color: #f2b212;
}

.container .text_container .rights p {
    font-size: 0.8vw;
    font-family: var(--letrasatoshi);
    text-transform: none;
    color: #f2b212;
}

.debajo h2 {
    color: #f2b212;
}

.arriba h2 {
    color: #f2b212;
}


.titulo {
    position: relative;
    align-items: center;

}

.titulo .digitaldesigner {
    display: flex;
    flex-direction: column;
    justify-content: center;

    line-height: 8.5vw;
    letter-spacing: -6px;
    /* padding-top: 6vw; */


}

.digital {}

.designer h2 {
    font-family: var(--letrabase);
    color: #f2b212;

    font-size: 8vw;
    font-weight: 400;

}

.digital h2 {
    font-family: var(--letrabase);

    color: #f2b212;
    font-size: 8vw;
    font-weight: 400;
}

.ideas {
    margin-top: 20px;
    letter-spacing: 7px;
}


.text_container .cuerpo {}

.text_container .titulo h5 {

    font-family: var(--letrabase);
    color: #f2b212;
    font-size: 2vw;
    font-weight: 400;
    text-align: center;

    text-transform: uppercase;
}


.text_container .cuerpo p {
    font-family: var(--letrabase);
    font-size: 1vw;
    font-weight: 200;
    color: #f2b212;
    text-transform: uppercase;
    margin-top: 30px;
}

.text_container p::first-letter {}

.cuerpo {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.text_container .derechosautor {
    padding-top: ;
    position: absolute;
    bottom: 50px;
}

.text_container .derechosautor p {
    text-transform: none;
}

.text_container .btn {
    font-family: var(--letrabase);
    display: inline-block;
    color: #000000;
    background: #f2b212;
    border-radius: 20px;
    margin-top: 2vw;
    font-size: 1.5vw;
    text-decoration: none;
    text-transform: capitalize;
    letter-spacing: 2px;
    padding: 6px 15px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
}

.text_container .btn:hover {
    letter-spacing: 3px;
    padding: 6px 18px;
}


.iconos {
    /* background-color: #E3170A; */
    width: 100%;

    display: flex;

    position: absolute;

    bottom: 0;

    padding: 2vw;
    justify-content: space-between;
    /* align-items: flex-end; */

    z-index: 1000;
}

.iconos .social_media .fa-brands {
    cursor: none;
    font-size: 1rem;
    color: #f2b212;

}

.iconos .fa-brands:hover {
    color: #000000;
}

.iconos .esquina_dcha {}

.iconos .esquina_dcha h5 {

    font-size: 0.5em;
    color: #f2b212;
    letter-spacing: 0.5vw;
    font-family: var(--letrasatoshi);
}

.iconos .social_media {

    height: 20%;

    display: flex;

    justify-content: flex-end;
    gap: 1rem;
}

.englobar {
    background: url(/material/FONDO-WEB-PORTFOLIO-2-2MANOS.webp);
    background-size: cover;
    height: 300vh;
    width: 100%;
}

.it {
    font-family: Indesign\ Signature\ -\ PERSONAL\ USE;
    font-size: 10vw;
}


.claim {
    min-height: 100vh;


    z-index: 100;


    flex-direction: column;
    display: flex;
    justify-content: center;
    align-items: center;

    overflow: hidden;
    gap: 50px;
}

.claim1 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.creative {}

.spainbased {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;


}

.spainbased h2 {
    width: 100%;
    color: #f2b212;

    font-size: 7vw;
    font-family: var(--letratitulo);
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.spainbased h5 {
    color: #f2b212;
    font-family: var(--letrabase);
    font-size: 2vw;

}

.scroll {
    font-family: var(--letrabase);

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-wrap: wrap;
    flex-direction: column;
    place-content: center;

    background-size: cover;

    z-index: 100;

    h2 {
        font-family: var(--letratitulo);
        font-size: 7vw;

    }

    p {
        width: 60%;

        font-size: clamp(1rem, 0.5vw, 1rem);
        /* text-transform: uppercase; */
        font-family: var(--letrasatoshi);
        color: #f2b212;
    }


}

.reveal-type {
    max-width: 100%;
    overflow: hidden;
    display: inline-block;
    font-size: clamp(1.5rem, 5vw, 4rem);
    /* Escalable según tamaño de pantalla */
}

.slogan {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;

    gap: 30px;

    height: 100vh;
}

.claim_frase h1 {
    font-family: Indesign\ Signature\ -\ PERSONAL\ USE;
    color: #f2b212;
    font-size: 5vw;
    text-align: center;

    padding-top: 3rem;
    padding-bottom: 1rem;
    word-spacing: 30px;
    text-transform: uppercase;
}

.claim h1 {}

.it {}

.relleno1 {
    position: relative;

    color: #2D1E2F;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.7rem;

}

.relleno1 p {
    font-family: var(--letrasatoshi);
    font-size: 1vw;
}

.worldwide {
    position: absolute;
    bottom: 40px;
}

.relleno1 h5 {

    font-family: var(--letratitulo);
    font-size: 2vw;
    color: #f2b212;
}

.relleno {

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 50px;

}

.relleno p {

    font-family: var(--letrabase);
    font-size: 1vw;
    color: #2D1E2F;
    text-align: center;
    width: 50%;
    text-transform: uppercase;
}

.final {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column;
}

.final p {
    font-family: var(--letrasatoshi);
    color: #2D1E2F;
    font-size: 0.5vw;
}

span {
    font-family: var(--letrabase);
    font-weight: 0;
    font-size: 0.5vw;
}




.antework {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column;

}

.texto_antework {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column;
    text-align: center;
}

.derechosautor {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-wrap: wrap;
    padding-top: 50px;
}

.derechosautor p {
    font-family: var(--letrasatoshi);
    color: #f2b212;
    font-size: 0.8vw;
}

.work {
    height: 50vh;

    background: url(/material/WORK.webp);
    background-size: cover;

}

.bg_work {
    /* position: relative; */
    height: 50vh;
    width: 100%;

    background-color: rgba(0, 0, 0, 0.5);

    display: flex;
    justify-content: center;
    align-items: center;
}

.script {
    font-family: Indesign\ Signature\ -\ PERSONAL\ USE;
    font-size: 4vw;
}

.antework h1 {

    font-family: var(--letratitulo);
    color: #f2b212;
    font-size: 5vw;
    text-align: center;
    text-transform: uppercase;
}

.antework .texto_antework h5 {

    font-size: 2vw;
    color: #f2b212;
    font-family: var(--letrabase);
    text-align: center;
    padding-bottom: 20px;
}

.antework .texto_antework p {
    font-family: var(--letrabase);
    font-size: 1vw;
    color: #f2b212;
    text-align: center;
    width: 50%;
    text-transform: uppercase;
    padding-top: 50px;
}

.work h1 {
    font-family: var(--letratitulo);
    /* color: #f2b212; */
    font-size: 10vw;
}

.portfolio {
    height: 300vh;
}

.main {

    background: url(/material/FONDO-WEB-PORTFOLIO-2-black.webp);
    background-size: cover;

    display: flex;
    justify-content: center;
}


.horizontal-sliders {
    display: grid;

    grid-template-columns: repeat(2, 1fr);
    padding: 50px;
    gap: 150px;
}

.slide {

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

}

.texto_slide {}

.card {}

.pie {

    width: 600px;
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.slide h2 {
    font-family: var(--letratitulo);
    color: #f2b212;
    font-size: 5vw;
}

.slide p {
    font-family: var(--letrasatoshi);
    color: #2D1E2F;
    font-size: 0.5vw;
}

.project p {
    color: #f2b212;
    font-family: var(--letratitulo);
    font-size: 1vw;
}

.slide img {
    height: 600px;
    width: 600px;
    object-fit: cover;
}

a img {
    display: block;
    /* Evita que el enlace afecte el tamaño */
    width: 100%;
    /* Ajusta el tamaño al original */
    max-width: none;
    /* Evita que se reduzca automáticamente */
}

.slide:nth-child(2n) {
    /* background-color: aqua; */
}

.despuesportfolio {
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    align-items: center;
    padding-top: 2rem;
    background: url(/material/FONDO-WEB-PORTFOLIO-2-black.webp);
    background-color: #000;
}

.despuesportfolio h1 {
    color: #f2b212;
    font-size: 3rem;
    font-family: var(--letrabase);
}

/* .next-block {
    height: 250vh;
    background: url(/material/pexels-matvalina-17612066.jpg);
    width: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
    z-index: 100;

} */

.penultima {
    height: 100vh;

    padding: 50px;
    display: flex;
    justify-content: space-between;
    /* flex-direction: column; */
    align-items: center;
    gap: 20px;
}

.penultima img {
    width: 450px;
    height: auto;
}



.contact {
    /* background: linear-gradient(#E3170A, #2D1E2F); */
    background: url(/material/AdobeStock_277424307.webp);
    background-size: cover;
    background-position: top;
    height: 100vh;

}

.bg_contact {
    background-color: rgba(0, 0, 0, 0.4);
}

.contact-container {

    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    /* padding-right: 8rem; */
    background-color: ;
}

.contact-left-title {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.contact-left-title h2 {
    color: #f2b212;
    font-size: 5.5vw;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.contact-left-title h5 {
    color: #f2b212;
    font-family: var(--letrabase);
    font-size: 1vw;
}

.contact-inputs {
    width: 600px;
    height: 50px;
    border: none;
    outline: none;
    padding-left: 25px;
    font-weight: 500;
    color: #f2b212;

    background: transparent;

    font-family: var(--letrasatoshi);
    font-size: 0.8vw;
}

.contact-left textarea {
    height: 200px;
    padding-top: 15px;
    /* border-radius: 20px; */
}

.contact-inputs:focus {
    /* border: 2px solid #f2b212; */
}

.contact-inputs::placeholder {
    color: #a9a9a9;
    font-family: var(--letrabase);

}

.contact-left button {
    font-family: var(--letratitulo);
    display: flex;
    align-items: center;
    padding: 15px 30px;
    font-size: 16px;
    color: #2D1E2F;
    gap: 10px;
    border: none;
    border-radius: 50px;
    background: #f2b212;
    cursor: pointer;
    letter-spacing: 2px;
    padding: 6px 15px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
}

.contact-left button:hover {
    letter-spacing: 3px;
    padding: 6px 18px;

}

.video-bumper {
    width: 600px;
    height: 600px;
    object-fit: cover;

}

.video-bumper-seccion {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.copyright {
    display: flex;
    justify-content: center;
    color: #f2b212;
}

.copyright p {}

.portfolio_container {

    background-color: #000;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    /* gap: 50px; */


}

.portfolio_container .wrapper {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* gap: 50px; */
    padding-top: 10rem;
    padding-bottom: 10rem;
}

.portfolio_container .wrapper .texto_wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    flex-direction: column;
    text-align: center;
    gap: 20px;
    width: 70%;
    color: #f2b212;
    padding: 2rem;
}

.portfolio_container .wrapper .texto_wrapper h1 {
    font-size: 4vw;
    font-family: var(--letratitulo);
}

.portfolio_container .wrapper .texto_wrapper p {
    font-size: 1vw;
    font-family: var(--letrabase);
}

.portfolio_container .wrapper .texto_wrapper h5 {
    font-size: 2vw;
    font-family: var(--letrabase);
}

.portfolio_container .wrapper img {
    object-fit: contain;
    width: 1400px;
    height: auto;
}


.sticky-parent {
    margin-top: 50px;
    position: relative;
    height: 1000px;
    /* Se ajustará dinámicamente en JS */
    background: #000;
}

.sticky {
    position: sticky;
    top: 0;
    height: 800px;
    width: 100%;
    overflow: hidden;
    background: #000;
    /* border-bottom: 2px solid #ccc; */
}

.inner {
    will-change: transform;
}

.horizontal-content {
    display: flex;
    width: max-content;
}

.horizontal-content>div {
    flex: 0 0 600px;
    /* height: 600px; */
    margin-right: 20px;
    overflow: hidden;
    /* border-radius: 10px; */
    /* box-shadow: 0 4px 10px rgba(0,0,0,0.1); */
    display: flex;
    flex-direction: column;
}

.horizontal-content img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    display: block;
}

.caption {
    text-align: center;
    padding: 10px;
    font-size: 16px;
    color: #f2b212;
}

#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0a0a;
    color: #f2b212;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader-inner {
    font-size: 1.5rem;
    animation: pulse 1.2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0.6;
    }
}

#loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-text {
    font-size: 5rem;
}








#portfolio-stack {
    height: calc(100vh * 8 * 1.7);
    /* número de tarjetas * scrollFactor */
    background: #E3170A;
    position: relative;
}

.stack-wrapper {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-stack {
    position: relative;
    width: 500px;
    height: 650px;
}

.card-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* border-radius: 1rem; */
    overflow: hidden;
    background-color: #111;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    opacity: 0;
    transform: translateY(200px) scale(0.8);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
    perspective: 1000px;
    pointer-events: none;
    /* por defecto, ninguna es clicable */
}

.card-item.active {
    pointer-events: auto;
    /* solo la visible lo será */
}

.card-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    padding: 1rem;
    min-height: 400px;
    max-height: 600px;
    /* border-top-left-radius: 1rem; */
    /* border-top-right-radius: 1rem; */
}

.card-item p {
    padding: 1rem;
    font-size: 1.1rem;
    color: #fff;
    text-align: center;
    background: #111;
    width: 100%;
    flex-shrink: 0;
}

.card-item:hover {
    transform: scale(1.03) rotateX(2deg) rotateY(-2deg);
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.5);
}


.card-item a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: inherit;
}





.site-footer {
    background-color: #111;
    color: #eee;
    padding: 2rem 1rem;
    text-align: center;
    border-top: 1px solid #333;
    font-size: 0.9rem;
}

.footer-content {
    max-width: 960px;
    margin: 0 auto;
    font-family: var(--letrasatoshi);
}

#back-to-top {
    margin-top: 1rem;
    padding: 0.6rem 1.2rem;
    background-color: #f2b212;
    border: none;
    border-radius: 999px;
    font-weight: bold;
    cursor: pointer;
    color: #000;
    transition: background-color 0.3s ease;
    font-family: var(--letrabase);
}

#back-to-top:hover {
    background-color: #625224;
}


















.contact-inputs:not(:last-child) {
    border-bottom: 2px solid #ff7e5f;
    /* Línea degradada */
}

::-webkit-scrollbar {
    display: none;
}




#check {
    display: none;
    visibility: hidden;
    -webkit-appearance: none;
}

.navbar label {
    display: none;
}

@media (max-width:800px) {
    .contact {
        z-index: 100;
    }

    .contact-inputs {
        width: 50vw;

    }

    .contact-inputs {
        font-size: 2vw;
    }

    .contact-left-title h2 {
        font-size: 12vw;
    }

    .contact-left-title h5 {
        font-size: 3vw;
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    body {
        overflow: auto;
        overflow-x: hidden;
    }

    .cursor {
        display: none;
    }

    .logo {
        font-size: 3vw;
        display: none;
    }

    section {
        /* min-height: 600px; */
        /* max-width: 480px; */
    }

    .navbar label {
        display: block;
        color: #fff;
        font-size: 4vw;
        padding: 1vw 1.5vw;
        background: #000;
        cursor: pointer;
        z-index: 1000;
    }



    .menuitems {
        position: fixed;
        top: 0;
        right: -40vw;
        width: 40vw;
        height: 100%;
        background: #fff;
        padding-top: 15vw;
        padding-left: 5vw;
        display: flex;
        flex-direction: column;
        transition: 0.3 ease;
    }

    .menuitems li a {
        color: #fd4a2b;
        font-size: 3vw;
        margin: 0.5vw 0;
    }

    #check:checked~section .navbar .menuitems {
        right: 0;
    }

    .container {
        flex-wrap: wrap;
        /* background-size: 100%;
        background-repeat: no-repeat; */
    }

    .text_container {
        width: 100%;
        padding: 10vw;
        z-index: 100;
    }

    .text_container .rights {
        line-height: 7vw;
    }

    .text_container .rights h5 {
        font-size: 5vw;
    }

    .container .text_container .rights p {
        font-size: 3vw;
    }

    .text_container .titulo .digitaldesigner h2 {
        font-size: 20vw;
        /* line-height: 18vw; */
    }

    .text_container .titulo .digitaldesigner {
        line-height: 20vw;
    }

    .text_container .titulo .ideas h5 {
        font-size: 4vw;
    }

    .text_container .cuerpo p {
        font-size: 3vw;
    }

    .text_container .derechosautor {
        position: absolute;
        bottom: 80px;
    }

    .text_container .derechosautor p {
        font-size: 3vw;
    }

    .text_container h5 {
        /* font-size: 5vw; */
    }

    .text_container p {
        /* font-size: 3vw; */
    }

    .text_container .btn {
        margin-top: 2vw;
        font-size: 2.5vw;
    }

    .englobar {
        z-index: 100;
        height: 300vh;
        background: url(/material/FONDO-WEB-PORTFOLIO-2-SIN-MANOS.webp);
        background-position: center;
        background-size: cover;
        padding: 2em;
    }

    span {
        font-size: 10px;
    }

    .claim1 .spainbased h2 {
        font-size: 10vw;
    }

    .claim1 .spainbased h5 {
        font-size: 4vw;
    }

    .slogan .relleno1 p {
        font-size: 2vw;
    }

    .claim {
        /* padding: 2em; */
    }

    .claim p {
        font-size: ;
        width: 100%;
    }

    .slogan .claim_frase h1 {
        font-size: 7vw;
    }

    .slogan .relleno p {
        font-size: 4vw;
        width: 100%;
    }

    .slogan h1 {
        font-size: 3.5em;
    }

    .slogan .relleno1 h5 {
        font-size: 4vw;
    }

    .slogan .final p {
        font-size: 0.5em;
    }

    .antework {
        padding-bottom: 40px;
    }

    .antework h1 {
        font-size: 10vw;
        width: 100%;
    }

    .antework p {
        font-size: 0.5em;
        width: 100%;
        text-align: center;
    }

    .antework .texto_antework p {
        font-size: 3vw;
        width: 100%;
    }

    .worldwide {
        position: absolute;
        bottom: 28px;
    }

    .work {
        z-index: 100;
        height: 30vh;
        /* background: url(/material/WORK.webp); */
    }

    .bg_work {
        height: 30vh;
    }

    .work .bg_work h1 {
        font-size: 20vw;
    }

    #portfolio {
        z-index: 100;
    }

    .main .horizontal-sliders {
        /* display: grid;
        grid-template-columns: 1fr; */
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        flex-direction: column;
        align-items: center;
        gap: 50px;

    }

    .main .horizontal-sliders .slide {
        /* width: 40%;
        height: 50vh; */
        /* gap: 50px; */
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }

    .main .horizontal-sliders .slide .pie .project p {
        font-size: 4vw;
    }

    .slide img {
        width: 400px;
        height: 400px;
    }

    .slide .video-bumper {
        width: 400px;
        height: 400px
    }

    .bloque1 h2 {
        font-size: 7vw;
    }

    .bloque1 p {
        font-size: 10vw;
        position: absolute;
        bottom: -50px;
    }

    .despuesportfolio {
        height: 250vh;
    }

    .penultima {
        display: flex;
        flex-wrap: wrap;
    }

    .penultima img {
        width: 400px;
    }

    .clients {
        /* background: url(/material/CLIENTS.webp); */
        /* background-size: cover;
        background-position: center;
        z-index: 100;
        display: flex;
        justify-content: center; */

    }

    .clients .clients_container .titulo_clients {
        position: absolute;
        /* top: 50px; */
        display: flex;
        justify-content: center;
        align-items: center;
        /* line-height: 10vw; */
        padding: 2rem;
        /* gap: 2rem; */
    }

    .titulo_clients h1 {
        font-size: 5em;
    }

    .titulo_clients .clientes h5 {
        text-align: center;
        font-size: 2.5vw;
        white-space: normal;
        line-height: 6vw;
    }

    .clients_container .texto_clients p {
        font-size: 2em;
        width: 600px;
    }

    .icons {
        position: fixed;
        z-index: 100;
    }

    .icons .fa-brands {
        padding: 1.7vw;
    }

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

    ::-webkit-scrollbar-track {
        background-color: #000;
    }

    ::-webkit-scrollbar-thumb {
        background-color: #fff;
        border-radius: 50px;
    }

    .portfolio_container {
        display: flex;
        justify-content: center;
    }

    .portfolio_container .wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
        /* padding: 4rem; */
        flex-wrap: wrap;
        position: relative;
    }

    .portfolio_container .wrapper img {
        display: flex;
        justify-content: center;
        width: 400px;
    }

    video {}

    .portfolio_container .wrapper video {
        /* position: absolute; */
        display: flex;
        top: 0;
        left: 0;
        justify-content: center;
        width: 400px;
        height: 400px;
        padding: 40px;
    }

    .portfolio_container .wrapper .texto_wrapper {
        /* display: flex; */
        width: 100%;
    }

    .portfolio_container .wrapper .texto_wrapper h5 {
        font-size: 4vw;
    }

    .portfolio_container .wrapper .texto_wrapper p {
        font-size: 3vw;
    }
}




@media (max-width: 1024px) {
    #loader {
        display: none !important;
    }
}








@media (max-width: 1024px) {
    .despuesportfolio {
        display: none;
    }
}


.mobile-marquee {
    display: none;
}

@media (max-width: 1024px) {
    .mobile-marquee {
        display: block;
        overflow: hidden;
        white-space: nowrap;
        background: #000;
        color: #E3170A;
        font-family: var(--letramonumentregular);
        font-size: 1rem;
        padding: 1rem 0;
        /* border-top: 1px solid #333; */
        /* border-bottom: 1px solid #333; */
    }

    .marquee-track {
        display: inline-block;
        animation: marquee 12s linear infinite;
    }

    .marquee-track span {
        display: inline-block;
        padding: 0 2rem;
        font-family: var(--letrasatoshi);
        font-size: 1rem;
    }

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

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






/* Por defecto solo se ve la versión de escritorio */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

/* Versión móvil (máx 768px) */
@media screen and (max-width: 768px) {
    .desktop-only {
        display: none;
    }

    .card-stack {
        width: 300px;
        height: 400px;
    }

    .card-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        padding: 1rem;
        min-height: 400px;
        max-height: 600px;
        /* border-top-left-radius: 1rem; */
        /* border-top-right-radius: 1rem; */
    }

    .card-item p {
       display: none;
    }

    .mobile-only {
        display: block;
    }

    #portfolio-grid {
        padding: 2rem;
        background: #000;
    }

    .grid-wrapper {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .grid-wrapper a {
        display: block;
        background: #111;
        /* border-radius: 1rem; */
        overflow: hidden;
        text-align: center;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
        color: #f2b212;
        text-decoration: none;
    }

    .grid-wrapper img {
        width: 100%;
        height: 300px;
        object-fit: cover;
    }

    .grid-wrapper p {
        margin: 1rem 0;
        font-size: 1.1rem;
    }
}