body {
    --mobile-navbar-height: 60px;
}

#app {
    left: 0;
    margin-left: 200px;
    min-height: 100%;
}

.ui.secondary.navbar {
    z-index: 999;
    position: static;
    overflow: hidden;
    margin-left: 0;
    margin-right: 0;
    border-right-style: solid;
    border-right-width: 1px;
    border-right-color: rgba(34, 36, 38, 0.15);
    background-color: #ffffff !important;
}

.navbar.menu .item {
    width: 100%;
    font-weight: bold !important;
    color: #777 !important;
    padding: 20px !important;
}

.ui.secondary.vertical.navbar.menu .item {
    border-radius: 30px !important;
    margin: 0 0 5px 0;
}

.ui.secondary.navbar .item i.icon {
    float: left !important;
    margin-left: 0 !important;
    margin-right: 25px !important;
}

.ui.desktop.navbar {
    top: 0 !important;
    position: fixed !important;
    height: 100% !important;
    width: 200px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 0;
}

.ui.mobile.navbar {
    bottom: 0;
    justify-content: space-around;
    position: fixed;
    left: 0;
    width: calc(100% - 28px) !important;
    display: flex;
    border-radius: 30px;
    margin: 14px !important;
    z-index: 9999999;
    font-size: 12px;

    /* glass effect */
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.ui.mobile.navbar .item {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 30px;
}

.bottom-menu {
    display: flex;
    flex-direction: column;
    position: absolute !important;
    bottom: 0 !important;
    width: 100% !important;
}

#app::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 4px;
}

#app::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: rgba(0, 0, 0, .5);
    box-shadow: 0 0 1px rgba(255, 255, 255, .5);
}

.navbar {
    -webkit-transition: margin 200ms ease-out;
    -moz-transition: margin 200ms ease-out;
    -o-transition: margin 200ms ease-out;
    transition: margin 200ms ease-out;
}

/*  DESKTOP  */
@media screen and (min-width: 600px) {
    #app {
        width: calc(100% - 200px);
        bottom: 0;
        margin-left: 200px;
    }

    .ui.desktop.navbar {
        display: flex;
    }

    .ui.mobile.navbar {
        display: none;
    }
}

/*  TABLET  */
@media screen and (max-width: 992px) {
    #app {
        width: calc(100% - 56px);
        margin-left: 56px;
    }

    .ui.desktop.navbar {
        width: 56px !important;
    }
    .ui.desktop.navbar .item span {
        display: none !important;
    }

}

/*  MOBILE  */
@media screen and (max-width: 600px) {
    body {
        margin-top: calc(0px + env(safe-area-inset-top));
    }
    #app {
        /*height: calc(100% - var(--mobile-navbar-height) - env(safe-area-inset-bottom));*/
        width: 100%;
        /*bottom: calc(var(--mobile-navbar-height) + env(safe-area-inset-bottom));*/
        padding-bottom: calc(28px + var(--mobile-navbar-height) + env(safe-area-inset-bottom));
        margin-left: 0;
    }
    .ui.desktop.navbar {
        display: none;
    }
    .ui.mobile.navbar {
        /*height: calc(var(--mobile-navbar-height) + env(safe-area-inset-bottom));*/
        height: var(--mobile-navbar-height);
        margin-bottom: max(14px, env(safe-area-inset-bottom)) !important;
        display: flex;
    }
}
