@media (max-width: 1414px) {
    :root {
        --header-height: 105px;
        --text-sm: 10px;
        --text-md: 1rem;
        --text-h2: 28px;
        --text-h1: 48px;
    }

    header {
        flex-direction: column;
        align-items: stretch;
        gap: var(--element-gap);
        padding: var(--element-gap);
        margin-top: 0;
    }

    .header-left {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .header-spacer {
        height: calc(var(--header-height) + 90px + var(--site-padding));
        margin-top: 0;
    }

    .footer-spacer {
        display: none !important;
    }

    .logo-container {
        width: 100%;
        justify-content: left;
    }

    .production-keybind {
        display: none;
        order: -1;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        height: 10px;
    }

    .production-info {
        text-align: left;
        white-space: nowrap;
        font-size: var(--text-sm);
        text-overflow: ellipsis;
        display: block;
        flex: 1 1 0;
    }

    .keybind-info {
        text-align: right;
        white-space: nowrap;
        font-size: var(--text-sm);
        text-overflow: ellipsis;
        display: block;
        flex: 1 1 0;
    }

    #javascript-progress {
        position: fixed;
        top: calc(var(--site-padding) + 5px + var(--site-padding));
        left: var(--site-padding);
        z-index: 10000;
        color: #ff0000;
        font-size: var(--text-md);
        text-align: left;
    }

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

    .header-buttons {
        flex-direction: row;
        align-items: center;
        width: 100%;
        justify-content: center;
    }

    .header-buttons .btn {
        flex: 1 1 0;
        min-width: 0;
        max-width: none;
        width: auto;
        height: 40px;
        line-height: 40px;
    }

    .text-head-content {
        margin-left: 0;
    }

    .welcome-image-overlay {
        display: none;
    }

    .text-container {
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .notice-banner {
        font-size: 1rem;
    }

    #password-modal {
        width: calc(100% - 2 * var(--site-padding));
        max-width: 1600px;
        height: 64px;
        padding: 0 var(--site-padding);
        flex-direction: row;
        align-items: center;
        gap: 20px;
    }

    #k-selector {
        right: var(--site-padding);
        transform: translateY(-50%);
    }

    .footer-wrapper {
        margin-top: auto !important;
        display: flex !important;
        align-items: stretch !important;
        flex-direction: column !important;
        padding-bottom: var(--site-padding) !important;

        position: unset !important;
        top: unset !important;
        padding-top: unset !important;
        width: unset !important;
        max-width: unset !important;
        align-content: unset !important;
    }

    .footer-links {
        flex: unset;
        width: 100%;
        margin-bottom: var(--element-gap);
    }

    .footer-info {
        flex: unset;
        width: 100%;
        margin-left: 0;
    }

    .footer-info .text-field {
        flex: 0 0 auto !important;
        height: auto !important;
        min-height: unset !important;
        max-height: unset !important;
    }

    .footer-info .text-footer {
        margin-top: var(--element-gap);
    }

    .footer-info .text-field + .text-footer {
        margin-top: calc(-1 * (var(--border-width) + 2px));
    }

    #video-section .text-container {
        flex-direction: column;
        gap: var(--element-gap);
    }

    #video-section .text-item {
        flex: 0 0 100%;
    }

    .combined-container {
        flex-direction: column;
    }

    .combined-item {
        flex: 0 0 100%;
        min-width: unset;
        max-width: 100%;
    }

    .text-container .subhead-btn-r + .subhead-btn-r,
    .text-container .subhead-btn-t + .subhead-btn-t {
        margin-top: calc(-1 * (var(--site-padding) + var(--border-width)));
        flex: 1;
    }

    .text-table td:first-child {
        width: 200px;
    }

    .inline-banner-container {
        display: flex;
        flex-direction: column;
        gap: var(--element-gap);
    }
}