@import url("https://fonts.googleapis.com/css2?family=Poppins:ital@1&display=swap");

body {
  margin: 0;
  padding: 0;
  background: url(img/fondo.jpg) no-repeat center top;
  background-size: cover;
  font-family: "Poppins";
  height: 100vh;
}

.login-box {
  width: 320px;
  height: 420px;
  background: rgba(190, 190, 190, 0.7);
  color: #555;
  top: 50%;
  left: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
  box-sizing: border-box;
  padding: 70px 30px;
}

.login-box .avatar {
  opacity: 0.9425;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  position: absolute;
  top: -50px;
  left: calc(50% - 50px);
}

.login-box h1 {
  margin: 0;
  padding: 0 0 20px;
  text-align: center;
  font-size: 22px;
  font-weight: bold;
}

.login-box label {
  margin: 0;
  padding: 0;
  font-weight: bold;
  display: block;
}

.login-box input {
  width: 100%;
  margin-bottom: 20px;
  padding: 10px;
}

input[type="text"],
input[type="password"] {
  color: #000;
  background: transparent;
  border: none;
  border-bottom: 2.5px solid rgba(225, 225, 225, 0.7);
}

input[type="text"]::placeholder,
input[type="password"]::placeholder {
  color: #fff;
  font-weight: 600;
  font-size: 20px;
}

input[type="text"]:focus,
input[type="password"]:focus {
  color: #000;
  transition: all 0.5s ease-in-out;
  outline: none;
  border-bottom: 2.5px solid rgba(200, 200, 200, 1);
}

.login-box .boton {
  margin-top: 20px;
  width: 100%;
  height: 6vh;
  border: none;
  outline: none;
  background: #9995;
  color: #fff;
  font-size: 30px;
  overflow: 25px;
  text-align: center;
  justify-content: center;
  border: 2px solid #777;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.login-box .boton:hover {
  cursor: pointer;
  transition: all 0.5s ease-out;
  background: #666;
  color: #fff;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.3), 0 6px 20px 0 rgba(0, 0, 0, 0.2);
}
