:root {
    --body-background-color: rgb(17, 17, 17);
    --body-color: rgb(51, 51, 51);

    --nav-background-color: rgba(70, 70, 70, 0.1);
    --nav-border-color: rgba(255, 255, 255, 0.1);
    --nav-logo-color: rgb(255, 93, 0);
    --nav-logotext-color: rgb(255, 93, 0);
    --nav-logotext-sec-color: rgb(255, 255, 255);

    --footer-background-color: rgb(7, 7, 7);
    --footer-border-color: rgb(88, 88, 88);
    --footer-color: rgb(128, 128, 128);
    --footer-logotext-color: rgba(255, 255, 255, 0.8);
    --footer-logotext-hover-color: rgb(255, 93, 0);
    --footer-tagline-color: rgb(102, 102, 102);
    --footer-text-color: rgba(255, 255, 255, 0.2);
    --footer-text-hover-color: rgba(255, 255, 255, 0.8);
}

:root[data-theme="light"] {
    /*--body-background-color: rgb(248, 250, 252);
    --body-color: rgb(0, 35, 73);

    --nav-background-color: rgba(68, 98, 131, 0.4);
    --nav-links-hover-background-color: rgba(59, 155, 255, 0.15);
    --nav-links-non-selected-color: rgba(0, 35, 73, 0.5);
    --nav-links-non-selected-hover-color: rgb(0, 35, 73);
    --nav-non-selected-color: rgb(255, 255, 255);
    --nav-non-selected-hover-background-color: rgba(0, 0, 0, 0.06);

    --user-dropdown-background-color: rgba(0, 0, 0, 0.06);
    --user-dropdown-icon-color: rgb(0, 35, 73);
    --user-dropdown-content-background-color: rgba(195, 220, 247, 0.98);
    --user-dropdown-content-item-hover-background-color: rgba(0, 0, 0, 0.1);
    --user-dropdown-content-title: rgb(0, 35, 73);
    --user-dropdown-content-subtext: rgb(45, 56, 80);*/
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-y: scroll;
    scrollbar-width: none;
}

* {
    -webkit-tap-highlight-color: transparent;
}

button:focus {
    outline: none;
}

button, a {
    -webkit-tap-highlight-color: transparent;
}

button::-moz-focus-inner {
    border: 0;
}

body {
    background: radial-gradient(circle at center, #181818, #0a0a0a 55%);
    color: var(--body-color);
}

body::-webkit-scrollbar {
    display: none;
}

.nav {
    display: flex;
    align-items: center;
    padding: 1rem;
    background-color: var(--nav-background-color);
    min-width: auto;
    height: 3.5%;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 100;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--nav-border-color);
    transition: background 0.3s, backdrop-filter 0.3s;
}

.inner-nav {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    flex-wrap: nowrap;
    margin: 0 auto;
}

.nav-logobox {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    align-items: center;
    text-decoration: none;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.nav-logo {
    color: var(--nav-logo-color);
}

.nav-logo svg {
    height: 40px;
    width: 40px;
}

.nav-logotext {
    display: flex;
    flex-direction: column;
    margin-left: 10px;
}

.nav-logotext .first {
    font-family: "Hanken Grotesk", sans-serif;
    font-optical-sizing: auto;
    font-weight: 1200;
    font-style: normal;
    color: var(--nav-logotext-color);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-logotext .second {
    font-family: "Quicksand", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    color: var(--nav-logotext-sec-color);
    text-decoration: none;
    font-size: 0.7rem;
    margin-left: auto;
}

.nav-logobox:hover {
    opacity: 0.7;
}

:root {
    --nav-menu-background-color: rgb(7, 7, 7);
    --nav-menu-border-color: rgba(255, 255, 255, 0.1);
    --nav-menu-divider-color: rgba(255, 255, 255, 0.5);
    --nav-menu-button-color: rgba(255, 255, 255, 0.8);
}

.nav-menu-button {
    position: absolute;
    right: 50px;
    cursor: pointer;
    transition: transform 0.5s ease;
}

.nav-menu-button svg {
    width: 30px;
    height: auto;
    color: var(--nav-menu-button-color);
    transition-duration: 0.3s;
}

.nav-overlay {
    position: fixed;
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
}

.nav-overlay.is-open {
    opacity: 1;
}

.nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    height: 50px;
    align-items: center;
    gap: 12px;
    padding: 0 15px;

    background: var(--nav-menu-background-color);
    border: 2px solid var(--nav-menu-border-color);
    border-right: none;
    border-radius: 10px 0 0 10px;
    top: 5px;
    z-index: 9999;

    transform: translateX(100%);
    transition: transform 260ms cubic-bezier(.22,.61,.36,1);
    will-change: transform;

    pointer-events: none;
    display: flex;
    flex-wrap: nowrap;
}

.nav-menu.is-open {
    transform: translateX(0);
    pointer-events: auto;
}

.nav-divider {
    display: flex;
    background: var(--nav-menu-divider-color);
    margin: 0 4px;
    height: 50%;
    width: 1px;
    border-radius: 10px;
}

.nav-button {
    display: flex;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.nav-button svg {
    color: var(--nav-menu-button-color);
}

.nav-button:hover {
    opacity: 1;
}

.nav-close {
    transform: scale(1.1);
}

.user-avatar {
    border-radius: 50%;
}

.nav-discord:hover svg {
    animation: discord 1s cubic-bezier(.25, .8, .25, 1) 1 both;
    will-change: transform;
}

@keyframes discord {
    0% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-10deg);
    }
    55% {
        transform: rotate(10deg);
    }
    80% {
        transform: rotate(-2deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

.footer {
    background: var(--footer-background-color);
    color: var(--footer-color);
    min-height: 200px;
    border-top: 1px solid var(--footer-border-color);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 20px;
    display: flex;
    gap: 32px;
    flex-wrap: nowrap;
}

.footer-container {
    flex: 1 1 0;
    min-width: 0;
    box-sizing: border-box;
    transition-duration: 0.3s;
}

.footer-logobox {
    margin-right: 30px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 12px;
    text-decoration: none;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.footer-logo svg {
    color: var(--footer-logotext-color);
    transition: color 0.3s ease;
}

.footer-logotext {
    font-family: "Quicksand", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 700;
    font-size: clamp(18px, 2.2vw, 22px);
    color: var(--footer-logotext-color);
    transition: color 0.3s ease;
}

.footer-logo:hover {
    opacity: 0.8;
}

.footer-logo:hover svg, .footer-logo:hover .footer-logotext {
    color: var(--footer-logotext-hover-color);
}

.footer-logotagline {
    font-family: "Rubik", sans-serif;
    font-weight: 300;
    font-style: normal;
    margin-top: 8px;
    text-align: center;
    color: var(--footer-tagline-color);
}

.footer-title {
    font-family: "Hanken Grotesk", sans-serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
    margin: 0 0 10px;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: .02em;
}

.footer-links {
    list-style: none;
    margin: 0; padding: 0;
    display: grid;
    gap: 8px;
}

.footer-links a {
    font-family: "Varela Round", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: var(--footer-text-color);
    text-decoration: none;
    transition-duration: 0.3s;
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: var(--footer-text-hover-color);
    outline: none;
}

.footer-bottom-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.footer-bottom {
    border-top: 1px solid var(--footer-border-color);
    padding: 12px 20px;
    color: var(--footer-text-color);
    font-family: "Varela Round", sans-serif;
    font-size: .9rem;
    padding-bottom: 40px;
}

.footer-bottom a {
    color: var(--footer-text-color);
    font-family: "Varela Round", sans-serif;
    font-size: .9rem;
    text-decoration: none;
    transition-duration: 0.3s;
}

.footer-bottom a:hover {
    color: var(--footer-text-hover-color);
}

@media (max-width: 1300px) {
    .drawer {
        width: 97%;
    }

    .drawer-header, .drawer-content {
        padding-left: 24px;
    }
}

@media (max-width: 1300px) {
    .nav-logo img {
        max-height: 35px;
    }
}

@media (max-width: 1000px) {
    .nav-right {
        position: absolute;
        right: 70px;
    }

    .footer-inner {
        flex-wrap: none;
        flex-direction: column;
        align-items: stretch;
    }

    .footer-container, .footer-container * {
        align-items: center;
        text-align: center;
    }

    .footer-logobox {
        margin-right: 0;
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
}