@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

body, html {
    height: 100%;
}
body {
    user-select: none;
    font-family: "Inter", sans-serif;
    margin: 0;
    box-sizing: border-box;
    background-color: white;
    overflow-y: hidden;
}
p {
    margin: 0;
}
.main-container {
    height: 100%;
}
.sidebar {
    width: 440px;
    height: 100%;
    float: left;
    transition: 0.2s;
    background: #1c1c1c;
    border-right: 1px solid #2b2b2b;
}
.page-content {
    width: calc(100% - 441px);
    float: right;
    height: 100%;
    transition: 0.2s;
    background: #1c1c1c;
}
.fulled {
    width: 100%;
    height: 100%;
    border: none;
}
.sidebar-content {
    padding: 20px;
}

.top-badge {
    padding: 20px;
    padding-top: 12px;
    padding-bottom: 12px;
    background: #5d26a1;
    color: #ffffff;
    font-weight: 700;
    text-align: end;
    transition: 0.2s;
    cursor: pointer;
}
.top-badge:hover {
    background: #4c1f83;
}

.server-info {
    border-bottom: 1px solid #2b2b2b;
    padding: 20px;
    padding-top: 24px;
}
.server-info img {
    float: right;
    width: 46px;
}
.server-info p.title {
    font-size: 20px;
    font-weight: 700;
    color: white;
}
.server-info p.desc {
    color: #6d6d6d;
    font-weight: 600;
    margin-top: 0px;
}
.server-info button {
    margin-top: 15px;
    width: 100%;
    border: none;
    padding: 9px;
    border-radius: 4px;
    font-family: 'Inter';
    font-weight: 600;
    color: white;
    background: #2d2c2c;
    border: 2px solid #373737;
    transition: 0.2s;
}
.server-info button:hover {
    border: 2px solid #3f3e3e;
    cursor: pointer;
}

.lists {
    height: calc(100% - 134px);
    overflow-y: auto;
}
.list {
    border-bottom: 1px solid #2b2b2b;
    background: #1c1c1c;
    transition: 0.2s;
}
.list:hover {
    background: #212121;
}
/*.list:nth-child(odd) {
    background: #212121;
}*/
.list:nth-child(odd):hover {
    background: #272626;
}
.list .title {
    padding: 12px 9px;
    color: white;
    font-weight: 600;
    display: flex;
    align-items: center;
    cursor: pointer;
}
.list .title svg {
    margin-right: 8px;
    transition: 0.2s;
    rotate: -90deg;
}
.list .title svg path {
    fill: #5f5f5f;
}
.list desc {
    margin-left: 6px;
    color: #575757;
}
.list .contents {
    padding-bottom: 10px;
    display: none;
}
.list .contents[show] {
    display: block;
}
.list .contents div {
    padding: 5px 12px;
    color: white;
    font-weight: 600;
    display: flex;
    align-items: center;
    padding-left: 32px;
}
.list .contents div desc {
    margin-left: 8px;
    margin-right: 8px;
    color: #575757;
}
.list .contents div img {
    width: 21px;
}
.list .contents div uname {
    margin-left: 10px;
}
.list .contents div gpname, .list .contents div wstat {
    margin-left: auto;
}
.list .contents div wstate {
    margin-left: 7px;
}
.list .contents div wstate[type="minecraft_overworld"] {
    display: none;
}
.list .contents div wstate[type="minecraft_the_nether"] {
    color: #d95959;
}
.list .contents div wstate[type="minecraft_the_end"] {
    color: #a563d3;
}

::-webkit-scrollbar {
    width: 15px;
}
::-webkit-scrollbar-corner {
    background-color: #2d2c2c;
}
::-webkit-scrollbar-thumb {
    background-color: #676767;
    border-radius: 20px;
    border: 4px solid #2d2c2c;
}
::-webkit-scrollbar-track {
    background-color: #2d2c2c;
}

#telegramChat, #map {
    padding-bottom: 0px;
}
#map {
    height: 300px;
}

#govList gpname {
    font-weight: 500;
    color: #08d508;
}
#govList gpname[count="0"] {
    color: #6d6d6d;
}

.unavaiable {
    padding: 20px;
    display: block;
}
.unavaiable p {
    font-size: 20px;
    color: white;
    font-weight: 700;
    margin-bottom: 10px;
}
.unavaiable img {
    border-radius: 20px;
    width: 500px;
}

.page-content[hiddenmap] iframe {
    display: none;
}
.page-content[hiddenmap] .unavaiable {
    display: block;
}

wstat {
    font-weight: 500;
    color: white;
}
wstat.green {
    color: #82c79b;
}
.stats-row {
    color: #736b6b !important;
    padding: 3px 12px !important;
    padding-left: 32px !important;
}

wstat[tps="good"] { color: #16c60c; }
wstat[tps="normal"] { color: #ffc814; }
wstat[tps="bad"] { color: #fb5f2e; }

#messagesList {
    display: block;
    height: 200px;
    overflow-y: auto;
    padding-top: 0px;
}
message {
    width: 100%;
    display: inline-block;
    font-size: 14px;
}
message img {
    width: 16px !important;
    height: 16px;
    margin-right: 4px;
}
message playername {
    margin-right: 6px;
}
#messagesList::-webkit-scrollbar {
    width: 14px;
    height: 14px;
}
#messagesList::-webkit-scrollbar-corner {
    background-color: #1c1c1c;
}
#messagesList::-webkit-scrollbar-thumb {
    background-color: #3d3b3b;
    border-radius: 20px;
    border: 4px solid #1c1c1c;
}
#messagesList::-webkit-scrollbar-track {
    background-color: #1c1c1c;
}



@media screen and (max-width: 700px) {
    .sidebar {
        width: 100%;
    }
    body {
        overflow-x: hidden;
    }
}