/* Zorg dat de hele pagina geen scroll vertoont */
html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
}

/* Achtergrond */
body {
  font-family: 'Segoe UI', sans-serif;
  background: url('../Images/wallpaperbetter.com_2100x1313.jpg') no-repeat center center fixed;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  padding-top: 100px;
  /* ruimte voor navbar */
  box-sizing: border-box;
}

/* Navigatiebalk */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 20px;
  background-color: rgba(0, 0, 0, 0.6);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.navbar-left .logo {
  height: 80px;
  width: auto;
  margin-left: 20px;
}

.navbar-menu {
  list-style: none;
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
}

.navbar-menu li {
  display: inline;
}

.navbar-menu a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 20px;
  transition: color 0.3s ease;
  margin-right: 20px;
}

.navbar-menu a:hover {
  color: #4b00e0;
}

/* Login container */
.login-container {
  background: rgba(255, 255, 255, 0.95);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.759);
  width: 350px;
  text-align: center;
  max-height: calc(100vh - 120px);
  /* voorkomt dat het buiten het scherm valt */
  overflow-y: auto;
}

.login-container h2 {
  margin-bottom: 20px;
  color: #000;
}

.login-container input[type="text"],
.login-container input[type="email"],
.login-container input[type="password"] {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border-radius: 4px;
  border: 1px solid #ccc;
}

.login-container label {
  display: flex;
  align-items: center;
  font-size: 14px;
  margin-top: 10px;
}

.login-container input[type="checkbox"] {
  margin-right: px;
}

.login-container button {
  width: 100%;
  padding: 10px;
  margin-top: 15px;
  background-color: #1219a2;
  border: none;
  border-radius: 4px;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
}

.login-container .links {
  margin-top: 15px;
  font-size: 14px;
  color: #666;
}

.login-container .links a {
  color: #666;
  text-decoration: none;
}

.login-container .links a:hover {
  text-decoration: underline;
}

.back-button {
  margin-top: 20px;
}

.back-button a {
  color: #007bff;
  text-decoration: none;
  font-size: 14px;
}

.back-button a:hover {
  text-decoration: underline;
}

.error {
  background-color: #ffdddd;
  color: #d8000c;
  border: 1px solid #d8000c;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 5px;
  width: 100%;
  max-width: 400px;
  text-align: center;
}

.register-link {
  text-align: center;
  margin-top: 15px;
  font-size: 14px;
}

.register-link a {
  color: #4b00e0;
  text-decoration: none;
  font-weight: bold;
}

.register-link a:hover {
  text-decoration: underline;
}