/*
Coded by EricDonaldo
*/

nav {
    box-shadow: 3px 3px 5px rgba(19, 83, 129, 0.1);
}

nav ul {
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

nav li {
    height: 50px;
}

nav a {
    height: 100%;
    padding: 0 30px;
    text-decoration: none;
    display: flex;
    align-items: center;
    color: rgb(255, 255, 255);
}

nav a:hover {
    background-color: rgba(0, 0, 0, 0.4);
}

nav li:first-child {
    margin-right: auto;
}

.header-nav {
    position: fixed;
    width: 100%;
    top: 0;
    background: linear-gradient(rgba(8, 37, 58, 1), rgba(14, 56, 86, 0.0));
    z-index: 998;
}

.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    z-index: 999;
    background:
        linear-gradient(rgba(19, 83, 129, 0.5), rgba(0, 0, 0, 1));
    backdrop-filter: blur(10px);
    box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.sidebar li {
    width: 100%;
}

.sidebar a {
    width: 100%;
}

@media(max-width: 800px) {

    /*Hide header items on smallscreen*/
    .hideOnMobile {
        display: none;
    }
}

@media(max-width: 400px) {

    /*Make sidebar cover full screen on small screen if opened*/
    .sidebar {
        width: 100%;
        height: 100%;
    }
}