#navbar {
    background-color: var(--main);
    /*opacity: 0.8;*/
    position:fixed;
    top: 0;
    height: fit-content;
    width: calc(100% - 100px);
    display: flex;
    flex-direction: row;
    text-align: center;
    padding-left: 50px;
    padding-right: 50px;
    z-index: 1000;
}

.navbar-title {
    font-family: var(--font);
    text-align: center;
    font-weight: bolder;
    font-size: 40px;
    color: var(--text-color-buttons);
    margin: 10px;
    text-decoration: none;
}

.navbar-spreader {
    margin-right: auto;
}

.navbar-element {
    /*padding-top: calc((70px / 2) - (23px / 2));
    display:table;*/
    height: 23px;
    padding-top: auto;
    display: flex;
    align-items: center;
    margin-left: 10px;
    margin-right: 10px;
    text-decoration: none;
    color: var(--text-color-buttons);
}

#navbar-element-menu {
    display: none;
}

.navbar-text {
    display: table-cell;
    font-family: var(--font);
    vertical-align: middle;
    margin-top: 50px;
    font-size: 18px;
    text-decoration: none;
    color: var(--text-color-buttons);
}

#mobile_navbar {
    margin-top: 70px;
    background-color: var(--main);
    opacity: 0.99;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    width: 100%;
    display: none;
    z-index: 1000;
}

.navbar-element_mobile {
    width: 100%;
    height: fit-content;
    align-items: center;
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin: 20px;
    cursor: pointer;
}

.navbar-text_mobile {
    font-family: var(--font);
    color: var(--text-color-buttons);
    text-decoration: none;
    align-self: center;
}

#menu_button {
    cursor: pointer;
}

#logout_text {
    cursor: pointer;
}

@media(min-width: 730px) {
    #mobile_navbar {
        display: none !important
    }
}

@media(max-width: 775px) {
    #navbar {
        padding-left: 0;
        padding-right: 0;
        width: 100%;
    }
}

@media (max-width: 730px) {
    #navbar-element-menu {
        display: flex;
    }

    .navbar-element {
        display: none;
    }
}