.w-burger-menu {
    display: none;
}

@media screen and (max-width: 999px) {
    .w-burger-menu {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        float: right;
        margin-right: 20px;
        height: 60px;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }

    .w-burger-menu__avatar-image {
        border-radius: 50%;
    }

    .w-burger-menu__button {
        position: relative;
        width: 24px;
        height: 18px;
        cursor: pointer;
    }

    .w-burger-menu__item-arrow {
        position: absolute;
        right: 0;
        top: 4px;
        width: 30px;
        height: 30px;
        cursor: pointer;
    }

    .w-burger-menu__item-arrow--top {
        -webkit-transform: rotate(0.5turn);
        -ms-transform: rotate(0.5turn);
        transform: rotate(0.5turn);
    }

    .w-burger-menu__button::before,
    .w-burger-menu__button::after,
    .w-burger-menu__button-line {
        content: '';
        position: absolute;
        width: 100%;
        height: 4px;
        left: 0;
        background-color: white;
        border-radius: 2px;
    }

    .w-burger-menu__button::before {
        top: 0;
    }

    .w-burger-menu__button-line {
        top: calc(50% - 2px);
    }

    .w-burger-menu__button::after {
        bottom: 0;
    }

    .w-burger-menu__profile {
        position: relative;
        display: flex;
        padding-right: 30px;
    }

    .w-burger-menu__profile-description {
        display: flex;
        flex-direction: column;
        padding-left: 5px;
    }

    .w-burger-menu__username,
    .w-burger-menu__account {
        color: #bfbfbf;
    }

    .w-burger-menu__logout {
        position: absolute;
        top: -2px;
        right: 3px;
        font-size: 20px;
        line-height: 1.4;
        text-decoration: none;
    }

    .w-burger-menu__list {
        position: absolute;
        top: calc(100% + 40px);
        right: 0;
        min-width: 260px;
        background-color: #333;
        z-index: 101;
    }

    .w-burger-menu__sublist {
        padding-left: 10px;
    }

    .w-burger-menu__item,
    .w-burger-menu__subitem {
        position: relative;
        display: block;
        padding: 10px 30px 10px 10px;
        color: #bfbfbf;
    }

    .w-burger-menu__link {
        color: #bfbfbf;
        text-decoration: none;
    }
}

@media screen and (max-width: 480px) {
    .w-burger-menu {
        height: 45px;
    }

    .w-burger-menu__list--opened {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        top: 61px;
        overflow-y: scroll;
    }

    .w-burger-menu__list {
        position: absolute;
        top: calc(100% + 1px);
        right: 0;
        left: 0;
        background-color: #333;
        z-index: 101;
        height: 100vh;
    }
}
