:root {
    --blue: #0A94C8;
    --lighter-blue: #addbec;
    --yellow: #FFB603;
    --red: #FF2F03;
    --dark: #233044;
    --grey: #454963;
    --white: #fff;
    --offwhite: #fafafa;
    --title: 'Mulish', sans-serif;
    --summary: 'Frank Ruhl Libre', serif;
    --headings: 'Encode Sans Semi Condensed', sans-serif;
    --h5: 0.83rem;
    --h6: 0.67rem;
}

/********************* General *********************/

body {
    font-family: var(--summary);
    font-weight: 300;
    color: var(--dark);
    background-color: var(--white);
}

.h-20 {
    height: 175px !important
}

#content {
    position: relative;
    min-height: 95vh;
}

img {
    width: 100%;
}

a {
    text-decoration: underline var(--grey);
    color: var(--dark);
}

strong {
    font-weight: 600;
}

table {
    font-family: var(--summary);
}

thead {
    background-color: whitesmoke;
    border-bottom-color: var(--dark);
    border-bottom-style: solid;
    border-bottom-width: 1px;
}

table th, table td {
    padding-right: 40px;
    padding-left: 10px;
}

table th {
    font-size: large;
}

table td {
    font-size: medium;
}

.serif {
    font-family: var(--summary);
    color: var(--grey);
}

.card {
    border-radius: 4px;
    background: var(--offwhite);
    box-shadow: 0 6px 10px rgba(0, 0, 0, .08), 0 0 6px rgba(0, 0, 0, .05);
    transition: 1s transform cubic-bezier(.155, 1.105, .295, 1.12), 1s box-shadow, 1s -webkit-transform cubic-bezier(.155, 1.105, .295, 1.12);
    /* padding: 14px 80px 18px 36px; */
    cursor: pointer;
    font-family: var(--headings);
}

.card-title {
    font-weight: 600;
    font-family: var(--title);
}

.card-footer {
    background-color: var(--white);
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .12), 0 4px 8px rgba(0, 0, 0, .06);
}

.top-highlight:hover {
    border-top-color: var(--blue);
    border-top-width: 2px;
}

.card h3 {
    font-weight: 600;
}

.card-right {
    text-align: right;
}

.card-date {
    font-weight: lighter;
    color: var(--grey);
    font-size: x-small;
}

@media (max-width: 990px) {
    .card {
        margin: 20px;
    }
}

blockquote {
    font-family: var(--summary);
    padding: 10px 10px 1px 30px;
    background-color: ghostwhite;
    border-left-width: 5px;
    border-left-color: lightgray;
    border-left-style: solid;
}

code {
    color: var(--grey);
    font-size: smaller;
}

.btn-link {
    text-decoration: none;
    border-bottom-width: 1px;
    border-radius: 0px;
    color: var(--blue);
    vertical-align: middle;
}

.btn-link i {
    padding-right: 5px;
}

.btn-link:hover {
    text-decoration: underline;
    transition: 0.6s;
    transform: translate(0, 5px);
    color: var(--blue);
}

.status {
    font-weight: lighter;
    color: green;
    font-size: small;
    white-space: nowrap;
}


/********************* Navbar *********************/

.navbar {
    background: var(--white) !important;
    color: var(--dark);
    font-family: var(--title);
}

.navbar-nav .nav-item .nav-link {
    color: var(--grey);
    font-weight: 300;
    transition: color 1s;
    display: block;
    position: relative;
    margin-left: 1em;
    margin-right: 1em;
    padding: 0.2em 0;
}

/* Fade in */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0.1em;
    background-color: var(--red);
    opacity: 0;
    transition: opacity 300ms, transform 300ms;
}

.nav-link:hover::after,
.nav-link:focus::after {
    opacity: 1;
    transform: translate3d(0, 0.2em, 0);
}


/********************* Home *********************/

.name {
    font-family: var(--title);
    font-weight: 800;
}

.bio {
    max-width: 750px;
    font-weight: 200;
    font-family: var(--summary);
}

.heading {
    font-weight: 400;
    color: var(--grey);
    font-family: var(--headings);
    text-decoration: none;
}

.heading:hover {
    transition: 0.6s;
    color: var(--blue);
    cursor: pointer;
}

.subheading {
    color: var(--grey);
    font-size: 22px;
    padding-bottom: 10px;
}

.tag-badge {
    background-color: var(--blue);
    font-family: var(--headings);
    font-weight: 400;
}

.see-all {
    text-decoration: none;
    border-bottom-width: 1px;
    border-radius: 0px;
    color: var(--blue);
    border-bottom-color: gainsboro;
}

.see-all:hover {
    transition: 0.6s;
    transform: translate(0, 5px);
    border-bottom-color: var(--blue);
    color: var(--blue);
}


/********************* List *********************/

/* ---- button-filters ---- */
.button {
    font-weight: 200;
    display: inline-block;
    padding: 0.15em 0.5em;
    background: var(--white);
    border: 2px;
    margin-bottom: 10px;
    margin-right: 3px;
    color: var(--grey);
    cursor: pointer;
    text-transform: capitalize;
    font-size: small;
}

.button:hover {
    background-color: var(--lighter-blue);
    color: var(--dark);
    transition: 1s;
}

.button:active,
.button.is-checked {
    background-color: var(--lighter-blue);
    color: var(--dark);
}

.btn-check:active + .button,
.btn-check:checked + .button,
.button.active,
.button.dropdown-toggle.show,
.button:active {
    color: #fff;
    background-color: var(--lighter-blue);
    color: var(--dark);
}

.button-group:after {
    content: '';
    display: block;
    /* clear: both; */
}

.button-group .button {
    float: left;
    border-radius: 5px;
}

/* ---- Title ---- */
.display-2 {
    font-family: var(--title);
    font-weight: 700;
    color: var(--dark);
}

/********************* Content *********************/

.main-content {
    line-height: 40px;
    font-size: 22px;
}

a {
    color: var(--blue);
    text-decoration: underline 0.10em rgba(255, 255, 255, 0);
    transition: text-decoration-color 0.5s;
}

a:hover {
    color: var(--blue);
    text-decoration-color: var(--blue);
}

.main-content h2, h3, h4 {
    font-family: var(--headings);
    font-weight: bold;
    color: var(--dark);
    padding-top: 10px;
    padding-bottom: 10px;
}

.highlight {
    line-height: normal;
    font-size: medium;
    border-left-style: solid;
    border-left-width: 5px;
    padding-left: 10px;
    border-color: var(--dark);
}

/********************* Footer *********************/

.footer-social a,
.footer-social i {
    color: var(--dark);
    font-size: x-large;
}

.footer-social a,
.footer-social i:hover {
    color: var(--blue);
    transition: color .5s;
}


/********************* Linked Header *********************/

button.anchor {
    fill: var(--blue);
    background-color: inherit;
    border: none;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: inherit;
    padding: 0;
}

@media (hover: hover) {
    button.anchor {
        opacity: 0.1;
    }

    h1:hover button.anchor,
    h2:hover button.anchor,
    h3:hover button.anchor,
    h4:hover button.anchor,
    h5:hover button.anchor,
    h6:hover button.anchor {
        opacity: 1;
    }
}

@media (hover: none) {
    button.anchor {
        opacity: 1;
    }
}

@media (hover: hover) {
    [data-title] {
        position: relative;
    }

    [data-title]:after {
        font-size: var(--h6);
        content: attr(data-title);
        position: absolute;
        left: 50%;
        top: 100%;
        color: var(--white);
        background-color: var(--dark);
        width: max-content;
        opacity: 0;
        transition: opacity 0.5s ease-in-out;
        padding: 0.4rem 0.5rem;
        border-radius: 5px;
    }

    [data-title]:hover:after {
        opacity: 1;
    }
}

.link-copied {
    font-size: var(--h5);
    position: fixed;
    left: 1rem;
    bottom: 1rem;
    margin: 1rem;
    color: var(--white);
    background-color: var(--dark);
    width: max-content;
    padding: 0.4rem 0.7rem;
    border-radius: 5px;
    z-index: 1;
}
