/* FONTS */
@font-face {
    font-family: 'DMSans';
    src: url('fonts/DMSans-VariableFont_opsz,wght.ttf');
    font-style: normal;
}
@font-face {
    font-family: 'DMSans';
    src: url('fonts/DMSans-Italic-VariableFont_opsz,wght.ttf');
    font-style: italic;
}


/* MISC */
html {
    scroll-behavior: smooth;
}
body {
    background-color: #adebad;
    font-family: DMSans, sans-serif;
    font-size: 16px;
    margin: 0;
}
.centered {
    margin:  auto;
    max-width: 55rem;
    padding: 0 1rem;
}
main {
    padding-top: 4rem; /* compensate for header */
}
h2,h3 { 
    scroll-margin-top: 4rem;
}


/* HEADER */
header {
    position:fixed;
    top:0; left:0; right:0;
    z-index: 100;

    backdrop-filter: blur(12px);
    background-color: #2eb82e99;

    overflow:hidden;
    max-width: 100vw;
}
header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;

    font-size: 22px;
    height:4rem;
    padding: 0 1rem;

}
header h1  {
    font-size:inherit;
}
header h1 a, header h1 a:hover {
    color:inherit;
    text-decoration:none;
    background-color: transparent;
    padding: 0.5rem 0;
}
header a {
    padding: 0.5rem;
}


/* FOOTER */
footer {
    padding: 0.5rem;
}
footer nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow:hidden;

    font-size: 20px;
}
footer a {
    padding:0.5rem;
}


/* CONTENT */
img{
    object-fit: contain;
    max-width: 100%;
    height: auto;
    max-height: 35rem;
}
figcaption{
    text-align: center;
    font-style: italic;
}
figure {
    text-align: center;
}
h2 {
    font-size: 22px;
    font-variant-caps: small-caps;
}
h3 {
    font-size: 17px;
    font-variant-caps: small-caps;
}
a {
    color:  #0047b3;
    text-decoration-style: dotted;
    text-decoration-thickness: 0.05em;
    border-radius: 0.25em;
    transition: 0.5s;
}
a:hover,a:active{
    background-color:  #00b38f66;
}
table {
    border-collapse: collapse;
    margin: 1rem auto;
}
th, td {
    border: 1px solid;
    padding: 0.5rem 0.75rem;
}
th {
    text-align: left;
}
hr {
    border-top: 1px solid black;
}


/* CONTENT INDEX */
ul.content_index {
    list-style: none;
    padding-left: 0;
}
ul.content_index a::before {
    content: '> ';
}
ul.content_index a {
    font-size: 20px;
    padding: 0 2px;
}
ul.content_index li {
    margin: 0.5rem 0;
}

ul.content_index li {
    padding-left: 1.25em;
    text-indent: -1.25em;
}
