html, body {
    background-color: #fad8ff;
}

header.course-nav {
    background: yellow;
    color: black;
    z-index: 99999;

    .course-title {
        background-color: #ffd8f052;
        color: #ff008f;
    }

    nav a.is-parent-link,
    nav a.router-link-active,
    nav a.router-link-exact-active {
        background-color: white;
        color: #ff008f;
    }
}

.content {
    color: blue;
    font-family: 'Space Grotesk';
    margin: 0 auto;
    margin-bottom: 2em;
    width: 50%;

     @media (orientation: portrait) {
        font-size: 18px;
        margin: 0 5px;
        width: auto;
    }

    &.h-max-h1 h1,
    &.h-max-h1 .h1 {
        border-radius: 2em;
        box-shadow: rgb(255, 0, 143) 0px 0px 0.4em inset;
        color: rgb(255, 0, 143);
        font-size: 1.5em;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 2em;
        padding: 1em;
        rotate: -3deg;
        text-shadow: 0 0 0.1em rgb(255, 0, 144);
        width: 80%;

        @media (orientation: portrait) {
            position: static;
            width: auto;
        }
    }

    h2, .h2,
    p, ul,
    code {
        margin-bottom: 1.15em;
    }

    li ul {
        margin-bottom: 0;
    }

    &.h-max-h1 h2,
    &.h-max-h1 .h2,
    &.h-max-h3 h3,
    &.h-max-h3 .h3 {
        border-top: 1px solid;
        color: blue;
        padding-top: 0.2em;
        /* text-align: center; */
    }

    &.h-max-h1 h3,
    &.h-max-h1 .h3 {
        opacity: 0.35;
    }

    p, li {
        font-family: serif;
        font-size: 0.9em;
        font-weight: normal;
    }

    li {
        margin-left: 1.15em;
        list-style: square;
    }

    a {
        background-color: #ffffa5;
        text-decoration: none;

        &:hover {
            background-color: transparent;
        }
    }

    code {
        background-color: #666;
        box-shadow: inset 0 0 1em #444;
        color: #eee;
        overflow: auto;
        padding: 1em 0.5em;
    }

    summary:hover {
        background-color: pink;
        cursor: pointer;
    }

    details[open] {
        background-color: #ffe6eb;

        summary {
            background-color: pink;
        }
    }

    .post {
        margin-top: calc(1.15em * 1);

        @media (orientation: landscape) {
            margin-top: 5px;
            margin-bottom: 5px;
            position: relative;
            padding: 1em;
            border-radius: 1em;
            box-shadow: inset 0 0 1em #ff008f;

            &:nth-child(2) {
                /* left: 2em; */
                box-shadow: inset 0 0 1em silver;
            }

            &:nth-child(3) {
                /* left: 4em; */
                box-shadow: inset 0 0 1em blue;
            }

            &:nth-child(4) {
                /* left: 6em; */
                box-shadow: inset 0 0 1em lime;
            }

            &:nth-child(5) {
                /* left: 8em; */
                box-shadow: inset 0 0 1em pink;
            }

            &:nth-child(6) {
                /* left: 10em; */
                box-shadow: inset 0 0 1em cyan;
            }

            &:nth-child(7) {
                /* left: 12em; */
                box-shadow: inset 0 0 1em yellow;
            }
        }

        h3 {
            border-top: none;
            margin-bottom: 1.15em;
            text-align: center;
        }
    }
}