body {
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.85),
      rgba(255, 255, 255, 0.85)
    ),
    url("../../interactiveWallLogo.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover,
    /* overlay (witte laag) vult gewoon ‘cover’, geen effect */ 40vw; /* logo op 80% van viewport‑breedte, aspect-ratio in stand */
  background-color: #f5f5f5;
  background-attachment: fixed;
  color: #333;
}

/* Feedback sectie */
main {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 50px 20px;
}

h1 {
  font-size: 36px;
  color: #0d47a1;
  margin-bottom: 15px;
}

.feedback-p {
  font-size: 18px;
  color: #555;
  margin-bottom: 30px;
}

/* Feedbackformulier */
.feedback-form {
  background: #ffffff;
  padding: 30px;
  margin-top: 10px;
  border-radius: 10px;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  text-align: left;
}

.feedback-form label {
  font-size: 18px;
  font-weight: bold;
  color: #0d47a1;
  display: block;
  margin-bottom: 8px; /* Extra ruimte onder label */
  margin-top: 15px; /* Meer ruimte boven de inputvelden */
}

.feedback-form input,
.feedback-form textarea {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border-radius: 5px;
  border: 2px solid #90caf9;
  background-color: #e3f2fd;
  color: #333;
  outline: none;
  transition: border-color 0.3s ease-in-out;
}

.feedback-form input:focus,
.feedback-form textarea:focus {
  border-color: #0d47a1;
}

.feedback-form textarea {
  min-height: 120px;
  resize: vertical;
}

/* Verzendknop */
.submit-btn {
  width: 100%;
  padding: 12px;
  font-size: 18px;
  font-weight: bold;
  background: linear-gradient(135deg, #42a5f5, #0d47a1);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin-top: 20px; /* Extra marge boven de knop */
}

.submit-btn:hover {
  transform: scale(1.05);
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
}

.modal {
  display: none; /* Standaard verborgen */
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  justify-content: center;
  align-items: center;
}

/* Modal inhoud */
.modal-content {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 10px;
  width: 80%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  animation: slideIn 0.3s ease-in-out;
}

@keyframes slideIn {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-content #modalMessage {
  font-size: 18px;
  color: #0d47a1;
  margin-top: 10px;
}

/* Sluitknop */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: black;
}

/* Responsive styling */
@media (max-width: 768px) {
  .feedback-form {
    padding: 20px;
  }

  h1 {
    font-size: 28px;
  }

  p {
    font-size: 16px;
  }

  .feedback-form label {
    font-size: 16px;
  }

  .feedback-form input,
  .feedback-form textarea {
    font-size: 14px;
  }

  .submit-btn {
    font-size: 16px;
    padding: 10px;
  }
}

/* Algemeen voor meldingen */
.alert {
  padding: 15px;
  margin: 20px 0;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
}

.alert-success {
  background-color: #28a745; /* Groene achtergrond voor succes */
  color: white;
}

.alert-failed {
  background-color: #dc3545; /* Rode achtergrond voor fout */
  color: white;
}
