html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden; 
    background: black;
}

#container {
  position: relative;
  width: 100vw;
  height: 100vh;
}

#myCanvas {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

.sacramento-regular {
  font-family: "Sacramento", cursive;
  font-weight: 400;
  font-style: normal;
}

.playwrite {
  font-family: "Playwrite NZ Basic", cursive;
  font-optical-sizing: auto;
  font-style: normal;
}

.hidden {
  display: none;
}

#fullscreen {
  position: absolute;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: auto;
}

#eletter {
  position: relative;
  margin: auto;
  margin-top: 2rem;
  margin-bottom: 2rem;
  width: 100vh;
  max-width: 100vh;
  min-height: 100vw;
  background: rgba(255, 236, 239, 0.75);
  text-align: justify;
  z-index: 0;
}

#eletter::before {
  content: ""; /* Required for pseudo-elements to render */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("./img/floral.png");
  background-size: contain;
  background-repeat: repeat-y;
  opacity: 0.5; /* Adjust the transparency (0.0 to 1.0) */
  z-index: -1; /* Puts the background layer behind the content */
}

#eletter > div {
  z-index: 1;
}

#heart {
  position: absolute;
  bottom: 2rem;
  left: 1rem;
  font-weight: bold;
  font-size: 3rem;
  cursor: pointer;
  background: white;
  border-radius: 2rem;
}

#exit {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-weight: light;
  font-size: 3rem;
  cursor: pointer;
}

.header {
  min-height: 7rem;
  flex-direction: column;
}

.header > h1 {
  font-size: 4rem;
  margin: 2rem 0 0;
}

.section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 2rem;
}

#pics {
  height: 29vw;
  gap: 2rem;
}

.section > img {
  height: 100%; 
}

.rounded-corner {
  border-radius: 1rem;
}

.thin {
  width: 80%;
  margin: auto;
}

#starting-message {
  flex-direction: column;
}

.two {
  flex-direction: row;
}

.side {
  height: 100%;
  display: flex;
  align-items: center;
}

.side > p {
  text-indent: 2rem;
}

.side > img {
  height: 100%;
}

.left, .right {
  flex: 1;
}

#selfie {
  width: 70%;
  height: 20rem;
}

#selfie > .left {
  flex: 1;
  flex-basis: 30%;
}

#selfie > .right {
  flex: 1;
  flex-basis: 70%;
  padding-left: 1rem;
}

#booth {
}

#booth > .left {
  flex: 1;
  flex-basis: 60%;
  padding-right: 1rem;
}

#booth > .right {
  flex: 1;
  flex-basis: 40%;
}

#img-booth {
  width: 100%;
}

#babies {
  width: 70%;
  height: 20rem;
}

#babies > .left {
  flex: 1;
  flex-basis: 30%;
}

#babies > .right {
  flex: 1;
  flex-basis: 70%;
  padding-left: 1rem;
}

@media (max-width: 768px) {
  #eletter {
    width: 95vw;
    max-width: 95vw;
    min-height: auto;
  }

  img {
    width: 100%;
  }
}

