@font-face {
    font-family: 'Manrope';
    src: url('/static/font/Manrope/Manrope-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
}

@font-face {
    font-family: 'Russo One';
    src: url('/static/font/Russo_One/RussoOne-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
*{
    scroll-behavior: smooth;
}
/* Default font untuk semua */
body {
    font-family: 'Manrope', sans-serif;
}

/* Font Family Classes */
.font-manrope {
    font-family: 'Manrope', sans-serif;
}

.font-russo {
    font-family: 'Russo One', sans-serif;
}

.bg-runner {
    background-image: url('/static/img/Main_Banner/bg-mainpage.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    height: 126vh;
}
#our-mission{
    margin-top: -275px;
    padding-top: 310px;
}
        .menu-btn {
            transition: all 0.3s ease;
        }
        .menu-btn:hover {
            transform: translateX(10px);
            background-color: white;
        }
        .timer-box {
            backdrop-filter: blur(10px);
        }
        @keyframes pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.8; }
        }
        .animate-pulse-slow {
            animation: pulse 2s ease-in-out infinite;
        }
        .dropdown-menu {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease-out;
        }
        .dropdown-menu.active {
            max-height: 500px;
        }
        .scrollbar-hide::-webkit-scrollbar {
            display: none;
        }
        @keyframes scroll-right {
            0% {
                transform: translateX(0);
            }
            100% {
                transform: translateX(-50%);
            }
        }
        @keyframes scroll-left {
            0% {
                transform: translateX(-50%);
            }
            100% {
                transform: translateX(0);
            }
        }
        .animate-scroll-right {
            animation: scroll-right 30s linear infinite;
        }
        .animate-scroll-left {
            animation: scroll-left 30s linear infinite;
        }
        .gallery-row:hover .animate-scroll-right,
        .gallery-row:hover .animate-scroll-left {
            animation-play-state: paused;
        }

        /* Font weight utilities */
        .font-light { font-weight: 300; }
        .font-normal { font-weight: 400; }
        .font-medium { font-weight: 500; }
        .font-semibold { font-weight: 600; }
        .font-bold { font-weight: 700; }
        .font-extrabold { font-weight: 800; }
        .font-black { font-weight: 900; }


/* Scroll Animation Styles */
[data-animation] {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

[data-animation].animate__animated {
    opacity: 1;
    animation-duration: 1s;
    animation-fill-mode: both;
}

/* Don't hide content divs that are controlled by JavaScript */
#menJerseyContent,
#menTankContent,
#womenJerseyContent,
#womenTankContent {
    opacity: 1 !important;
}

/* Smooth animation delays for multiple elements */
[data-animation].animate__animated:nth-child(1) {
    animation-delay: 0.1s;
}

[data-animation].animate__animated:nth-child(2) {
    animation-delay: 0.2s;
}

[data-animation].animate__animated:nth-child(3) {
    animation-delay: 0.3s;
}

[data-animation].animate__animated:nth-child(4) {
    animation-delay: 0.4s;
}

[data-animation].animate__animated:nth-child(5) {
    animation-delay: 0.5s;
}

[data-animation].animate__animated:nth-child(6) {
    animation-delay: 0.6s;
}
/* Size Chart Dropdown Enhancement Styles */
.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

/* Ensure dropdowns are above other content */
[id$="Dropdown"] {
    z-index: 300 !important;
    pointer-events: auto !important;
}

[id$="Dropdown"] button {
    pointer-events: auto !important;
    cursor: pointer !important;
    user-select: none;
}

/* Prevent dropdown from being covered */
.z-\[200\] {
    z-index: 200 !important;
}

.z-\[300\] {
    z-index: 300 !important;
}

/* Ensure dropdown buttons are clickable */
#menJersey, #menTank, #womenJersey, #womenTank {
    display: block !important;
    width: 100% !important;
    text-align: left !important;
    cursor: pointer !important;
    pointer-events: auto !important;
}

/* Dropdown container positioning */
#menDropdown, #womenDropdown {
    position: absolute !important;
    top: 100% !important;
    margin-top: 0.5rem !important;
    z-index: 300 !important;
}

#womenTankContent, #womenJerseyContent{
    z-index: 1;
    position: relative;
}

 .z-100{
    z-index: 999999;
 }
/* bg-runner height responsive - berkurang 1vh setiap ~100px layar dikecilkan */
@media (max-width: 2220px) { .bg-runner { height: 160vh; } }
@media (max-width: 1820px) { .bg-runner { height: 145vh; } }
@media (max-width: 1720px) { .bg-runner { height: 140vh; } }
@media (max-width: 1620px) { .bg-runner { height: 135vh; } #total-hadiah{margin-top: -250px;} }
@media (max-width: 1520px) { .bg-runner { height: 130vh; } }
@media (max-width: 1420px) { .bg-runner { height: 125vh; } }
@media (max-width: 1320px) { .bg-runner { height: 120vh; } }
@media (max-width: 1224px) { .bg-runner { height: 100vh; } }
@media (max-width: 1024px) { 
    .bg-runner{ 
        background-size: cover;
        background-position: center; 
    } 
    #our-mission{
        margin-top: -96px;
        padding-top: 130px;
        background-size: cover !important;
    } 
    #reason-run{
        background-size: cover;
        background-repeat: no-repeat;
    }
    #guest-star{
        margin-top: 0 !important;
        padding: 32px 12px;
        height: max-content;
    }
    .bg-banner-content{
        background-image: unset !important;
    }
    #schedule, #total-hadiah{
        margin: 0;
    }
    .hero-fixed{
        position: relative !important;
    }
}

/* Hero content fixed positioning */
.hero-fixed {
    position: fixed;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    z-index: 1;
    top: 0;
    width: 100%;
}

.hero-unfixed {
    position: relative;
    left: unset;
    right: unset;
}
