:root {
    --logo-color: #ff7832;
}

.carrusel-hero-fijo-container {
    width: 100%;
    margin-top: 50px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
    cursor: grab;
    user-select: none;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s cubic-bezier(0.15, 1, 0.3, 1) forwards;
    animation-delay: 0.55s;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    overscroll-behavior-y: auto;
}

.carrusel-hero-fijo-container:active {
    cursor: grabbing;
}

.carrusel-hero-fijo-container::-webkit-scrollbar {
    display: none;
}

.carrusel-hero-fijo-track {
    display: flex;
    gap: 5px;
    width: max-content;
}

.carrusel-hero-fijo-item {
    position: relative;
    background-color: rgb(125, 125, 125);
    flex-shrink: 0;
    scroll-snap-align: center;
    border-radius: 10px;
    overflow: hidden;
}

.carrusel-hero-fijo-item img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    pointer-events: none;
    border-radius: 10px;
}

.project-link {
    font-family: 'Satoshi Bold', sans-serif;
    font-size: 11px;
    line-height: 16px;
    letter-spacing: 0px;
    position: absolute;
    bottom: 30px;
    left: 25px;
    background: var(--text-color);
    color: var(--bg-color);
    text-decoration: none;
    padding: 15px 20px;
    border-radius: 10px;
    border: 1px solid var(--text-color);
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.project-link:hover {
    background-color: rgb(25, 25, 25);
    color: rgb(245, 245, 245);
    border-color: rgb(25, 25, 25);
}

html.light-mode .project-link:hover {
    background-color: rgb(245, 245, 245);
    color: rgb(25, 25, 25);
    border-color: rgb(245, 245, 245);
}

.carrusel-hero-fijo-controls {
    display: none;
}










@media (min-width: 1201px) {
    .carrusel-hero-fijo-container {
        scroll-snap-type: none;
        scroll-behavior: smooth;
        overflow-x: hidden;
    }

    .carrusel-hero-fijo-track {
        padding-left: calc((100vw - 1200px) / 2 - 10px);
        padding-right: calc((100vw - 1200px) / 2 - 5px);
    }

    .carrusel-hero-fijo-item {
        width: 598px;
        height: 450px;
        background-color: rgb(125, 125, 125);
        scroll-snap-align: none;
    }

    .carrusel-hero-fijo-controls {
        display: flex;
        gap: 15px;
        width: 1200px;
        margin: 30px auto 0 auto;
        padding-left: 0;
    }

    .carrusel-btn {
        background: none;
        border: none;
        color: var(--text-color);
        padding: 0;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: color 0.3s ease, opacity 0.3s ease;
    }

    .carrusel-btn:disabled {
        opacity: 0.25;
        cursor: default;
        pointer-events: none;
    }

    .carrusel-btn:not(:disabled):hover {
        color: var(--logo-color);
    }

    html.light-mode .carrusel-btn:not(:disabled):hover {
        color: rgb(245, 110, 45);
    }
}










@media (max-width: 1200px) {
    .carrusel-hero-fijo-container {
        margin-top: 35px;
    }

    .carrusel-hero-fijo-track {
        padding-left: 20px;
        padding-right: 20px;
    }

    .carrusel-hero-fijo-item {
        width: calc(100vw - 40px);
        height: 450px;
    }
}