a {
  text-decoration: none;
  color: white;
}

a::after {
  content: "";
}

a:hover::after {
  display: block;
  border: 1px solid white;
  animation: under-line 0.5s ease-in-out 1;
}

@keyframes under-line {
  0% {
    width: 0%;
  }

  100% {
    width: 100%;
  }
}

section {
  min-height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  /* background: url(https://images2.alphacoders.com/130/1308322.jpeg) center; */
  background-size: cover;
  color: #fff;
}

.login-container {
  background: #48b16d;
  /* height: 450px; */
  padding: 50px 0px;
  width: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  backdrop-filter: blur(5px);
  border: 1px white solid;
  border-radius: 20px;
}

h2 {
  font-size: 1.75em;
  margin: 0 0 10px;
  filter: drop-shadow(0 3px 2px black);
}

.input-box {
  position: relative;
  border-bottom: 2px solid white;
  margin: 20px 0;
  width: 310px;
}

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

.input-box input:valid ~ label,
.input-box input:focus ~ label {
  top: -5px;
}

.input-box input,
.input-box select {
  background: transparent;
  border: none;
  outline: none;
  color: white;
  width: 100%;
  height: 50px;
  font-size: 1em;
  padding: 0 40px 0 5px;
}
.input-box option {
  background: #ddd;
}

.input-box .icon {
  position: absolute;
  right: 8px;
  font-size: 1.4em;
  line-height: 45px;
}

.remember-forgot {
  display: flex;
  justify-content: space-between;
  width: 310px;
  margin: 0 0 20px;
}

button {
  height: 40px;
  width: 310px;
  border-radius: 20px;
  margin: 0 0 10px;
  outline: none;
  border: none;
  background: white;
  color: black;
  transition: 0.3s;
}

button:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

.create-account {
  margin: 12px 0 0 0;
}

@media screen and (max-width: 360px) {
  .login-container {
    width: 100%;
    height: 100vh;
    border: none;
    border-radius: none;
  }
}
