/* Custom scrollbar for webkit */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #181111;
}

::-webkit-scrollbar-thumb {
    background: #382929;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ea2a33;
}

/* Animations */
@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

@keyframes fade-in-up {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fade-in-up 0.8s ease-out forwards;
}

/* Background Patterns */
.bg-hero-pattern {
    background-image: linear-gradient(rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%), url("../images/gif_fundo.gif");
    background-size: cover;
    background-position: center;
}

.bg-featured-pattern {
    background-image: url("../images/logo_oficial.png");
}

/* Hide scrollbar for Chrome, Safari and Opera */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.scrollbar-hide {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

/* FOUT Fix: Hide icons until loaded */
.material-symbols-outlined {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

body.icons-loaded .material-symbols-outlined {
    opacity: 1;
}