/*
 CSS Reset
*/
/* 1. Use a more-intuitive box-sizing model */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* 2. Remove default margin */
* {
    margin: 0;
}

/* 3. Enable keyword animations */
@media (prefers-reduced-motion: no-preference) {
    html {
        interpolate-size: allow-keywords;
    }
}

body {
    /* 4. Add accessible line-height */
    line-height: 1.5;
    /* 5. Improve text rendering */
    -webkit-font-smoothing: antialiased;
    margin: 2rem 0rem;
}

/* 6. Improve media defaults */
img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 70%;
}

/* 7. Inherit fonts for form controls */
input,
button,
textarea,
select {
    font: inherit;
}

/* 8. Avoid text overflows */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

/* 9. Improve line wrapping */
p {
    text-wrap: pretty;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    text-wrap: balance;
}

/*
  10. Create a root stacking context
*/
#root,
#__next {
    isolation: isolate;
}

/*
 End Reset
*/

html {
    font-size: 16px;
    font-family: georgia, "times new roman", times, serif;
    color: #333333;
}

header {
    display: flex;
    align-items: center;
}

body {
    display: block;
    padding: 0 1em;
    line-height: 1.35;
    margin: auto;
    max-width: 40em;
}

.column {
    width: 60%;
    display: block;
}

h1 {
    margin-top: 15px;
    margin-bottom: 15px;
    font-size: 32px;
    text-align: center;
    padding: 0;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.header-image,
.bio {
    max-width: 600px;
}

.content {
    /*max-width: 600px;*/
}

.header-image {
    margin: 0 auto 1.25rem;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    align-content: center;
}

.image-container {
    min-width: 300px;
}

.image-container > img {
    min-width: 300px;
    margin: 0 auto;
}

.header-image > .box {
    height: 105px;
    width: 80vw;
    background-color: rgba(164, 16, 53, 0.25);
    z-index: -1;
    position: absolute;
}

header #header-content {
    max-width: var(--max-width);
    margin: 0 auto;
}

header nav ul {
    list-style-type: none;
    padding: 0;
    line-height: 2;
    margin: 0;
}

header nav ul li {
    display: inline;
    padding: 0px 2px;
}

header nav ul.menu {
    display: flex;
    flex-direction: row;
    gap: 1.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

header nav ul.menu > li {
    margin: 0;
    padding: 0;
}

.highlight,
a,
details > summary {
    color: #a41034;
}

header nav a {
    text-decoration: none;
    padding: 1px;
}

header nav li.active a,
header nav a:hover,
summary > span:hover {
    border-bottom: 2px solid currentColor;
}

nav {
    margin-bottom: 1.25rem;
}

/* Styles for spacing content around */
.content h2,
h3,
h4,
li {
    margin: 0.75rem 0;
}

.italic {
    font-style: italic;
}

.centered {
    text-align: center;
}

.details-container {
    margin-top: 2rem;
}

.detail-header {
    font-weight: bold;
}

details p {
    margin-left: 1rem;
    padding: 0.5rem 0;
}

.example-content {
    margin: 0 2rem;
}

main {
    margin-bottom: 100px;
}

.h1 {
    font-size: 32px;
}

.h2 {
    font-size: 27px;
}

.margin-bottom-sm {
    margin-bottom: 0.25rem;
}

.margin-bottom-md {
    margin-bottom: 1rem;
}

.photo-credit {
    font-size: 10px;
    color: #a9a9a9;
    text-align: right;
    display: block;
    margin-right: 6rem;
}

.single-column {
    width: 300px;
}

.two-column {
    display: flex;
    flex-direction: row;
    flex-flow: wrap;
}

.strategy-image {
    margin: 0 auto;
}

@media (max-width: 600px) {
    #header-content > nav > ul {
        display: flex;
        flex-flow: wrap;
    }

    .header-image > .box {
        display: none;
    }

    .header-image {
        margin: 0 auto;
    }

    .photo-credit {
        margin-right: 2rem;
    }
}
