body {
  background-color: rgb(97, 149, 204);
}
.rsvp-container {
  margin-top: 72px;
  height: calc(100vh - 72px);
  background-color: rgb(97, 149, 204);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
}

.rsvp-image {
  height: 85vh;
  margin-right: 1vw;
  border-radius: 20px;
  box-shadow: 0 0 4px black;
}

.rsvp-form {
  border-radius: 20px;
  background-color: hsl(306, 14%, 44%);
  padding: 10px;
  height: 85vh;
  width: 30vw;
  box-shadow: 0 0 2px black;
}

.eye {
  display: none;
}

@media (max-width: 1500px) {
  .rsvp-form {
    width: 40vw;
  }
}

@media (max-width: 930px) {
  .rsvp-container {
    height: max-content;
  }
  
  @keyframes fadeOut {
    0% {
      opacity: 1;
    }

    100% {
      opacity: 0.5;
    }
  }

  @keyframes fadeOutFull {
    0% {
      opacity: 1;
    }

    100% {
      opacity: 0;
    }
  }
  
  @keyframes fadeInRest {
    0% {
      opacity: 0.5;
    }

    100% {
      opacity: 1;
    }
  }

  .rsvp-image {
    position: relative;
    z-index: 0;
    margin-right: 0vw;
    padding: 12px;
    height: auto;
    width: 100%;
    animation: fadeOut .5s ease-in-out .5s forwards;

  }

  .rsvp-form {
    opacity: 0;
    position: absolute;
    z-index: 1;
    border-radius: 12px;
    top: 0;
    margin-top: 78px;
    height: 70%;
    width: 90vw;
    background-color: transparent;
    animation: fadeIn .3s ease-in-out .3s forwards;
  }

  .eye {
    display: block;
    opacity: 0;
    animation: fadeIn 2s ease-in-out 2s forwards;
    position: absolute;
    z-index: 2;
    top: 0;
    margin-top: 78px;
    margin-left: 2px;
    padding: 8px;
    font-size: 22px;
    background: hsl(306, 20%, 63%);
    border-radius: 32px;
  }

  .rsvp-image.responsive {
    animation: fadeInPartial .5s ease-in-out 1s forwards;
  }

  .rsvp-form.responsive {
    display: none;
  }

  footer {
    height: 100%;
    padding: 12px 18px 12px 18px;
    margin-top: 0;
    margin-bottom: 0;
  }

  .email {
    font-size: 16px;
    padding: 0;
  }

  .site-credits {
    font-size: 16px;
    padding-top: 12px;
    padding-bottom: 0;
  }
}
