@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans.woff") format("woff");
  font-weight: 100 1000;
  font-display: swap;
}
body.login {
  --sg-brand: #42304f;
  box-sizing: border-box;
  min-height: 100%;
  color: #30292e;
  background: #faf8f1 url("../img/papiervezel.svg");
  font: 1rem/1.55 "DM Sans", Arial, sans-serif;
}
.login #login {
  box-sizing: border-box;
  width: min(100% - 2rem, 27rem);
  padding-top: clamp(24px, 7vh, 95px);
}
.login h1 a {
  width: min(270px, 90%);
  height: 60px;
  max-height: 20vh;
  margin: 0 auto 1.5rem;
  background-size: contain;
  background-position: center;
}
body.login #login > form {
  box-sizing: border-box;
  margin: 1rem 0;
  padding: clamp(17px, 4vw, 32px);
  background: #fffcf5;
  border: 1px solid #d9d1c3;
  border-top: 5px solid #d8c5a7;
  border-radius: 8px;
  box-shadow: 0 4px 0 -2px #faf8f1, 0 5px 0 -2px #d9d1c3;
}
body.login form label {
  color: #342739;
  font-size: 1rem;
  font-weight: 650;
}
body.login .input, body.login input:is([type=text],[type=password],[type=email]) {
  min-height: 48px;
  border-color: #968d86;
  border-radius: 3px;
  background: #fffefa;
  color: #30292e;
}
body.login .button-primary {
  min-height: 46px;
  padding-inline: 1.2rem;
  border: 1px solid var(--sg-brand);
  border-radius: 3px;
  color: #fff;
  background: var(--sg-brand);
  font: 660 1rem/1.35 "DM Sans", Arial, sans-serif;
}
body.login .button-primary:hover { background: #342739; color: #fff; }
body.login a, body.login #nav a, body.login #backtoblog a {
  color: var(--sg-brand);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
body.login #nav, body.login #backtoblog { margin: .75rem 0; padding: 0; }
body.login :focus-visible { outline: 3px solid #775181; outline-offset: 3px; }
body.login :is(.message,.notice) { background: #f2f4eb; border-inline-start-color: #7e9069; }
body.login .notice-error, body.login #login_error { background: #fbefeb; border-inline-start-color: #ac5c64; }
@media (min-width: 59em) {
  body.login { padding-right: 46%; }
  body.login::before {
    content: "";
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: 46%;
    pointer-events: none;
    background: #e6d7bd url("../img/schep-en-papier.webp") center / cover no-repeat;
    border-left: 1px solid #d9d1c3;
  }
}
body.login .wp-pwd .wp-hide-pw, body.login .button-secondary { color: var(--sg-brand); }
body.login .language-switcher .button {
  color: var(--sg-brand);
  background: #fffcf5;
  border: 1px solid #968d86;
  border-radius: 3px;
  min-height: 42px;
  font-family: inherit;
  font-weight: 650;
}
body.login input:focus, body.login select:focus {
  border-color: var(--sg-brand);
  box-shadow: 0 0 0 1px var(--sg-brand);
}
