:root {
  --primary: #5f3817;
  --secondary: #9cb09e;
  --background: #fffbf5;
  --text: #130e0a;
  --highlight: #646621;
  --header-font: 'Bodoni Moda', sans-serif;
  --body-font: 'Alegreya Sans', Helvetica, Arial;
}

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

body {
    background-color: var(--background);
    color: var(--text);
    font-family: var(--body-font);
    font-size: 1.2rem;
    margin: 0;
}

a {
    color: var(--primary);
    text-decoration: underline;
}

picture {
    display: flex;
}

h1, h2, h3, h4, h5 {
    color: var(--primary);
    font-family: var(--header-font);
}
h1 {
    font-size: calc(2em + 1.25vw);
    margin-top: 0;
}
h2 {
    font-size: calc(1.75em + 0.75vw);
}
h3 {
    font-size: calc(1.5em + 0.5vw);
}
h4 {
    font-size: calc(1.2em + 0.25vw);
}
h5 {
    font-size: 1.1em;
}
p, li {
    line-height: 1.5;
}

nav {
    display: none;
}

.activate {
    opacity: 0;
}
.delay-animation {
    animation-play-state: paused;
    opacity: 0;
}

.button {
    background-color: var(--background);
    border: 2.5px solid var(--primary);
    border-radius: 12px;
    color: var(--primary);
    font-size: 1.2em;
    margin: 0.5em 0.5em;
    padding: 0.6em 0.9em;
    text-align: center;
    width: fit-content;
}

.absolute-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.bread-section {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding-top: 6em;
    position: relative;
}
.bread-section > div {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 10;
}
.bread-section h1 {
    color: var(--primary);
    font-weight: bold;
    line-height: 1.5em;
    margin-bottom: 0.5em;
    margin-top: 5vh;
    padding-left: 0vw;
    text-align: left;
    text-shadow: 1px 1px 10px var(--background);
}
.bread-section a {
    font-size: 1.5em;
    margin-bottom: 5vh;
    margin-left: 0vw;
    text-align: center;
}
.bread-section picture {
    display: block;
    height: 100%;
    object-fit: cover;
    position: absolute;
    width: 100%;
}
.bread-section img {
    display: block;
}

@media screen and (max-width: 500px) {
    .bread-section h1 {
        color: var(--background);
        padding-left: 5vw;
        text-shadow: 1px 1px 2px var(--text);
    }
    .bread-section a {
        font-size: 1em;
        margin-left: 5vw;
    }
}