* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-size: 15px;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background-image: url('../images/xsize-bg.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  background-size: cover;
  //filter: blur(10px);
}

.login-div {
  width: 25vw;
  height: 60vh;
  border: none;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.5);
  padding: 0 20px;
  margin-bottom: 25vh;
}

.login-div h4 {
  color: lightgray;	
  text-align: center;
}

.login-div img {
  display: flex;	
  margin: 0px auto;
  padding: 20px;
  width: 125px;
  height: 125px;
  border-radius: 50%;
}

.login-div input, 
.login-div select {
  width: 100%;	
  height: 40px;
  margin: 10px 0px;
  padding-left: 10px;
  background: transparent;
  outline: none;
  border: none;
  border-bottom: 1px solid gray;
  color: white;
}

.login-div input[type=submit] {
  font-weight: bold;	
  background-color: tomato;	
  border: none;
  border-radius: 20px;
  transition: 0.2s;
}

.remember-forget {
  display: flex;	
  justify-content: space-between;
  color: lightgray;
}

.remember-forget label input[type=checkbox] {
  width: 15px;
  height: 15px;
  margin-top: 5px;
  outline: none;
  border: none;
  accent-color: red;	// works as a background-color
}

.remember-forget a {
  color: lightgray;
  text-decoration: none;
  margin-top: 5px;
}

.login-div input[type=submit]:hover {
  background-color: seagreen;	
  //opacity: 0.5;	
}

::placeholder {
  color: gray;
}

/* media query */
@media screen and (max-width: 1000px) {

  body {
    font-size: 12px;	  
  }

  .login-div {
    width: 70vw;
    height: 60vh;
    margin-bottom: 10vh;
  }

  .login-div img {
    width: 100px;
    height: 100px;
  }

  .login-div h4 {
    font-size: 12px;	  
  }

  .login-div input:focus {
    border: none;
    outline: none;
    border-bottom: 1px solid lightgray;    
    background: transparent;
  }

  .remember-forget label {
    font-size: 11px;	  
    padding-bottom: 2px;
  }

  .remember-forget label input[type=checkbox] {
    width: 12px;
    height: 12px;
    margin-top: 5px;
  }

  .remember-forget a {
    font-size: 11px;	  
    margin-top: 5px;
  }

  ::placeholder {
    color: gray;
  }
}
