@font-face {
    font-family: 'Alte Haas Grotesk';
    src: url('/assets/fonts/AlteHaasGrotesk.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Alte Haas Grotesk';
    src: url('/assets/fonts/AlteHaasGrotesk_Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

:root {
    --text-color: black;
    --text-color-alt: #868612;
    --accent-color: #3d62c1;
    --background-color: #fffff7;
    --background-color-2: #f3f6d9;
    --background-color-3: #bab933; 
}

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

html {
    min-height: 100vh;
}

body {
    min-height: 100vh;
    margin: 0 auto;
    background-color: var(--background-color);
    font-size: 1.4rem;
    overflow-x: hidden;
    font-family: 'Alte Haas Grotesk', Helvetica, sans-serif;
    display: flex;
    flex-direction: column;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
}

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

a:any-link {
    color: var(--accent-color);
    text-decoration: none;
}

a:hover, a:active {
    text-decoration: underline;
}

h1, h2, h3 {
    color: var(--accent-color);
}

main {
    margin: 4rem auto;
}

nav {
    font-size: 1.5rem;
}

footer {
    background-color: var(--background-color-2);
    padding: 1.6rem 6rem 3rem;
    color: var(--text-color-alt);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8em;
    margin-top: auto;
}

footer a:any-link {
   color: inherit; 
}

#site-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin: 0 6rem;
}

#site-header img {
    max-width: 14ch;
}

#site-header ul {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    list-style-type: none;
}

#split {
    display: flex;
    gap: 4rem;
    justify-content: center;
}

#split #left {
    flex: 1 1 50%;
}

#split #right {
    flex: 1 1 50%;
}

#mailing-list {
    max-width: 80ch;
    margin: 8rem auto 0;
}

#mailing-list hr {
    border: none;
    border-bottom: 3px solid #00000011; 
    margin-bottom: 8rem;
}

#mailing-list form {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

#mailing-list p {
    text-align: center;
    margin-bottom: 2.4rem;
}

#mailing-list.mailing-special {
    margin-top: 0rem;
}

.mid-width {
    padding: 0 1rem;
    max-width: 80ch;
    margin: 0 auto;
}

.full-width {
    padding: 0 6rem;
    margin: 0 auto;
}

.special-text {
    color: var(--text-color-alt);
}

.center-text {
    text-align: center;
}

.float-right {
    position: absolute;
    right: 0;
}

.position-relative {
    position: relative;
    width: 100vw;
    margin-inline: calc(50% - 50vw);
}

.sai-input {
    border: none;
    background-color: var(--background-color-2);
    padding: 1rem 2rem;
}

.sai-button {
    border: none;
    background-color: var(--background-color-3);
    color: var(--background-color-2);
    padding: 1rem 2rem;
    text-align: center;
    font-weight: bold;
    font-size: 0.8em;
    letter-spacing: 0.1em;
}

.flower {
    max-width: 8rem;
    margin: 8rem auto 4rem;
}

.small-images-with-caption {
    display: flex;
    gap: 4rem;
    justify-content: center;
    width: 100vw;
    margin-top: 6rem;
    margin-inline: calc(50% - 50vw);
    flex-wrap: wrap;
}

.image-frame {
    width: 22ch;
    height: 22ch;
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

.image-flow {
    margin: auto 0;
    width: 100%;
}

.image-row {
    display: flex;
    flex-flow: row nowrap;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 8rem auto;
}

.image-column {
    display: flex;
    flex-flow: column nowrap;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 8rem auto;
}

.image-row img {
    flex: 1 1 auto;
}

.image-row.one-item {
    width: 60%;
}

.image-row.two-item {
    max-width: 40%;
}

.image-row.three-item {
    max-width: 33%;
}

.image-row.crop-images img {
    object-fit: cover; 
    aspect-ratio: 3 / 4;
}

.image-row.crop-landscape img {
    object-fit: cover; 
    aspect-ratio: 4 / 3;
}

.image-row.crop-square img {
    object-fit: cover; 
    aspect-ratio: 1 / 1;
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}