*,
*:before,
*:after {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  overflow: hidden;
}
* {
  margin: 0;
  padding: 0;
}

/* Delete the autofill background color yellow and convert it to transparent */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
transition: background-color 1200s ease-in-out 0s;
-webkit-text-fill-color: #fff;
}

/* white color placeholder */
::-webkit-input-placeholder { /* WebKit, Blink, Edge */
    color: rgba(255,255,255,0.80);
    font-weight: lighter;
}

/*main*/

.container {
  height: 100%;
  width: 100%;
  background-image: url("/assets/img/city2.jpg");
  background-size: cover;
  color: #fff;
  font-family: "Comfortaa", "Helvetica", sans-serif;
}
#overlay-container {
  height: 100vh;
  width: 100vw;
  background-image: url("/assets/img/gradient.png");
  background-size: cover;
  opacity: 0.9;
  display: flex;
  flex-direction: column;
}

svg {
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  overflow: visible;
}
.svg-icon {
  cursor: pointer;
}
.svg-icon path {
  stroke: rgba(255, 255, 255, 0.9);
  fill: none;
  stroke-width: 1;
}
input,
button {
  outline: none;
  border: none;
}
.demo {
  height: 53rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.other_links {
  display: flex;
  justify-content: flex-end;
  z-index: 1000;
  gap: 32px;
  padding: 16px;
}
.other_links > a {
  font-family: "Comfortaa", "Helvetica", sans-serif;
  background: transparent;
  color: #fff;
  text-decoration: none;
  font-weight: lighter;
  font-style: normal;
  float: right;
}
.login {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
}
.login.inactive {
  opacity: 0;
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
}
.login__check, .recovery__check {
  background-repeat: no-repeat;
  text-align: center;
}

.login__check img, .login__check img {
  height: 149px;
  width: 224px;
}

.login__form {
  text-align: center;
}
.login__row {
  height: 2.5rem;
  background-color: rgba(255, 255, 255, 0.3);
  margin-bottom: 5px;
  border-color: white;
  border-radius: 277px;
  padding-left: 3px;
}
.login__icon {
  margin-bottom: -0.2rem;
  margin-right: 0.5rem;
  margin-left: 0.7rem;
}
.login__icon.name path {
  stroke-dasharray: 73.50196075439453;
  stroke-dashoffset: 73.50196075439453;
  -webkit-animation: animatePath 2s 0.5s forwards;
  animation: animatePath 2s 0.5s forwards;
}
.login__icon.pass path {
  stroke-dasharray: 92.10662841796875;
  stroke-dashoffset: 92.10662841796875;
  -webkit-animation: animatePath 2s 0.5s forwards;
  animation: animatePath 2s 0.5s forwards;
}
.login__input {
  display: inline-block;
  width: 80%;
  height: 100%;
  padding-left: 1.5rem;
  font-size: 1.5rem;
  background: transparent;
  color: #FDFCFD;
}
.login__submit {
  position: relative;
  width: 100%;
  height: 2.5rem;
  margin: 1rem 0 0.5rem;
  color: #50D2C2;
  background: #FFFFFF;
  font-size: 1.5rem;
  border-radius: 3rem;
  cursor: pointer;
  overflow: hidden;
  -webkit-transition: width 0.3s 0.15s, font-size 0.1s 0.15s;
  transition: width 0.3s 0.15s, font-size 0.1s 0.15s;
}
.login__submit:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -1.5rem;
  margin-top: -1.5rem;
  width: 3rem;
  height: 3rem;
  border: 2px dotted #50D2C2;
  border-radius: 50%;
  border-left: none;
  border-bottom: none;
  -webkit-animation: rotate 0.5s infinite linear;
  animation: rotate 0.5s infinite linear;
  -webkit-transition: opacity 0.1s 0.4s;
  transition: opacity 0.1s 0.4s;
  opacity: 0;
}
.login__submit.processing {
  width: 4rem;
  font-size: 0;
}
.login__submit.processing:after {
  opacity: 1;
}
.login__submit.success {
  -webkit-transition: -webkit-transform 0.3s 0.1s ease-out, opacity 0.1s 0.3s, background-color 0.1s 0.3s;
  transition: transform 0.3s 0.1s ease-out, opacity 0.1s 0.3s, background-color 0.1s 0.3s;
  -webkit-transform: scale(30);
  -ms-transform: scale(30);
  transform: scale(30);
  opacity: 0.9;
}
.login__submit.success:after {
  -webkit-transition: opacity 0.1s 0s;
  transition: opacity 0.1s 0s;
  opacity: 0;
}
.login__signup {
  font-size: 1.2rem;
  color: #ABA8AE;
}
.login__signup a {
  color: #fff;
  cursor: pointer;
}
.ripple {
  position: absolute;
  width: 15rem;
  height: 15rem;
  margin-left: -7.5rem;
  margin-top: -7.5rem;
  background: rgba(0, 0, 0, 0.4);
  -webkit-transform: scale(0);
  -ms-transform: scale(0);
  transform: scale(0);
  -webkit-animation: animRipple 0.4s;
  animation: animRipple 0.4s;
  border-radius: 50%;
}
@-webkit-keyframes animRipple {
  to {
    -webkit-transform: scale(3.5);
    transform: scale(3.5);
    opacity: 0;
  }
}
@keyframes animRipple {
  to {
    -webkit-transform: scale(3.5);
    transform: scale(3.5);
    opacity: 0;
  }
}
@-webkit-keyframes rotate {
  to {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes rotate {
  to {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-webkit-keyframes animatePath {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes animatePath {
  to {
    stroke-dashoffset: 0;
  }
}
/*****************************************************
Recovery section
*****************************************************/

.other_links > a {
  font-family: "Comfortaa", "Helvetica", sans-serif;
  background: transparent;
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  font-style: normal;
  float: right;
}
.recovery {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
}
.recovery.inactive {
  opacity: 0;
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
}

.recovery__form {
  text-align: center;
}
.recovery__row {
  height: 2.5rem;
  background-color: rgba(255, 255, 255, 0.3);
  margin-bottom: 1rem;
  border: 1px white;
  border-radius: 277px;
  padding-left: 3px;
}

.recovery__icon {
  margin-bottom: -0.4rem;
  margin-right: 0.5rem;
}
.recovery__icon.name path {
  stroke-dasharray: 73.50196075439453;
  stroke-dashoffset: 73.50196075439453;
  -webkit-animation: animatePath 2s 0.5s forwards;
  animation: animatePath 2s 0.5s forwards;
}
.recovery__icon.pass path {
  stroke-dasharray: 92.10662841796875;
  stroke-dashoffset: 92.10662841796875;
  -webkit-animation: animatePath 2s 0.5s forwards;
  animation: animatePath 2s 0.5s forwards;
}

.recovery__input {
  display: inline-block;
  height: 100%;
  width: 80%;
  padding-left: 0.5rem;
  font-size: 1.5rem;
  background: transparent;
  color: #FDFCFD;
}
.recovery__submit {
  position: relative;
  width: 100%;
  height: 3rem;
  margin: 1rem 0 2.2rem;
  color: #50D2C2;
  background: #FFFFFF;
  font-size: 1rem;
  border-radius: 3rem;
  cursor: pointer;
  overflow: hidden;
  -webkit-transition: width 0.3s 0.15s, font-size 0.1s 0.15s;
  transition: width 0.3s 0.15s, font-size 0.1s 0.15s;
}
.recovery__submit:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -1.5rem;
  margin-top: -1.5rem;
  width: 3rem;
  height: 3rem;
  border: 2px dotted #50D2C2;
  border-radius: 50%;
  border-left: none;
  border-bottom: none;
  -webkit-animation: rotate 0.5s infinite linear;
  animation: rotate 0.5s infinite linear;
  -webkit-transition: opacity 0.1s 0.4s;
  transition: opacity 0.1s 0.4s;
  opacity: 0;
}
.recovery__submit.processing {
  width: 4rem;
  font-size: 0;
}
.recovery__submit.processing:after {
  opacity: 1;
}
.recovery__submit.success {
  -webkit-transition: -webkit-transform 0.3s 0.1s ease-out, opacity 0.1s 0.3s, background-color 0.1s 0.3s;
  transition: transform 0.3s 0.1s ease-out, opacity 0.1s 0.3s, background-color 0.1s 0.3s;
  -webkit-transform: scale(30);
  -ms-transform: scale(30);
  transform: scale(30);
  opacity: 0.9;
}
.recovery__submit.success:after {
  -webkit-transition: opacity 0.1s 0s;
  transition: opacity 0.1s 0s;
  opacity: 0;
}
.recovery__signup {
  font-size: 1.2rem;
  color: #ABA8AE;
}
.recovery__signup a {
  color: #fff;
  cursor: pointer;
}
.ripple {
  position: absolute;
  width: 15rem;
  height: 15rem;
  margin-left: -7.5rem;
  margin-top: -7.5rem;
  background: rgba(0, 0, 0, 0.4);
  -webkit-transform: scale(0);
  -ms-transform: scale(0);
  transform: scale(0);
  -webkit-animation: animRipple 0.4s;
  animation: animRipple 0.4s;
  border-radius: 50%;
}
@-webkit-keyframes animRipple {
  to {
    -webkit-transform: scale(3.5);
    transform: scale(3.5);
    opacity: 0;
  }
}
@keyframes animRipple {
  to {
    -webkit-transform: scale(3.5);
    transform: scale(3.5);
    opacity: 0;
  }
}
@-webkit-keyframes rotate {
  to {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes rotate {
  to {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-webkit-keyframes animatePath {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes animatePath {
  to {
    stroke-dashoffset: 0;
  }
}
