@import "/vendor/sora.css";
@import "/vendor/mojangles.css";

:root {
    --muted: light-dark(#3c3f45, #9aa4b2);
    color-scheme: dark light;
}

* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    margin: 0;
    font-family: "Sora";
    color: light-dark(#222, snow);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 20px;
    display: flex;
    align-items: flex-start;
    background-color: light-dark(lavender, canvas);
}

.page {
    width: 100%;
    max-width: 960px;
}

.icon {
    display: block;
}

h1 {
    font-size: 44px;
    font-weight: normal;
    margin: 0;
}

.subtitle {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

a {
    color: light-dark(#000080, skyblue);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

#quicklink {
    font-weight: bold;
}

.current-line {
    font-size: 16pt;
}

.releases {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 12px;
}

.releases li {
    padding: 10px;
    border-radius: 6px;
    border: 1px solid light-dark(rgba(0, 0, 0, 0.5), rgba(255, 255, 255, 0.25));
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
}

.release-link {
    font-weight: bold;
    color: inherit;
}

.changelog-link {
    font-weight: 500;
    color: light-dark(darkslateblue, aquamarine);
    margin-left: auto;
}

.beta {
    color: var(--muted);
    font-style: normal;
    margin-left: auto;
    align-content: center;
}

.sep {
    color: var(--muted);
    margin-left: 6px;
    margin-right: 6px;
}

.note {
    margin-bottom: 0px;
    color: var(--muted);
    font-size: 13px;
}

.content-area h3 {
    margin: 6px 0 8px 0;
    font-size: 15px;
}

header {
    display: flex;
    align-items: center;
    gap: 10px; 
}

@media (max-width:640px) {
    .releases {
        grid-template-columns: 1fr;
    }
}

.mojangles {
    font-family: Mojangles;
}

@media (prefers-color-scheme: dark) {
    .mojangles {
        text-shadow: .1em .1em 0 rgb(from currentcolor calc(r * 0.25) calc(g * 0.25) calc(b * 0.25));
    }
}
