.user-wrapper {
    border: 1px solid #4B4B4B;
    background-color: #272727;
    width: calc(40% - 2rem - 2px);
    height: calc(100% - 2rem - 2px);
    padding:1rem 0 1rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-end;
    overflow-y: auto;
    overflow-x: hidden;
}

/* width */
.user-wrapper::-webkit-scrollbar {
    width: 25px;
}

/* Track */
.user-wrapper::-webkit-scrollbar-track {
    background: #BFBFBF;
}

/* Handle */
.user-wrapper::-webkit-scrollbar-thumb {
    background: #808080;
}

/* Handle on hover */
.user-wrapper::-webkit-scrollbar-thumb:hover {
    background: #555;
}

    .user-button {
        display: none;
    }

    .user-title {
        color: #FF00FF;
        font-size: 1.5rem;
        width: 100%;
        text-align: left;
    }

    .user-info-wrapper {
        background-color: #000;
        width: 100%;
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        justify-content: flex-start;
        height: auto;
        margin: 1rem 0 1rem 1rem;
        padding: 0;
        min-height: 189px;
    }

        .user-image {
            border: 2px solid #BFBFBF;
            width: fit-content;
            margin: 1rem;
        }

            .user-image img {
                width: 100%;
                max-width: 175px;
                height: auto;
            }

        .user-text {
            padding: 1rem;
        }

            .user-label {
                color: #f00;
            }

            .user-name {
                color: #fff;
            }

@media(max-width: 1200px) {
    .user-title {
        font-size: 1rem;
    }

    .user-info-wrapper {
        min-height: 0;
        flex-direction: column-reverse;
    }

        .user-image {
            margin: .5rem;
        }

            .user-image img {
                max-width: 125px;
            }

    .user-text {
        padding: .5rem;
    }

    .user-text div {
        font-size: .75rem;
        display: inline-block;
    }
}

@media(max-width: 800px) {
    .user-wrapper {
        display: none;
        position: absolute;
        right: 0;
        width: calc(100% - 2rem - 2px);
        max-width: 400px;
        padding-top: 80px;
    }

    .user-button {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 50px;
        right: 0;
        height: 50px;
        width: 50px;
        background-color: #272727;
        z-index: 100;
        border-left: 1px solid #fff;
        border-top: 1px solid #fff;
        border-bottom: 1px solid #fff;
    }

        .user-button:after {
            font-size: 20px;
            font-weight: 700;
            color: #fff;
        }

        .closed:after {
            content: "\276E";
        }

        .open:after {
            content: "\2716";
        }
}

@media(max-height: 900px) and (min-width: 801px) {
    .user-title {
        font-size: .75rem;
    }

    .user-info-wrapper {
        min-height: 0;
        margin: .5rem 0 .5rem .5rem;
    }

    .user-text {
        padding: .5rem 1rem;
    }

    .user-text div {
        font-size: .75rem;
        display: inline-block;
    }

    .user-image {
        display: none;
    }
}
