html,
body,
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background-color: black;
  font-family: "Roboto", sans-serif;
  color: white;
}

.center {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 100px;
}
.hero {
  width: 100%;
  height: 500px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  opacity: 0.4;
}

.hero {
  color: white;
}

.hero p {
  max-width: 400px;
}

.hero .jamesweb {
  max-width: 400px;
  z-index: 99999;
}

.hero .jamesweb:hover {
  -webkit-animation-play-state: paused;
  -moz-animation-play-state: paused;
  -o-animation-play-state: paused;
  animation-play-state: paused;
}

.hero .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  width: 100%;
}

.jamesweb {
  -webkit-animation: spin 50s linear infinite;
  -moz-animation: spin 50s linear infinite;
  animation: spin 50s linear infinite;
}

@-moz-keyframes spin {
  100% {
    -moz-transform: rotate(360deg);
  }
}
@-webkit-keyframes spin {
  100% {
    -webkit-transform: rotate(360deg);
  }
}
@keyframes spin {
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.steps {
  margin-top: 40px;
  display: flex;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  margin-bottom: 100px;
}

.yellow-subheading {
  color: #fc0;
  text-transform: uppercase;
}

.w-400 {
  max-width: 400px;
}

.wrapper {
  margin-bottom: 100px;
}
.wrapper h2 {
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 40px;
}
.signup-box {
  display: block;
  margin: 0 auto;
  width: 40em;
  height: auto;
  background: #fff;
  padding: 4em 2em;
}
.signup-box .signup-form {
  display: block;
  margin: 0 auto;
}
.signup-form label,
.signup-form input {
  display: block;
  padding: 0;
  width: 100%;
}
.signup-form input:-webkit-autofill,
.signup-form input:-webkit-autofill:hover,
.signup-form input:-webkit-autofill:focus,
.signup-form textarea:-webkit-autofill,
.signup-form textarea:-webkit-autofill:hover,
.signup-form textarea:-webkit-autofill:focus,
.signup-form select:-webkit-autofill,
.signup-form select:-webkit-autofill:hover,
.signup-form select:-webkit-autofill:focus {
  border: 0;
  border-bottom: 2px solid black;
  -webkit-text-fill-color: black;
  -webkit-box-shadow: 0 0 0px 1000px #fff inset;
}
.signup-form label {
  font-size: 0.8em;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #000;
}
.signup-form .signup-input {
  border: 0;
  border-bottom: 2px solid #000;
  margin-bottom: 2em;
  font-size: 1em;
  padding: 0.5em 0.25rem;
}
.signup-form .signup-input:focus {
  border: 0;
  outline: 0;
  border-bottom: 1px solid #000;
}
.signup-form input[type="submit"] {
  font-size: 0.9em;
  display: block;
  margin: 0 auto;
  width: max-content;
  background: #000;
  padding: 1.25em 2em;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fff;
  border: 0;
  outline: 0;
  transition: 0.3s all ease-in-out;
}
.signup-form input[type="submit"]:hover {
  background: #333;
  padding: 1.25em 4em;
  cursor: pointer;
}

.signup-terms {
  display: block;
  margin: 2em 0;
}

.signup-terms input {
  padding: 0;
  height: initial;
  width: initial;
  margin-bottom: 0;
  display: none;
  cursor: pointer;
}

.signup-terms label {
  position: relative;
  cursor: pointer;
  text-transform: initial;
}

.signup-terms label a {
  color: #333;
  text-decoration: underline;
}
.signup-terms label a:hover {
  text-decoration: none;
}

.signup-terms label:before {
  content: "";
  -webkit-appearance: none;
  background-color: transparent;
  border: 3px solid #000;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05),
    inset 0px -15px 10px -12px rgba(0, 0, 0, 0.05);
  padding: 7px;
  display: inline-block;
  position: relative;
  vertical-align: middle;
  cursor: pointer;
  margin-right: 1em;
}

.signup-terms input:checked + label:after {
  content: "";
  display: block;
  position: absolute;
  top: 3px;
  left: 7px;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}
.signup-terms input:checked ~ label:before {
  background: #000;
}

.grow {
  transition: all 0.2s ease-in-out;
}
.grow:hover {
  transform: scale(1.1);
}
.error,
.terms-error {
  color: red;
}

.terms-error {
  text-align: center;
  padding: 10px;
  border: 1px solid red;
  margin: 10px;
}

.hide {
  display: none;
}

.btn {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: black;
  color: white;
  outline: 0;
  border: 1px solid white;
}

.btn:hover {
  cursor: pointer;
  border-radius: 2px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  -ms-border-radius: 2px;
  -o-border-radius: 2px;
  background-color: white;
  color: black;
  transition: background-color 0.3s ease-in-out;
  -webkit-transition: background-color 0.3s ease-in-out;
  -moz-transition: background-color 0.3s ease-in-out;
  -ms-transition: background-color 0.3s ease-in-out;
  -o-transition: background-color 0.3s ease-in-out;
}

.btn2:hover {
  background-color: black;
  color: white;
}

#popup {
  display: none;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
}

#popup.visible {
  display: flex;
  justify-content: center;
  align-items: center;
}

#popup-content {
  width: 100%;
  flex-direction: column;
  height: 100%;
  background: black;
  border: 1px solid white;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media only screen and (max-width: 48em) {
  .signup-box {
    width: 30em;
  }
}
@media only screen and (max-width: 40em) {
  .signup-box {
    width: 100%;
  }
}

@media only screen and (max-width: 1450px) {
  .hero {
    padding: 0px 5%;
    width: auto;
  }
}

@media only screen and (max-width: 750px) {
  .steps {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5%;
  }

  .hero .container {
    flex-direction: column;
  }
  .hero .jamesweb {
    max-width: 200px;
    z-index: 99999;
    position: absolute;
    right: 2%;
    top: 5%;
  }

  .webb-description {
    max-width: 500px;
  }
}

@media only screen and (min-width: 750px) and (max-width: 950px) {
  .jamesweb {
    position: absolute;
  }
}

@media only screen and (min-width: 430px) and (max-width: 450px) {
  .rocket2 {
    position: absolute;
  }
}

.disabled-btn {
  background: #ccc !important;
  color: #333 !important;
  cursor: not-allowed !important;
}
