* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  width: 100%;
  overflow: hidden;
}

body {
  font-family: 'IBM Plex Sans', serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: 'wdth' 100;
  color: #fff;
  height: 100%;
  margin: 0;
  background-color: #000a2e;
}

h1 {
  font-size: 4rem;
  color: #f68d2e;
  margin: 0;
}

.preloader-outer {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: #000a2e;
  z-index: 6;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 60px;
  margin: -30px 0 0 -40px;
}

.preloader .lines {
  width: 80px;
  height: 40px;
  position: absolute;
}

.preloader .lines .line {
  width: 80px;
  height: 1px;
  background-color: #fff;
  position: absolute;
  clip: rect(0, 0, 20px, 0);
}

.preloader .lines .line.line-1 {
  top: 0;
  animation: slide 2s ease 0.1s infinite;
}

.preloader .lines .line.line-2 {
  top: 15px;
  animation: slide 2s ease 0.25s infinite;
}

.preloader .lines .line.line-3 {
  top: 30px;
  animation: slide 2s ease 0.5s infinite;
}

.logo-wrapper {
  display: flex;
  justify-content: center;
  position: absolute;
  width: 100%;
  bottom: 30px;
}

.logo-wrapper img {
  width: 170px;
}

@keyframes slide {
  0% {
    clip: rect(0, 0, 20px, 0);
  }

  30% {
    clip: rect(0, 80px, 20px, 0);
  }

  50% {
    clip: rect(0, 80px, 20px, 0);
  }

  80% {
    clip: rect(0, 80px, 20px, 80px);
  }

  100% {
    clip: rect(0, 80px, 20px, 80px);
  }
}

@keyframes fade {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.hidden {
  display: none !important;
}

.sp-logo {
  width: 100px;
  margin: 2rem 0;
}

.content-wrapper {
  width: 100%;
  height: 100%;
  padding: 2.5rem 20% 2rem;
  position: relative;
  z-index: 50;
}

.pretty-paragraph {
  text-wrap: pretty;
}

form {
  display: flex;
  flex-direction: column;
}

.email-input {
  margin-top: 1.75rem;
  margin-bottom: 10px;
  line-height: 4em;
  width: 50%;
  background-color: transparent;
  border: none;
  font-family: 'IBM Plex Sans', serif;
  font-size: large;
  caret-color: #f68d2e;
  color: #f68d2e;
  font-weight: 500;
}

.email-input::placeholder {
  color: #717277;
}

input:focus {
  outline: none;
  border-bottom: 1px solid #f68d2e;
  color: #fff;
}

input:focus::placeholder {
  color: transparent;
}

.submit-wrapper {
  text-align: right;
  padding-right: 2rem;
}

.btn {
  background: #f68d2e;
  color: #fff;
  font-family: 'IBM Plex Sans', serif;
  font-size: smaller;
  font-weight: 600;
  border: none;
  padding: 15px 30px;
  border-radius: 8px;
  margin-top: 100px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
}

button:focus {
  border: 3px solid #94551c;
  outline: 0;
}

.btn-outlined {
  background: transparent !important;
}

.mt-2 {
  margin-top: 20px !important;
  border: 3px solid #f68d2e;
}

.form-message {
  color: #fd706b;
}

.form-complete {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  height: 100%;
  padding: 0 20%;
}

.form-complete h1 {
  color: #fff;
}

.form-complete p {
  color: #b8b9bb;
  text-align: center;
  text-wrap: pretty;
  padding: 0 2rem;
}

.content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer {
  padding-top: 1rem;
  display: flex;
  justify-content: center;
}

.footer img {
  width: 170px;
}

#logo-footer {
  width: 150px;
}

/* HTML: <div class="loader"></div> */
.loader {
  width: fit-content;
  font-weight: bold;
  font-family: monospace;
  white-space: pre;
  font-size: 30px;
  line-height: 1.2em;
  height: 1.2em;
  overflow: hidden;
}

.loader:before {
  content: 'Loading...\AgodnLai...\Aoiaglni...\ALiongad...\Agindola...\Analoidg...';
  white-space: pre;
  display: inline-block;
  animation: l38 1s infinite steps(6);
}

#loading {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #000a2ec4;
  z-index: 100;
  top: 0;
  left: 0;
}

@keyframes l38 {
  100% {
    transform: translateY(-100%);
  }
}

#error-animation {
  margin-bottom: 1rem;
}

/* Teléfonos medianos */
@media (max-width: 767px) {
  .logo-wrapper {
    bottom: 70px;
  }

  .content-wrapper {
    padding: 2rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
  }

  .email-input {
    width: 100%;
  }

  .submit-wrapper {
    padding: 0;
  }

  .form-complete {
    text-align: center;
  }

  .footer {
    padding-top: 5rem;
  }
}
