html, body {
  height: 100%;
  width: 100%;
  color: #3f3f3f;
  margin: 0;
  padding: 0;
  font-family: "Segoe UI","Roboto","Oxygen","Ubuntu",
               "Cantarell","Fira Sans","Droid Sans",
               "Helvetica Neue",sans-serif;
}

.wrapper {
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f6f6f6;
}

.dialog {
  width: 360px;
  border-radius: 10px;
  margin: 0 15px;
  color: #3f3f3f;
  background: #fff;
  overflow: hidden;
  padding: 50px;
  box-shadow: 0 5px 10px 0 rgba(0,0,0,.1);
}

.dialog form {
  width: 100%;
  margin: 0;
  padding: 0;
}

.logo-wrapper {
  margin-bottom: 50px;
  text-align: center;
}

.logo {
  width: 90%;
  max-width: 250px;
}

.form-group {
  margin-bottom: 1em;
}

.btn-wrapper {
  width: 100%;
  display: block;
  position: relative;
  z-index: 1;
  border-radius: 25px;
  margin: 1.6em auto 0;
  background: #35495F;
}

.btn-wrapper:hover {
  background: #5B8B95;
}

.alert {
  display: none;
  color: #D90B00;
  background-color: #f8d7da;
  border-color: #f5c2c7;
  position: relative;
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: .25rem;
}

.alert-title {
  font-size: 1.5rem;
  margin-top: 0;
  margin-bottom: .5rem;
  font-weight: 500;
  line-height: 1.2;
}

.show {
  display: block;
}

h1 {
  text-align: center;
  font-size: 1.7rem;
}

input {
  display: block;
  padding: .375rem .75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #212529;
  border: 1px solid #d9d9d9;
  border-radius: .25rem;
  transition: border-color .15s ease-in-out,
              box-shadow .15s ease-in-out;
  box-sizing: border-box;
  width: 100%;
}

label {
  margin-bottom: .5rem;
  display: inline-block;
  font-size: 16px;
}

button {
  font-size: 16px;
  color: #fff;
  line-height: 1.2;
  text-transform: uppercase;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  width: 100%;
  height: 50px;
  outline: none !important;
  border: none;
  background: 0 0;
}

button:hover {
  cursor: pointer;
}

/* Passwortfeld */

.password-wrapper {
  position: relative;
}

.password-wrapper input {
  padding-right: 45px;
}

.toggle-password {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #889198;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .2s ease;
}

.toggle-password:hover {
  color: #35495F;
}

.toggle-password svg {
  display: block;
}

@media (max-width: 500px) {

  .dialog {
    margin-top: -100px;
  }

}