@font-face {
    font-family: 'Space Grotesk';
    src: url(../../fonts/space-grotesk/space-grotesk.ttf);
}

header.course-nav {
    background: #000;
    color: #eee;
    display: grid;
    font-family: 'Space Grotesk', monospace;
    font-weight: 300;
    grid-template-columns: auto 1fr auto;
    left: 0;
    padding: 5px;
    position: sticky;
    top: 0;
    width: 100%;

    @media (max-width: 800px) {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 0 2px 2px 0;
    }

    a {
        text-decoration: none;
    }

    nav {
        display: flex;

        @media (max-width: 800px) {
            flex-wrap: wrap;
        }

        ul {
            display: flex;

            @media (max-width: 800px) {
                flex-wrap: wrap;
            }
        }

        a {
            border-radius: 0.8em;

            @media (max-width: 800px) {
                box-shadow: inset 0 0 5px silver;
            }

            &:hover,
            &.router-link-active,
            &.is-parent-link {
                background: #eee;
                color: #000;
            }
        }
    }

    a,
    .course-title,
    .semester {
        border-radius: 0.4em;
        display: inline-block;
        font-size: 20px;
        letter-spacing: 0.005em;
        line-height: 1;
        padding: 0.6em 0.6em 0.6em;
        margin: 2px;
        white-space: nowrap;

        @media (max-width: 1600px) {
            font-size: 20px;
        }

        @media (max-width: 1280px) {
            font-size: 17px;
        }

        @media (max-width: 800px) {
            margin: 2px 0 0 2px;
        }
    }

    .btn-close-course a {
        background-color: none;
        border-radius: 0.4em 1em 1em 0.4em;
        color: #999;
        padding-left: 0.25em;

        &:hover {
            background: red;
            color: pink;
        }
    }

    .course-title {
        background: #4c4c4c;
        color: #fff;
    }

    .semester {
        background: none;
        color: #999;

        @media (max-width: 1024px) {
            overflow: hidden;
            padding: 0;
            width: 0;
        }

        @media (max-width: 800px) {
            display: none;
        }
    }
}