html {
    scroll-snap-type: y mandatory;
}

body {
    font-family: "Roboto Flex";
    font-weight: 700;
    font-variation-settings: "XTRA" 600;
    margin-left: auto;
    margin-right: auto;
    margin: 0px;
    background-color: black;
    color: white;
}

.stop-scroll {
    /* Assigned to the body at the beginning of page load.
    Prevents the user from scrolling until the opening animation ends */
    overflow: hidden;
    height: 100vh;
}

#header {
    /* Placeholder div for navbar */
    height: 70px;
}

#nav {
    position: fixed;
    display: flex;
    top: 0px;
    left: 0px;
    right: 0px;
    background-color: black;
    z-index: 100;
    height: 70px;
    border-bottom: 2px solid white;
    align-items: center;
}

#logo {
    padding: 25px;
    height: 30px;
    width: auto;
    transition: 1s ease-in-out;
}

#navbar ul {
    list-style: none;
    display: flex;
    padding: 0px;
    margin: 0px;
}

#navbar a {
    text-decoration: none;
    color: white;
    height: 70px;
    width: 150px;
    transition: 300ms ease;
}

#navbar li {
    width: 150px;
    height: 70px;
    line-height: 70px;
    text-align: center;
    transition: 300ms ease;
}

#navbar a:hover li {
    text-decoration: none;
    background-color: white;
    color: black;
    transition: 300ms ease;
}

#navbar a:hover {
    text-decoration: none;
    height: 70px;
    transition: 300ms ease;
}

#navbar {
    display: flex;
    margin-right: auto;
    margin-left: auto;
    width: 750px;
    height: 70px;
}

#content {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

#footer {
    font-weight: 550;
    text-align: center;
    color: white;
    height: 50px;
    line-height: 50px;
}

#footer p {
    color: white;
    margin: 0px;
    text-align: center;
}

.navbar-show {
    opacity: 1;
    height: 70px;
    transition: 1s ease-in-out;
}

.navbar-hide {
    opacity: 0;
    height: 70px;
    transition: 1s ease-in-out;
}

.nav-show {
    height: 70px;
    transition: 1s ease-in-out;
}

.nav-hide {
    height: 70px;
    transition: 1s ease-in-out;
}

@media (max-width: 768px) {
    #content {
        width: 100vw;
    }

    #nav {
        width: 100vw;
        position: static;
        display: flex;
        background-color: black;
        z-index: 100;
        border-bottom: 2px solid white;
        /* align-items: flex-start; */
        justify-content: space-between;
    }

    #navbar {
        max-height: 280px;
        margin: 0px;
        width: 60vw;
        margin-right: 3vw;
    }

    #navbar ul {
        list-style: none;
        display: block;
        margin-right: 10px;
        padding-right: 30px;
    }

    #navbar a {
        text-decoration: none;
        color: white;
        height: 70px;
        width: 60vw;
        transition: 300ms ease;
    }

    #navbar li {
        width: 60vw;
        height: 70px;
        line-height: 70px;
        text-align: right;
        transition: 300ms ease;
    }

    #navbar a:hover li {
        text-decoration: none;
        background-color: white;
        color: black;
        padding-right: 40px;
        transition: 300ms ease;
    }

    #header {
        /* Placeholder div for navbar */
        height: 0px;
    }

    .navbar-show {
        opacity: 1;
        height: 280px;
        /* visibility: visible; */
        transition: 300ms ease-in-out;
    }

    .navbar-hide {
        opacity: 0;
        filter: blur(5px);
        height: 70px;
        visibility: hidden;
        transition: 300ms ease-in-out;
    }

    .nav-show {
        height: 280px;
        /* visibility: visible; */
        transition: 300ms ease-in-out;
    }

    .nav-hide {
        height: 70px;
        /* visibility: hidden; */
        transition: 300ms ease-in-out;
    }

}