@font-face {
    font-family: 'Courier Prime';
    font-style: normal;
    font-weight: 400;
    src: url('/theme/fonts/Courier_Prime/CourierPrime-Regular.ttf') format('woff2');
}
@font-face {
    font-family: 'Courier Prime';
    font-style: normal;
    font-weight: 600;
    src: url('/theme/fonts/Courier_Prime/CourierPrime-Bold.ttf') format('woff2');
}
@font-face {
    font-family: 'Courier Prime';
    font-style: italic;
    font-weight: 600;
    src: url('/theme/fonts/Courier_Prime/CourierPrime-BoldItalic.ttf') format('woff2');
}
@font-face {
    font-family: 'Courier Prime';
    font-style: italic;
    font-weight: 400;
    src: url('/theme/fonts/Courier_Prime/CourierPrime-Italic.ttf') format('woff2');
}

@font-face {
    font-family: 'Open Sans';
    font-stretch: 300 800; 
    font-style: normal;
    font-weight: 75 100;
    src: url('/theme/fonts/Open_Sans/OpenSans-VariableFont_wdth,wght.ttf') format('woff2');
  }

@font-face {
    font-family: 'Open Sans';
    font-stretch: 300 800; 
    font-style: italic;
    font-weight: 75 100;
    src: url('/theme/fonts/Open_Sans/OpenSans-Italic-VariableFont_wdth,wght.ttf') format('woff2');
}

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans';
    
}

body > header {
    max-width: 60em;
    height: 6.5em;
    margin: 0 auto;
    display: flex;
    margin-top: 1em;
}

nav {
    height: inherit;
    font-family: 'Courier Prime';
}

nav ul {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column-reverse;
    height: inherit;
}

nav ul li {
    margin: 0 1em;
}

main {
    max-width: 60em;
    margin: 0 auto;
}

article header {
    font-family: 'Courier Prime';
    margin-bottom: 1em;
    margin-top: 1em;
}

article > * {
    margin-left: 0.5em;
    margin-right: 0.5em;
}

article p:has(img) {
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
}

hgroup p {
    margin-bottom: 0;
    font-weight: bold;
    color: darkorange;
    letter-spacing: .1rem;
}

img {
    max-height: 100%;
    max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0em;
    margin-bottom: 0em;
}

h2 {
    font-family: 'Courier Prime';
    font-size: 2em;
}

h3 {
    font-family: 'Courier Prime';
    font-size: 1.5em;
}

.h-card {
    margin: 10vh auto;
    width: 50%;
    text-align: center;
    align-items: center;
}

ul{
    list-style-type: none;
    margin: 0 auto;
    padding: 0;
}

a {
    text-decoration: none;
    color: darkcyan;
    font-weight: bolder;
}

p {
    line-height: 1.3;
}

img + em {
    margin: 0 auto;
    padding: .25em 1em;
    text-align: center;
    width: 100%;
    display: inline-block;
    box-sizing: border-box;
}

hr {
    max-width: 60em;
    margin: 1em auto;
    border-width: 1px;
    border-color: lightgray;
}
