@media (max-width: 900px) {
    body {
        margin: 0;
        background-image: none;
    }

    #container {
        width: 100%;
    }

    #header {
        display: flex;
        align-items: flex-end;
        justify-content: flex-end;
        height: auto;
        min-height: 9.5rem;
        background-position: center;
    }

    #headertitle {
        box-sizing: border-box;
        max-width: 100%;
        padding: 1rem;
        overflow-wrap: anywhere;
    }

    #header h1 a {
        font-size: clamp(1.5rem, 6vw, 2.15rem);
    }

    #navigation {
        display: flow-root;
        height: auto;
    }

    #nav {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
    }

    #nav a {
        padding: 0.45rem;
        overflow-wrap: anywhere;
    }

    #nav li {
        float: none;
    }

    #nav li ul,
    #nav li li ul,
    #nav li li li ul {
        position: static;
        margin: 0;
    }

    #nav li ul a {
        white-space: normal;
    }

    #content,
    #sidebar {
        box-sizing: border-box;
        float: none;
        width: 100%;
        min-height: 0;
        margin: 0;
        padding: 1rem;
        overflow-wrap: anywhere;
    }

    #content,
    #content p {
        font-size: 1rem;
        line-height: 1.55;
    }

    #content img,
    #sidebar img,
    #content video,
    #content iframe,
    #content .wp-caption,
    #content .wp-block-embed,
    #content input,
    #content textarea,
    #sidebar select {
        box-sizing: border-box;
        max-width: 100%;
    }

    #content img,
    #sidebar img,
    #content video {
        height: auto;
    }

    #content pre,
    #content table {
        display: block;
        max-width: 100%;
        overflow-x: auto;
    }

    #sidebar .column1,
    #sidebar .column2,
    #footer .Left_Footer,
    #footer .Middle_Footer,
    #footer .Right_Footer {
        box-sizing: border-box;
        float: none;
        width: 100%;
        margin-inline: 0;
    }

    #sidestep,
    #bottom {
        overflow-wrap: anywhere;
    }
}
