.sidebar {
    top: 46px; /* With this, navigation bar is visible */
    height: calc(100% - 60px);
    min-width: 400px;
    max-width: 600px;
    width: 600px;
    position: fixed;
    left: 0;
    padding: 20px;
    background-color: white;
    z-index: 1019;
    overflow-x: hidden;
    transition: 0.2s;
    transform: translate(-100%, 0);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media only screen and (max-width: 600px) {
    .sidebar {
        height: unset;
        max-width: 100%;
        width: 100%;
        padding: 5px;
    }
}

@media only screen and (max-width: 400px) {
    .sidebar {
        max-width: 88%;
        width: 88%;
        padding: 1px;
    }
}

.sidebar-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.sidebar.open {
    transform: translate(0, 0);
    -webkit-box-shadow: 5px 5px 15px black;
    -moz-box-shadow: 5px 5px 15px black;
    box-shadow: 5px 5px 15px black;
}

.sidebar-content {
    flex-grow: 1;
    position: relative;
}


.darken-background.active {
    background-color: rgba(0, 0, 0, 0.5);
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    z-index: 1000;
}
