.custom-server {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    position: relative;
    width: 100%;
    height: 200px;
    padding: 0px 20px;
    z-index: 1;
    text-align: center;
}

.custom-server > img {
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
    z-index: -1;
    object-fit: cover;
    transition: all 1s ease-out;
    opacity: .4
}

.custom-server:hover > img {
    transform: scale(1.03);
    transition: all ease-in .3s;
    opacity: 0.3;
}

.custom-server .data-name {
    font-size: 15px !important;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #fff;
    width: 100%;
}

.custom-server .connect-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 45px;
    margin-top: -15px;
}

.custom-server .connect-info .ip {
    color: #ffffff9c;
    font-size: 12px;
    font-weight: 500;
    user-select: all;
}

.custom-server .connect-info .connect_btn { 
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    width: 66px;
    background: var(--span-color);
    padding: 4px 5px;
    border-radius: 4px;
}

.custom-server .online {
    display: flex;
    flex-direction: column;
    font-size: 18px;
    font-weight: 400;
    width: 100%;
    border-radius: 5px;
    background-color: rgba(16, 16, 16, 0.5);
    /* line-height: 30px; */
    height: 5px;
}

.custom-server .online .online2 {
    border-radius: 5px;
    background: rgba(var(--server-graph-rgba));
    background-size: 50px 50px;
    background-image: linear-gradient(-45deg, rgba(255, 255, 255, .2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%, transparent 75%, transparent);
    height: 5px;
    max-width: 100%;
}

.custom-server:hover .online .online2 {
    background-size: 50px 50px;
    background-image: linear-gradient(-45deg, rgba(255, 255, 255, .2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%, transparent 75%, transparent);
    animation: move 4s linear infinite;
}

.custom-server .online .data-info {
    display: flex;
    justify-content: space-between;
    margin-top: -28px;
    padding: 0px 1px;
}

.custom-server .online .data-info .data-map {
    font-size: 14px;
    font-weight: 400;
    color: #e0e0e0;
}

.custom-server .online .data-info .data-players {
    font-size: 14px;
    font-weight: 400;
    color: #e0e0e0;
}

@keyframes move {
    0% { background-position: 0 0}
    100% { background-position: 50px 50px}
}

.modal-window-server {
    position: fixed;
    display: none;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 999;
    transition: all 0.3s;
    pointer-events: auto;
}

.modal-window-server .card {
    border: 1px solid var(--default-text-color);
    border-radius: 2px;
}

.modal-window-server > div {
    position: absolute;
    width: 25%;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    background: var(--sidebar-color);
}

.btn_connect_now{
    float: right;
    max-width: 80px;
    max-height: 30px;
    margin-top: 14px;
    margin-right: 14px;
    margin-bottom: 14px;
}

.server_block_scroll {
    max-height: 400px;
    overflow-y: scroll;
}

@media (max-width: 575.98px) {

    .modal-window-server > div {
        width: 70%;
        top: 40%;
    }

    .modal-window-server .input-form{
        display: none;
    }

    .server_block_scroll {
        max-height: 300px;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {

    .modal-window-server > div {
        width: 70%;
        top: 40%;
    }

    .server_block_scroll {
        max-height: 300px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {

    .modal-window-server > div {
        width: 50%;
        top: 50%;
    }

    .server_block_scroll {
        max-height: 300px;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {

    .modal-window-server > div {
        width: 38%;
        top: 50%;
    }

    .server_block_scroll {
        max-height: 300px;
    }
}

@media (min-width: 1200px) and (max-width: 1499.98px) {

    .custom-server .data-name {
        font-size: 1vw;
        /* font-weight: 500; */
    }

    .modal-window-server > div {
        width: 28%;
    }
}

@media (min-width: 1500px) {

    .modal-window-server > div {
        width: 28%;
    }
}

.show_her {
    display: none;
}

@media (min-width: 768px)
{
    .widthall
    {
        max-width: 100% !important;
        flex: 100 !important;
    }
    .show_her {
        display: block;
    }
}