@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;700&display=swap');

* {
  margin: 0;
  padding: 0;
  font-family: 'JetBrains Mono', monospace;
  box-sizing: border-box;
}

body {
  display: flex;
  height: 100vh;
  align-items: center;
  justify-content: center;
  background: #151515;
}

.login-form {
  width: 370px;
  background: #1b1b1b;
  padding: 40px 35px 60px;
  border: 1px solid black;
  border-radius: 5px;
  box-shadow: inset 0 0 1px #272727;
  text-align: center;
}

.text {
  font-size: 30px;
  color: #c7c7c7;
  font-weight: 600;
  letter-spacing: 2px;
}

form {
  margin-top: 40px;
}

.field {
  display: flex;
  margin-top: 20px;
}

.field .fas {
  width: 60px;
  height: 50px;
  color: #868686;
  font-size: 20px;
  line-height: 50px;
  border: 1px solid #80ffdb;
  border-right: none;
  border-radius: 5px 0 0 5px;
  background: linear-gradient(#333, #222);
  display: flex;
  justify-content: center;
  align-items: center;
}

.field input,
button {
  height: 50px;
  width: 100%;
  outline: none;
  font-size: 19px;
  color: #868686;
  padding: 0 15px;
  border-radius: 0 5px 5px 0;
  border: 1px solid #80ffdb;
  caret-color: #5390d9;
  background: linear-gradient(#333, #222);
}

input:focus {
  color: #5390d9;
  box-shadow: 0 0 5px #48BFE3, inset 0 0 5px #80FFDB;
  background: linear-gradient(#333933, #222922);
  animation: glow 0.8s ease-out infinite alternate;
}

@keyframes glow {
  0% {
    border-color: #5390d9;
    box-shadow: 0 0 5px #48BFE3, inset 0 0 5px #0000001a;
  }

  100% {
    border-color: #56CFE1;
    box-shadow: 0 0 20px #4EA8DE, inset 0 0 10px #5390D9;
  }
}

button {
  margin-top: 30px;
  border-radius: 5px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
}

button:hover {
  color: #5390d9;
  border: 1px solid #5390d9;
  box-shadow: 0 0 5px #5E60CE, 0 0 10px #6930C3, 0 0 15px #80FFDB, 0 2px 0 black;
}

.link {
  margin-top: 25px;
  color: #868686;
}

.link a {
  color: #5390d9;
  text-decoration: none;
}

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