nav {
    height: var(--navbar-height);
    background: var(--darker-background-color);
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.11);
    display: flex;
    justify-content: center;
    align-items: center;
    position: sticky;
    top: 0;
    /*background-image: linear-gradient(to right bottom, #5c6368, #314453);*/
    z-index: 2;
}

.menupoint {
    text-align: center;
    background-color: var(--darker-background-color);
    top: var(--navbar-height);
    z-index: 1;
    position: sticky;
}

nav .logo {
    height: calc(var(--navbar-height) - 20%);
    display: block;
}

nav ul {
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    list-style: none;
    width: 880px;
    z-index: 2;
}

nav li {
    height: 100%;
    width: 190px;
    text-align: center;
    position: relative;
    color: var(--text-color);
    font-size: 16px;
}

nav li:hover {
    background: var(--accent-color);
}

nav ul a {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-color);
    font-size: 16px;
}

.dropdown {
    height: min-content;
    width: 200px;
    background: var(--little-darker-background-color);
    display: none;
    flex-direction: column;
    position: absolute;
    left: 0;
    top: var(--navbar-height);
}

.dropdown li {
    height: 70px;
    width: 100%;
}

.navbararrow {
    width: 0;
    height: 0;
    border-radius: 0%;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 10px solid var(--text-color);
    background-color: transparent;
    margin-left: 5px;
    margin-top: 2px;
}

.droppable {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.dropdown li a {
    justify-content: flex-start;
    padding-left: 30px;
    width: calc(100% - 30px);
    text-align: left;
}

nav li:hover .dropdown {
    display: flex;
}

nav input[type="checkbox"] {
    display: none
}

.expandable_li {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    transition: 150ms transform cubic-bezier(.4, 0, .2, 1);
}

.toggle_button {
    width: 30px;
    height: 23px;
    position: absolute;
    top: 25px;
    right: 25px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
}

.bar {
    height: 4px;
    width: 100%;
    background: var(--text-color);
    border-radius: 100px;
}

@media only screen and (max-width: 1050px) {
    nav {
        /*position: absolute;*/
        width: 100%;
    }
    nav ul {
        height: min-content;
        width: 100%;
        background: var(--darker-background-color);
        display: none;
        position: absolute;
        top: var(--navbar-height);
    }
    nav li {
        height: min-content;
        width: 100%;
    }
    nav ul a {
        padding: 30px 0;
    }
    .expandable_li {
        display: block;
    }
    .expandable_li label {
        padding: 30px 0;
        cursor: pointer;
        display: block;
    }
    .expandable_li:hover .dropdown {
        display: none;
    }
    .expandable_li input[type="checkbox"]:checked~.dropdown {
        display: block;
    }
    .dropdown {
        position: static;
        width: 100%;
    }
    .dropdown li {
        padding: 0;
        display: block;
        position: static;
        background: var(--little-darker-background-color);
    }
    .dropdown li a {
        width: 100%;
        padding: 0;
        justify-content: center;
    }
    #toggle_button:checked~ul {
        display: block;
    }
    .toggle_button {
        display: flex;
    }
    .menupoint {
        top: 0px;
        margin-top: var(--navbar-height);
    }
}