@font-face {
    font-family: 'MyCustomFont';
    src: url('fonts/MyCustomFont.woff2') format('woff2'),
         url('fonts/MyCustomFont.woff') format('woff');
}
@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');

html {
    scroll-behavior: smooth;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
}




/* !  Nav bar & header */

.logo {
    position: absolute;
    top: 10px;
    left: 30px;
    z-index: 1000;
}

.logo img {
    height: 120px;
    width: 120px;
}

header .logo {
    position: absolute;
    top: 10px;
    left: 30px;
    z-index: 1000;
}

header .logo img {
    max-height: 80px;
    width: auto;
}

header {
    position: relative;
    width: 100%;
    margin-top: 20px;
    padding: 30px 20px 0;
    z-index: 1000;
    background: transparent;
    box-sizing: border-box;
    font-weight: bold;
    user-select: none;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0 20px;
    position: relative;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 21.5px;
    position: relative;
    padding-bottom: 8px;
    transition: color 0.3s ease, transform 0.3s ease;
}

nav ul li a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: #f0f0f0;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

nav ul li a:hover::before {
    transform: scaleX(1);
}

.dropdown {
    position: absolute;
    top: 100%;
    left: -10px;
    min-width: 210px;
    z-index: 1000;
    border-radius: 4px;
    padding: 0;
    background: transparent;
    opacity: 0;
    transform: translateY(-10px);
    visibility: hidden; 
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    margin-top: 10px; 
}

.dropdown a {
    color: #fff;
    padding: 10px;
    display: block;
    text-decoration: none;
    background: transparent;
    position: relative;
    border-radius: 10px;
}

.dropdown a::before {
    content: none; 
}

.dropdown a:hover {
    background-color: rgba(197, 197, 197, 0.3); 
}

nav ul li:hover .dropdown {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

nav ul li a i {
    margin-left: 8px;
    transition: transform 0.3s ease;
    transform: rotate(-90deg);
}

nav ul li:hover a i {
    transform: rotate(0);
}


.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}


.animate-visible #player-count {
    opacity: 1;
}


.animate-visible {
    opacity: 1;
}


/* !  FOOTER */


footer {
    background-color: #1b1b1b;
    color: #fff;
    padding: 20px 0;
    text-align: center;
    width: 100%;
    position: relative;
    margin-top: auto;
    user-select: none;
}

footer p {
    margin: 0;
    font-weight: bold;
    font-size: 1rem;
}

.container-footer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}


@media (max-width: 768px) {
    footer {
        padding: 20px;
    }

    footer p {
        font-size: 0.9rem;
    }
}

.dropdown a i {
    font-size: 24px;
    margin-right: 3px;
    transition: color 0.3s, transform 0.3s; 
}





/* ! Loading  */


#loadingoverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}


.loading-spinner {
    border: 8px solid rgba(255, 255, 255, 0.3);
    border-top: 8px solid #ffffff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}


@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}



