@font-face {
    font-family: 'JetBrains Mono';
    src: url('../fonts/JetBrainsMono-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Libre Caslon Condensed';
    src: url('../fonts/LibreCaslonCondensed.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --bg: #0b0b0b;
    --surface: #050505;
    --surface-hover: #101010;
    --border: #2a2a2a;
    --border-hover: #4a4a4a;
    --text: #eee;
    --muted: #aaa;
    --faint: #777;
    --font-ui: 'JetBrains Mono', monospace;
    --font-display: 'Libre Caslon Condensed', serif;
    color-scheme: dark;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
    margin: 0;
    background: var(--bg);
}

body {
    color: var(--text);
    font-family: var(--font-ui);
}

a {
    color: var(--muted);
}

.buttons {
    display: flex;
    gap: 12px;
    width: 100%;
    margin-top: 25px;
}

button {
    flex: 1 1 0;
    min-width: 0;
    min-height: 44px;
    margin: 0;
    padding: 10px 18px;
    color: var(--text);
    background: #161616;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: var(--font-ui);
    font-size: 14px;
    line-height: 1.4;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

h1 {
    margin-top: 0;
    font-family: var(--font-display);
    font-size: 35px;
}

.screen {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 50px;
    min-height: 100vh;
    color: var(--text);
    background-color: var(--bg);
    font-family: var(--font-ui);
}

.info-list {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 26px;
    row-gap: 18px;
    margin: 0;
}

.info-list dt {
    font-weight: 600;
}

.info-list dd::before {
    content: ": ";
}

.info-list dd {
    margin: 0;
}

.side {
    position: sticky;
    top: 100px;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
    width: 30%;
    margin-top: 100px;
    color: var(--muted);
    text-align: left;
}

.side .bar {
    width: 4px;
    height: 120px;
    background-color: var(--text);
    border-radius: 2px;
}

.side .label {
    font-size: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.content {
    flex: 0 0 30vw;
    width: 30vw;
    margin-top: 50px;
}

.content p {
    width: 100%;
    margin: 0;
}

@media (hover: hover) {
    button:hover {
        background: #222;
        border-color: var(--border-hover);
    }
}

button:active {
    transform: scale(0.97);
}

@media (max-width: 900px) {
    html {
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }

    .screen {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 24px 20px 32px;
    }

    .content {
        order: 1;
        flex: none;
        width: 100%;
        margin-top: 0;
    }

    .side {
        order: 2;
        position: static;
        width: 100%;
        margin-top: 32px;
        padding-top: 24px;
        border-top: 1px solid var(--border);
        justify-content: flex-start;
        overflow-wrap: anywhere;
    }

    .side p {
        margin: 0;
        line-height: 1.7;
    }
}

@media (max-width: 600px) {
    .buttons {
        flex-direction: column;
    }

    button {
        flex: none;
        width: 100%;
        padding: 14px 10px;
    }
}