#registration-box {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.registration-box-content {
  background-color: white;
  color: black;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  width: 400px;
  height: 200px;
  text-align: center;
}

.registration-box-content a {
  color: #00BFFF;
}

.registration-box-body {
  margin-bottom: 20px;
  position: relative;
}

.registration-box-body label {
  margin-top: 10px;
}

.registration-box-body input[type="text"],
.registration-box-body input[type="email"] {
  width: 100%;
  padding: 8px;
  padding-left: 16px;
  margin-top: 5px;
  box-sizing: border-box;
  background-color: #FFEAA7;
  border: none;
  text-align: left;

  height: 36px;
  /* increased height by ~20% */
}

.registration-box-body input[type="text"]::placeholder,
.registration-box-body input[type="email"]::placeholder {
  color: #05495A;
}

.registration-box-body div {
  display: flex;
  align-items: center;
  margin-top: 10px;
}

.registration-box-body div input[type="checkbox"] {
  margin-right: 10px;
}

.registration-box-footer {
  display: flex;
  justify-content: space-between;
}

.registration-box-footer button {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.registration-box-footer button:hover {
  background-color: #ddd;
}

.email-warning {
  color: red;
  margin-top: 10px;
}

#privacy-details {
  font-family: auto;
  text-align: left;
  margin-left: 3%;
}

#registration-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  /* added for equal vertical spacing */
  font-family: 'Atkinson-Hyperlegible-Bold-102', sans-serif;
}

#registration-form>div {
  align-self: flex-start;
}

#registration-form label[for='agreement-checkbox'] {
  font-family: 'Atkinson-Hyperlegible-Italic-102a', sans-serif;
}

#submit-button {
  position: relative;
  bottom: -65px;
  cursor: pointer;
  width: 60%;
}


html,
body {
  width: 100%;
  height: 100%;
}

body.overlay-hidden::before {
  display: none;
}

#unity-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

@media (max-width: 1600px),
(max-height: 1200px) {
  #unity-container {
    width: 100vw;
    height: calc(100vw / 1.333);
  }
}

@media screen and (orientation: landscape) {
  #unity-container {
    width: calc(100vh * 1.333);
    height: 100vh;
  }
}

@media screen and (orientation: portrait) {
  #unity-container {
    width: 100vw;
    height: calc(100vw / 1.333);
  }
}

@media (min-width: 800px) and (min-height: 600px) {
  #unity-container {
    width: 800px;
    height: 600px;
  }
}

#unity-footer {
  display: none !important;
}