body {
    font-family: "MS PGothic", 'Trebuchet MS', Arial, sans-serif;

    display: flex;
    justify-content: center;
    align-items: center;

    min-height: 100vh;
    margin: 0;

    background: url("img/bg.png") top repeat-x;
}

p,a {
    padding: 0;
    margin: 0;
}

.center {
    background: white;
    border: 1px solid #4AADE2;
    padding: 1em;
}

.logo {
    display: block;
    height: auto;
    margin: 0 auto;
}

.bottom {
    text-align: center;
}

.element-array {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75em;
    font-size: 0.9em;
    padding: 1em;
}

.flair {
    position: fixed;
    right: 1em;
    bottom: -5px;
    z-index: -1;
}

.link {
    cursor: pointer;
    color: #226aad;
    text-decoration: underline dotted;
    font-size: 0.85em;
}

.link:hover {
    color: #d63384;
    text-decoration: underline solid;
}

@media (max-width: 480px) {
    .center {
        padding: 0.75em;
        width: 95%;
        box-sizing: border-box;
    }

    .logo {
        max-width: 80%;
    }

    .element-array {
        gap: 0.5em;
        padding: 0.5em;
        font-size: 0.85em;
    }

    .link {
        font-size: 0.8em;
    }
}

@media (max-height: 500px) {
    body {
        align-items: flex-start;
        min-height: 100vh;
        overflow-y: auto;
    }

    .center {
        padding: 0.5em;
        margin: 0.5em auto;
    }

    .logo {
        max-width: 50%;
    }

    .element-array {
        gap: 0.4em;
        padding: 0.5em;
        font-size: 0.8em;
    }
}

@media (max-height: 350px) {
    .logo {
        max-width: 35%;
    }

    .element-array {
        font-size: 0.75em;
        gap: 0.25em;
    }
}