:root {
    color-scheme: light dark;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

p {
    font-size: 1.25rem;
}

h1 {
    margin:0
}

.header-content {
    background-color: #095BF3;
    max-width: 1fr;
    margin-top: 0;
    margin-bottom: 0;
}

.header-image {
    display: block;
    margin-left: auto;
    margin-right: auto;
    height: auto;
    width: 50%;
    padding: 1rem;
}

.nav {
    background-color: black;
    height: auto;
    padding-left: 1.5em;
    border-top: 2px solid white;
    border-bottom: 2px solid white;
    position: sticky;
    top: 0;
    max-width: 1fr;
    margin: 0 auto;
    display: grid;
    grid-gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
}

.nav-item {
    padding: .25rem 1rem;
}

.nav a {
    color: white;
    text-decoration: none;
    padding-right: 2rem;
    font-size: 1.5rem;
    font-weight: 500;
}

.nav a:link {
    color: white;
}

.nav a:visited {
    color: white;
}

.nav a:focus {
    color: #095BF3;
    outline: thick double #095BF3;
}

.nav a:hover {
    color: #095BF3;
    text-decoration: underline overline;
}

.nav a:active {
    color: blue;
    outline: none;
}


body {
    font-family: 'CascadiaCode', Arial, Helvetica, sans-serif;
    font-size: 1.25rem;
    line-height: 1.5;
    margin: 0;
    background-color: light-dark(lightgray, gray);
    color: light-dark(black, #EFEFEC);
}

.content-box {
    margin-inline: auto;
    background-color: light-dark(#EFEDEA, #121212);
}

.wrapper {
    margin-inline: auto;
    padding-inline: 2rem;
    background-color: light-dark(#EFEDEA, #121212);
}
main {
    max-width: 80%;
    margin: 1em auto;
    columns: 200px;
    background-color: light-dark(#EFEDEA, #121212);
}

main img {
    width: 100%;
    border-radius: .5em;
    border-style: solid;
    border: 1px light-dark(black, #EFEFEC);
    object-fit: contain;
}

.site-header {
    font-size: 4rem;
    text-align: center;
    margin-top: 0;
}

a {
    text-decoration: underline;
    text-underline-offset: .25rem;
    font-weight: 500;
}

a:link {
    color: light-dark(#014982, lightskyblue);
}

a:visited {
    color: light-dark(#692B48, #D0D0FF);
}

a:focus {
    color: light-dark(#692B48, #EB90B7);
    outline: thick double light-dark(#692B48, #EB90B7);
}

a:hover {
    color: light-dark(#692B48, #EB90B7);
    text-decoration: underline;
}

a:active {
    color: light-dark(blue, white);
    outline: none;
}

footer {
    margin-bottom: 0;
}

.footer-item {
    padding: 1rem;
}

.footer-content {
    background-color: light-dark(ivory, #303030);
    max-width: 1fr;
    margin: 0 auto;
    display: grid;
    grid-gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
}

.content-image-scale {
    width: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: .5em;
    border-width: 1px;
    border-color: white;
}

figcaption {
    font-size: .85rem;
    font-style: italic;
    line-height: 1;
    margin: 1px 0 0;
}

/* Style the album select dropdown menu */
.album-select {
    min-width: 20rem;
    font-size: 1.15rem;
    background-color: white;
    color: black;
    border: 1px solid black;
    border-radius: .5rem;
    padding: .25em .5em .25em .5em;
}

a.button, button  {
    text-decoration: none;
    margin: 1rem;
    padding: .25em .5em .25em .5em;
    color: white;
    background-color: #095BF3;
    display: inline-block;
    border: 1px outset buttonborder;
    border-radius: .5rem;
}
a.button:visited {
    color: white;
}

a.button:focus {
    color: white;
    outline: thick double  #095BF3;
}

a.button:hover {
    background: #9FF6FA;
    color: black;
    outline: none;
}