* {
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "segoe ui", roboto, oxygen,
    ubuntu, cantarell, "fira sans", "droid sans", "helvetica neue", Arial,
    sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background: #435165;
}
.login {
  margin: 0 auto;
  margin-top: 20px;
  width: 90vw;
  background-color: #ffffff;
  box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
  height: 90vh;
  justify-content: space-between;
}
.login h1 {
  text-align: center;
  color: #5b6574;
  font-size: 2em;
  padding: 20px 0 20px 0;
  border-bottom: 1px solid #dee0e4;
}
.login a{
  align-items: center;
  text-align: center;
  font-size: 2em;
  padding: 20px 0 20px 0;
}

.logo-container {
  position: relative;
  height: 100px;
  margin-bottom: 20px;;
  display: flex;            /* Aktiviere Flexbox */
  justify-content: center;  /* Zentriert horizontal */
  align-items: center;      /* Zentriert vertikal */
  overflow: hidden;    
}


.login form {
  border-radius: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 20px;
}
.login form label {
  display: flex;
  float: left;
  justify-content: center;
  align-items: center;
  margin-left: 0.5%;
  width: 10%;
  height: 70px;
  background-color: #3274d6;
  color: #ffffff;
}
.login form input[type="password"], .login form input[type="email"],
.login form input[type="text"] {
  float: none;
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
  width: 75vw;
  max-width: 570px;
  height: 70px;
  border: 1px solid #dee0e4;
  margin-bottom: 20px;
  padding: 0 15px;
}
.login form button, input[type="submit"] {
  position: absolute;
  border-radius: 12px;
  width: 300px;
  padding: 20px;
  margin-top: 250px;
  background-color: #3274d6;
  border: 0;
  cursor: pointer;
  font-weight: bold;
  color: #ffffff;
  transition: background-color 0.2s;
}
.login form input[type="submit"]:hover {
  background-color: #2868c7;
  transition: background-color 0.2s;
}

.login form button {
  position: absolute;
  width: 300px;
  padding: 20px;
  border-radius: 12px;
  margin-top: 350px;
  background-color: #3274d6;
  border: 0;
  cursor: pointer;
  font-weight: bold;
  color: #ffffff;
  transition: background-color 0.2s;
}
.login form input[type="button"]:hover {
  background-color: #2868c7;
  transition: background-color 0.2s;
}

@media only screen and (min-width: 700px) {
  body {
    background: #435165;
  }
  .login {
    width: 70%;
    height: 450px !important;
    background-color: #ffffff;
    box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
    margin: 100px auto;
  }
  .login h1 {
    text-align: center;
    color: #5b6574;
    font-size: 24px;
    padding: 20px 0 20px 0;
    border-bottom: 1px solid #dee0e4;
  }
  .login form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 20px;
  }
  .login form label {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    background-color: #3274d6;
    color: #ffffff;
  }
  .login form input[type="password"],
  .login form input[type="email"],
  .login form input[type="text"] {
    width: 80%;
    height: 50px;
    border: 1px solid #dee0e4;
    margin-bottom: 20px;
    padding: 0 15px;
  }
  .login form input[type="submit"] {
    position: absolute;
    width: 30%;
    padding: 15px;
    margin-top: 155px;
    background-color: #3274d6;
    border: 0;
    cursor: pointer;
    font-weight: bold;
    color: #ffffff;
    transition: background-color 0.2s;
  }
  .login form input[type="submit"]:hover {
    background-color: #2868c7;
    transition: background-color 0.2s;
  }
  .login form button {
    position: absolute;
    width: 30%;
    padding: 15px;
    margin-top: 235px;
    background-color: #3274d6;
    border: 0;
    cursor: pointer;
    font-weight: bold;
    color: #ffffff;
    transition: background-color 0.2s;
  }
  .login form button:hover {
    background-color: #2868c7;
    transition: background-color 0.2s;
  }
}


@media only screen and (min-width: 1000px) {
  body {
    background: #435165;
  }
  .login {
    width: 40%;
    max-height: 450px;
    background-color: #ffffff;
    box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
    margin: 100px auto;
  }
  .login h1 {
    text-align: center;
    color: #5b6574;
    font-size: 24px;
    padding: 20px 0 20px 0;
    border-bottom: 1px solid #dee0e4;
  }
  .login form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 20px;
  }
  .login form label {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    background-color: #3274d6;
    color: #ffffff;
  }
  .login form input[type="password"],
  .login form input[type="email"],
  .login form input[type="text"] {
    width: 80%;
    max-width: 100%;
    height: 50px;
    border: 1px solid #dee0e4;
    margin-bottom: 20px;
    padding: 0 15px;
  }
  .login form input[type="submit"] {
    position: absolute;
    width: 20%;
    padding: 15px;
    margin-top: 155px;
    background-color: #3274d6;
    border: 0;
    cursor: pointer;
    font-weight: bold;
    color: #ffffff;
    transition: background-color 0.2s;
  }
  .login form input[type="submit"]:hover {
    background-color: #2868c7;
    transition: background-color 0.2s;
  }
  .login form button {
    position: absolute;
    width: 20%;
    padding: 15px;
    margin-top: 235px;
    background-color: #3274d6;
    border: 0;
    cursor: pointer;
    font-weight: bold;
    color: #ffffff;
    transition: background-color 0.2s;
  }
  .login form button:hover {
    background-color: #2868c7;
    transition: background-color 0.2s;
  }
}
