body {
  background-color: #f2f2f2;
}

/* Full-width input fields */
.container-login input[type=text],
.container-login input[type=password] {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  box-sizing: border-box;
  border-radius: 5px;
}

/* Set a style for all buttons */
.button-login {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 25px;
  color: #FFFFFF;
  display: block;
  transition: 0.3s;
  width:100%;

}

.button-login:hover {
  color: #BDC3C7;
}

/* Extra styles for the cancel button */
.cancelbtn-login {
  width: auto;
  padding: 10px 18px;
  background-color: #cc3333; /* Red for the cancel button */
  border-radius: 5px;
}

/* Center the image and position the close button */
.imgcontainer-login {
  text-align: center;
  margin: 24px 0 12px 0;
  position: relative;
}

.avatar-login {
  width: 10%;
  border-radius: 50%;
}

.container-login {
  padding: 16px;
}

.psw-login {
  float: right;
  padding-top: 16px;
}

/* The Modal (background) */
.modal-login {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  padding-top: 70px;
}

/* Modal Content/Box */
.modal-content-login {
  background-color: #ffffff; /* Clean white for the form */
  margin: 5% auto 15% auto; /* Center the modal */
  border: 1px solid #888;
  width: 70%; /* Adjust based on screen size */
  border-radius: 10px; /* Rounded corners for a modern look */
}

/* The Close Button (x) */
.close-login {
  position: absolute;
  right: 25px;
  top: 0;
  color: #000;
  font-size: 35px;
  font-weight: bold;
}

.close-login:hover,
.close-login:focus {
  color: red;
  cursor: pointer;
}

/* Add Zoom Animation */
.animate-login {
  -webkit-animation: animatezoom 0.6s;
  animation: animatezoom 0.6s;
}

@-webkit-keyframes animatezoom {
  from {-webkit-transform: scale(0)} 
  to {-webkit-transform: scale(1)}
}
  
@keyframes animatezoom {
  from {transform: scale(0)} 
  to {transform: scale(1)}
}

/* Change styles for .psw-login and .cancelbtn-login on extra small screens */
@media screen and (max-width: 300px) {
  .psw-login {
     display: block;
     float: none;
  }
  .cancelbtn-login {
     width: 100%;
  }
}