  /*$$$$$                        /$$     /$$                              
 /$$__  $$                      | $$    |__/                              
| $$  \__/  /$$$$$$   /$$$$$$$ /$$$$$$   /$$  /$$$$$$  /$$$$$$$   /$$$$$$$
|  $$$$$$  /$$__  $$ /$$_____/|_  $$_/  | $$ /$$__  $$| $$__  $$ /$$_____/
 \____  $$| $$$$$$$$| $$        | $$    | $$| $$  \ $$| $$  \ $$|  $$$$$$ 
 /$$  \ $$| $$_____/| $$        | $$ /$$| $$| $$  | $$| $$  | $$ \____  $$
|  $$$$$$/|  $$$$$$$|  $$$$$$$  |  $$$$/| $$|  $$$$$$/| $$  | $$ /$$$$$$$/
 \______/  \_______/ \_______/   \___/  |__/ \______/ |__/  |__/|______*/



section {
    width: min(calc(100% - 3rem), var(--content_width));
    margin-inline: auto;
}

.section_layout {
    display: grid;
    align-items: stretch;
    column-gap: 0;
    row-gap: 0;
}

.section_1col {
    grid-template-columns: minmax(0, 1fr);
}

.section_2col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.section_3col {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.section_split,
.section_split_right {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
}

.section_split_left {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
}

.section_col {
    display: flex;
    min-width: 0;
    align-self: stretch;
}

.section_col.section_col_media_fill {
    min-height: 0;
    overflow: hidden;
    position: relative;
}

.section_col > * {
    width: 100%;
}

.section_col > .terminal,
.section_col > .section_panel,
.section_col > .section_media {
    height: 100%;
}

.section_col.section_col_media_fill > img,
.section_col.section_col_media_fill > picture,
.section_col.section_col_media_fill > video,
.section_col.section_col_media_fill > iframe {
    display: block;
    min-height: 0;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.section_panel {
    overflow: hidden;

    color: var(--primary_text);
    background:
        radial-gradient(
            circle at top left,
            rgba(114, 224, 106, 0.03),
            transparent 48%
        ),
        var(--surface_background);

    border: 1px solid var(--border);
    box-shadow: 0 0 0 1px var(--border_dark);
}

.section_panel_body {
    padding: clamp(0.875rem, 2.5vw, 1.25rem);
}

.section_media {
    margin: 0;
    position: relative;
    overflow: hidden;

    border: 0;
    background: transparent;
    box-shadow: none;
}

.section_media img,
.section_media picture,
.section_media video,
.section_media iframe {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section_free {
    background: transparent;
    border: 0;
    box-shadow: none;
}

.section_media_framed {
    border: 1px solid var(--border);
    background: var(--terminal_background);
    box-shadow: 0 0 0 1px var(--border_dark);
}

.hero {
    padding-top: clamp(3rem, 2vw, 6rem);
    padding-bottom: 1.5rem;
}

.typewriter_heading {
    min-height: var(--typewriter_min_height, auto);
}

.terminal {
    display: flex;
    flex-direction: column;
    overflow: hidden;

    color: var(--primary_text);
    background: var(--surface_background);

    border: 1px solid var(--border);
    box-shadow:
        0 0 0 1px var(--border_dark),
        0 18px 50px rgba(0, 0, 0, 0.35);
}

.terminal_header {
    min-height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;

    padding: 0.375rem 0.5rem 0.375rem 0.75rem;

    color: var(--primary_text);
    background: var(--title_bar_background);

    border-bottom: 1px solid var(--border);
}

.terminal_header_label {
    min-width: 0;
}

.terminal_header h2,
.terminal_header h3 {
    overflow: hidden;
    color: var(--primary_text);
    letter-spacing: 0.02em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.terminal_header_buttons {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.terminal_body {
    flex: 1;
    min-height: 12rem;
    padding: clamp(1rem, 3vw, 1.5rem);

    color: var(--primary_text);
    background:
        radial-gradient(
            circle at top left,
            rgba(114, 224, 106, 0.035),
            transparent 45%
        ),
        var(--terminal_background);
}

.spacer{
    height: 3rem;
}

@media (max-width: 640px) {
    .logo{
        display: none;
    }

    section {
        width: min(calc(100% - 1.5rem), var(--content_width));
    }

    .hero {
        padding-top: 25px;
        margin-top: 0;
    }

    .section_panel_body {
        padding: 1rem;
    }

    .terminal_header {
        min-height: 2.25rem;
    }

    .minimize_icon,
    .maximize_icon,
    .exit_icon {
        width: 1.5rem;
        height: 1.5rem;
    }

    .terminal_body {
        padding: 1rem;
        font-size: 0.9375rem;
    }
}

@media (max-width: 900px) {
    .section_2col,
    .section_3col,
    .section_split,
    .section_split_right,
    .section_split_left {
        grid-template-columns: minmax(0, 1fr);
    }

    .section_col.section_col_media_fill > img,
    .section_col.section_col_media_fill > picture,
    .section_col.section_col_media_fill > video,
    .section_col.section_col_media_fill > iframe {
        position: static;
        width: 100%;
        height: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero h1::after,
    .terminal_body::after {
        animation: none;
    }
}