@import url('https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
    font-family: "Space Mono", sans-serif;
    color: #eaeaea;
}

::-webkit-scrollbar {
    width: 10px;
    background-color: rgba(0, 0, 0, 0);
}

::-webkit-scrollbar-thumb {
    background-color: #555;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:window-inactive {
    background-color: transparent;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #777;
}

::-webkit-scrollbar-track {
    background-color: transparent;
}

/* ---- base ---- */

html,
body {
    width: 100%;
    height: 100%;
    background: #111;
}

/* ---- particles.js container ---- */

#particles-js {
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: #0a0a0a;
    pointer-events: none;
}

/* ---- navbar ---- */

.left {
    display: flex;
    justify-content: space-between;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: calc(100% - 10px);
    height: 70px;
    max-height: 70px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    display: flex;
    z-index: 1000;
    align-items: center;
    justify-content: space-between;
    padding: 5px;
    user-select: none;
}

.nav-link {
    color: #eaeaea;
    text-decoration: none;
    margin: 0 5px;
    padding: 10px 15px;
    border-radius: 5px;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    font-size: 18px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.nav-link.active,
.nav-link:hover {
    background-color: #eaeaea;
    color: #0a0a0a;
    border-color: #1377e9;
}

.nav-link:hover::before {
    opacity: 1;
    transform: translateY(175%) translateX(-25%);
    transition: all 0.4s ease;
}

.nav-link::before {
    content: attr(data-tooltip);
    font-family: "Inter", sans-serif;
    opacity: 0;
    font-size: 14px;
    color: #151a2d;
    display: inline-block;
    position: absolute;
    pointer-events: none;
    padding: 6px 12px;
    border-radius: 8px;
    white-space: nowrap;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(225%) translateX(-25%);
}

nav .logo {
    margin-left: 20px;
    font-size: 24px;
    font-weight: bold;
}

.highlight {
    color: #1377e9;
    text-shadow: #1377e9 0px 0px 20px;
}

/* ---- main ---- */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100vh;
    width: 100vw;
    z-index: 100;
    text-align: center;
    position: absolute;
    padding: 20px;
    background-color: transparent;
    pointer-events: none;
}

.hero h1 {
    font-size: 50px;
    margin-bottom: 20px;
    color: #eaeaea;
    text-shadow: #1377e9 0px 0px 20px;
    user-select: none;
}

/* ---- discord ---- */
.discord-modal-header {
    display: flex;
    justify-content: space-between;
}

.discord-modal-header button {
    z-index: 3458683458;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.discord-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 8234589;
}

.discord-modal-content {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 8234589;
    background-color: #333;
    padding: 20px;
    border-radius: 20px;
    transform: translate(-50%, -50%);
}