.home-container {
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
}
.home {
  width: 100%;
  max-width: 800px;
}
.home > section {
  max-width: 100%;
}

.nav-container {
  position: fixed;
  display: block;
  top: 10px;
  right: 30px;
  width: 40px;
  height: 40px;
  z-index: 10;
}
.nav-container button {
  background: none;
  border: none;
}

nav {
  position: fixed;
  top: 0px;
  right: 0px;
  width: 180px;
  height: 0px;
  overflow: hidden;
  transition: height 300ms cubic-bezier(0.47, 1.64, 0.41, 0.8);
}
nav.showing {
  height: 255px;
}
nav ul {
  list-style: none;
  padding: 1rem;
  margin: 0;
  font-size: 1.5rem;
  width: 100%;
  background-color: var(--theme-indigo);
}
nav li {
  border-bottom: 1px solid var(--theme-white);
  width: 100%;
  padding-bottom: 10px;
}
nav li a {
  font-weight: 600;
}

.hero {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50vw;
  overflow: visible;
}
.hero .parallax {
  width: 100%;
  top: 10vw;
}

.wordmark-alt {
  display: none;
}

.hero .wordmark {
  width: 60%;
  z-index: 8;
  position: relative;
}

.recipes,
.suggestion-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1em;
}
.recipe {
  aspect-ratio: 1;
  text-transform: lowercase;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: min(8vw, 2em);
  background-size: cover;
  background-position: center;
  text-align: center;
  background-color: var(--theme-leaf);
}
.recipe h3 {
  font-size: min(4vw, 2em);
}

.about {
  background-color: var(--theme-indigo);
  padding: 2em;
  margin-bottom: 10vh;
}
.about h2,
.about p {
  margin: 0;
}
.about p {
  margin: 2em 0;
  font-size: min(2.5vw, 1.5em);
}

.about-main,
.about-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.about-main .image {
  height: min(40vw, 400px);
  overflow: visible;
}
.about-main .image .parallax {
  top: max(-10vw, -100px);
  width: 100%;
  border: 2px solid var(--theme-wheat);
}

.about .headshot {
  height: min(60vw, 500px);
  margin: 2em 0;
  margin-top: -3vw;
}

.about .headshot .parallax {
  top: max(-35vw, -200px);
  width: 100%;
}

.about-detail .image {
  height: min(60vw, 500px);
}
.about-detail .image .parallax {
  width: 100%;
}

.recipes-marquee {
  background-color: var(--theme-white);
  position: relative;
  overflow-x: hidden;
}
.recipes-marquee .marquee-text {
  color: var(--theme-charcoal);
  font-size: max(6vw, 2em);
  white-space: nowrap;
  & a {
    color: var(--theme-charcoal);
  }
}
.recipes-marquee .marquee-text.blinking,
.recipes-marquee .marquee-text.blinking a {
  color: var(--theme-tomato);
}

.connect {
  background-color: var(--theme-leaf);
  padding: 1em;
  margin-top: min(-20vh, -100px);
}

.connect h2 {
  width: 100%;
  text-align: center;
}
.connect .links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2em;
}
.connect .links a {
  color: var(--theme-leaf);
  text-decoration: none;
  font-size: max(4vw, 2em);
  background-size: contain;
  background-repeat: no-repeat;
  aspect-ratio: 0.8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}
.connect .links a:hover,
.connect .links a:active {
  color: var(--theme-tomato);
}
.instagram {
  background-image: url("img/insta.png");
}
.email {
  background-image: url("img/email.png");
}

.works {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1em;
  margin-bottom: max(10vh, 100px);
}
.works .work {
  height: max(40vh, 100px);
  background-size: cover;
  background-position: center;
  background-color: var(--theme-white);
  h3 {
    font-size: 2em;
    padding: 1em;
  }
}
.suggestions {
  background-color: var(--theme-indigo);
}

.suggestions h2 {
  font-size: 2rem;
  padding: 2rem;
}
.suggestion-section {
  border-top: 1px solid var(--theme-white);
  font-size: 1.5rem;
  margin: 2rem;
  box-sizing: border-box;
}
.suggestion-section:last-child {
  border-bottom: 1px solid var(--theme-white);
}

.suggestion-section .title {
  color: var(--theme-white);
  text-decoration: none;
  cursor: pointer;
}
.suggestion-section .title:hover {
  color: var(--theme-tomato);
}

.suggestion-list {
  transition: height 200ms ease-in;
  overflow: hidden;
  padding: 0;
  position: relative;
}

.suggestion {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: min(3vw, 1.2em);
  background-size: cover;
  background-position: center;
  text-align: center;
  background-color: var(--theme-leaf);
  aspect-ratio: 1;
  cursor: pointer;
}
.suggestion h3 {
  font-size: min(4vw, 1.2em);
}

.suggestion-list.collapsed {
  height: 0px !important;
}

.footer {
  padding: 1em;
  display: flex;
  justify-content: space-around;
}

@media screen and (max-width: 800px) {
  .wordmark-wide {
    display: none;
  }
  .wordmark-alt {
    display: block;
  }
  .suggestion-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1em;
  }
  .suggestion {
    aspect-ratio: initial;
    max-height: 5em;
  }

  .works {
    display: grid;
    grid-template-columns: initial;
  }
}
