@charset "utf-8";

body #loginform {
  display: flex;
  flex-direction: column;
  width: 80%;
  min-width: 200px;
  margin: 15vh 10%;
  background-color: rgba(77, 77, 77, 0.8);
  border-radius: 5%;
  padding: 40px;
  color: white;
}

/*Hintergrund*/
body {
  display: flex;
  justify-content: center;
  background-color: white;
  background-image: url(/img/login/login_horizontal.jpg);
  background-repeat: no-repeat;
  background-size: auto 100%;
  background-position: center top;
  background-attachment: fixed;
}

/*Login Überschrift*/
body div h1 {
  font-size: 6vh;
  width: 100%;
  text-align: center;
  margin: 0 auto;
  margin-top: 0px;
  margin-bottom: 10px;
}

body div h5 {
  text-align: center;
  margin-bottom: 30px;
  margin-top: 0;
}
/*Eingabeelemente*/
body form {
  display: flex;
  flex-direction: column;
  align-content: flex-start;
}

#label {
  font-size: 2vh;
  margin: 0;
}

/*Textboxen*/
body form input[type="text"],
input[type="password"] {
  margin-bottom: 10px;
  margin-top: 10px;
  height: 5vh;
  border-radius: 0;
  border: 0px;
  color: white;
  background-color: rgba(75, 75, 75, 0);
  border-bottom: 2px solid;
  border-bottom-color: rgba(50, 50, 50, 0.6);
  font-size: 4vh;
}
/*Maus über Textboxen*/
body form input:hover {
  background-color: rgba(75, 75, 75, 0.5);
}

/*Textbox ausgewählt*/
body form input:focus {
  background-color: rgba(75, 75, 75, 0.5);
}

body form #fehler {
  color: rgba(220, 0, 0, 1);
  font-size: 3vh;
  margin-top: 0;
  padding-top: 0;
}

/*Login Knopf*/
body #login {
  width: 60%;
  height: 50px;
  align-self: center;
  left: 20%;
  font-size: 100%;
  font-weight: bold;
  background-color: #0ea03a;
  border: 1px solid;
  border-color: rgba(0, 0, 0, 0);
  color: white;
  font-size: 2vh;
}

/*Maus über Login Knopf*/
body #login:hover {
  border-color: rgba(75, 75, 75, 0.9);
}

@media screen and (min-width: 768px) {
  /*Design grauer Kasten*/
  body #loginform {
    width: 35%;
    height: 80%;
    min-width: 200px;
    margin: 15vh 30%;
    background-color: rgba(77, 77, 77, 0.8);
    border-radius: 5%;
    color: white;
  }

  body form input {
    margin-top: 20px;
    margin-bottom: 20px;
  }

  body {
    background-color: white;
    background-image: url(/img/login/login.jpg);
    background-repeat: repeat;
    background-size: 100% auto;
    background-position: center top;
    background-attachment: fixed;
  }
}

@media screen and (min-width: 1300px) {
  /*Design grauer Kasten*/
  body #loginform {
    width: 25%;
    height: 80%;
    min-width: 200px;
    margin: 15vh 30%;
    background-color: rgba(77, 77, 77, 0.8);
    border-radius: 5%;
    color: white;
  }

  body form input {
    margin-top: 20px;
    margin-bottom: 20px;
  }

  body {
    background-color: white;
    background-image: url(/img/login/login.jpg);
    background-repeat: repeat;
    background-size: 100% auto;
    background-position: center top;
    background-attachment: fixed;
  }
}
