body {
  background-image: url(img/bg.jpg);
  background-size: 100vw 100vh;
  background-attachment: fixed;
  background-size: cover;
  margin: 0;
  font-family: monospace;
}

form {
width: 490px;
margin: auto;
background: rgba(0,0,0,0.7);
padding: 10px 20px;
box-sizing: border-box;
box-shadow: 7px 13px 37px #000;
color: #fff;
margin-top: 100px;
border-radius: 7px;
}

.login-box .avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    position: absolute;
    top: 15px;
    left: calc(50% - 50px);
  }

h2 {
  color: #fff;
  text-align: center;
  margin: 0;
  font-size: 30px;
  margin-top: 10px;
  margin-bottom: 10px;
}

h3 {
  text-align: center;
}

input, textarea {
  width: 100%;
  margin-bottom: 20px;
  padding: 7px;
  box-sizing: border-box;
  font-size: 17px;
  border: none;
}

textarea {
  min-height: 100%;
  max-height: 200%;
  max-width: 100%;
}


.login-box input[type="submit"] {
  padding: 10px;
  border: none;
  outline: none;
  height: 40px;
  background: #58b9e9;
  color: #fff;
  font-size: 18px;

}

.login-box input[type="submit"]:hover {
  cursor: pointer;
  background: #aee3ff;
  color: #000;
}


.login-box a {
  text-decoration: none;
  font-size: 14px;
  line-height: 45px;
  color: darkgrey;
  margin-bottom: -40px;
  justify-content: center;
  align-items: center;
}


.login-box a:hover {
  color: #fff;
}

.login-box input[type="checkbox"] {
      text-decoration: none;
      line-height: 45px;
      width: 15%;
       padding: 1px;
       margin: 0%;
       vertical-align: bottom;
       position: relative;
       top: -16px;

  }

@media (max-width:500px){
  login-box{
    width: 100px;
  }
