
* {
    font-family: 'MonaspaceXenon', serif;
}

html, body {
    width: 100%;
}

body {
    display: flex;
    justify-content: center;

    background-color: #EFEFEF;
}

.hidden { display: none !important; }

main {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-column-gap: 1rem;
    grid-row-gap: 1rem;

    margin: 1rem;
}

h1 {
    font-size: 3em;
    text-shadow: 0 0 8px #888;
}

.loader_left,
.loader_right{
    display: flex;
    width: 50px;
    justify-content: center;
    align-items: center;
}

#maincontent {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;

    padding: 0 2rem;

    grid-column: 2;
}

.server {
    background-color: #CCC;
    padding: 2px 0.5rem;

    color: black;
    text-decoration: none;

    border-radius: 6px;
    border: 1px solid #888;

    box-shadow: 0 0 4px #888;

    transition: all 0.2s;

    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-column-gap: 1rem;
}

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

.server .txt_icon {
    text-align: left;
}

.server .txt_port {
    opacity: 0.6;
}

.server:hover {
    box-shadow: 0 0 4px #000;
    background-color: #AAA;
    color: #00A;
}

.loader {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    border: 10px solid;
    border-color: rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.25) rgba(0, 0, 0, 0.35) rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}