.wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}
.main {
    flex: 1;
    position: relative;
    z-index: 1;
}
.sidebar {
    min-width: max-content;
    max-width: 90vh;
    height: 100svh;
    position: fixed;
    left: 100%;
    top: 0;
    z-index: 5000;
    background: white;
    opacity: 0;
    transition: all 0.3s;
    overflow-y: auto;
}

.visible {
    opacity: 1;
    transform: translateX(-100%);
}
.overlay {
    z-index: 4000;
    display: block;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    backdrop-filter: blur(1px);
    filter: blur(1px);
    background-color: rgba(0, 0, 0, 0.5);
}

@media screen and (max-width: 480px) {
    .sidebar  {
        width: 100vw;
        max-width: 100vh;
    }
}