*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg-color: oklch(36.383% 0.10576 250.989);
  --txt-color: oklch(100% 0.00011 271.152);
  --txt-col2: oklch(53.885% 0.11329 246.724);
  font-family: "Montserrat", sans-serif;
}


/* form-fields */
/* zie demo bestanden bij de theorie voor meer CSS ;) */
input:not([type=submit]),
textarea,
fieldset {
  display: block;
  width: 100%;
  max-width: 40rem;
  padding: .75em;
  border: 1px solid oklch(51.028% 0.00006 271.152);
  border-radius: .3rem;
}

label,
legend,
input[type=submit] {
  margin-top: 3rem;
}

input[type=submit] {
  padding: .5em 2em;
}

label,
legend {
  display: block;
  margin-bottom: .2em;
  font-weight: bold;
}

.message {
  font-size: 1.4rem;
}

.message.error {
  color: oklch(49.784% 0.19805 29.009);
}

/* thanks */
body {
  height: 100%;
  margin: 0;
  padding: 0;

  h1 {
    color: var(--txt-col2);
  }

 
}

.mybutten a {
  display: inline-block;
  background-color: var(--bg-color);
  color: var(--txt-color);
  transition: background-color 0.3s ease ease-in-out 0.3s, transform 0.3s ease-in-out;
  padding: 0.5rem 1rem;
  text-decoration: none;
  border-radius: 5px;

}

.mybutten a:hover {
  background-color: var(--txt-col2);
  transform: scale(1.05);
}

/*------------------------------------------------------*/


.container {
  display: flex;
  justify-content: center;
  align-items: center;
}

form {
  width: 100%;
  max-width: 650px;
  padding: 2rem;
  background-color: oklch(100% 0.00011 271.152);
  box-shadow: 0 0 10px oklab(0% 0 0 / 0.1);
  border-radius: 8px;
}

.input-text,
textarea {
  text-align: left;
  width: 100%;
  padding: 0.5rem;

}