.grid-container {
    display: grid;
    gap: 10px;
    /* background-color: rgb(235, 235, 221); */
    grid-template-columns: var(--sidewidth) auto;
    grid-template-rows: auto auto;
    grid-template-areas:
        'header header'
        'sidebar main';
}

.grid-header {
    display: grid;
    grid-area: header;
    /* background-color: blueviolet; */
    /* For debugging */
    /* background-color: var(--darkColor, rgb(20, 20, 112)); */
    /* border: solid 5px aqua;
    border-radius: 5px;  */
    /* background-color: yellow;
    height: 20px; */
}

.grid-sidebar {
    display: grid;
    grid-area: sidebar;
    /* border: solid 5px green; */
}

.grid-main {
    display: grid;
    grid-area: main;
    /* border-radius: 5px; */
    /* border: solid 5px blue; */
}

.SideBar {
    display: flex;
    flex-direction: column;
    width: var(--sidewidth);
}

.WritingsOtherHeader {
    display: none;
    font-size: 1rem;
}

@media only screen and (max-width:1000px) {
    .grid-sidebar {
        display: none;
        background: red;
    }

    .grid-container {
        display: grid;
        grid-template-columns: auto;
        grid-template-areas: 'header''main';
    }

    .WritingsOtherHeader {
        display: block;
    }
}