html, body {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    margin: 0;
    font-family: "Parkinsans", sans-serif;
    font-size: 24px;
    line-height: 1.6;
    background-color: blueviolet;
    color: white;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
}

h1 {
    font-family: 'Space Mono', monospace;
    font-size: 2em;
    display: inline-block;
    white-space: nowrap;
    margin-bottom: 0.1em;
}

h1 span {
    font-family: inherit;
    display: inline-block;
    transition: font-weight 0.25s ease-in-out, font-style 0.25s ease-in-out;
}

a {
    color: white;
    text-decoration: underline;
}

a:hover {
    text-decoration: none;
}

.section {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 60px 20px;
    text-align: center;
    position: relative;
    box-sizing: border-box; /* ensures padding included in width */
}

.text {
    max-width: 1000px;
    margin: 0 auto 40px;
    text-align: left;
    box-sizing: border-box;
}

.title {
    font-style: italic;
    font-weight: bold;
}

.media {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
    width: 100%; /* explicit for responsiveness */
}

img, video {
    width: 100%;
    height: auto;
    display: block;
    border: 2px solid white;
    box-sizing: border-box;
}

hr {
    border-top: 2px dashed white;
    border-bottom: none;
    width: 100%;
}

figcaption {
    font-family: 'Space Mono', monospace;
    font-size:smaller;
    text-align: right;
}

@media (max-width: 1280px) {
    .section {
        padding-left: 20px;
        padding-right: 20px;
    }
}
