/* header, main, footer */
* {
    font-family: 'Ubuntu';
    color: #484c4f;
    /* font-family: Montserrat, sans-serif; */
    /* another font */
}
img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
a {
    color: #5984aa;
    text-decoration: none;
    outline: 1px dotted rgb(224, 224, 224);
    outline-offset: .5px;
    border-radius: 4px;
}
a:active {
    color: goldenrod;
}
a.more-link {
    font-size: 1.1em;
    color: #5984aa;
}
.external-link {
    font-weight: 600;
    color: #5984aa;
    outline: 2px dotted #5984aa;
}
body, body {
    height: 100%;
    margin: 0;
}
body {
    display: grid;
    grid-template-rows: auto 1fr auto;
}
main {
    width: 100%;
    min-height: calc(100vh - 300px);
}
header, footer {
    background-color: snow;
}
.header-bar {
    display: flex;
}
header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
footer {
    /* min-height: 300px; */
    justify-content: center;
    text-align: center;
    margin-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 20px 4px;
}
footer a {
    padding: 4px;
}
@media (max-width: 600px) {
    header, footer {
        font-size: 0.8em;
    }
    .nav-right a {
        font-size: 0.9em;
    }
}
@media (max-width: 400px) {
    .nav-right a {
        font-size: 0.8em;
    }
}
.header-bar {
    max-width: 1200px;
    margin: auto;
    justify-content: space-between;
    font-size: 1.2em;
}
header .left, header .nav-right {
    display: flex;
    align-items: center;
}
.header-home-link {
    display: flex;
    align-items: center;
    height: 72px;
}
.header-home-icon {
    max-height: 72px;
    object-fit: contain;
}
.nav-right a {
    padding: 6px;
    margin-left: 6px;
    position: relative;
}
.nav-right a:not(:last-child)::after {
    content: '|';
    position: absolute;
    right: -6px;
    color: rgba(0, 0, 0, 0.1);
}
.nav-right .current-page {
    background-color: lightcyan;
    text-decoration: underline dotted darkolivegreen;
}
section {
    max-width: 1200px;
    margin: auto;
    padding: 2em 1em;
}

article {
    max-width: 720px;
    margin: auto;
}
article p {
    padding: 2px;
}

section h1 {
    font-size: 2em;
    margin-bottom: 0.5em;
    text-align: center;
    background: linear-gradient(120deg, #6ea9dd 0%, #1a237e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}
section h1::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #6ea9dd, #1a237e);
    margin: 0.5em auto;
    border-radius: 2px;
}

section h2 {
    font-size: 1.75em;
    margin-bottom: 0.5em;
    color: #1a237e;
}

section h3 {
    font-size: 1.5em;
    margin-bottom: 0.5em;
    color: #283593;
}

section h4, section h5, section h6 {
    font-size: 1.25em;
    margin-bottom: 0.5em;
    color: #3949ab;
}


/* hide scrollbars */
html {
    scrollbar-width: none; /* For Firefox */
    -ms-overflow-style: none;  /* For Internet Explorer and Edge */
}
html::-webkit-scrollbar {
    width: 0px;  /* For Chrome, Safari, and Opera */
    display: none;
}
body {
    overflow-y: scroll; /* Allow vertical scrolling */
    scrollbar-width: none; /* For Firefox */
    -ms-overflow-style: none;  /* For Internet Explorer and Edge */
}
body::-webkit-scrollbar {
    width: 0px;  /* For Chrome, Safari, and Opera */
    display: none;
}
/* hide scrollbars */