@font-face {
    font-family: "Unifont";
    src: url("./fnt/unifont.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
    unicode-range: U+0020-007E, U+00A0-00FF;
}

html, body {
    min-height: 100%;
}

body {
    min-height: 100vh;
    margin: 0;

    display: flex;
    flex-direction: column;

    background-image:
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url("./img/stone.png");
    background-size: 32px auto;
    image-rendering: crisp-edges;

    color: white;
    font-family: "Unifont", sans-serif;
}

.constrain {
    max-width: 640pt;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    padding-left: 64px;
    padding-right: 64px;
}

.header {
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.5)),
        url("./img/dirt.png");
    background-size: 32px auto;
    image-rendering: crisp-edges;

    margin: 0;
    color: white;
    .constrain {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    h1 {
        margin: 0;
    }
    table {
        border-spacing: 0;
        td:not(:last-child) {
            padding-right: 16px;
        }
    }
    .constrain > div{
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .header h1 {
        margin: 0;
        line-height: 32px;
    }
}

.no_highlight_link {
    color: white;
    a:link {
        color:white;
        text-decoration:none;
    }
    a:visited {
        color:white;
    }
}

.page_body {
    flex: 1;
    table {
        background-color: rgba(0, 0, 0, 0.3);
        padding: 5px;
        table-layout: fixed;
        width: 100%;
        td {
            vertical-align: top;
        }
    }
}

.footer {
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url("./img/bedrock.png");
    background-size: 32px auto;
    image-rendering: crisp-edges;

    margin: 0;
    color: white;
    p, table, tr, td {
        margin: 0;
    }
}

a {
    font-weight: 1000;
    font-size: large;
    &:link {
        color: #7a95ff;
    }
    &:visited {
        color: #b58cff;
    };
    &:hover, &:active {
        color: white;
    }
    img {
        height: 24px;
        width: auto;
        vertical-align: -0.3em;
    }
};


.server-list {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 5px;
}

.server {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-sizing: border-box;
}

.server-logo {
    display: block;
    width: 64px;
    height: 64px;
    object-fit: contain;
    image-rendering: pixelated;
    flex-shrink: 0;
}

.server-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.server-info .server-title {
    font-size: 16px;
    font-weight: bold;
    line-height: 1.3;
}

.server-ip {
    font-size: 14px;
    color: #bbb;
    overflow-wrap: anywhere;
}
