html, body {
    background-color: cyan;
    /* color: red; */
    /* color: blue; */
    color: black;
}

body {
    background: #404040 conic-gradient( from 0.5turn at top center, white, #a300ff 2%, transparent 2% 98%, #000 98%, white );
    background-size: 10% 100%;
    border-right: 1.5vw solid #ff3c00;
    border-right: 1.5vw solid yellow;
    min-height: 100dvh;
    background-attachment: fixed;

    @media (orientation: portrait) {
        border-right: none;
    }
}

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

    .course-title {
        background-color: #e6e6e6;
        color: black;
    }

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

        background-color: yellow;
        color: inherit;
    }
}

.content {
    /* background-color: yellow; */
    background-color: violet;
    font-family: 'Space Grotesk';
    font-size: 20px;
    font-weight: normal;
    line-height: 1.25;
    margin: 0;
    max-width: 690px;
    min-height: 100vh;
    padding: 0 20px;
    padding-bottom: 1em;

     @media (orientation: portrait) {
        font-size: 18px;
        margin: 5px;
        min-height: auto;
        padding: 10px 5px 10px;
        width: auto;
    }

    &.h-max-h1 h1,
    &.h-max-h1 .h1 {
        font-size: 1.5em;
        padding: 1em 0;
        margin-top: 0;
        text-align: left;
        /* pointer-events: none;
        position: sticky;
        top: 40px;
        width: calc(200% - 10px); */

        @media (orientation: portrait) {
            position: static;
            text-align: center;
            width: auto;
        }
    }

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

    &.h-max-h1 h2,
    &.h-max-h1 .h2,
    &.h-max-h3 h3,
    &.h-max-h3 .h3 {
        border-top: 1px solid;
        padding-top: 1.15em;

        text-align: center;
        color: black;
    }

    &.h-max-h1 h3,
    &.h-max-h1 .h3 {
        color: black;
    }

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

    a {
        background-color: #ff00fb41;
        background-color:rgba(255, 255, 0, 0.417);
        /* color: yellow; */
        text-decoration: none;

        &:hover {
            background-color: transparent;
            /* color: red; */
            font-style: italic;
        }
    }

    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 {
        border-bottom: 1px solid red;
        border-bottom: 1px solid black;
        /* margin-top: calc(1.15em * 1); */
        padding-bottom: 2em;

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

.arena-item {
    display: block;
    position: fixed;
    bottom: 0;
    width: 250px;
    background-color: silver;
    padding: 8px;
    right: 1.5vw;

    translate: 0 0;
    transition: translate 0.3s, scale 0.5s;
    transition-delay: 2s, 0s;

    transform-origin: right bottom;

    @starting-style {
        translate: 0 100%;
    }

    &:hover {
        background-color: cyan;
    }

    &.hide {
        
        scale: 0;

        img {
            border-radius: 50%;
        }
    }

    img {
        width: 100%;
    }

    @media (orientation: portrait) {
        display: none;
    }
}