@media (max-width:940px) {
    header {
        width: 100%;
        grid-template-columns: auto 1fr; /* hamburger | siteid */
        padding: 0px;
        position: relative;
    }

    .site-id {
        margin: 0px;
        justify-self: center;
        display: inline-block;
    }

    .site-id img {
        width: 180px;
        margin-right: 48px;
    }

    header nav, .avatar-container {
        display: none;
    }

    #hamburger-button {
        display: block;
        font-size: 1.8em;
        background: none;
        border: none;
        cursor: pointer;
    }

    #flyout-menu.show {
      display: block;
      animation: fadeInFromLeft 0.15s ease;
    }

    @keyframes fadeInFromLeft {
      from { opacity: 0; transform: translateX(-40px); }
      to { opacity: 1; transform: translateX(0); }
    }

    #flyout-menu a {
        padding: 8px 0px;
        text-decoration: none;
        color: #333;
        font-weight: 500;
        display: block;
    }

    #flyout-menu {
        position: absolute;
        top: 0;
        left: 0;
        /*height: 100%;*/
        background: #fff;
        border-rigth: 1px solid #555;
        padding: 12px;
        height: 100vh;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        overflow-y: auto;
        overscroll-behavior: contain; /* prevents scroll chaining */
        -webkit-overflow-scrolling: touch;
    }

    .youtubeframe {
        width: 100%;
        aspect-ratio: 16 / 9;
        height: auto; /* let the browser calculate it */
    }

    nav {
        display: block;
    }

    nav a {
        display: block;
    }

    .row {
        margin: 0px;
        padding: 20px;
        width: 100%;
    }

    footer {
        padding: 20px;
        margin: 0px auto;
        color: #ffffff;
        width: 100%;
    }
}
