@import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap");

:root {
    --bg-color: #252129;
    --main-accent: #bb8de1;
    --main-accent-transparent: rgb(187, 141, 225, 0.4);
    --second-accent: #8063a7;
    --white: #fff;
}

* {
    font-family: "Nunito", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
}

#circularcursor {
    background-color: transparent;
    border: 3.2px solid var(--main-accent);
    height: 25px;
    width: 25px;
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    position: absolute;
    z-index: 1000000000;
    pointer-events: none;
    transition: border-color 0.15s, filter 0.15s;
    filter: drop-shadow(0px 0px 2px var(--main-accent));
}

.button-hover #circularcursor {
    border-color: var(--white);
    filter: drop-shadow(0px 0px 5px var(--white));
}

html,
body {
    width: 100%;
    height: 100%;
}

body {
    background-color: var(--bg-color);
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--main-accent) 0.12vw, transparent 0);
    background-size: 5vw 5vw;
    background-position: 0 0;
    opacity: 0.4;
    pointer-events: none;
    z-index: -1;
}

header {
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 200000;
    height: 72px;
    width: 100vw;
}

header>a>svg {
    width: 80px;
    height: 80px;
    margin-left: 17px;
    margin-top: 17px;
    transition: 0.2s;
}

header>a>svg:hover {
    scale: 1.2;
}

header div.desktop-nav-wrapper {
    position: absolute;
    top: 15px;
    left: 0;
    width: 100%;
    height: inherit;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

nav.desktop-nav {
    display: flex;
    gap: 60px;
    align-items: center;
    pointer-events: initial;
}

nav.desktop-nav a {
    text-decoration: none;
    color: var(--white);
    display: block;
    height: fit-content;
    transition: scale 0.2s, color 0.2s;
    font-size: 1.5em;
    padding: 2px;
    user-select: none;
}

nav.desktop-nav a:hover {
    color: var(--white);
    scale: 1.07;
    text-decoration: underline;
    text-decoration-color: var(--main-accent);
    text-underline-offset: 5px;
    text-decoration-thickness: 2px;
    text-shadow: 0px 0px 5px var(--main-accent);
}

nav.desktop-nav a:active {
    scale: 1.03;
}

header button.sidebar-toggle {
    margin-left: auto;
    margin-right: 40px;
    margin-top: 20px;
    background-color: transparent;
    border: none;
    color: var(--white);
    font-size: 2.5em;
    display: none;
    transition: scale 0.2s;
}

.sidebar-toggle:hover {
    color: var(--white);
    scale: 1.07;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-decoration-color: var(--main-accent);
    text-shadow: 0px 0px 5px var(--main-accent);
}

.sidebar-toggle:active {
    color: var(--white);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-decoration-color: var(--main-accent);
    text-shadow: 0px 0px 5px var(--main-accent);
}

div.mobile-nav-wrapper {
    display: none;
}

@media screen and (max-width: 750px) {
    body::before {
        background-image: none;
    }
    
    #circularcursor {
        display: none;
    }

    header {
        background-color: var(--bg-color);
    }

    header div.desktop-nav-wrapper {
        display: none;
    }

    header button.sidebar-toggle {
        display: block;
    }

    header.nav-opened * {
        color: var(--white) !important;
        text-shadow: 0px 0px 5px var(--white) !important;
    }

    header svg,
    header button.sidebar-toggle {
        z-index: 1000000;
    }

    div.mobile-nav-wrapper {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
        translate: 100% 0;
        pointer-events: none;
        transition: translate 0.3s, opacity 0.3s;
        z-index: 100000;
        background-color: var(--bg-color);
        background-image: none;
        background-size: 5vw 5vw;
        background-position: 0 0;
        pointer-events: none;
      }
      

    div.mobile-nav-wrapper.show {
        translate: 0 0;
        pointer-events: initial;
    }

    div.mobile-nav-wrapper a {
        color: var(--white);
        display: block;
        font-size: 2.5em;
        text-align: center;
        margin-bottom: 20px;
        text-decoration: none;
        transition: scale 0.2s, color 0.2s;
    }

    div.mobile-nav-wrapper a:hover {
        color: var(--white);
        scale: 1.07;
        text-decoration: underline;
        text-decoration-thickness: 2px;
        text-decoration-color: var(--main-accent);
        text-underline-offset: 5px;
        text-shadow: 0px 0px 5px var(--main-accent);
    }
}

.logo-arrow {
    filter: drop-shadow(0px 0px 5px var(--second-accent));
}

.logo-text {
    filter: drop-shadow(0px 0px 5px var(--main-accent));
}