.left_menu {
    background-color: var(--bg-dark);
    border-right: 1px solid var(--border);
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    max-width: 250px;
    width: -webkit-fill-available;
    width: -moz-available;
    padding: 5px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1000;
}
.overlay-bg {
    display: none;
    background-color: rgba(50, 50, 50, 0.5);
    backdrop-filter: blur(10px);
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 999;
}

.left_menu.active {
    transform: translateX(0);
}
.overlay-bg.active {
    display: block;
}
@media (max-width: 768px) {
    .avatar{
        width: -webkit-fill-available;
        width: -moz-available;
        height: auto;
    }
    .flexdiv{
        display: block;
    }
    .transbutton{
        width: -webkit-fill-available;
        width: -moz-available;
    }

    .left_menu {
        max-width: 70%;
    }

    .left_menu.active + .content_overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 999;
    }
}