html {
    --dark: #000;
    --light: #FFF;
    --lighter-gray: #CECECE;
    --light-gray: #AEAEAE;
    --dark-gray: #252528;
    --darker-gray: #0b0b0f;
    font-size: 125%;
    background-color: var(--darker-gray);
    margin: 0;
}

body {
    background: radial-gradient(var(--dark-gray),var(--darker-gray));
    background-attachment: fixed;
    min-height: 100vh;
    font-size: 100%;
    line-height: 1.5;
    margin: 0;
    color: var(--lighter-gray);
    font-family: -apple-system, "BlinkMacSystemFont", "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", sans-serif;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6,
strong {
    font-weight: 500;
    margin: 0 0 1rem;
}

a {
    color: var(--lighter-gray);
    text-decoration: none;
    border-bottom: 1px dotted var(--lighter-gray);
}

a:visited {
    color: var(--light-gray);
    border-color: var(--light-gray);
}

a:hover {
    border-bottom-style: solid;
}

header {
    padding: 0.75rem 1rem;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
}

header > a {
    border-bottom: 0;
    color: var(--lighter-gray);
}

header > a:visited {
    color: var(--lighter-gray);
}

header ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

header ul li {
    display: inline-block;
}

header ul li:not(:last-child) {
    margin-right: 1rem;
}

img {
    max-width: 100%;
}

.content {
    width: 40em;
    max-width: calc(100vw - 2rem);
    margin: 0 auto;
    padding: 2rem 1rem;
}

.content sub,
.content sup {
    display: inline-block;
}

.content p:has(img) {
    max-width: 24rem;
    width: calc(100% + 2rem);
    margin-left: -1rem;
}

.gallery {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.2rem;
    width: calc(100% + 2rem);
    transform: translateX(-1rem);
}

.gallery > div {
    flex-basis: calc(33% - 0.1rem);
    display: flex;
    align-items: center;
    transition: all 0.25s;
}

.gallery a {
    border: 0;
    display: inherit;
    background: no-repeat center;
    background-size: cover;
    height: 100%;
}

.gallery img {
    object-fit: cover;
    height: auto;
}

.gallery img,
.gallery video {
    max-width: 100%;
    display: block;
}

.gallery.archive .image_5:hover,
.gallery.archive .image_7:hover,
.gallery.archive .image_13:hover,
.gallery.archive .image_15:hover,
.gallery.archive .image_102:hover {
    opacity: 0;
}

.gallery.archive .image_5,
.gallery.archive .image_7,
.gallery.archive .image_13,
.gallery.archive .image_15,
.gallery.archive .image_102 {
    margin-left: calc(-33.33% - 0.05rem) !important;
    position: relative;
}

.gallery.archive .image_5:after,
.gallery.archive .image_7:after,
.gallery.archive .image_13:after,
.gallery.archive .image_15:after,
.gallery.archive .image_102:after {
    content: "👁";
    display: inline-block;
    position: absolute;
    top: 0.25rem;
    right: 0.25rem
}

footer {
    padding: 2rem 0;
    margin: 0 auto;
}

footer p {
    text-align: center;
    display: block;
    font-size: 0.75rem;
}