@import url("https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&display=swap");
.josefin-sans-bold {
  font-family: "Josefin Sans", system-ui;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

.josefin-sans-semi-bold {
  font-family: "Josefin Sans", system-ui;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}

.josefin-sans-regular {
  font-family: "Josefin Sans", system-ui;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

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

body {
  width: 100dvw;
  height: 100dvh;
  background: radial-gradient(#222, #000);
  display: grid;
  place-items: center;
}
body .login-form {
  width: 400px;
  height: 500px;
  background: #202020;
  padding: 24px 32px;
  border-radius: 8px;
}
body .login-form .form-title {
  font-size: 40px;
  text-transform: uppercase;
  width: 100%;
  text-align: center;
  margin-bottom: 100px;
  color: #989898;
}
body .login-form .custom-input {
  width: 100%;
  position: relative;
  color: #989898;
}
body .login-form .custom-input input[type=text] {
  background: transparent;
  border: none;
  border-bottom: 4px solid #989898;
  outline: none;
  appearance: none;
  width: 100%;
  font-family: inherit;
  font-size: 28px;
  padding-block: 4px;
  color: inherit;
  transition: 0.2s ease border-color;
}
body .login-form .custom-input input[type=password] {
  background: transparent;
  border: none;
  border-bottom: 4px solid #989898;
  outline: none;
  appearance: none;
  width: 100%;
  font-family: inherit;
  font-size: 28px;
  padding-block: 4px;
  color: inherit;
  transition: 0.2s ease border-color;
}
body .login-form .custom-input label {
  position: absolute;
  font-size: 28px;
  pointer-events: none;
  top: 0;
  left: 0;
  line-height: 140%;
  transition: 0.28s ease all;
}
body .login-form .custom-input:focus-within input[type=text] {
  border-color: #f1f1f1;
}
body .login-form .custom-input:focus-within label {
  color: #f1f1f1;
}
body .login-form .custom-input:focus-within label, body .login-form .custom-input:has(input[type=text]:not(:placeholder-shown)) label {
  font-size: 14px;
  top: -18px;
}
body .login-form .custom-input:not(:last-of-type) {
  margin-bottom: 36px;
}
body .login-form button[type=submit] {
  margin-top: 120px;
  font-size: 20px;
  width: 100%;
  padding: 12px;
  color: #202020;
  border-radius: 8px;
  cursor: pointer;
  background-color: #f1f1f1;
  transition: 0.2s ease background-color, 0.2s ease color;
}
body .login-form button[type=submit]:hover {
  background-color: #989898;
  color: #f1f1f1;
}