*,
:after,
:before,
::backdrop {
  box-sizing: border-box;
  border: 0 solid;
  margin: 0;
  padding: 0;
}
:root {
  --burgundy: #c55c84;
  --cheese: #fade88;
  --neutral: #fafafa;
  --rose: #fce7e0;
  --screen: 100vw;
  --side-padding: 1rem;
  --horizontal-padding: 1rem;
}
@media (min-width: 768px) {
  :root {
    --side-padding: 4rem;
    --horizontal-padding: 2rem;
  }
}
@media (min-width: 1024px) {
  :root {
    --screen: 1024px;
  }
}
html {
  font-family:
    ui-sans-serif, "PingFang TC", system-ui, sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol";
  -webkit-tap-highlight-color: transparent;
}
body {
  background-color: var(--cheese);
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
iframe {
  aspect-ratio: 16/9;
  width: 100% !important;
}
.yt-container {
  display: flex;
  justify-content: center;
}
.container {
  max-width: 1024px;
  margin: 0 auto;
  background-image: url("images/bg.webp");
}
.container-inner {
  background-color: var(--cheese);
  border-radius: 2rem;
  padding: var(--side-padding);
}
.heading {
  text-align: center;
  color: var(--burgundy);
  font-weight: bold;
  font-size: 1.5rem;
  padding: 1.5rem 0;
  min-width: 6rem;
  margin: 0 auto;
  background-image: url("images/flower.webp");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  margin-bottom: 1rem;
}

#overview {
  padding: 2rem var(--side-padding);
  position: relative;
}

#overview::before {
  background-image: url("images/eaves.webp");
  position: absolute;
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  display: block;
  width: 50%;
  height: calc(var(--screen) * 0.5 / 4.255);
  top: 0;
  left: -1px;
}
#overview::after {
  background-image: url("images/pot.webp");
  position: absolute;
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  display: block;
  width: 40%;
  height: calc(var(--screen) * 0.4 / 2.46);
  right: 0;
  bottom: 2rem;
}
#events {
  display: grid;
  grid-template-columns: 30% 1fr;
  row-gap: 0.5rem;
}

#events > div:nth-child(4n + 3),
#events > div:nth-child(4n + 4) {
  background-color: var(--rose);
}
#events > div:nth-child(4n + 5),
#events > div:nth-child(4n + 6) {
  background-color: var(--neutral);
}
.setting span,
.location span {
  display: block;
}
.header {
  background-color: var(--burgundy);
  color: var(--neutral);
  font-weight: bold;
  font-size: 1.5rem;
  padding: 0.5rem 0.25rem;
}
.setting {
  padding: 0.5rem 0.25rem;
  align-content: center;
  text-align: center;
}
.location {
  padding: 0.25rem 0.25rem 0.25rem 0;
  align-content: center;
}
.address {
  font-size: 0.75rem;
  margin-top: 0.25rem;
  display: block;
  text-decoration: none;
  color: black;
}
.name {
  color: var(--burgundy);
  font-weight: bold;
}
.history {
  margin-bottom: 1.25rem;
  line-height: 1.5;
}
#videos {
  background-image: url("images/bg2.webp");
  background-repeat: no-repeat;
  background-size: cover;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  gap: 2rem;
}
#videos::before {
  content: "";
  position: absolute;
  background-image: url("images/produce.webp");
  background-repeat: no-repeat;
  background-size: contain;
  width: 20%;
  height: calc(var(--screen) * 0.2 / 1.72);
  display: block;
  left: 0.25rem;
  top: 60px;
}
#map {
  padding: var(--horizontal-padding) var(--side-padding) 0 var(--side-padding);
}
#agenda {
  margin: 0 auto;
  max-width: 1024px;
  background-image: url("images/bg.webp");
  position: relative;
}
.agenda-inner {
  position: relative;
  padding: calc(var(--horizontal-padding) * 2) 0;
}
#agenda::before {
  content: "";
  width: calc(var(--screen) - var(--side-padding) * 2);
  position: absolute;
  height: calc(100% - var(--horizontal-padding) * 2);
  background-color: var(--cheese);
  top: var(--horizontal-padding);
  left: var(--side-padding);
  border-radius: 2rem;
}
.agenda-inner::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image:
    url("images/bowl.webp"), url("images/couple.webp"), url("images/jar.webp"),
    url("images/basket.webp"), url("images/laundry.webp"),
    url("images/soap.webp");
  background-repeat: no-repeat;
  background-size:
    25% auto,
    18% auto,
    22% auto,
    20% auto,
    34% auto,
    26% auto;
  background-position:
    0 0.5rem,
    77% 20%,
    6% 39%,
    83% 42%,
    88% 73%,
    98% 100%;
  z-index: 2;
}
#cta {
  padding-top: var(--horizontal-padding);
  margin-bottom: calc(0px - var(--horizontal-padding) * 4);
}
#cta a {
  margin: 0 auto;
  background-color: #c85b85;
  border: none;
  color: var(--neutral);
  display: flex;
  cursor: pointer;
  text-decoration: none;
  border-radius: 1rem;
  font-size: 1.25rem;
  justify-content: center;
  padding: 0.5rem 1rem;
  font-weight: bold;
  width: max-content;
  box-shadow: 3px 4px 6px rgba(0, 0, 0, 0.8);
}
#footer img {
  pointer-events: none;
}
@media (min-width: 768px) {
  .heading {
    font-size: 2rem;
  }
  #overview,
  #videos {
    padding-left: 4rem;
    padding-right: 4rem;
  }
  #events {
    grid-template-columns: 40% 1fr;
  }
  .setting span {
    display: inline-block;
  }
  #agenda::before {
    width: calc(var(--screen) - 8rem);
    height: calc(100% - 4rem);
    top: 2rem;
    left: 4rem;
  }
  .agenda-inner::after {
    background-size:
      28% auto,
      18% auto,
      22% auto,
      20% auto,
      34% auto,
      26% auto;
    background-position:
      0 0.5rem,
      80% 16%,
      6% 35%,
      85% 40%,
      88% 73%,
      98% 100%;
  }
  #cta a {
    font-size: 2rem;
    padding: 1rem 1.5rem;
  }
}

@media (min-width: 1024px) {
  .agenda-inner::after {
    background-position:
      0 0.5rem,
      80% 14%,
      6% 34%,
      85% 38%,
      88% 73%,
      98% 100%;
  }
}
/* Utility classes */
.hidden {
  display: none;
}
.sr-only {
  display: none;
}
.text-center {
  text-align: center;
}
.z-2 {
  z-index: 2;
}
.relative {
  position: relative;
}
