@media (min-width: 1280px) {
    #online-block {
        position: absolute;
        right: 0;
        left: 0;
        top: 136px;
        z-index: 1;
        pointer-events: none;
        padding: 42px 64px 0 0;
    }
}

@media (max-width: 1280px) {
    #online-block {
        padding: 16px;
    }
}

#online-block {
    position: absolute;
    right: 0;
    left: 0;
    top: 72px;
    z-index: 1;
    pointer-events: none;
    max-width: 1920px;
    margin: 0 auto;
}

.online-server_block {
    display: flex;
    flex-direction: column;
    align-items: end;
}

.online-server {
    border-radius: 14px !important;
    background: var(--primary-white) !important;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.30), 0px 1px 3px 1px rgba(0, 0, 0, 0.15);
    padding: 4px !important;
    width: 304px !important;
    transition: background .2s linear;
    pointer-events: all;
    border: none !important;
}

.online-server_border {
    background: linear-gradient(180deg, #4D4336 0%, #714A27 63.5%, #AA8E75 79%, #5E5548 98.5%);
    border-radius: 12px;
    width: 100%;
    height: 100%;
    padding: 2px;
}

.online-server_body {
    border-radius: 10px;
    background: var(--primary-white);
    padding: 9px 14px;
    position: relative;
}

.online-server_body h5 {
    font-family: Colus;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    text-transform: uppercase;
}

body.dark .online-server:nth-child(1) h5 {
    color: #0b7a5c;
}

.online-server:nth-child(1) h5 {
    color: #0b7a5c;
}

body.dark .online-server:nth-child(2) h5 {
    color: #4d4d4d;
}

.online-server:nth-child(2) h5 {
    color: #444444;
}

body.dark .online-server:nth-child(3) h5 {
    color: #AA0909;
}

.online-server:nth-child(3) h5 {
    color: #AA0909;
}

body.dark .online-server:nth-child(4) h5 {
    color: #ADAC8A;
}

.online-server:nth-child(4) h5 {
    color: #ADAC8A;
}

.online-server:hover {
    background: #EDEDED;
}

body.dark .online-server {
    background: linear-gradient(180deg, #2C2C2C 0%, #141414 100%) !important;
}

body.dark .online-server_body {
    background: linear-gradient(180deg, #2C2C2C 0%, #141414 100%) !important;
}

body.dark .online-server_border {
    background: #877751;
}

.online-server h5 span {
    transition: all 0.3s ease;
}

body.dark .online-server h5 span {
    color: #FFFFFF !important;
    transition: all 0.3s ease;
}

.online-server:nth-child(1):hover h5 span {
    color: #0b7a5c !important;
}

body.dark .online-server:nth-child(1):hover h5 span {
    color: #0b7a5c !important;
}

.online-server:nth-child(2):hover h5 span {
    color: #444444 !important;
}

body.dark .online-server:nth-child(2):hover h5 span {
    color: #4d4d4d !important;
}

.online-server:nth-child(3):hover h5 span {
    color: #AA0909 !important;
}

body.dark .online-server:nth-child(3):hover h5 span {
    color: #AA0909 !important;
}

.online-server:nth-child(4):hover h5 span {
    color: #ADAC8A !important;
}

body.dark .online-server:nth-child(4):hover h5 span {
    color: #ADAC8A !important;
}

.online-server h5 {
    display: flex;
    margin-bottom: 0;
    align-items: center;
    gap: 8px;
    height: 27px;
}

.online-server h5 span {
    margin-left: auto;
    color: #080808 !important;
    font-family: Evolventa Bold;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 18px;
    text-transform: uppercase;
}

.online-server h5 img {
    align-self: center;
    width: 32px;
}

body.dark .online-server h5 {
    filter: brightness(2);
}

@media (max-width: 640px) {
    .online-server {
        width: 100% !important;
    }

    #online-block {
        top: 100px;
        padding: 16px !important;
    }
}