@font-face {
    font-family: TangoSans;
    src: url('../assets/fonts/tango-sans/TangoSans.ttf');
}

@font-face {
    font-family: LiberationSans;
    src: url('../assets/fonts/liberation-sans/LiberationSans-Regular.ttf');
}

:root {
    --background-color: #131313;
    --background-lighter-color: #212121;
    --white-color: #F3F3F3;
    --purple-color: rgb(131, 30, 255);
    --light-gray: #3c3c3c;
}

::selection {
    background: var(--purple-color); /* Background color of the highlighted text */
    color: #000000; /* Text color of the highlighted text */
}

body {
    margin: 0;
    font-family: TangoSans;
    color: var(--white-color);
    background-color: var(--background-color);
    scrollbar-color: var(--thumbBG) var(--scrollbarBG);
    scrollbar-width: thin;
}

/* Width of the entire scrollbar */
::-webkit-scrollbar {
    width: 12px;
    height: 12px; /* for horizontal scrollbar */
}

/* Background of the scrollbar track */
::-webkit-scrollbar-track {
    background: var(--background-color);
    border-radius: 10px;
}

/* Scrollbar handle (thumb) */
::-webkit-scrollbar-thumb {
    background: var(--purple-color);
    border-radius: 10px;
}

/* Hover effect for scrollbar handle */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Width of the scrollbar */
html {
    scrollbar-width: thin; /* auto, thin, none */
    scrollbar-color: var(--purple-color) var(--background-color); /* thumb color and track color */
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--background-lighter-color);
    padding: 20px;
    transition: 0.25s ease;
}

.header:hover {
    background-color: #1d1d1d;
}

.header .logo-container {
    display: flex;
    align-items: center;
}

.header img.logo {
    width: 60px;
    margin-right: 10px;
    transition: 0.2s cubic-bezier(.29,0,.16,1);
}

.header img.logo:hover {
    transform: scale(1.05);
}

.header a.logo {
    font-size: 20px;
    font-weight: bold;
    color: var(--white-color);
    text-decoration: none;
}

.header a {
    color: var(--white-color);
    text-align: center;
    padding: 8px;
    text-decoration: none;
    font-size: 16px;
    line-height: 22px;
    border-radius: 4px;
    position: relative;
    text-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
    transition: 0.25s ease;
}

.header a:hover {
    text-shadow: 0px 0px 20px rgba(243, 243, 243, 1);
}

.header-right a::before {
    content: '';
    position: absolute;
    width: 0;
    height: 5px;
    bottom: 0;
    left: 50%;
    background-color: var(--purple-color);
    transform: translateX(-50%);
    transition: 0.3s ease-in-out;
    transform-origin: center;
}

.header-right a:hover::before {
    width: 75%;
    height: 2px;
}

.header a.active {
    background-color: var(--purple-color);
    color: var(--white-color);
}

.header-right {
    display: flex;
    align-items: center;
}

/* Add media queries for responsiveness */
@media screen and (max-width: 500px) {
    .header {
        flex-direction: column;
        align-items: flex-start;
    }
    .header a {
        text-align: left;
    }
    .header-right {
        width: 100%;
        justify-content: space-between;
    }
    .header img.logo {
        display: none;
    }
}

.seperator {
    border: none;
    height: 2px;
    width: 50%;
    max-width: 800px;
    background-color: var(--light-gray); /* or any color you prefer */
}

footer {
    height: 75px;
    background-color: var(--background-lighter-color);
    margin-top: 50px;
    transition: 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
}

footer:hover {
    background-color: #1d1d1d;
}

.legal-notice {
    margin-left: 20px;
    color: #6d6d6d;
    text-decoration: underline; /* Underline the text */
}

.footer-right {
    display: flex;
}

.footer-right img {
    width: 25px;
    transition: 0.2s cubic-bezier(.29,0,.16,1);
}

.footer-right img:hover {
    width: 27px;
}

.icons-div {
    width: 27px;
}

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--background-color); /* background color */
    z-index: 9999; /* ensure it's on top of everything */
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner {
    width: 80px;
    height: 80px;
    border: 4px solid rgb(0, 0, 0); /* spinner color */
    border-radius: 50%;
    border-top-color: var(--purple-color); /* spinner color */
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Hide content until loaded */
.content {
    display: none;
}
