* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* Full-width input fields */
input[type="text"],
input[type="password"] {
  width: 90%;
  padding: 12px 20px;
  padding-right: 80px;
  margin-bottom: 20px;
  width: 85%;
  height: 40px;
  float: left;
  border: 1px solid rgb(140, 140, 140);
  box-sizing: border-box;
  font-size: 16px;
  text-align: center;
  color: rgb(46, 46, 46);
}
body {
  background-image: url("../img/bglogin.jpg");
  background-repeat: no-repeat;
  background-size: 100%;
  overflow: hidden;
}
#logo {
  position: absolute;
  float: right;
  margin-right: 12%;
}
/* Set a style for all buttons */
.loginbutton {
  background-image: linear-gradient(
    to top,
    #810717,
    #910f1b,
    #a2161e,
    #b31e22,
    #c42525
  );
  color: white;
  border: none;
  cursor: pointer;
  width: 100%;
  height: 40px;
  font-size: 20px;
  letter-spacing: 4px;
  box-shadow: 0px 2px 0px 1px rgb(126, 0, 0);
  border-radius: 4px;
  font-weight: bold;
}
.loginbutton:hover {
  background-image: linear-gradient(
    to top,
    #810717,
    #a5202d,
    #c02129,
    #ca2429,
    #e21c1c
  );
}
.loginbutton:focus {
  outline: none;
}

.inputdisplay {
  width: 100%;
}
.displaybtn {
  width: 15%;
  height: 40px;
  padding: 4px;
  font-size: 21px;
  display: block;
  float: left;
  border: none;
  border: 1px solid rgb(75, 75, 75);
  border-right: none;
  background-color: rgb(85, 85, 85);
  color: white;
  pointer-events: none;
}
/* Center the image and position the close button */
.imgcontainer {
  text-align: center;
  margin: 0 auto;
  /* margin-top: -10rem; */
  width: 100%;
  position: relative;
}
.avatar {
  width: 70%;
  border-radius: 30%;
  margin: 0px;
}

/* Modal Content Box */
.modal-content {
  background-color: rgba(255, 255, 255, 0.9);
  margin-top: 6%;
  border: 1px solid rgb(210, 210, 210);
  /* box-shadow: 0px 1px 1px 1px rgba(0,0,0,0.3); */
  width: 400px;
  padding-bottom: 30px;
  overflow: hidden;
  border-radius: 7px;
  float: right;
  margin-right: 12%;
}

.alert_content {
  padding: 0x;
  width: 100%;
  text-align: center;
}

.input-container {
  width: 80%;
  margin: 0 auto;
}

#login-container {
  min-width: 400px;
  min-height: 600px;
}

@media (max-width: 550px) {
  .modal-content {
    margin: 3rem auto auto auto;
    width: 90%;
    padding-bottom: 30px;
    min-width: 350px;
    float: none;
  }

  #logo {
    width: 90%;
  }
}

@media (max-width: 1250px) {
  body {
    background-size: cover;
  }
}
