* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}
.wrapper {
  position: relative;
  width: 400px;
  height: 500px;
  background: #444;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  z-index: 1;
}
.form-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}
.wrapper.activeSignUp {
  animation: wrapperSignUpShowJellyAnimate 1s ease forwards;
  animation-delay: 1.2s;
}
.wrapper.activeSignIn {
  animation: wrapperSignInShowJellyAnimate 1s ease forwards;
  animation-delay: 1.2s;
}
.wrapper.activeSignUp .form-wrapper.sign-in {
  animation: hideJellyAnimate 1s ease forwards;
}
.wrapper.activeSignIn .form-wrapper.sign-in {
  animation: showJellyAnimate 1s ease forwards;
  animation-delay: 1.2s;
  transform: scale(0, 0);
}
.wrapper .form-wrapper.sign-up {
  position: absolute;
  top: 0;
  left: 0;
  transform: scale(0, 0);
}
.wrapper.activeSignUp .form-wrapper.sign-up {
  animation: showJellyAnimate 1s ease forwards;
  animation-delay: 1.2s;
}
.wrapper.activeSignIn .form-wrapper.sign-up {
  animation: hideJellyAnimate 1s ease forwards;
}
@keyframes hideJellyAnimate {
  0% {
    transform: scale(1, 1);
  }
  25% {
    transform: scale(0.9, 1.1);
  }
  50% {
    transform: scale(1.1, 0.9);
  }
  75% {
    transform: scale(0.95, 1.05);
  }
  100% {
    transform: scale(0, 0);
  }
}
@keyframes showJellyAnimate {
  0% {
    transform: scale(0, 0);
  }
  25% {
    transform: scale(0.95, 1.05);
  }
  50% {
    transform: scale(1.1, 0.9);
  }
  75% {
    transform: scale(0.9, 1.1);
  }
  100% {
    transform: scale(1, 1);
  }
}
@keyframes wrapperSignUpShowJellyAnimate {
  0% {
    transform: scale(1, 1);
  }
  25% {
    transform: scale(0.95, 1.05);
  }
  50% {
    transform: scale(1.1, 0.9);
  }
  75% {
    transform: scale(0.9, 1.1);
  }
  100% {
    transform: scale(1, 1);
  }
}
@keyframes wrapperSignInShowJellyAnimate {
  0% {
    transform: scale(1, 1);
  }
  25% {
    transform: scale(0.95, 1.05);
  }
  50% {
    transform: scale(1.1, 0.9);
  }
  75% {
    transform: scale(0.9, 1.1);
  }
  100% {
    transform: scale(1, 1);
  }
}
h2 {
  font-size: 30px;
  color: #fff;
  text-align: center;
}
.input-box {
  position: relative;
  width: 320px;
  margin: 30px 0;
  border-bottom: 2px solid #fff;
}
.input-box label {
  position: absolute;
  top: 50%;
  left: 5px;
  transform: translateY(-50%);
  font-size: 16px;
  color: #fff;
  pointer-events: none;
}
.input-box input {
  width: 100%;
  height: 40px;
  background: transparent;
  border: none;
  outline: none;
  padding: 0 5px;
  font-size: 16px;
  color: #fff;
}
.input-box input:focus ~ label,
.input-box input:valid ~ label {
  top: -5px;
}
.forgot-pass {
  margin: -15px 0 15px 5px;
}
.forgot-pass a {
  color: #fff;
  font-size: 14px;
  text-decoration: none;
}
.forgot-pass a:hover {
  text-decoration: underline;
}
button {
  width: 100%;
  height: 40px;
  background: #fff;
  border-radius: 30px;
  cursor: none;
  border: none;
  font-size: 16px;
  color: #444;
  font-weight: 500;
}
button:hover {
  background: #756868;
  color: #fff;
}
.sign-link {
  font-size: 14px;
  text-align: center;
  margin: 15px 0;
}
.sign-link p {
  color: #fff;
}
.sign-link p a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}
.sign-link p a:hover {
  text-decoration: underline;
}
.social-platform {
  font-size: 14px;
  color: #fff;
  text-align: center;
}
.social-icons a {
  display: inline-block;
  width: 35px;
  height: 35px;
  background: transparent;
  border: 1px solid #fff;
  border-radius: 50%;
  margin: 15px 6px 0;
  text-align: center;
  transition: 0.5s;
}
.social-icons a:hover {
  background: #fff;
}
.social-icons a i {
  color: #fff;
  font-size: 14px;
  line-height: 35px;
  transition: 0.5s;
}
.social-icons a:hover i {
  color: #444;
}
.curved {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #976ed7;
  z-index: -2;
  clip-path: circle(90% at 0 0);
  transition-delay: 1.2s;
}
.bg-animate {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #976ed7;
  z-index: -1;
  clip-path: circle(0% at 0 0);
}
.bg-animate.active {
  clip-path: circle(90% at 0 0);
  transition: clip-path 1.2s ease-out;
}
.colors {
  position: absolute;
  right: 0;
  background: #444;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}
.colors .color {
  position: relative;
  width: 20px;
  height: 20px;
  background: var(--clr);
  border-radius: 10px 0 10px 20px;
  cursor: pointer;
  margin: 10px;
}
.colors .color.active {
  border: 2px solid #fff;
  transform: scale(1.5);
}