html {
  font-size: 62.5%;
}

* {
  margin: 0;
  padding: 0
}

body {
  background-size: cover;
  font-family: brandon-grotesque, Verdana, sans-serif;
  color: #fff;
}

#login-wrapper {
  background: rgba(0, 0, 0, 0.8);
  padding: 50px;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: top;
  position: absolute;
  left: calc(50% - 190px);
  max-width: 280px;
}

#login {
  text-align: center;
  max-width: 100%;
}

#loggedout{
    position: absolute;
    background: #b20000;
    font-size: 16px;
    top: 0;
    left: 0;
    right: 0;
    padding: 5px;
    text-align: center;
    z-index: 1;
}

.logo {
  margin-bottom: 65px;
}

input.def {
  border: none;
  border-bottom: 1px solid #ffffff;
  background: transparent;
  box-shadow: none;
  color: #fff;
  font-family: inherit;
  font-weight: 300;
  font-size: 2rem;
  display: block;
  padding: 5px 10px;
  width: 280px;
  max-width: 100%;
}

.lost-pw {
  cursor: pointer;
  font-size: 15px;
  width: calc(100% - 100px);
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: flex-end;
  position: absolute;
  bottom: 10px;
}

.lost-pw img {
  margin: 0 5px 0 0;
}

.left {
  text-align: left;
  padding: 10px 0 0 10px;
}

.stayloggedin {
  font-size: 1.6rem;
  margin: 0 auto;
}

::-webkit-input-placeholder {
  opacity: 0.8 !important;
  /* for older chrome versions. may no longer apply. */
}

:-moz-placeholder {
  /* Firefox 18- */
  opacity: 0.8 !important;
}

::-moz-placeholder {
  /* Firefox 19+ */
  opacity: 0.8 !important;
}

:-ms-input-placeholder {
  opacity: 0.8 !important;
}

#loginbutton {
  background: #fff;
  text-transform: uppercase;
  margin-top: 30px;
  color: #000;
  font-family: inherit;
  font-size: 2rem;
  line-height: 1em;
  padding: 10px 40px;
  border: none;
  transition: background 0.3s;
  display: block;
  width: 100%;
}

#loginbutton:hover {
  background: rgba(255, 255, 255, 0.8);
  cursor: pointer;
}

#form_send_passwd {
  background: #fff;
  color: #000;
  position: fixed;
  top: 40%;
  width: 280px;
  padding: 20px;
  left: 50%;
  margin: 0 0 0 -160px;
}

#form_send_passwd label {
  font-size: 1.6rem;
}

#form_send_passwd {
  text-align: center;
}

#form_send_passwd input {
  border: 1px solid #000;
  margin-top: 5px;
  color: #000;
}

button.send_passwd {
  background: #000;
  text-transform: uppercase;
  color: #fff;
  position: relative;
  padding: 10px 40px;
  width: 100%;
  font-size: 1.6rem;
  font-family: inherit;
  border: none;
  margin-top: 1em;
  cursor: pointer;
  transition: background 0.3s;
}

button.send_passwd:hover {
  background: rgba(0, 0, 0, 0.8);
}

#blackScreen {
  position: fixed;
  width: 100%;
  top: 0;
  bottom: 0;
  background: #000;
  background: rgba(0, 0, 0, .4);
}

#bg-img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-size: cover;
  background-position: center center;
}

.message {
  font-size: 1.6rem;
  margin: 0 0 45px 10px;
  text-align: left;
}

@media screen and (min-width:768px) {
  #login-wrapper {
    padding: 75px;
    right: 10%;
    left: auto;
    align-items: center;
  }
  .lost-pw {
    width: calc(100% - 150px);
  }
}
