:root {
    --background-color: rgb(5, 10, 24);
    --border-color: rgb(255, 255, 255, 0.1);
    --highlight-color: rgb(24, 47, 76);
    --text-underline: rgb(109 125 146);
}
@font-face { 
  font-family: "Mandator";
  font-display: swap;
  font-weight: 400;
  src: url(/Mandator.woff2)
}

* {
    font-family: 'Mandator', sans-serif;
    box-sizing: border-box;
    user-select: none;
    text-decoration: none;
    color: white;
}
body {
    background-color: var(--background-color);
    display: flex;
    flex-direction: column;
    height: 100vh;
    margin: 0px;
    overflow-x: hidden;
}
.body{
    overflow-y: hidden;
}
nav {
    position: relative;
    display: flex;
    width: 100%;
    border-bottom: 1px solid var(--border-color);
    z-index: 1;
    cursor: auto;
    background: var(--background-color);
}

nav .nav-section {
    padding: 3rem 2rem;
    display: flex;
    gap: 1rem;
    border-left: 1px solid var(--border-color);
    align-items: center;
    justify-content: center;
}

#nav-mobile-section {
    display: flex;
    flex-basis: calc(100% * (2 / 3));
    z-index: 2;
    position: relative;
}

#nav-toggle-button {
    align-items: center;
    background-color: transparent;
    border: none;
    border-left: 1px solid var(--border-color);
    color: white;
    cursor: pointer;
    display: none;
    gap: 0.8rem;
    height: 100%;
    justify-content: center;
    outline: none;
    padding: 0rem 3rem;
    position: relative;
    z-index: 3;
}

#nav-toggle-button:hover, #nav-toggle-button:hover>span {
    color: var(--highlight-color);
}

#nav-toggle-button>span, #nav-toggle-button>i {
    display: inline-block;
    height: 1rem;
    line-height: 1rem;
}

#nav-social-section, #nav-contact-section {
    flex-grow: 1;
}

#nav-logo-section {
    flex-basis: calc(100% * (1 / 3));
    justify-content: flex-start;
}

#nav-logo-section>a>i {
    font-size: 2.5rem;
}
#nav-logo-section>#toggle{
    width: 100px;
    height: 30px;
    background-color: #2c3a47;
}
#nav-link-section {
    flex-basis: 100%;
    gap: 6rem;
    display: flex;
    flex-direction: row;
    justify-self: flex-end;
    justify-content: flex-end;
}

#nav-social-section {
    gap: 3rem;
}
@media(max-width: 1200px) {
    * {
    font-family: 'Mandator', sans-serif;
    box-sizing: border-box;
    user-select: none;
    text-decoration: none;
    color: white;
}
    #nav-mobile-section {
        flex-basis: calc(100% * 0.75);
    }

    #nav-logo-section {
        flex-basis: calc(100% * 0.5);
    }

    #nav-link-section {
        flex-basis: 100%;
        gap: 3rem;
    }
}
@media(max-width: 800px) {
    * {
    font-family: 'Mandator', sans-serif;
    box-sizing: border-box;
    user-select: none;
    text-decoration: none;
    color: white;
}
    .body{
        overflow-y: visible;
    }
    nav {
        justify-content: space-between;
    }

    nav[data-toggled="true"]>#nav-mobile-section {
        transform: translateY(0%);
    }

    nav[data-toggled="true"]>#nav-toggle-button {
        border-left: none;
    }

    nav[data-transitionable="true"]>#nav-mobile-section {
        transition: transform 400ms ease;
    }

    nav .nav-section {
        border-left: none;
        padding: 1.5rem 1rem;
        flex-basis: calc(100% * 0.3);
    }

    #nav-logo-section>a>i {
        font-size: 1.5rem;
        margin-left: 1rem;
    }

    #nav-mobile-section {
        background-color: var(--background-color);
        flex-direction: column;
        position: relative;
    }

    #nav-toggle-button {
        display: flex;
    }

    #nav-link-section {
        display: flex;
        flex-direction: row;
        font-size: 0.5rem;
        justify-content: flex-end;
    }

    #nav-link-section>a {
        font-size: 1rem;
    }

    #nav-social-section>a {
        font-size: 1rem;
    }

    #nav-contact-section {
        padding-bottom: 4rem;
    }
}
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 10px;
}