/* Carrusel de trabajos */

    body{
        font-family: Poppins !important;
    }

    /* Contenedor Principal */
    .adaptive-portfolio-archive-container {
        position: relative;
        display: flex;
        height: 100vh;
        background: black;
        color: white;
        overflow: hidden;
    }

    /* Capa de Fondo */
    .adaptive-portfolio-background {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
        pointer-events: none;
        touch-action: none;
    }

    .media-container {
        position: relative;
        width: 100%;
        height: 100%;
    }

    .media-container video,
    .media-container img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: opacity 0.5s ease-in-out;
        opacity: 0;
    }

    .media-container video.active,
    .media-container img.active {
        opacity: 1;
    }

    .floating-dot {
        position: absolute;
        left: -32px; /* Ajusta según el diseño */
        width: 10px;
        height: 10px;
        background-color: transparent;
        border-radius: 50%;
        transition: top 0.3s ease, transform 0.3s cubic-bezier(1,0,0,1); /* Animación para suavizar el movimiento */
        z-index: 2;
    }

    /* .adaptive-portfolio-list {
        width: 100%;
        height: 100vh;
        overflow-y: scroll; /* Permitir desplazamiento vertical *
        scroll-behavior: smooth; /* Scroll nativo suave *
        display: flex;
        align-items: center;
        justify-content: center;
        padding-inline: 30px;
    } */
    
    .list-wrapper {
        position: relative;
    }
    
    .adaptive-portfolio-list ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }
    
    .project-item {
        font-size: 1.5rem;
        line-height: 2rem;
        cursor: pointer;
        padding: 10px 0;
        transition: color 0.3s ease-in-out;
    }
    
    .project-item:hover {
        color: #c9c9c9;
    }

    /* Scrollbar en navegadores modernos */
    .adaptive-portfolio-list::-webkit-scrollbar {
        width: 8px;
    }

    .adaptive-portfolio-list::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 4px;
    }

    /* Elementos del listado */
    .adaptive-portfolio-list li a{
        font-size: 2.1rem;
        line-height: 2.8rem;
        cursor: pointer;
        padding: 10px 0;
        transition: color 0.3s ease-in-out;
        color: #565656;
    }

    .adaptive-portfolio-list li:hover  a{
        color: #ffffff;
    }

    .adaptive-portfolio-list li.active  a{
        color: #ffffff;
    }

    /* Degradados */
    .adaptive-gradient-top,
    .adaptive-gradient-bottom {
        position: fixed;
        width: 100%;
        height: 100px;
        pointer-events: none;
    }

    .adaptive-gradient-top {
        top: 0;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
    }

    .adaptive-gradient-bottom {
        bottom: 0;
        background: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
    }

    .adaptive-portfolio-background {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
        overflow: hidden;
    }

    .media-element {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: opacity 0.5s ease-in-out; /* Controla la transición */
        z-index: 1;
    }

    .media-element.hidden {
        opacity: 0;
    }

    /* header {
        position: fixed !important;
        top: 0px !important;
        left: 0 !important;
        width: 100% !important;
    }

    .edgtf-page-header .edgtf-menu-area {
        position: relative;
        height: 90px;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        background-color: rgb(255 255 255 / 40%) !important;
        backdrop-filter: saturate(180%) blur(20px);
        -webkit-backdrop-filter: saturate(180%) blur(20px);
    } */

    .edgtf-logo-wrapper a{
        height: 47px !important;
    }

    .gradient-left-to-right {
        position: fixed; /* Asegúrate de que se posicione correctamente */
        top: 0; /* Ajusta según tu diseño */
        left: 0;
        width: 100%;
        height: 100%; /* O ajusta según la altura deseada */
        background: linear-gradient(to right, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
        pointer-events: none; /* Para que no interfiera con la interacción */
        z-index: 0; /* Ajusta para que esté en la capa correcta */
    }

    .adaptive-portfolio-list::-webkit-scrollbar {
        display: none;
    }

    #viewport {
        overflow: hidden;
        position: fixed;
        height: 100%;
        width: 100%;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }

    #adaptive-portfolio-content{
        overflow: visible;
        padding-block: 150px;
        padding-left: 50px;
    }

    .adaptive-portfolio-list ul{
        display: table;
    }

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

    .portfolio-categories {
        display: flex;
        gap: 10px;
        font-size: 19px;
        align-items: center;
    }

    span.portfolio-cat {
        top: 3px;
        position: relative;
    }

    .project-item.active .portfolio-cat{
        font-weight: bold;
    }

    .mb-5px{
        margin-bottom: 5px;
    }

    @media(max-width: 768px){
        .adaptive-portfolio-list li a {
            font-size: 1.3rem;
            line-height: 0rem;
        }
        .project-item{
            line-height: 1.9rem;
            padding: 9.7px 0;
        }
        #adaptive-portfolio-content{
            padding-bottom: 50px;
            padding-left: 25px;
            padding-top: 120px;
        }
        .adaptive-portfolio-list li a{
            color: #fff;
        }
        .floating-dot{
            width: 5px;
            height: 5px;
            left: -14px;
        }
        video.media-element{
            display: none !important;
            visibility: hidden !important;
        }
    }

/* Página de proyecto individual */

    /* Contenedor principal */
    

    .single-project-container {
        position: relative;
        height: 100vh;
        width: 100%;
        overflow: hidden;
        overflow: auto !important;
        display: grid;
        align-items: center;
        justify-content: flex-start;
        color: white;
        min-height: 100vh;
        z-index: 2;
    }

    /* Fondo del proyecto */
    .project-background {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
        overflow: hidden;
    }

    .project-background video,
    .project-background-image {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        background-size: cover;
    }

    /* Información del proyecto */
    .project-info {
        display: table;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 20px;
        z-index: 3;
        color: #fff;
        max-width: 40%;
        padding-left: 50px;

        /* padding-top: 40vh; */
        padding-bottom: 10vh;
    }

    .project-info .project-title{
        color: #fff;
    }

    .project-title {
        font-size: 2.5rem;
        margin-bottom: 20px;
        font-weight: bold;
    }

    .project-blocks {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .project-block h3 {
        font-size: 1.5rem;
        margin-bottom: 10px;
        color: #fff;
    }

    .block-content {
        font-size: 1.3rem;
        line-height: 1.5;
    }

    .adaptive-play-btn{
        width: 55px;
        height: 55px;
        text-align: center;
        display: flex !important;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    #adaptive-play-trigger{
        cursor: pointer;
        display: table;
    }

    .adaptive-play-container {
        display: flex;
        align-items: center;
        gap: 14px;
        font-size: 1.5rem;
        font-weight: 500;
    }

    #adaptive-play-trigger {
        position: fixed;
        top: 50%;
        left: 50%;
        z-index: 999;
    }

    .project-info {
        padding-top: 150px;
    }

    /* Adaptaciones responsivas */
    @media (max-width: 768px) {
        .single-project-container{
            z-index: 2;
            min-height: 100vh;
            overflow: auto !important;
            display: grid;
        }
        .project-content-overlay {
            width: 90%; /* Ocupa casi toda la pantalla */
            padding: 30px;
        }

        .project-title {
            font-size: 2rem;
        }

        .project-block h3 {
            font-size: 1.25rem;
        }

        .block-content {
            font-size: 0.9rem;
        }

        .project-info {
            max-width: 100%;
            padding-inline: 30px;
            padding-top: 150px;
        }
    }