/* CSS */
:root {
    font-family: "InterVariable", sans-serif;
    font-feature-settings: 'liga' 1, 'calt' 1; /* fix for Chrome */
}
  
@supports (font-variation-settings: normal) {
    :root { font-family: InterVariable, sans-serif; }
}
  
* {
    font-family: "Inter";
}


html {
    width: 100%;
    min-height: 100%;
    overflow: visible;
    scroll-behavior: smooth;
    scroll-padding-top: 5vh;
}

body{
    width: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    height: 100%;
}

header {
    display: flex;
    flex-direction: row;
    margin: 0;
    padding: 0;
    background-color: rgb(44, 44, 44);
    color: white;
    min-height: 5vh;
    width: 100%;
    flex-wrap: wrap;
}

header h1 {
    padding-top: 0.15%;
    margin-left: 1%;
    font-size: 3.9vh;
    background-color: rgb(126, 0, 176);
}

nav {
    width: 100%;
    padding-top: 0.7%;
}

nav a {
    text-align: center;
    text-decoration: none;
    color: white;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-decoration: none;

}

nav li {
    display: inline;
    margin-left: 3%;
    font-size: 2.5vh;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    transition: color 0.35s;
    color: rgb(99, 99, 99);
}

#desktop-nav {
    width: 75%
}

.floating {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 9999;
}

#mobile-nav {
    display: none;
    background-color: rgb(44, 44, 44);
    margin: 0;
    padding: 0;
    height: 5vh;
}

#mobile-nav-button {
    display: none;
}

.mobile-nav-button-icon {
    border: none;
    width: 70px;
    margin-left: 5%;
    outline: none;
    cursor: pointer;
    transition: 0.3s;
    margin: 0 auto;
    padding: 0;
}

.mobile-nav-button-icon:hover {
    background-color: rgb(165, 1, 230);
}

.mobile-nav-button-bar {
    width: 30px;
    min-height: 3px;
    background-color: white;
    margin: 0 auto;
    margin-top: 6px;
    margin-bottom: 6px;
}

.mobile-nav-button-bar-container {
    margin-top: 0%;
    padding-top: 0%;
}

@media only screen and (max-width: 767px){
    header {
        width: 100%;
        flex-direction: column;
        min-width: 0%;
    }
    body {
        min-width: 0%;
    }
    header h1 {
        margin: 0 auto;
    }
    #desktop-nav {
        display: none;
    }
    #mobile-nav {
        display: block;
        margin-top: 0.5vh;
        height: 4vh;
        margin-bottom: 1.5vh;
    }

    #mobile-nav-items {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.2s ease-out;
        background-color: rgb(50, 50, 50);
        text-align: center;
        display: flex;
        flex-direction: column;
    }

    #mobile-nav-items h4 {
        font-size: 4vw;
        margin-top: 2%;
        margin-bottom: 0%;
    }

    .mobile-nav-button:checked ~ #mobile-nav-items {
        max-height: 100vh;
    }

    label {
        margin: 0;
        padding: 0;
    }
    nav {
        padding: 0;
        margin: 0;
    }
}

img {
    border-radius: 2%;
}

