:root {
    --bg-color-arty-click-sky-blue: #00C1F1;
    --bg-color-black-pearl: #001126;
    --bg-color-caribbean-green: #00CA9C;
    --bg-color-firefly: #14283B;
    --bg-color-fun-blue: #0E5FAA;
    --bg-color-orange-peel: #FF9911;
    --bg-color-persian-green: #00ABAD;
    --bg-color-violet-pink: #F75AFF;
    --card-header-font-size: 5rem;
    --card-header-height: 11rem;
    --card-height: 26rem;
    --card-width: 14rem;
    --color-fun-blue: #0E5FAA;
    --font-size-menu: 1.25rem;
    --font-size-breadcrumb-menu: 1rem;
    --font-weight-menu: 300;
    --height-menu-item: 5rem;
    --height-breadcrumb-menu-item: 4rem;
    --shadow-color: #14283b;
    --shadow: 1px 1px 6px 1px;
}

html,
body {
    height: 100%;
}

main {
    min-height: calc(100% - 5rem);
}

body {
    font-family: Roboto, system-ui, sans-serif;
    margin: 0;
}

h1 {
    font-size: 2.125rem;
    font-weight: 300;
    line-height: 2.5rem;
    margin: 0;
    word-wrap: break-word;
}

h2 {
    font-size: 1.525rem;
    font-weight: 300;
    line-height: 2.5rem;
    margin: 0;
    word-wrap: break-word;
}

nav {
    background-color: var(--bg-color-firefly);
    display: flex;
    justify-content: space-evenly;
    position: fixed;
    width: 100%;
}

nav>a {
    border-bottom: solid .25rem var(--bg-color-fun-blue);
    box-sizing: border-box;
    color: white;
    display: inline-block;
    flex-grow: 1;
    font:
        var(--font-weight-menu) var(--font-size-menu)/var(--height-menu-item) Roboto;
    height: var(--height-menu-item);
    text-align: center;
    text-decoration: none;
}

nav>a:hover {
    animation-name: change-bg-color, change-bb-color;
    animation-duration: .3s;
    animation-fill-mode: forwards;
}

nav>a>span {
    display: none;
}

main {
    background: rgb(14, 95, 170);
    background: linear-gradient(90deg, rgba(14, 95, 170, 1) 0%, rgba(14, 170, 170, 1) 50%, rgba(14, 95, 170, 1) 100%);
}

p {
    font-size: 1.125rem;
    font-weight: 300;
    line-height: 1.75rem;
    margin: 0.75rem 0 0 0;
}

p a {
    color: var(--color-fun-blue);
}

strong {
    font-weight: bolder;
}

.active {
    background-color: var(--bg-color-black-pearl);
    border-bottom-color: var(--bg-color-arty-click-sky-blue);
}

.border-card {
    border: solid .5rem;
}

.border-card-color-programming {
    border-color: var(--bg-color-caribbean-green);
}

.border-card-color-history {
    border-color: var(--bg-color-orange-peel);
}

.border-card-color-music {
    border-color: var(--bg-color-violet-pink);
}

.border-card-color-persian-green {
    border-color: var(--bg-color-persian-green);
}

.bottom {
    bottom: 0;
    position: absolute;
}

.breadcrumb-item {
    font-size: var(--font-size-breadcrumb-menu);
    height: var(--height-breadcrumb-menu-item);
    line-height: var(--height-breadcrumb-menu-item);
}

.breadcrumb-nav {
    flex-direction: column;
    justify-self: center;
    overflow-x: hidden;
    position: initial;
    width: 100%;
    /* width: min(100%, 74.4375rem); */

}

.breadcrumb-nav>a>span {
    display: initial;
}

.card {
    background-color: white;
    height: var(--card-height);
    width: 100%;
}

.card>a {
    text-decoration: none;
}

.card-header-icon {
    font-size: var(--card-header-font-size);
    line-height: var(--card-header-height);
    text-align: center;
    width: 100%;
}

.card-text {
    height: 14rem;
    padding: 0 1rem 0 0.75rem;
    position: relative;
}

.date {
    font-size: .875rem;
    font-weight: 300;
    line-height: 1.25rem;
    margin: 0.5rem 0 0 0;
}

.fa-book {
    color: var(--bg-color-orange-peel);
}

.fa-code {
    color: var(--bg-color-caribbean-green);
}

.fa-music {
    color: var(--bg-color-violet-pink);
}

.fa-user {
    color: var(--bg-color-arty-click-sky-blue);
}

.flex {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.footer-nav {
    position: initial;
    width: initial;
}

.gap-row-1rem {
    row-gap: 1rem;
}

.gap-row-2rem {
    row-gap: 2rem;
}

.gap-row-3rem {
    row-gap: 3rem;
}

.gap-row-4rem {
    row-gap: 4rem;
}

.gap-column-1rem {
    column-gap: 1rem;
}

.gap-column-2rem {
    column-gap: 2rem;
}

.gap-column-3rem {
    column-gap: 3rem;
}

.gap-column-4rem {
    column-gap: 4rem;
}

.grid {
    display: grid;
}

.content {
    grid-area: co;
    padding: 2rem 0;
}

.grid-main {
    grid-template-areas:
        "mm"
        "co";
    grid-template-rows: var(--height-menu-item) 1fr;
}

.margin-top-1rem {
    margin-top: 1rem;
}

.margin-top-2rem {
    margin-top: 2rem;
}

.margin-top-3rem {
    margin-top: 3rem;
}

.margin-top-4rem {
    margin-top: 4rem;
}

.margin-bottom-1rem {
    margin-bottom: 1rem;
}

.margin-bottom-2rem {
    margin-bottom: 2rem;
}

.margin-bottom-3rem {
    margin-bottom: 3rem;
}

.margin-bottom-4rem {
    margin-bottom: 4rem;
}

.margin-top-bottom-4-rem {
    margin: 4rem 0 4rem;
}

.padding-4rem {
    padding: 4rem;
}

.main-menu {
    z-index: 2;
}

.page {
    background-color: white;
    box-sizing: border-box;
    justify-self: center;
    padding: 4rem 0 4rem;
    width: min(100%, 49.625rem);
}

.shadow {
    box-shadow: var(--shadow) var(--shadow-color);
}

@keyframes change-bg-color {
    to {
        background-color: var(--bg-color-black-pearl);
    }
}

@keyframes change-bb-color {
    to {
        border-bottom-color: var(--bg-color-arty-click-sky-blue);
    }
}

@media screen and (min-width: 768px) {
    nav>a>span {
        display: initial;
    }

    .breadcrumb-item {
        border: none;
        position: relative;
    }

    .breadcrumb-item>i,
    .breadcrumb-item>span {
        z-index: 1;
        position: relative;
    }

    .breadcrumb-item::after,
    .breadcrumb-item::before {
        background-color: var(--bg-color-firefly);
        content: "";
        display: block;
        height: 50%;
        position: absolute;
        width: 100%;
    }

    .breadcrumb-item::after {
        border-bottom: solid .25rem var(--bg-color-fun-blue);
        bottom: 0;
        box-sizing: border-box;
        transform: skew(-45deg);
        transform-origin: top left;
    }

    .breadcrumb-item::before {
        top: 0;
        transform: skew(45deg);
        transform-origin: bottom left;
    }

    .breadcrumb-item:hover {
        background-color: transparent;
    }

    .breadcrumb-item:hover:after,
    .breadcrumb-item:hover:before {
        animation-duration: .3s;
        animation-fill-mode: forwards;
    }

    .breadcrumb-item:hover:after {
        animation-name: change-bg-color, change-bb-color;
    }

    .breadcrumb-item:hover:before {
        animation-name: change-bg-color;
    }

    .breadcrumb-item.last::after,
    .breadcrumb-item.last:hover {
        background-color: var(--bg-color-black-pearl);
    }

    .breadcrumb-item.last::after {
        border-bottom: solid .25rem var(--bg-color-arty-click-sky-blue);
        width: calc(100% + 2.5rem);
    }

    .breadcrumb-item.last::before {
        background-color: var(--bg-color-black-pearl);
    }

    .breadcrumb-item.last:hover,
    .breadcrumb-item.last:hover:after,
    .breadcrumb-item.last:hover:before {
        animation: none;
    }

    .breadcrumb-nav {
        flex-direction: row;
    }

    .card {
        width: var(--card-width);
    }

    .content {
        padding: 3rem;
    }

    .page {
        padding: 4rem;
    }
}