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

body {
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  line-height: 1.7;
  color: #fff;
  background-color: #000000;
  overflow: hidden;
}

a[role=button] {
  cursor: pointer;
}

a.a-underline {
  text-decoration: underline;
}

.main {
  position: relative;
  height: 100vh;
  background-image: url(../resources/img/super-heroes.webp);
  background-position: bottom;
  background-size: cover;
  background-repeat: no-repeat;
}

.h5-container {
  max-width: 960px;
  position: absolute;
  top: 0%;
  left: 50%;
  transform: translate(-50%, 0%);
  z-index: 1;
}

.logo {
  margin: 10vh auto 3vh;
  width: 200px;
}

.logo img {
  width: 100%;
}

.form__wrapper {
  position: relative;
  width: 640px;
  height: 420px;
  background-image: url(../resources/img/bg-for-form.webp);
}

.form__wrapper__main-form {
  position: relative;
  background-image: none;
  margin: 10vh auto 0;
}

.h5-form-title {
  position: absolute;
  top: 11%;
  left: 50%;
  transform: translate(-50%);
}

.h5-form-title__login {
  left: 50%;
  transform: translate(-50%);
}

.h5-form-title__fp-1 {
  left: 50%;
  transform: translate(-50%);
}

.h5-form-title__oops {
  left: 50%;
  transform: translate(-50%);
}

.h5-form-title__fp-2 {
  left: 50%;
  transform: translate(-50%);
}

.h5-form-subtitle {
  position: absolute;
  top: 22%;
  left: 50%;
  transform: translate(-50%);
}

.h5-form-subtitle__oops {
  top: 30%;
  left: 50%;
  transform: translate(-50%);
}

.h5-form-subtitle__fp-2 {
  top: 30%;
  left: 50%;
  transform: translate(-50%);
}

.email__fp-2 {
  position: absolute;
  top: 34%;
  left: 50%;
  transform: translate(-50%);
  font-size: 22px;
  color: #4cff12;
  font-weight: 700;
}

.h5-close {
  position: absolute;
  top: 5%;
  right: 5%;
  cursor: pointer;
}

.h5-close:hover {
  filter: brightness(0.85);
}

.input__wrapper {
  position: absolute;
  top: 24%;
  left: 50%;
  transform: translate(-50%);
}

.input__wrapper__oops {
  width: 376px;
}

.input__wrapper__login {
  left: 50%;
  transform: translate(-50%);
}

.input__wrapper__fp-1 {
  margin-top: 30px;
  left: 50%;
  transform: translate(-50%);
}

.h5-input {
  display: block;
  width: 376px;
  margin-top: 10px;
  padding: 5px 15px;
  font-size: 22px;
  background-color: #4e1777;
  color: #ffffff;
  border: 1px solid #8135af;
  border-radius: 18px;
}

::placeholder {
  color: #ffffff;
}

.h5-input__login {
  width: 490px;
  margin-top: 15px;
  font-size: 27px;
  padding: 10px 15px;
  border-radius: 25px;
}

.input__wrapper_password {
  position: relative;
}

.h5-input-icon {
  position: absolute;
  top: 18%;
  right: 4%;
}

.h5-input-icon:hover {
  filter: brightness(0.85);
  cursor: pointer;
}

.btn-submit {
  display: block;
  background: transparent;
  border: none;
}

.btn-submit:hover {
  filter: brightness(0.85);
}

.btn-submit__play-now {
  margin-top: 10px;
}

.btn-submit__login {
  position: relative;
}

.btn-submit__login span {
  font-size: 25px;
}
.btn-submit__login_green {
  margin: 20px auto 0;
}
.btn-submit__back-to-login {
  margin: 5px auto 0;
}

.btn-submit__reset-password {
  margin: 45px auto 0;
}

.btn-submit__reset {
  margin: 30px auto 0;
}

.btn-submit__oops {
  display: block;
  margin: 20px auto 0px;
}

.btn-submit__fp-2 {
  position: absolute;
  top: 75%;
  left: 50%;
  transform: translate(-50%);
}

.label {
  display: flex;
  justify-content: start;
  align-items: center;
}

.label span {
  margin-left: 5px;
  font-size: 22px;
}

.label__register-with-mail {
  margin-top: 5px;
}

.btn-submit-text {
  position: absolute;
  color: #fff;
  display: block;
  font-size: 22px;
  top: 17%;
  left: 14%;
}

.btn-submit-text {
  text-decoration: none;
}

.btn-submit-text span {
  text-decoration: underline;
}

.h5-play-to-back-text {
  color: #2c2b2b;
  font-size: 18px;
}

.h5-form-text {
  position: absolute;
  top: 107%;
  left: 11%;
  color: #2c2b2b;
  font-size: 18px;
}

.h5-form-text a {
  color: #2c2b2b;
}

.checkbox__wrapper {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
}

.checkbox__wrapper a {
  color: #ffffff;
  font-size: 22px;
}

.checkbox-label__login {
  font-size: 27px;
}

.checkbox-label__reset {
  margin-top: 10px;
  font-size: 27px;
}

.h5-form-text__login {
  text-align: center;
  color: #ffffff;
  font-size: 22px;
}

.h5-form-text__login a {
  font-weight: 500;
  color: #ffffff;
}

.h5-bottom-text {
  margin-top: 30px;
  text-align: center;
  color: #ffffff;
  font-size: 21px;
}

.h5-bottom-text a {
  font-weight: 500;
  color: #ffffff;
}

.h5-text__oops {
  margin-top: 65px;
}

.h5-bottom-text__oops {
  margin-top: 95px;
}

.h5-bottom-text__fp-2 {
  position: absolute;
  top: 55%;
  left: 18%;
}

.h5-form-line {
  position: absolute;
  top: 46%;
  left: 50%;
  transform: translate(-50%);
}

.spinner__wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.lds-spinner {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-spinner div {
  transform-origin: 40px 40px;
  animation: lds-spinner 1.2s linear infinite;
}
.lds-spinner div:after {
  content: " ";
  display: block;
  position: absolute;
  top: 3px;
  left: 37px;
  width: 6px;
  height: 18px;
  border-radius: 20%;
  background: #fcf;
}
.lds-spinner div:nth-child(1) {
  transform: rotate(0deg);
  animation-delay: -1.1s;
}
.lds-spinner div:nth-child(2) {
  transform: rotate(30deg);
  animation-delay: -1s;
}
.lds-spinner div:nth-child(3) {
  transform: rotate(60deg);
  animation-delay: -0.9s;
}
.lds-spinner div:nth-child(4) {
  transform: rotate(90deg);
  animation-delay: -0.8s;
}
.lds-spinner div:nth-child(5) {
  transform: rotate(120deg);
  animation-delay: -0.7s;
}
.lds-spinner div:nth-child(6) {
  transform: rotate(150deg);
  animation-delay: -0.6s;
}
.lds-spinner div:nth-child(7) {
  transform: rotate(180deg);
  animation-delay: -0.5s;
}
.lds-spinner div:nth-child(8) {
  transform: rotate(210deg);
  animation-delay: -0.4s;
}
.lds-spinner div:nth-child(9) {
  transform: rotate(240deg);
  animation-delay: -0.3s;
}
.lds-spinner div:nth-child(10) {
  transform: rotate(270deg);
  animation-delay: -0.2s;
}
.lds-spinner div:nth-child(11) {
  transform: rotate(300deg);
  animation-delay: -0.1s;
}
.lds-spinner div:nth-child(12) {
  transform: rotate(330deg);
  animation-delay: 0s;
}

@keyframes lds-spinner {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.h5-btn__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.btn__main-form {
  display: block;
  background: transparent;
  border: none;
  width: 70%;
}

.btn__hidden {
  display: none;
}

.btn__main-form img {
  width: 100%;
}

.btn__main-form:hover {
  transform: translateY(-3px);
  filter: brightness(0.85);
}



.h5-checkbox {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 5px;
  background-color: #4e1777;
  border: 1px solid #8135af;
  border-radius: 50%;
  width: 24px;
  height: 24px;
}
.h5-checkbox:checked {
  width: 24px;
  height: 24px;
  background-image: url(../resources/img/checkbox-active.webp);
}

.tooltip-info {
  display: block;
  position: absolute;
  top: 30%;
  left: 82%;
  width: 280px;
  padding: 10px;
  background-color: #3b0067e3;
  min-height: 50px;
  border-radius: 12px;
  /* border: 4px solid #cbb4ff; */
  z-index: 4;
  animation: tooltipOpacity 0.5s ease-out;
}

.tooltip-info::after {
  content: "";
  position: absolute;
  left: -22px;
  top: 50%;
  transform: translateY(-50%);
  border: 11px solid transparent;
  border-right: 11px solid #3b0067e3;
}

.tooltip-info__password {
  display: none;
  top: -130%;
  left: 233%;
}

.tooltip-info__email {
  display: none;
  top: -82%;
  left: 233%;
}

.h5-input-icon__password:hover .tooltip-info__password {
  display: block;
}

.h5-input-icon__email:hover .tooltip-info__email {
  display: block;
}

.tooltip-error {
  display: block;
  position: absolute;
  top: 30%;
  left: 82%;
  width: 215px;
  padding: 10px;
  background-color: #fffffffc;
  min-height: 50px;
  border-radius: 12px;
  /* border: 4px solid #df3454; */
  color: #df3454;
  font-weight: 400;
  text-align: center;
  z-index: 4;
  animation: tooltipOpacity 0.5s ease-out;
}

.tooltip-error::after {
  content: "";
  position: absolute;
  left: -22px;
  top: 50%;
  transform: translateY(-50%);
  border: 11px solid transparent;
  border-right: 11px solid #fffffffc;
}

.tooltip-error__email {
  top: -20%;
  left: 103%;
}

.tooltip-error__register {
  top: -50%;
  left: 103%;
}

.tooltip-error__password {
  top: -126%;
  left: 103%;
}

.tooltip-error__password-confirm {
  top: -51%;
  left: 103%;
}

.tooltip-error__login {
  top: -24%;
  left: 103%;
}

.tooltip-error__login-email {
  top: 3%;
  left: 103%;
}

.tooltip-error__login-password {
  top: -16%;
  left: 103%;
}

.tooltip-error__forgot {
  top: 3%;
  left: 103%;
}

.tooltip-error__forgot-email {
  top: 3%;
  left: 103%;
}

.tooltip-error__reset-password {
  top: -73%;
  left: 103%;
}

.tooltip-error__reset-password-confirm {
  top: -19%;
  left: 103%;
}

.hide {
  display: none;
}

.hide-collapse {
  visibility: hidden;
}

@keyframes tooltipOpacity {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@media (max-width: 1601px) {
  .logo {
    margin: 2vh auto 3vh;
  }
}

@media (max-width: 1281px) {
  .logo {
    width: 150px;
    margin: 0vh auto -10px;
  }

  .tooltip-info {
    width: 270px;
  }

  .tooltip-error__login-email {
    width: 190px;
  }

  .tooltip-error__login-password {
    width: 190px;
  }
}
