* {
  user-select: none;
}

body {
  margin: 0;
  box-sizing: border-box;
  font-family: 'Open Sans', sans-serif;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.logo_background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #4589ff;
  opacity: 1;
  animation: background-switch 1s ease forwards;
  animation-delay: 0.5s;
  z-index: 100;
}

.logo {
  height: 200px;
  width: 244px;
  animation: top-left-glide 1s ease forwards;
  animation-delay: 0.5s;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 101;
}

#logo path {
  animation: color-switch 1s ease forwards;
  animation-delay: 0.5s;
}

@keyframes top-left-glide {
  from {
    top: 50%;
    left: 50%;
    height: 200px;
    width: 244px;
  }

  to {
    top: 10%;
    left: 10%;
    width: 100px;
    height: 122px;
  }
}

@keyframes background-switch {
  from {
    opacity: 1;
    z-index: 10;
    background-color: #4589ff;
  }

  to {
    opacity: 0;
    z-index: -1;
    background-color: white;
  }
}

@keyframes color-switch {
  from {
    fill: white;
  }

  to {
    fill: #4589ff;
  }
}

.signup_container {
  position: absolute;
  top: 5%;
  right: 5%;
  display: flex;
  justify-content: flex-end;
}

.signup_container div {
  display: flex;
  align-items: center;
  gap: 35px;
}

.login_container {
  border-radius: 30px;
  box-shadow: 0px 0px 10px 3px #00000014;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 48px 115px;
  gap: 32px;
}

.blue_underline {
  width: 250px;
  height: 3px;
  background-color: #4589ff;
}

.login_form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.input_container {
  display: flex;
  align-items: center;
  padding: 12px 21px;
  width: 380px;
  border-bottom: 1px solid #d1d1d1;
}

.input_container input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 20px;
}

.hidden_container {
  color: #ff0000;
  font-size: 12px;
}

.remember_me {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn_container {
  display: flex;
  gap: 35px;
}

.login-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  padding: 40px;
  gap: 16px;
}

.link_a {
  padding: 8px;
  text-decoration: none;
  color: #a8a8a8;
  transition: transform 0.1s;
}

.link_a:hover {
  transform: scale(1.08);
  color: #29abe2;
}

.link_a:active {
  transform: scale(0.95);
  filter: drop-shadow(0 0 10px rgba(69, 137, 255, 1));
}

h1 {
  margin: 0;
  font-family: Open Sans;
  font-size: 48px;
  font-weight: 700;
}

a {
  text-decoration: none;
}

p {
  margin: 0;
}

.red_underline {
  border-color: #ff0000;
}

.d_none {
  display: none;
}

@media (max-width: 750px) {
  @keyframes top-left-glide {
    from {
      top: 50%;
      left: 50%;
      width: 100px;
      height: 122px;
    }

    to {
      top: 8%;
      left: 20%;
      width: 70px;
      height: 92px;
    }
  }

  .logo {
    width: 100px;
    height: 122px;
  }

  .signup_container {
    top: auto;
    right: auto;
    bottom: 12%;
    justify-content: center;
  }

  .login_container {
    padding: 40px 80px;
    margin: 0 16px;
  }

  .blue_underline {
    width: 200px;
  }
}

@media (max-width: 650px) {
  .login_container {
    padding: 30px 40px;
    gap: 26px;
  }

  .btn_container {
    flex-direction: column;
  }

  .blue_underline {
    width: 150px;
  }

  .input_container {
    width: auto;
    padding: 8px 17px;
  }

  .btn_container {
    gap: 25px;
  }
}

@media (max-width: 400px) {
  @keyframes top-left-glide {
    from {
      top: 50%;
      left: 50%;
      width: 70px;
      height: 92px;
    }

    to {
      top: 6%;
      left: 20%;
      width: 40px;
      height: 62px;
    }
  }

  .logo {
    width: 70px;
    height: 92px;
  }

  .blue_underline {
    width: 88px;
  }

  .signup_container {
    bottom: 10%;
  }

  .login_container {
    padding: 20px 40px;
  }

  .login_form {
    gap: 10px;
  }

  .btn_container {
    gap: 15px;
  }

  .btn {
    padding: 5px 35px;
  }

  .login-footer {
    padding: 20px;
  }
}

@media (max-width: 330px) {
  .signup_container div {
    flex-direction: column;
    gap: 16px;
  }
}
