@font-face {
    font-family: "JetBrains Mono";
    src: url("./JetBrainsMono.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    margin: 0;
    box-sizing: border-box;
    min-height: 100vh;
    text-align: center;
    font-family: "JetBrains Mono", monospace;
    font-optical-sizing: auto;
    background-image: url("./background.gif");
    background-size: cover;
    background-position: center;
}

main {
    width: 100%;
    max-width: 900px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    background-color: beige;
    padding: 15px;
}

.avatar {
    width: 200px;
    border-radius: 50%;
    border: 3px solid black;
}

.text-info {
    max-width: 500px;
    text-align: justify;
}

.social-links {
    margin-top: 30px;
}

.social-links span {
    display: flex;
    flex-direction: column;
    margin-top: 15px;
}

.sponsor {
    margin-top: 20px;
    word-wrap: break-word;
    word-break: break-all;
}

.sponsor h1 {
    font-size: 20px;
    margin: 0;
}

.sponsor b {
    font-size: 15px;
    display: inline-block;
    max-width: 100%;
}

footer {
    display: flex;
    padding: 5px;
    flex-direction: column;
    margin-top: 5px;
    height: 50px;
    flex-shrink: 0;
    background-color: beige;
}

::selection {
    background-color: black;
    color: white;
}

@media (prefers-color-scheme: dark) {
    body {
        color: white;
    }

    footer {
        background-color: black;
    }

    main {
        background-color: black;
    }

    ::selection {
        background-color: white;
        color: black;
    }

    .avatar {
        border: 3px solid white;
    }
}
