body {
  margin: 0;
  padding: 0;
  background: url(img/aaa.jpg) no-repeat center top;
  background-size: cover;
  font-family: sans-serif;

}

.img-header{
  height: 100vh;
  background: rgba(0,0,0,0.2);
}

.login-box {
  width: 300px;
  height: 400px;
  background: #17202A ;
  /*background: rgba(0,0,0,0.4);*/
  box-shadow: 10px 20px 30px rgba(0,0,0,9);
  color: white;
  top: 50%;
  left: 48%;
  position: absolute;
  transform: translate(-50%, -50%);
  box-sizing: border-box;
  padding: 60px 30px;
}

.login-box .avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  position: absolute;
  top: -60px;
  left: calc(50% - 50px);
}

.login-box h1 {
  margin: 0;
  padding: 0 0 20px;
  text-align: center;
  font-size: 22px;
}

.login-box label {
  margin: 0;
  padding: 0;
  font-weight: bold;
  display: block;
}

.login-box a{
  margin-left: 200px;
  text-decoration: underline;
}

.login-box input {
  width: 100%;
  margin-bottom: 30px;

}

.login-box input[type="text"], .login-box input[type="password"] {
  border: none;
  border-bottom: 2px solid white;
  background: transparent;
  outline: none;
  height: 40px;
  color: white;
  font-size: 16px;
}

.login-box input[type="submit"] {
  border: none;
  outline: none;
  height: 40px;
  background: white;
  color: black;
  font-size: 18px;
  border-radius: 20px;
}

.login-box input[type="submit"]:hover {
  cursor: pointer;
  background: #B71C1C ;
  color: #000;
}

.login-box a {
  text-decoration: none;
  font-size: 12px;
  line-height: 20px;
  color: white;
}

.login-box a:hover {
  color: #FFEE58 ;
}

@media screen and (max-width: 1000px){

  .login-box{
  width: 60%;
  width: 300px;
  height: 420px;
   /*background: rgba(0,0,0,0.4);*/
  box-shadow: 10px 20px 30px rgba(0,0,0,3);
  color: white;
  top: 50%;
  left: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
  box-sizing: border-box;
  padding: 60px 30px;
  }



@media only screen and (max-width: 590px){

  .login-box{
  width: 60%;
  width: 300px;
  height: 420px;
   /*background: rgba(0,0,0,0.4);*/
  box-shadow: 10px 20px 30px rgba(0,0,0,3);
  color: white;
  top: 50%;
  left: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
  box-sizing: border-box;
  padding: 60px 30px;
  }