@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;700&family=Open+Sans:wght@300;400&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #404040;
    color: #fff;
    font-family: "Rubik", sans-serif;
}

#loading-container {
    width: 100%;
    color: #999;
    font-size: 8vw;
    font-weight: 300;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    font-family: "Open Sans", sans-serif;
}

.container {
    margin: 0 auto;
    padding: 20px;
}

.header-row {
    display: flex;
    border-bottom: 1px solid #828282;
    padding: 10px 0;
    font-weight: bold;
}

.server-row {
    display: flex;
    border-bottom: 1px solid #828282;
    padding: 10px 0;
    cursor: pointer;
    transition: all 0.15s ease;
}

.server-row:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.col-id {
    flex: 0 0 8%;
    padding: 0 10px;
    display: none;
}

.col-ip {
    flex: 0 0 25%;
    padding: 0 10px;
}

.col-name {
    flex: 1;
    padding: 0 10px;
}

@media (min-width: 768px) {
    .col-id {
        display: block;
    }
    .col-ip {
        flex: 0 0 20%;
    }
}

.info-row {
    display: none;
    overflow: hidden;
    width: 100%;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.2);
    border-left: 8px solid transparent;
    transition: all 0.15s ease;
}

.row-selected {
    border-left: 8px solid #008080;
}

.info-container {
    display: flex;
    flex-wrap: wrap;
}

.info-column {
    flex: 1;
    min-width: 300px;
    padding: 0 15px;
}

.info-item {
    display: flex;
    margin-bottom: 10px;
}

.info-label {
    flex: 0 0 40%;
    font-weight: bold;
}

.info-value {
    flex: 1;
}

.separator {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #555;
}

.raw-data {
    margin-top: 20px;
    width: 100%;
}

.raw-data pre {
    background-color: #2d2d2d;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    font-family: monospace;
    font-size: 14px;
}

.global-official {
    text-shadow: 1px 1px 2px black, 0 0 25px #DC143C, 0 0 5px #800B23;
}

.regional-official {
    text-shadow: 1px 1px 2px black, 0 0 25px blue, 0 0 5px darkblue;
}

.local-official {
    text-shadow: 1px 1px 2px black, 0 0 25px #008080, 0 0 5px #003B3B;
}

a {
    color: #66ccff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}