/* Algemene layout voor de content-sectie */
.content {
  display: block; /* was: none */
  padding: 2rem;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

/* Labels */
label {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 300;
  text-align: left;
}

/* Input-velden */
input[type="text"],
input[type="email"],
textarea {
  width: 80%;
  /*max-width: 400px;*/
  margin: 0 auto 1.2rem auto;
  padding: 0.8em 1.4em;
  font-size: 1.1em;
  border: none;
  border-radius: 1.2em;
  background: rgba(255, 255, 255, 0.3);
  color: white;
  text-align: center;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  font-family: inherit;
  box-sizing: border-box;
  display: block;
}

input.filled,
textarea.filled {
  background: rgba(255, 255, 255, 0.6); /* of een andere achtergrond */
  color: white; /* eventueel contrasterende kleur */
}

input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.8);
}

input:focus,
textarea:focus {
  outline: none;
  transform: scale(1.02);
  box-shadow: 2px 2px 6px rgba(255, 255, 255, 0.4);
}

/* Button-stijl */
button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  margin: 1rem auto 0 auto;
  width: 80%;
  /*max-width: 400px;*/
  background: rgba(255, 255, 255, 0.6);
  color: white;
  padding: 0.8em 1.4em;
  border-radius: 1.2em;
  font-size: 1.1em;
  font-weight: normal;
  text-decoration: none;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, background-color 0.3s ease, font-weight 0.2s ease;
  border: none;
  cursor: pointer;
	text-align: center;
}

button:hover {
  transform: scale(1.05);
  box-shadow: 2px 2px 5px rgba(255, 255, 255, 0.4);
  /*font-weight: bold;*/
}

/* Foutmelding en melding blijven zoals ze waren */
.foutmelding,
.melding {
  display: none;
  color: #FFD700;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 8px 12px;
  margin-bottom: 1rem;
  font-style: italic;
  position: relative;
  border-left: 3px solid transparent;
  text-align: left;
}

.foutmelding::before,
.melding::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, #FFD700, #FFD700, #FFD700);
  box-shadow: 2px 2px 5px rgba(255, 215, 0, 0.7);
}

.melding.show {
  display: block;
}
