@font-face {
  font-family: "MPLUSRounded";
  src: url("../../FONTS/Nunito/Nunito-Bold.woff2") format("woff2"),
       url("../../FONTS/Nunito/Nunito-Bold.ttf") format("truetype");
}

html,
body {
  font-family: "MPLUSRounded";
  padding: 0 0 0 0;
  margin: 0;
  height: 100%;
  color: #f5508b;
}

#background {
  background-image: url(../../IMAGES/MMG/background.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100%;
  text-align: center;
  overflow: hidden;
}

#content {
  text-align: center;
  margin: 0 10px;
  max-width: 800px;
  z-index: 999;
}

#logo {
  content: url(../../IMAGES/MMG/logo.png);
  width: 48%;
  margin-top: 3%;
}

h1,
h4 {
  margin: 0;
  font-weight: 900;
}

@media (max-width: 375px) {
  h1 {
    font-size: 1.5em;
  }
}

.form,
form {
  margin-top: 3%;
  text-align: center;
  width: 100%;
  z-index: 1000;
}

.form button,
.form input,
.form div,
form input,
form div {
  margin: 1% auto;
}

input {
  font-family: "MPLUSRounded";
  text-align: center;
  border: solid 3px #00cedf;
  border-radius: 13px;
  height: 6vh;
  width: 85%;
  line-height: 40px;
}
input[type="checkbox"] {
  width: auto;
  height: 15px;
  min-width: auto;
}

input::placeholder {
  color: #00cedf;
  letter-spacing: 1px;
  font-weight: bolder;
}

button {
  background: url(../../IMAGES/MMG/button.png) no-repeat;
  background-size: 100% 100%;
  min-height: 100%;
  width: 100%;
  border: none;
  color: white;
  font-family: "MPLUSRounded";
  font-size: 1.6em;
  letter-spacing: 1px;
  font-weight: bolder;
}
.btn {
  background: url(../../IMAGES/MMV/button.png) no-repeat;
  background-size: 100% 100%;
  min-height: 100%;
  border: none;
  color: white;
  font-family: "MPLUSRounded";
  letter-spacing: 1px;
  font-weight: bolder;
  margin: 1% auto;
  padding: 5px 10px;
  display: block;
  width: fit-content;
}

span {
  word-wrap: break-word;
}

.button {
  width: calc(85% + 6px + 2px);
  height: calc(6vh + 6px + 2px);
}

.superhero {
  content: url(../../IMAGES/MMG/superhero.png);
  position: fixed;
  width: 38%;
  right: -5%;
  top: 5%;
  animation: slideIn, float;

  animation-duration: 1.5s, 2.5s;
  animation-delay: 0s, 1.5s;
  animation-timing-function: ease, linear;
  animation-iteration-count: 1, infinite;
}

.images {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  margin: 5% 0;
}

.spaceship {
  content: url(../../IMAGES/MMG/spaceship.png);
  width: 50%;
}

.beakers {
  content: url(../../IMAGES/MMG/beakers.png);
  width: 40%;
  margin-bottom: 5%;
}

footer {
  color: white;
  bottom: 5px;
  position: fixed;
  width: 100%;
}

.page-wrap,
#footer > .container {
  z-index: 1;
  position: relative;
}

small {
  font-size: 0.65em;
  font-weight: lighter;
}

a {
  text-decoration: none;
  color: white;
}

/* overwrite intl-tel-input style */
.intl-tel-input {
  width: 100%;
  max-width: 450px;
}
.intl-tel-input input {
  width: calc(85% + 6px + 2px) !important;
  height: calc(6vh + 6px + 2px);
}
.intl-tel-input.allow-dropdown .flag-container,
.intl-tel-input.separate-dial-code .flag-container {
  left: 30px !important; /* half of input box padding-right  */
}

@-webkit-keyframes slideIn {
  0% {
    transform: translate(110%, 70%);
  }
  100% {
    transform: translate(0, 0);
  }
}
@-moz-keyframes slideIn {
  0% {
    transform: translate(110%, 70%);
  }
  100% {
    transform: translate(0, 0);
  }
}
@keyframes slideIn {
  0% {
    transform: translate(110%, 70%);
  }
  100% {
    transform: translate(0, 0);
  }
}

@-webkit-keyframes float {
  0% {
    transform: translate(0%, 0%);
  }
  25% {
    transform: translate(1%, 3%);
  }
  50% {
    transform: translate(-1%, 6%);
  }
  75% {
    transform: translate(1%, 3%);
  }
  100% {
    transform: translate(0%, 0%);
  }
}

@-moz-keyframes float {
  0% {
    transform: translate(0%, 0%);
  }
  25% {
    transform: translate(1%, 3%);
  }
  50% {
    transform: translate(-1%, 6%);
  }
  75% {
    transform: translate(1%, 3%);
  }
  100% {
    transform: translate(0%, 0%);
  }
}

@keyframes float {
  0% {
    transform: translate(0%, 0%);
  }
  20% {
    transform: translate(-2%, 5%);
  }
  40% {
    transform: translate(1%, 9%);
  }
  60% {
    transform: translate(-2%, 8%);
  }
  80% {
    transform: translate(1%, 2%);
  }
  100% {
    transform: translate(0%, 0%);
  }
}

@media screen and (min-width: 375px) and (min-height: 812px) and (max-height: 1023px) {
  form {
    margin-bottom: 10%;
  }
}
input {
  font-size: 1.5em;
}
/*smaller input font size on mobile*/
@media (max-width: 500px) {
  input {
    font-size: 4vw;
  }
}

@media (min-width: 500px) {
  #logo {
    width: 30%;
    margin-top: 0.5%;
  }

  .intl-tel-input input {
    width: calc(50% + 6px + 2px) !important;
    min-width: 408px;
  }

  .button {
    width: calc(50% + 6px + 2px);
    min-width: 408px;
  }

  input {
    width: 50%;
    min-width: 400px;
  }
}

@media (min-width: 769px) {
  #background {
    background-image: url(../../IMAGES/MMG/backgroundw.png);
  }
  #logo {
    width: 17%;
    margin-top: 0.5%;
  }

  .intl-tel-input input {
    width: calc(30% + 6px + 2px) !important;
  }

  .button {
    width: calc(30% + 6px + 2px);
  }

  input {
    width: 30%;
  }

  footer {
    margin-bottom: 2%;
  }

  form input,
  form div {
    margin: 0.5% auto;
  }

  .superhero {
    width: 18%;
    right: 21%;
    top: 4%;
  }

  .images {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 5% 0;
  }

  .spaceship {
    width: 30%;
    margin-left: -5%;
  }

  .beakers {
    width: 20%;
    margin-bottom: 0%;
  }

  @-webkit-keyframes slideIn {
    0% {
      transform: translate(250%, 70%);
    }
    100% {
      transform: translate(0, 0);
    }
  }
  @-moz-keyframes slideIn {
    0% {
      transform: translate(250%, 70%);
    }
    100% {
      transform: translate(0, 0);
    }
  }
  @keyframes slideIn {
    0% {
      transform: translate(250%, 70%);
    }
    100% {
      transform: translate(0, 0);
    }
  }
}

@media (min-width: 1024px) {
  .spaceship {
    position: fixed;
    width: 27%;
    bottom: 10%;
    left: 12%;
  }

  .beakers {
    position: fixed;
    width: 15%;
    bottom: 12%;
    right: 12%;
  }
  footer {
    position: fixed;
    bottom: 1%;
  }
}
