:root {
  --color-school-red: #ed1c24;
}

body.login {
  background-image: url("/wp-content/plugins/events-app/assets/background/background-korfbal.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
  display: grid;
  place-items: center;
}

body.login .language-switcher {
  display: none;
}

#login {
  width: 100%;
  background: rgb(39, 85, 118, 0.7);
  padding: 0;
  margin: 0;
}

#login input {
  border-radius: 0;
  font-size: 16px;
}

#loginform,
#lostpasswordform {
  max-width: 400px;
  margin: auto;
  padding-left: 10px;
  padding-right: 10px;
  border: none;
  color: #fff;
  background: transparent;
}

#loginform::before {
  content: "Inloggen";
  font-size: 20px;
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
}

#loginform #wp-submit,
body.login .submit input {
  color: var(--color-school-red);
  background: #fff;
  border: #fff;
  border-radius: 0;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
}

#loginform #wp-submit:hover,
body.login .submit input:hover {
  color: #fff;
  background: var(--color-school-red);
  border: var(--color-school-red);
  transition: all 0.3s ease;
  cursor: pointer;
}

#nav::before {
  content: "";
  height: 2px;
  width: 95%;
  margin: 15px auto 30px auto;
  background: rgba(255, 255, 255, 0.65);
  display: block;
}

#nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  max-width: 400px;
  margin: 5px auto 30px auto !important;
}
#nav a,
#backtoblog a {
  max-width: 300px;
  display: grid;
  place-items: center;
  margin: auto;
  border: none;
  color: #fff !important;
  background: transparent;
}

#nav a {
  padding: 10px 15px;
  border: 1px solid #fff;
  font-weight: 600;
}
#nav a:hover {
  background: #fff;
  color: var(--color-school-red) !important;
}

#login_error,
body.login .notice {
  max-width: 400px;
  margin: auto !important;
}

.wp-login-logo a {
  background-image: url("/wp-content/plugins/events-app/assets/logo/logo.png") !important;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 184px !important;
  width: 100% !important;
}

.wp-login-logo {
  margin-left: 20%;
}

@media (min-width: 700px) {
  .wp-login-logo {
    margin-left: 220px;
  }
}
