/* Desktop NavBar */
@media only screen and (min-width: 1150px) {
    #navbar {
        position: fixed;
        width: 100%;
        background-color: #2a2b34;
        height: 64px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        overflow-y: hidden;
    }

    /* Logo Section */
    #navbar #logo {
        width: 96px;
        background-color: #222329;
    }

    #navbar #logo img {
        height: 64px;
        width: 64px;
        padding: 0 16px;
    }

    /* Link Section */
    #navbar #links {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        padding: 0 8px;
    }

    #navbar #links .title {
        color: #fca;
        font-weight: bold;
    }

    #navbar #links li {
        list-style: none;
        font-size: 24px;
        line-height: 24px;
        padding: 2.5px 12px;
    }

    #navbar #links a {
        text-decoration: none;
        color: #ffffff;
        -webkit-transition: all linear 125ms;
        -o-transition: all linear 125ms;
        transition: all linear 125ms;
    }

    #navbar #links a:hover {
        color: #ffccaa;
    }

    #navbar #links a:hover + .dropdown {
        opacity: 1.0;
        visibility: visible;
    }

    #navbar #links a:hover + .side-dropdown {
        opacity: 1.0;
        visibility: visible;
    }


    /* Links Dropdown Section */
    #navbar #links .dropdown {
        position: fixed;
        top: 64px;
        min-width: 128px;
        width: -moz-fit-content;
        width: fit-content;
        padding: 4px;
        background-color: #41434f;
        opacity: 0.0;
        -webkit-transition-delay: 100ms;
        -o-transition-delay: 100ms;
        transition-delay: 100ms;
        -webkit-transition: all 250ms ease-in-out;
        -o-transition: all 250ms ease-in-out;
        transition: all 250ms ease-in-out;
        visibility: hidden;
    }

    #navbar #links .side-dropdown {
        position: absolute;
        top: 0;
        left: 128px;
        min-width: 128px;
        width: -moz-max-content;
        width: max-content;
        padding: 4px;
        background-color: #41434f;
        opacity: 0.0;
        -webkit-transition-delay: 100ms;
        -o-transition-delay: 100ms;
        transition-delay: 100ms;
        -webkit-transition: all 250ms ease-in-out;
        -o-transition: all 250ms ease-in-out;
        transition: all 250ms ease-in-out;
        visibility: hidden;
        border: rgba(0, 0, 0, 0.5) solid 2px;
        border-radius: 4px;
    }

    #navbar #links .dropdown:hover {
        opacity: 1.0;
        visibility: visible;
    }

    #navbar #links .side-dropdown:hover {
        opacity: 1.0;
        visibility: visible;
    }

    #navbar #links .dropdown li {
        padding: 4px;
    }

    #navbar #links .side-dropdown li {
        padding: 4px;
    }

    /* Account Section */
    #navbar #account {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        padding: 0 8px;
        height: 64px;
        position: absolute;
        right: 0;
    }

    #navbar #account li {
        list-style: none;
        font-size: 24px;
        line-height: 24px;
        padding: 2.5px 8px;
    }

    #navbar #account a {
        text-decoration: none;
        color: #ffffff;
        -webkit-transition: all linear 125ms;
        -o-transition: all linear 125ms;
        transition: all linear 125ms;
    }

    #navbar #account a:hover {
        color: #ffccaa;
    }

    #navbar #account img {
        height: 48px;
        width: 48px;
        margin: 8px;
        border-radius: 4px;
    }
}


/* Mobile Navbar */
@media only screen and (max-width: 1150px) {
    #navbar {
        position: fixed;
        width: 100%;
        background-color: #2a2b34;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        flex-flow: column;
    }

    /* Logo Section */
    #navbar #logo {
        width: 100%;
        height: 48px;
        background-color: #222329;
    }

    #navbar #logo img {
        height: 48px;
        width: 48px;
        padding: 0 16px;
    }

    /* Link Section */
    #navbar #links {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        flex-flow: wrap;
        padding: 0 8px;
        margin: 16px auto;
    }

    #navbar #links .title {
        color: #fca;
        font-weight: bold;
    }

    #navbar #links li {
        list-style: none;
        font-size: 20px;
        line-height: 16px;
        padding: 0 8px;
        margin: auto;
    }

    #navbar #links a {
        text-decoration: none;
        color: #ffffff;
        -webkit-transition: all linear 125ms;
        -o-transition: all linear 125ms;
        transition: all linear 125ms;
    }

    #navbar #links a:hover {
        color: #ffccaa;
    }

    #navbar #links a:focus + .dropdown, #navbar #links a:hover + .dropdown {
        opacity: 1.0;
        visibility: visible;
    }

    #navbar #links a:focus + .side-dropdown, #navbar #links a:hover + .side-dropdown {
        opacity: 1.0;
        visibility: visible;
    }

    /* Links Dropdown Section */
    #navbar #links .dropdown {
        position: fixed;
        min-width: 128px;
        width: -moz-fit-content;
        width: fit-content;
        margin-top: 16px;
        padding: 4px;
        background-color: #41434f;
        opacity: 0.0;
        visibility: hidden;
        -webkit-transition-delay: 100ms;
        -o-transition-delay: 100ms;
        transition-delay: 100ms;
        -webkit-transition: all 250ms ease-in-out;
        -o-transition: all 250ms ease-in-out;
        transition: all 250ms ease-in-out;
    }

    #navbar #links .side-dropdown {
        position: absolute;
        top: 0;
        left: 128px;
        min-width: 128px;
        width: -moz-max-content;
        width: max-content;
        margin-top: 16px;
        padding: 4px;
        background-color: #41434f;
        opacity: 0.0;
        visibility: hidden;
        -webkit-transition-delay: 100ms;
        -o-transition-delay: 100ms;
        transition-delay: 100ms;
        -webkit-transition: all 250ms ease-in-out;
        -o-transition: all 250ms ease-in-out;
        transition: all 250ms ease-in-out;
        border: rgba(0, 0, 0, 0.5) solid 2px;
        border-radius: 4px;
    }

    #navbar #links .dropdown:focus, #navbar #links .dropdown:hover {
        opacity: 1.0;
        visibility: visible;
    }

    #navbar #links .side-dropdown:focus, #navbar #links .side-dropdown:hover {
        opacity: 1.0;
        visibility: visible;
    }

    #navbar #links .dropdown li {
        padding: 4px;
    }

    #navbar #links .side-dropdown li {
        padding: 4px;
    }

    /* Account Section */
    #navbar #account {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        padding: 0 8px;
        height: 48px;
        position: absolute;
        right: 0;
    }

    #navbar #account li {
        list-style: none;
        font-size: 22px;
        line-height: 16px;
        padding: 0 4px;
    }

    #navbar #account a {
        text-decoration: none;
        color: #ffffff;
        -webkit-transition: all linear 125ms;
        -o-transition: all linear 125ms;
        transition: all linear 125ms;
    }

    #navbar #account a:hover {
        color: #ffccaa;
    }

    #navbar #account img {
        height: 32px;
        width: 32px;
        margin: 8px;
        border-radius: 4px;
    }
}


/* Tiny Mobile Navbar */
@media only screen and (max-width: 750px) {
    #navbar #links li {
        font-size: 18px;
        padding: 0 4px;
    }
}


/* Super Tiny Mobile Navbar */
@media only screen and (max-width: 630px) {
    #navbar #links li {
        font-size: 15px;
    }
}


/* Super Tiny Mobile Navbar */
@media only screen and (max-width: 480px) {
    #navbar #links li {
        font-size: 13px;
    }
}
