@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap");

* {
    margin: -10px;
    padding: 0;
    font-family: "Poppins";
    box-sizing: border-box;
}


body {
  --width: 0px;
  --height: 240px;
  --margin-top: 80%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #1f293a;
  min-height: 100vh;
}

.container {
  position: relative;
  width: 256px;
  height: 256px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container span {
    position: absolute;
    left: 66px;
    width: 30px;
    height: 6px;
    background: #f44336;
    border-radius: 8px;
    transform-origin: 115px;
    transform: scale(2.2) rotate(calc(var(--i) * (360deg / 50)));
    animation: animateBlink 3s linear infinite;
    animation-delay: calc(var(--i) * (3s / 50));
    bottom: 100px;
    padding: 15px;
}


@keyframes animateBlink {
  0% {
    background: #0ef;
  }

  25% {
    background: #2c4766;
  }
}

.login-box {
  position: center;
  width: 250px;
  
}

.login-box form {
  width: 150%;
  padding: 0 50px;
}

h2 {
    font-size: 3em;
    color: #0ef;
    text-align: end;
    padding: 17px;
}

.input-box {
  position: relative;
  margin: 25px 0;
}

.input-box input {
    width: 100%;
    height: 45px;
    background: transparent;
    border: 2px solid #2c4766;
    outline: none;
    border-radius: 40px;
    font-size: 1.5em;
    color: white;
    padding: 0 20px;
    transition: 0.5s;
}

.input-box input:focus,
.input-box input:valid {
  border-color: orange;
}

.input-box label {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  font-size: 1em;
  color: #2c4766;
  pointer-events: none;
  transition: 0.5s ease;
}

.input-box input:focus~label,
.input-box input:valid~label {
  top: 1px;
  font-size: 0.8em;
  background-color: #1f293a;
  padding: 0 6px;
  color: #0ef;
}

.forgot-password {
  margin: -15px 0 10px;
  text-align: center;
}

.forgot-password a {
  font-size: 0.85em;
  color: #fff;
  text-decoration: none;
}

.forgot-password a:hover {
  text-decoration: underline;
}

.btn {
  width: 100%;
  height: 45px;
  border-radius: 45px;
  background: #0ef;
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 1em;
  color: #1f293a;
  font-weight: 600;
}

.btn:hover {
	box-shadow:
		0 0 10px #f44336,
		0 0 20px #f44336,
		0 0 40px #f44336,
		0 0 50px #f44336;
}

.btn:active {
  background-color: #f06a60c7;
  box-shadow: 0 5px #62a9e2;
  transform: translateY(4px);
}

.signup-link {
  margin: 20px 0 10px;
  text-align: center;
}

.signup-link a {
  font-size: 1em;
  color: #0ef;
  text-decoration: none;
  font-weight: 600;
}

.signup-link a:hover {
  --text-decoration: underline;
  color: orange;
}