body {
  font-family: Roboto, sans-serif;
}

/* Full-width input fields */
input[type=text], input[type=password] {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

form i {
  margin-left: -30px;
  cursor: pointer;
}

/* Set a style for all buttons */
button {
  background-color: #8db822;
  font-size: larger;
  font-variant-caps: all-small-caps;
  font-weight: bold;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  cursor: pointer;
  width: 100%;
}

button:hover {
  opacity: 0.8;
}

.header {
  padding: 16px;
}

.header label {
  font-size: xx-large;
}

.success {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 2px solid #8db822;
  background-color: #F3FFD5FF;
  color: #8db822;
  box-sizing: border-box;
}

.reset_password {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 2px solid #8db822;
  background-color: #F3FFD5FF;
  color: #8db822;
  box-sizing: border-box;
}

.error {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 2px solid firebrick;
  background-color: #FFA4A4FF;
  color: firebrick;
  box-sizing: border-box;
}

.container {
  padding: 16px;
}

span.password {
  float: right;
}

/* The Modal (background) */
.modal {
  display: block; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  right: 0;
}

/* Modal Content/Box */
.modal-content {
  max-width: 450px;
  background-color: #fefefe;
  margin: 5% auto 15% auto; /* 5% from the top, 15% from the bottom and centered */
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
}

/* Add Zoom Animation */
.animate {
  -webkit-animation: animatezoom 0.6s;
  animation: animatezoom 0.6s
}

.language-selector {
  width: 30px;
  height: 20px;
}

body {
  background-color: rgba(0, 0, 0, 0.05); /* Black w/ opacity */
}

footer {
  position: absolute;
  bottom: 0;
  width: 98%;
  height: 50px;
  color: #8db822;
  padding-top: 1.5rem !important;
  padding-bottom: 1.5rem !important;
  display: flex !important;
  justify-content: center !important;
  text-decoration: none;
}

footer a {
  color: #8DB822;
  display: inline-block;
  text-decoration: none;
  font-weight: 400;
  margin-left: 4px;
  margin-right: 4px;
}

@-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 span and cancel button on extra small screens */
@media screen and (max-width: 300px) {
  span.password {
    display: block;
    float: none;
  }
}
