
body {
  transition: none; /* Disable all transitions for backgrounds */
  background-color: #000;
  overflow: hidden;
}

.overlay {
  /* background: rgba(0, 0, 0, 0.1); */
  height: 100%;
  width: 100%;
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
}

.main {
  position: fixed;
  z-index: 1000;
}

main h1 {
  text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.8);

}
main p {
  text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.8);
  font-size: 18px;
}

main {

  padding-bottom: 60px;
  padding-top: 10px;
  padding-left: 10px;
  padding-right: 10px;
  text-align: center;
}


h1, p, a {
  font-family: "Noto Serif", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

body {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;       /* Stack elements vertically */
  justify-content: flex-end;  /* Align content at the top of the flex container */
  align-items: center;          /* Horizontally center content */
  height: 100dvh;

  color: white;
  font-family: Arial, sans-serif;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* transition: background-image 0.5s ease-in-out; */
}

.rsvp-button {
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  border: none;
  background: white;
  color: black;
  border-radius: 5px;
  margin-top: 1em;
  display: inline-block;
  text-decoration: none;
}

.fab {
  position: absolute;
  bottom: 20px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  font-size: 20px;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
  width: 50px;
  height: 50px;
}

#prev-bg {
  left: 20px;
}

#next-bg {
  right: 20px;
}

.play-fab {
  z-index: 2000;
  top: 30vh;
  width: 100px;
  height: 100px;
  font-size: 50px;
}

#niagra-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -10;
  object-fit: cover;
  object-position: right;
  display: none;
}

#dancing-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -10;
  object-fit: cover;
  object-position: right;
  display: none;
}

.toolbar {

  z-index: 2000;
}

.grayed main {
  background: rgba(0, 0, 0, 0.3);
  width: 100vw;

}

body {
  background-position: center center;
}

@media (max-width: 600px) {
  .bg-lift {
    background-position: calc(50% + 10px) center;
  }
  .bg-engagement {
    background-position: calc(50% + 60px) top;
  }
  .bg-wheel {
    background-position: -300px center;
  }

  .bg-kiss {
    background-position: calc(-100px) center;
  }

  .bg-niagra-still {
    background-position: calc(100% + 300px) center;
  }

  #niagra-video {
    object-position: calc(100% + 300px) center;
  }
}

.grayed main, .bg-cambridge main {
  background: rgba(0, 0, 0, 0.3);
  width: 100vw;

}
