html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

.stacked-container {
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.panel {
  flex: 1; /* evenly distributes height */
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: white;
  background-size: cover;
  background-position: center;
  position: relative;
}

.panel-content {
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 0.2em;
  text-align: center;
}

/* Example background images */
.panel-1 {
  background-image: url("https://tedoloughlin.com/img/art-9-super-tiny-lights.jpg");
}

.panel-2 {
  background-image: url("https://tedoloughlin.com/img/face-1.jpg");
}

.panel-3 {
  background-image: url("https://tedoloughlin.com/img/drums.webp");
}

/* extra ------------------------------------------------------- */

.panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  transition: 0.3s;
}

.panel:hover::after {
  background: rgba(0,0,0,0.5);
}

.panel-content {
  position: relative;
  z-index: 1;
}

/* FONT ------------------------------------------------------- */
.bungee-inline-regular {
  font-family: "Bungee Inline", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.text-XXL {
  font-size:5rem;
  letter-spacing: -0.02em;
}
.text-XL {
  font-size:4rem;
  letter-spacing: -0.02em;
}
.text-L {
  font-size:3rem;
  letter-spacing: -0.02em;
}
/* BREAKPOINT ------------------------------------------------------- */
@media (max-width: 768px) {
  .text-XXL {
    font-size:3rem;
    letter-spacing: -0.02em;
  }
  .text-XL {
    font-size:2.4rem;
    letter-spacing: -0.02em;
  }
  .text-L {
    font-size:2rem;
    letter-spacing: -0.02em;
  }
}



