@charset "UTF-8";

/* // A modified version of "modern reset" by Andy Bell https://github.com/hankchizljaw/modern-css-reset */

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

/* Remove default padding */
ul[class],
ol[class] {
    padding: 0;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
ul[class],
ol[class],
figure,
blockquote,
dl,
dd {
    margin: 0;
}

/* Set core root defaults */
html {
    scroll-behavior: smooth;
    font-family: Helvetica, sans-serif;
}

header {
    margin: 1rem;
}

/* Set core body defaults */
body {
    min-height: 100vh;
    text-rendering: optimizeSpeed;
    line-height: 1;
}

/* Remove list styles on ul, ol elements with a class attribute */
ul[class],
ol[class] {
    list-style: none;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
    text-decoration-skip-ink: auto;
}

/* Images should fit within any window */
img {
    max-width: 100vw;
    max-height: 100vh;
    max-width: 100%;
    display: block;
}

/* SPECIFIC STYLES */

.subhead {
    display: grid;
    place-items: start;
    padding-left: 1rem;
}

/* GALLERY HORIZONTAL SCROLL */

.horizontal-scroll {
    display: flex;
    overflow-x: auto;
}

.horizontal-scroll > * {
    width: auto;
    height: auto;
    max-width: 70%;
    flex-shrink: 0;
    padding: 1rem 
}

.horizontal-scroll > * img {
    object-fit: cover;
}

