@charset "UTF-8";

*{
  box-sizing: border-box;
}

html,
body{
  margin: 0;
  min-height: 100%;
}

body{
  min-height: 100vh;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 24px;

  background: #e7e7df;
  color: #0b1430;

  font-family: "Inter", Arial, Helvetica, sans-serif;
}

/* Login-Kasten */

.loginBox{
  width: 100%;
  max-width: 420px;

  padding: 36px 40px;

  background: #fff;
  border-top: 6px solid #bc1413;

  box-shadow: 0 10px 32px rgba(11,20,48,.14);
}

/* Überschrift */

.loginBox h1{
  margin: 0 0 28px;

  color: #0b1430;

  font-size: 28px;
  font-weight: 900;
  line-height: 1.1;
}

/* Fehlermeldung */

.loginBox > p{
  margin: 0 0 18px;
}

/* Formular */

.loginBox form{
  width: 100%;
  margin: 0;
  padding: 0;

  background: transparent;
  box-shadow: none;
}

/* Feld-Abstände */

.loginBox form p{
  margin: 0 0 18px;

  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
}

/* Eingabefelder */

.loginBox input{
  display: block;

  width: 100%;
  max-width: 100%;

  margin-top: 6px;
  padding: 12px 14px;

  border: 1px solid #b9bdc7;
  background: #fff;

  color: #0b1430;

  font: inherit;
  font-size: 16px;
}

.loginBox input:focus{
  border-color: #0b1430;

  outline: 3px solid #f6f92e;
  outline-offset: 1px;
}

/* Button */

.loginBox button{
  width: 100%;

  margin-top: 4px;
  padding: 13px 18px;

  border: 0;

  background: #111a3c;
  color: #fff;

  font: inherit;
  font-size: 15px;
  font-weight: 900;

  cursor: pointer;
}

.loginBox button:hover{
  background: #bc1413;
}

.loginBox button:focus-visible{
  outline: 3px solid #f6f92e;
  outline-offset: 3px;
}

/* Mobil */

@media (max-width: 520px){

  body{
    padding: 16px;
  }

  .loginBox{
    padding: 28px 22px;
  }

  .loginBox h1{
    font-size: 24px;
  }
}