@media (max-width: 575px) {
    .monitoring_1 {
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
        margin: 10px -10px 0;
        justify-items: stretch;
    }

    .monitoring_2 {
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
        margin: 10px -10px 0;
        justify-items: stretch;
    }

    .monitoring_3 {
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
        margin: 10px -10px 0;
        justify-items: stretch;
    }

    .monitoring_4 {
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
        margin: 10px -10px 0;
        justify-items: stretch;
    }

    svg.online_bar {
        width: auto;
        height: 15px;
    }

    .map_image_grad img {
        position: relative;
        height: auto;
        width: 100%;
        top: 0;
        opacity: .2;
        object-fit: cover;
        transition: .3s;
    }

    .server_block {
        width: auto;
        height: 140px;
        border-radius: 15px 15px 12px 12px;
        overflow: hidden;
        background-color: var(--card-color);
        position: relative;
    }

    .server_block_null {
        display: none;
    }

    .server_title_top {
        display: flex;
        flex-direction: row;
        background-color: rgb(22 22 22);
        border-radius: 12px 12px 0 0;
        padding: 10px 0;
        width: 100%;
        position: relative;
        align-items: center;
        justify-content: center;
    }

    .server_name {
        font-size: 11px;
        font-weight: 700;
        color: var(--custom-text-color);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 230px;
    }

    .server_name svg {
        width: 12px;
        height: 12px;
        fill: var(--custom-text-color);
        animation: 1s linear 0s normal none infinite running loading;
        -webkit-animation: 1s linear 0s normal none infinite running loading;
    }

    @keyframes loading {
        0% {
            transform: rotate(0deg);
        }

        100% {
            transform: rotate(360deg);
        }
    }

    @-webkit-keyframes loading {
        0% {
            transform: rotate(0deg);
        }

        100% {
            transform: rotate(360deg);
        }
    }

    .server_middle_info {
        display: flex;
        flex-direction: column;
        align-items: center;
        align-content: center;
    }

    .server_map_left {
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 12px;
    }

    .server_online_right {
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 12px;
    }

    .server_data {
        display: flex;
        gap: 4px;
        position: absolute;
        width: 100%;
        height: 100%;
        z-index: 1;
        flex-direction: column;
    }

    .server_map_name {
        font-size: 12px;
        font-weight: 700;
        margin-bottom: 3px;
    }

    .map_block {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .map_block svg {
        width: 12px;
        height: 12px;
        fill: var(--default-text-color);
        margin-right: 7px;
        margin-top: -3px;
    }

    .server_players {
        font-weight: 800;
        font-size: 17px;
    }

    .server_players svg {
        width: 12px;
        height: 12px;
        fill: var(--default-text-color);
        animation: 1s linear 0s normal none infinite running loading;
        -webkit-animation: 1s linear 0s normal none infinite running loading;
    }

    @keyframes loading {
        0% {
            transform: rotate(0deg);
        }

        100% {
            transform: rotate(360deg);
        }
    }

    @-webkit-keyframes loading {
        0% {
            transform: rotate(0deg);
        }

        100% {
            transform: rotate(360deg);
        }
    }

    .server_button_left {
        display: flex;
        background-color: rgb(22 22 22 / 47%);
        color: var(--default-text-color);
        font-size: 11px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 1px;
        width: 100%;
        border-radius: 0 0 0 12px;
        cursor: pointer;
        border-right: 1px solid rgb(255 255 255 / 8%);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        transition: .3s;
        justify-content: center;
        align-items: center;
    }

    .server_button_left:hover {
        transition: .3s;
        background-color: rgb(149 149 149 / 5%);
    }

    .server_button_left:hover {
        transition: .3s;
        color: var(--span-color);
        background-color: rgb(149 149 149 / 5%);
    }

    .server_button_left svg {
        width: 11px;
        height: 11px;
        margin-right: 5px;
        fill: var(--default-text-color);
        transition: .3s;
    }

    .server_button_left:hover svg {
        fill: var(--span-color);
        transition: .3s;
    }

    .server_button_right {
        display: flex;
        background-color: rgb(22 22 22 / 47%);
        color: var(--default-text-color);
        font-size: 11px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 1px;
        width: 100%;
        border-radius: 0 0 12px 0;
        cursor: pointer;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        transition: .3s;
        align-items: center;
        justify-content: center;
    }

    .server_button_right:hover {
        transition: .3s;
        color: var(--span-color);
        background-color: rgb(149 149 149 / 5%);
    }

    .server_button_right svg {
        width: 11px;
        height: 11px;
        margin-right: 5px;
        fill: var(--default-text-color);
        transition: .3s;
    }

    .server_button_right:hover svg {
        fill: var(--span-color);
        transition: .3s;
    }

    .server_buttons_bottom {
        overflow: hidden;
        display: flex;
        flex-direction: row;
        height: 34px;
        border-top: 1px solid rgb(255 255 255 / 8%);
    }
}

@media (min-width: 576px) and (max-width: 793px) {
    .monitoring_1 {
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
        margin: 10px -10px 0;
        justify-items: stretch;
    }

    .monitoring_2 {
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
        margin: 10px -10px 0;
        justify-items: stretch;
    }

    .monitoring_3 {
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
        margin: 10px -10px 0;
        justify-items: stretch;
    }

    .monitoring_4 {
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
        margin: 10px -10px 0;
        justify-items: stretch;
    }

    svg.online_bar {
        width: auto;
        height: 15px;
    }

    .map_image_grad img {
        position: relative;
        height: auto;
        width: 100%;
        top: 0;
        opacity: .2;
        object-fit: cover;
        transition: .3s;
    }

    .server_block {
        width: auto;
        height: 140px;
        border-radius: 15px 15px 12px 12px;
        overflow: hidden;
        background-color: var(--card-color);
        position: relative;
    }

    .server_block_null {
        display: none;
    }

    .server_title_top {
        display: flex;
        flex-direction: row;
        background-color: rgb(22 22 22);
        border-radius: 12px 12px 0 0;
        padding: 10px 0;
        width: 100%;
        position: relative;
        align-items: center;
        justify-content: center;
    }

    .server_name {
        font-size: 11px;
        font-weight: 700;
        color: var(--custom-text-color);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 290px;
    }

    .server_name svg {
        width: 12px;
        height: 12px;
        fill: var(--custom-text-color);
        animation: 1s linear 0s normal none infinite running loading;
        -webkit-animation: 1s linear 0s normal none infinite running loading;
    }

    @keyframes loading {
        0% {
            transform: rotate(0deg);
        }

        100% {
            transform: rotate(360deg);
        }
    }

    @-webkit-keyframes loading {
        0% {
            transform: rotate(0deg);
        }

        100% {
            transform: rotate(360deg);
        }
    }

    .server_middle_info {
        display: flex;
        flex-direction: column;
        align-items: center;
        align-content: center;
    }

    .server_map_left {
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 12px;
    }

    .server_online_right {
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 12px;
    }

    .server_data {
        display: flex;
        gap: 4px;
        position: absolute;
        width: 100%;
        height: 100%;
        z-index: 1;
        flex-direction: column;
    }

    .server_map_name {
        font-size: 12px;
        font-weight: 700;
        margin-bottom: 3px;
    }

    .map_block {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .map_block svg {
        width: 12px;
        height: 12px;
        fill: var(--default-text-color);
        margin-right: 7px;
        margin-top: -3px;
    }

    .server_players {
        font-weight: 800;
        font-size: 17px;
    }

    .server_players svg {
        width: 12px;
        height: 12px;
        fill: var(--default-text-color);
        animation: 1s linear 0s normal none infinite running loading;
        -webkit-animation: 1s linear 0s normal none infinite running loading;
    }

    @keyframes loading {
        0% {
            transform: rotate(0deg);
        }

        100% {
            transform: rotate(360deg);
        }
    }

    @-webkit-keyframes loading {
        0% {
            transform: rotate(0deg);
        }

        100% {
            transform: rotate(360deg);
        }
    }

    .server_button_left {
        display: flex;
        background-color: rgb(22 22 22 / 47%);
        color: var(--default-text-color);
        font-size: 11px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 1px;
        width: 100%;
        border-radius: 0 0 0 12px;
        cursor: pointer;
        border-right: 1px solid rgb(255 255 255 / 8%);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        transition: .3s;
        justify-content: center;
        align-items: center;
    }

    .server_button_left:hover {
        transition: .3s;
        background-color: rgb(149 149 149 / 5%);
    }

    .server_button_left:hover {
        transition: .3s;
        color: var(--span-color);
        background-color: rgb(149 149 149 / 5%);
    }

    .server_button_left svg {
        width: 11px;
        height: 11px;
        margin-right: 5px;
        fill: var(--default-text-color);
        transition: .3s;
    }

    .server_button_left:hover svg {
        fill: var(--span-color);
        transition: .3s;
    }

    .server_button_right {
        display: flex;
        background-color: rgb(22 22 22 / 47%);
        color: var(--default-text-color);
        font-size: 11px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 1px;
        width: 100%;
        border-radius: 0 0 12px 0;
        cursor: pointer;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        transition: .3s;
        align-items: center;
        justify-content: center;
    }

    .server_button_right:hover {
        transition: .3s;
        color: var(--span-color);
        background-color: rgb(149 149 149 / 5%);
    }

    .server_button_right svg {
        width: 11px;
        height: 11px;
        margin-right: 5px;
        fill: var(--default-text-color);
        transition: .3s;
    }

    .server_button_right:hover svg {
        fill: var(--span-color);
        transition: .3s;
    }

    .server_buttons_bottom {
        overflow: hidden;
        display: flex;
        flex-direction: row;
        height: 34px;
        border-top: 1px solid rgb(255 255 255 / 8%);
    }
}

@media (min-width: 794px) and (max-width: 1079px) {
    .monitoring_1 {
        display: grid;
        grid-template-columns: 250px 1fr 250px;
        gap: 15px;
        margin: 10px -10px 0;
        justify-items: stretch;
    }

    .monitoring_2 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        margin: 10px -10px 0;
        justify-items: stretch;
    }

    .monitoring_3 {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 15px;
        margin: 10px -10px 0;
        justify-items: stretch;
    }

    .monitoring_4 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        margin: 10px -10px 0;
        justify-items: stretch;
    }

    svg.online_bar {
        width: auto;
        height: 15px;
    }

    .map_image_grad img {
        position: relative;
        height: auto;
        width: 100%;
        top: 0;
        opacity: .2;
        object-fit: cover;
        transition: .3s;
    }

    .server_block {
        width: auto;
        height: 140px;
        border-radius: 15px 15px 12px 12px;
        overflow: hidden;
        background-color: var(--card-color);
        position: relative;
    }

    .server_block_null {
        width: auto;
        height: 140px;
        border-radius: 15px 15px 12px 12px;
        overflow: hidden;
        background-color: var(--card-color);
        position: relative;
    }

    .server_title_top {
        display: flex;
        flex-direction: row;
        background-color: rgb(22 22 22);
        border-radius: 12px 12px 0 0;
        padding: 10px 0;
        width: 100%;
        position: relative;
        align-items: center;
        justify-content: center;
    }

    .server_name {
        font-size: 11px;
        font-weight: 700;
        color: var(--custom-text-color);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 270px;
    }

    .server_name svg {
        width: 12px;
        height: 12px;
        fill: var(--custom-text-color);
        animation: 1s linear 0s normal none infinite running loading;
        -webkit-animation: 1s linear 0s normal none infinite running loading;
    }

    @keyframes loading {
        0% {
            transform: rotate(0deg);
        }

        100% {
            transform: rotate(360deg);
        }
    }

    @-webkit-keyframes loading {
        0% {
            transform: rotate(0deg);
        }

        100% {
            transform: rotate(360deg);
        }
    }

    .server_middle_info {
        display: flex;
        flex-direction: column;
        align-items: center;
        align-content: center;
    }

    .server_map_left {
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 12px;
    }

    .server_online_right {
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 12px;
    }

    .server_data {
        display: flex;
        gap: 4px;
        position: absolute;
        width: 100%;
        height: 100%;
        z-index: 1;
        flex-direction: column;
    }

    .server_map_name {
        font-size: 12px;
        font-weight: 700;
        margin-bottom: 3px;
    }

    .map_block {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .map_block svg {
        width: 12px;
        height: 12px;
        fill: var(--default-text-color);
        margin-right: 7px;
        margin-top: -3px;
    }

    .server_players {
        font-weight: 800;
        font-size: 17px;
    }

    .server_players svg {
        width: 12px;
        height: 12px;
        fill: var(--default-text-color);
        animation: 1s linear 0s normal none infinite running loading;
        -webkit-animation: 1s linear 0s normal none infinite running loading;
    }

    @keyframes loading {
        0% {
            transform: rotate(0deg);
        }

        100% {
            transform: rotate(360deg);
        }
    }

    @-webkit-keyframes loading {
        0% {
            transform: rotate(0deg);
        }

        100% {
            transform: rotate(360deg);
        }
    }

    .server_button_left {
        display: flex;
        background-color: rgb(22 22 22 / 47%);
        color: var(--default-text-color);
        font-size: 9px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 1px;
        width: 100%;
        border-radius: 0 0 0 12px;
        cursor: pointer;
        border-right: 1px solid rgb(255 255 255 / 8%);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        transition: .3s;
        justify-content: center;
        align-items: center;
    }

    .server_button_left:hover {
        transition: .3s;
        background-color: rgb(149 149 149 / 5%);
    }

    .server_button_left:hover {
        transition: .3s;
        color: var(--span-color);
        background-color: rgb(149 149 149 / 5%);
    }

    .server_button_left svg {
        width: 9px;
        height: 9px;
        margin-right: 5px;
        fill: var(--default-text-color);
        transition: .3s;
    }

    .server_button_left:hover svg {
        fill: var(--span-color);
        transition: .3s;
    }

    .server_button_right {
        display: flex;
        background-color: rgb(22 22 22 / 47%);
        color: var(--default-text-color);
        font-size: 9px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 1px;
        width: 100%;
        border-radius: 0 0 12px 0;
        cursor: pointer;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        transition: .3s;
        align-items: center;
        justify-content: center;
    }

    .server_button_right:hover {
        transition: .3s;
        color: var(--span-color);
        background-color: rgb(149 149 149 / 5%);
    }

    .server_button_right svg {
        width: 9px;
        height: 9px;
        margin-right: 5px;
        fill: var(--default-text-color);
        transition: .3s;
    }

    .server_button_right:hover svg {
        fill: var(--span-color);
        transition: .3s;
    }

    .server_buttons_bottom {
        overflow: hidden;
        display: flex;
        flex-direction: row;
        height: 34px;
        border-top: 1px solid rgb(255 255 255 / 8%);
    }
}

@media (min-width: 1080px) {
    .monitoring_1 {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 15px;
        margin: 10px -10px 0;
        justify-items: stretch;
    }

    .monitoring_2 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        margin: 10px -10px 0;
        justify-items: stretch;
    }

    .monitoring_3 {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 15px;
        margin: 10px -10px 0;
        justify-items: stretch;
    }

    .monitoring_4 {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        gap: 15px;
        margin: 10px -10px 0;
        justify-items: stretch;
    }

    svg.online_bar {
        width: auto;
        height: 15px;
    }

    .map_image_grad img {
        position: relative;
        height: auto;
        width: 100%;
        top: 0;
        opacity: .2;
        object-fit: cover;
        transition: .3s;
    }

    .server_block {
        width: auto;
        height: 140px;
        border-radius: 15px 15px 12px 12px;
        overflow: hidden;
        background-color: var(--card-color);
        position: relative;
    }

    .server_block_null {
        width: auto;
        height: 140px;
        border-radius: 15px 15px 12px 12px;
        overflow: hidden;
        background-color: var(--card-color);
        position: relative;
    }

    .server_title_top {
        display: flex;
        flex-direction: row;
        background-color: rgb(22 22 22);
        border-radius: 12px 12px 0 0;
        padding: 10px 0;
        width: 100%;
        position: relative;
        align-items: center;
        justify-content: center;
    }

    .server_name {
        font-size: 11px;
        font-weight: 700;
        color: var(--custom-text-color);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 270px;
    }

    .server_name svg {
        width: 12px;
        height: 12px;
        fill: var(--custom-text-color);
        animation: 1s linear 0s normal none infinite running loading;
        -webkit-animation: 1s linear 0s normal none infinite running loading;
    }

    @keyframes loading {
        0% {
            transform: rotate(0deg);
        }

        100% {
            transform: rotate(360deg);
        }
    }

    @-webkit-keyframes loading {
        0% {
            transform: rotate(0deg);
        }

        100% {
            transform: rotate(360deg);
        }
    }

    .server_middle_info {
        display: flex;
        flex-direction: column;
        align-items: center;
        align-content: center;
    }

    .server_map_left {
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 12px;
    }

    .server_online_right {
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 12px;
    }

    .server_data {
        display: flex;
        gap: 4px;
        position: absolute;
        width: 100%;
        height: 100%;
        z-index: 1;
        flex-direction: column;
    }

    .server_map_name {
        font-size: 12px;
        font-weight: 700;
        margin-bottom: 3px;
    }

    .map_block {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .map_block svg {
        width: 12px;
        height: 12px;
        fill: var(--default-text-color);
        margin-right: 7px;
        margin-top: -3px;
    }

    .server_players {
        font-weight: 800;
        font-size: 17px;
    }

    .server_players svg {
        width: 12px;
        height: 12px;
        fill: var(--default-text-color);
        animation: 1s linear 0s normal none infinite running loading;
        -webkit-animation: 1s linear 0s normal none infinite running loading;
    }

    @keyframes loading {
        0% {
            transform: rotate(0deg);
        }

        100% {
            transform: rotate(360deg);
        }
    }

    @-webkit-keyframes loading {
        0% {
            transform: rotate(0deg);
        }

        100% {
            transform: rotate(360deg);
        }
    }

    .server_button_left {
        display: flex;
        background-color: rgb(22 22 22 / 47%);
        color: var(--default-text-color);
        font-size: 11px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 1px;
        width: 100%;
        border-radius: 0 0 0 12px;
        cursor: pointer;
        border-right: 1px solid rgb(255 255 255 / 8%);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        transition: .3s;
        justify-content: center;
        align-items: center;
    }

    .server_button_left:hover {
        transition: .3s;
        background-color: rgb(149 149 149 / 5%);
    }

    .server_button_left:hover {
        transition: .3s;
        color: var(--span-color);
        background-color: rgb(149 149 149 / 5%);
    }

    .server_button_left svg {
        width: 11px;
        height: 11px;
        margin-right: 5px;
        fill: var(--default-text-color);
        transition: .3s;
    }

    .server_button_left:hover svg {
        fill: var(--span-color);
        transition: .3s;
    }

    .server_button_right {
        display: flex;
        background-color: rgb(22 22 22 / 47%);
        color: var(--default-text-color);
        font-size: 11px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 1px;
        width: 100%;
        border-radius: 0 0 12px 0;
        cursor: pointer;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        transition: .3s;
        align-items: center;
        justify-content: center;
    }

    .server_button_right:hover {
        transition: .3s;
        color: var(--span-color);
        background-color: rgb(149 149 149 / 5%);
    }

    .server_button_right svg {
        width: 11px;
        height: 11px;
        margin-right: 5px;
        fill: var(--default-text-color);
        transition: .3s;
    }

    .server_button_right:hover svg {
        fill: var(--span-color);
        transition: .3s;
    }

    .server_buttons_bottom {
        overflow: hidden;
        display: flex;
        flex-direction: row;
        height: 34px;
        border-top: 1px solid rgb(255 255 255 / 8%);
    }
}

@media (max-width: 768px) {
    /* modal window */

    .modal-window-server {
        position: fixed;
        display: flex;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 500;
        transition: all 0.3s;
        pointer-events: auto;
        background: var(--modal-bg);
        opacity: 0;
        justify-content: center;
        align-items: center;
    }

    .modal-window-server>div {
        width: 30%;
    }

    .modal-window-server .card {
        box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
        border-radius: 2px;
    }

    .modal-window-server>div {
        position: absolute;
        width: 350px;
        margin: 0 auto;
        padding: 0 5px;
        transform: translate(-50%, -50%);
        background: linear-gradient(1turn, var(--card-color) -67.25%, var(--card-color) 195.71%);
        border-radius: 12px;
        border-bottom: 1px solid var(--bottom-line-table);
        box-shadow: 0px 0px 20px 20px rgb(0 0 0 / 16%);
        z-index: 5000;
    }

    .modal_players_online {
        visibility: hidden;
    }

    .modal_players_online.modal_show {
        opacity: 1;
        visibility: visible;
        transition: .3s;
    }

    .modal_players_online>.modal-card {
        transform: scale(0.95);
        transition: .3s;
        overflow: hidden;
    }

    .modal_players_online.modal_show>.modal-card {
        transform: scale(1);
        transition: .3s;
        overflow: hidden;
    }

    .modal-card__header {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 10px 10px 10px 20px;
        font-size: 12px;
        text-transform: uppercase;
        overflow: hidden;
    }

    .modal-card__header svg{
        width: 17px;
        height: 17px;
        fill: var(--custom-text-color);
        transition: .3s;
    }

    .modal-card__header svg:hover{
        fill: var(--default-text-color);
        transition: .3s;
    }

    .server-modal__bg {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
    }

    .cover {
        height: 135px;
        overflow: hidden;
        background-size: contain;
        margin: 0 0 24px;
        border-radius: 12px 12px 0 0;
        box-shadow: 0 0 0 4px var(--bottom-line-table);
    }

    .server-modal__bg img {
        position: absolute;
        left: 50%;
        top: 50%;
        width: 100%;
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
    }

    .server-modal__bg .shadow {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 147px;
        background: var(--modal-bg);
    }

    .server-modal__header {
        height: 120px;
        width: 100%;
        display: flex;
        justify-content: flex-start;
        flex-direction: row;
        gap: 10px;
        align-items: center;
    }

    .modal-card__badge {
        padding: 8px 12px;
        margin: 0;
    }

    .modal-btn__close {
        position: absolute;
        top: 0;
        background-color: var(--modal-bg);
        right: 0;
        padding: 10px;
        border-radius: 0 0 0 12px;
        transition: .3s;
        display: flex;
        z-index: 1;
        opacity: .8;
    }

    .modal-btn__close:hover {
        color: var(--default-text-color);
        cursor: pointer;
        transition: .3s;
    }

    .modal-table {
        padding: 5px;
    }

    .modal-card__footer {
        display: flex;
        gap: 5px;
        align-items: center;
        justify-content: space-between;
        padding: 5px 0;
        border-top: 1px solid var(--bottom-line-table);
    }

    .modal-btn {
        display: none;
    }

    .modal-btn_copy {
        width: 100%;
        padding: 10px;
        color: var(--default-text-color);
        border-radius: 4px;
        text-transform: uppercase;
        font-weight: 700;
        font-size: 11px;
        transition: .3s;
        cursor: pointer;
        display: flex;
        gap: 10px;
        background-color: var(--grey-color);
        justify-content: center;
    }

    .modal-btn_copy:hover {
        background-color: var(--button-color);
        color: var(--span-color);
        transition: .3s;
    }

    .modal-btn_copy svg {
        width: 10px;
        margin-bottom: 1px;
        height: auto;
        fill: var(--default-text-color);
        transition: .3s;
    }

    .modal-btn_copy:hover svg{
        fill: var(--span-color);
        transition: .3s;
    }

    .server_map_name_second {
        position: relative;
        font-size: 20px;
        font-weight: 800;
        color: var(--span-color);
        z-index: 2;
        user-select: none;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 250px;
    }

    .server_map_now_play_text {
        position: relative;
        font-size: 10px;
        font-weight: 700;
        margin-bottom: -5px;
        color: var(--custom-text-color);
        user-select: none;
    }

    .map_name_block {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        z-index: 1;
        border-left: 2px solid rgb(255 255 255 / 12%);
        padding-left: 10px;
        height: 33px;
    }

    .map_pins {
        position: relative;
        width: 33px;
        height: auto;
    }
}

@media (min-width: 769px) and (max-width: 1499px) {
    /* modal window */

    .modal-window-server {
        position: fixed;
        display: flex;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 500;
        transition: all 0.3s;
        pointer-events: auto;
        background: var(--modal-bg);
        opacity: 0;
        justify-content: center;
        align-items: center;
    }

    .modal-window-server>div {
        width: 30%;
    }

    .modal-window-server .card {
        box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
        border-radius: 2px;
    }

    .modal-window-server>div {
        position: absolute;
        width: 500px;
        margin: 0 auto;
        padding: 0 5px;
        transform: translate(-50%, -50%);
        background: linear-gradient(1turn, var(--card-color) -67.25%, var(--card-color) 195.71%);
        border-radius: 12px;
        border-bottom: 1px solid var(--bottom-line-table);
        box-shadow: 0px 0px 20px 20px rgb(0 0 0 / 16%);
        z-index: 5000;
    }

    .modal_players_online {
        visibility: hidden;
    }

    .modal_players_online.modal_show {
        opacity: 1;
        visibility: visible;
        transition: .3s;
    }

    .modal_players_online>.modal-card {
        transform: scale(0.95);
        transition: .3s;
        overflow: hidden;
    }

    .modal_players_online.modal_show>.modal-card {
        transform: scale(1);
        transition: .3s;
        overflow: hidden;
    }

    .modal-card__header {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 10px 10px 10px 20px;
        font-size: 12px;
        text-transform: uppercase;
        overflow: hidden;
    }

    .modal-card__header svg{
        width: 20px;
        height: 20px;
        fill: var(--custom-text-color);
        transition: .3s;
    }

    .modal-card__header svg:hover{
        fill: var(--default-text-color);
        transition: .3s;
    }

    .server-modal__bg {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
    }

    .cover {
        height: 135px;
        overflow: hidden;
        background-size: contain;
        margin: 0 0 24px;
        border-radius: 12px 12px 0 0;
        box-shadow: 0 0 0 4px var(--bottom-line-table);
    }

    .server-modal__bg img {
        position: absolute;
        left: 50%;
        top: 50%;
        width: 100%;
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
    }

    .server-modal__bg .shadow {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 147px;
        background: var(--modal-bg);
    }

    .server-modal__header {
        height: 120px;
        width: 100%;
        display: flex;
        justify-content: flex-start;
        flex-direction: row;
        gap: 10px;
        align-items: center;
    }

    .modal-card__badge {
        padding: 8px 12px;
        margin: 0;
    }

    .modal-btn__close {
        position: absolute;
        top: 0;
        background-color: var(--modal-bg);
        right: 0;
        padding: 10px;
        border-radius: 0 0 0 12px;
        transition: .3s;
        display: flex;
        z-index: 1;
        opacity: .8;
    }

    .modal-btn__close:hover {
        color: var(--default-text-color);
        cursor: pointer;
        transition: .3s;
    }

    .modal-table {
        padding: 5px;
    }

    .modal-card__footer {
        display: flex;
        gap: 5px;
        align-items: center;
        justify-content: space-between;
        padding: 5px 0;
        border-top: 1px solid var(--bottom-line-table);
    }

    .modal-btn {
        width: 100%;
        padding: 10px;
        color: var(--default-text-color);
        border-radius: 4px;
        text-transform: uppercase;
        font-weight: 700;
        font-size: 11px;
        transition: .3s;
        cursor: pointer;
        display: flex;
        gap: 10px;
        background-color: var(--grey-color);
        justify-content: center;
    }

    .modal-btn:hover {
        transition: .3s;
        color: var(--grey-color);
        background-color: var(--span-color);
    }

    .modal-btn svg {
        width: 10px;
        margin-bottom: 1px;
        height: auto;
        fill: var(--default-text-color);
        transition: .3s;
    }

    .modal-btn:hover svg{
        fill: var(--grey-color);
        transition: .3s;
    }

    .modal-btn_copy {
        width: 100%;
        padding: 10px;
        color: var(--default-text-color);
        border-radius: 4px;
        text-transform: uppercase;
        font-weight: 700;
        font-size: 11px;
        transition: .3s;
        cursor: pointer;
        display: flex;
        gap: 10px;
        background-color: var(--grey-color);
        justify-content: center;
    }

    .modal-btn_copy:hover {
        background-color: var(--button-color);
        color: var(--span-color);
        transition: .3s;
    }

    .modal-btn_copy svg {
        width: 10px;
        margin-bottom: 1px;
        height: auto;
        fill: var(--default-text-color);
        transition: .3s;
    }

    .modal-btn_copy:hover svg{
        fill: var(--span-color);
        transition: .3s;
    }

    .server_map_name_second {
        position: relative;
        font-size: 20px;
        font-weight: 800;
        color: var(--span-color);
        z-index: 2;
        user-select: none;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 350px;
    }

    .server_map_now_play_text {
        position: relative;
        font-size: 10px;
        font-weight: 700;
        margin-bottom: -5px;
        color: var(--custom-text-color);
        user-select: none;
    }

    .map_name_block {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        z-index: 1;
        border-left: 2px solid rgb(255 255 255 / 12%);
        padding-left: 10px;
        height: 33px;
    }

    .map_pins {
        position: relative;
        width: 33px;
        height: auto;
    }
}

@media (min-width: 1500px) {

    /* modal window */

    .modal-window-server {
        position: fixed;
        display: flex;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 500;
        transition: all 0.3s;
        pointer-events: auto;
        background: var(--modal-bg);
        opacity: 0;
        justify-content: center;
        align-items: center;
    }

    .modal-window-server>div {
        width: 30%;
    }

    .modal-window-server .card {
        box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
        border-radius: 2px;
    }

    .modal-window-server>div {
        position: absolute;
        width: 500px;
        margin: 0 auto;
        padding: 0 5px;
        transform: translate(-50%, -50%);
        background: linear-gradient(1turn, var(--card-color) -67.25%, var(--card-color) 195.71%);
        border-radius: 12px;
        border-bottom: 1px solid var(--bottom-line-table);
        box-shadow: 0px 0px 20px 20px rgb(0 0 0 / 16%);
        z-index: 5000;
    }

    .modal_players_online {
        visibility: hidden;
    }

    .modal_players_online.modal_show {
        opacity: 1;
        visibility: visible;
        transition: .3s;
    }

    .modal_players_online>.modal-card {
        transform: scale(0.95);
        transition: .3s;
        overflow: hidden;
    }

    .modal_players_online.modal_show>.modal-card {
        transform: scale(1);
        transition: .3s;
        overflow: hidden;
    }

    .modal-card__header {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 10px 10px 10px 20px;
        font-size: 12px;
        text-transform: uppercase;
        overflow: hidden;
    }

    .modal-card__header svg{
        width: 20px;
        height: 20px;
        fill: var(--custom-text-color);
        transition: .3s;
    }

    .modal-card__header svg:hover{
        fill: var(--default-text-color);
        transition: .3s;
    }

    .server-modal__bg {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
    }

    .cover {
        height: 135px;
        overflow: hidden;
        background-size: contain;
        margin: 0 0 24px;
        border-radius: 12px 12px 0 0;
        box-shadow: 0 0 0 4px var(--bottom-line-table);
    }

    .server-modal__bg img {
        position: absolute;
        left: 50%;
        top: 50%;
        width: 100%;
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
    }

    .server-modal__bg .shadow {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 147px;
        background: var(--modal-bg);
    }

    .server-modal__header {
        height: 120px;
        width: 100%;
        display: flex;
        justify-content: flex-start;
        flex-direction: row;
        gap: 10px;
        align-items: center;
    }

    .modal-card__badge {
        padding: 8px 12px;
        margin: 0;
    }

    .modal-btn__close {
        position: absolute;
        top: 0;
        background-color: var(--modal-bg);
        right: 0;
        padding: 10px;
        border-radius: 0 0 0 12px;
        transition: .3s;
        display: flex;
        z-index: 1;
        opacity: .8;
    }

    .modal-btn__close:hover {
        color: var(--default-text-color);
        cursor: pointer;
        transition: .3s;
    }

    .modal-table {
        padding: 5px;
    }

    .modal-card__footer {
        display: flex;
        gap: 5px;
        align-items: center;
        justify-content: space-between;
        padding: 5px 0;
        border-top: 1px solid var(--bottom-line-table);
    }

    .modal-btn {
        width: 100%;
        padding: 10px;
        color: var(--default-text-color);
        border-radius: 4px;
        text-transform: uppercase;
        font-weight: 700;
        font-size: 11px;
        transition: .3s;
        cursor: pointer;
        display: flex;
        gap: 10px;
        background-color: var(--grey-color);
        justify-content: center;
    }

    .modal-btn:hover {
        transition: .3s;
        color: var(--grey-color);
        background-color: var(--span-color);
    }

    .modal-btn svg {
        width: 10px;
        margin-bottom: 1px;
        height: auto;
        fill: var(--default-text-color);
        transition: .3s;
    }

    .modal-btn:hover svg{
        fill: var(--grey-color);
        transition: .3s;
    }

    .modal-btn_copy {
        width: 100%;
        padding: 10px;
        color: var(--default-text-color);
        border-radius: 4px;
        text-transform: uppercase;
        font-weight: 700;
        font-size: 11px;
        transition: .3s;
        cursor: pointer;
        display: flex;
        gap: 10px;
        background-color: var(--grey-color);
        justify-content: center;
    }

    .modal-btn_copy:hover {
        background-color: var(--button-color);
        color: var(--span-color);
        transition: .3s;
    }

    .modal-btn_copy svg {
        width: 10px;
        margin-bottom: 1px;
        height: auto;
        fill: var(--default-text-color);
        transition: .3s;
    }

    .modal-btn_copy:hover svg{
        fill: var(--span-color);
        transition: .3s;
    }

    .server_map_name_second {
        position: relative;
        font-size: 20px;
        font-weight: 800;
        color: var(--span-color);
        z-index: 2;
        user-select: none;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 350px;
    }

    .server_map_now_play_text {
        position: relative;
        font-size: 10px;
        font-weight: 700;
        margin-bottom: -5px;
        color: var(--custom-text-color);
        user-select: none;
    }

    .map_name_block {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        z-index: 1;
        border-left: 2px solid rgb(255 255 255 / 12%);
        padding-left: 10px;
        height: 33px;
    }

    .map_pins {
        position: relative;
        width: 33px;
        height: auto;
    }
}

@media (max-width:768px) {
    .mon_header {
        padding: 10px;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        background-color: var(--bottom-line-table);
        border-radius: 4px;
        margin: 5px 0;
        user-select: none;
        justify-items: center;
        width: 100%;
    }

    .mon_list_body li {
        height: 45px;
        background: var(--bg-table-color);
        border-radius: 4px;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        padding: 0 10px;
        margin: 0;
        transition: .3s;
        position: relative;
        justify-items: center;
        align-content: center;
    }

    .mon_none {
        display: none !important;
    }
}

@media (min-width:769px) {
    .mon_header {
        padding: 15px 0px;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        background-color: var(--bottom-line-table);
        border-radius: 4px;
        margin: 5px 0;
        user-select: none;
        width: 100%;
        justify-items: center;
    }

    .mon_list_body li {
        height: 45px;
        background: var(--bg-table-color);
        border-radius: 4px;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        padding: 0px;
        margin: 0;
        transition: .3s;
        position: relative;
        justify-items: center;
        align-content: center;
    }

    .mon_none {
        display: block;
    }
}

.mon_header span {
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--span-color);
    display: flex;
    gap: 12px;
    align-items: center;
}

.mon_header svg {
    width: 12px;
    height: 12px;
    fill: var(--span-color);
}

.mon_list_scroll {
    max-height: 250px;
    overflow: hidden;
    overflow-y: scroll;
    width: 100%;
    margin-bottom: 5px;
}

.mon_list_body li:not(:last-child) {
    margin-bottom: 3px;
}

.mon_list_body li:hover {
    transition: .3s;
    background-color: var(--button-color);
}

.mon_list_body li span {
    font-size: 11px;
    font-weight: 500;
    color: var(--custom-text-color);
    user-select: none;
    -webkit-user-drag: none;
    transition: .3s;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.mon_list_body li a {
    color: var(--default-text-color);
    cursor: pointer;
    transition: .3s;
    font-weight: 700;
}

.hover_mon:hover span a {
    color: var(--span-color);
    transition: .3s;
}

.hover_mon:hover span{
    color: var(--default-text-color);
    transition: .3s;
}

.hover_mon span svg {
    display: inline-flex;
    width: 15px;
    height: 15px;
    margin-right: 10px;
    border-radius: 50px;
    fill: var(--custom-text-color);
    transition: .3s;
    opacity: .2;
}

.hover_mon:hover span svg {
    fill: var(--span-color);
    transition: .3s;
    opacity: 1;
}

.mon_player_name {
    font-weight: 700 !important;
    color: var(--span-color) !important;
    white-space: nowrap;
    width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left !important;
    justify-content: flex-start !important;
    align-items: center !important;
}