:root {
  --main-bg-color: rgb(250, 242, 233);
  --color-ergo: rgb(170, 1, 92);
  --color-fysio: rgb(96, 118, 111);
  --color-logo: rgb(150, 192, 68);
  --color-dietist: rgb(247, 165, 22);
  --color-logo-rondje: rgb(214, 156, 140);
  --bg-1: #ced4c4;
  --bg-2: #D69C8C;
  --white: rgb(255, 255, 255);
  --black: rgb(0, 0, 0);
  --animation-speed: 1000ms;
  --border-radius: 6px;
}
html {
  scroll-behavior: smooth;
}
html,
body,
section {
  min-height: 100vh;
  margin: 0;
  position: relative;
}
body {
  overflow-x: hidden;
}
.auto {
  image-rendering: auto;
}

.pixelated {
  image-rendering: pixelated;
}
.crisp-edges {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}
section.grid-1-2x2 {
  display: grid;
  grid-template-columns: 50% 25% 25%;
  grid-template-rows: 1fr 1fr;
  gap: 0px 0px;
  grid-template-areas:
    "logo ergo fysio"
    "logo logopedie dietist";
}
section.grid-1-2x2 > .logo {
  grid-area: logo;
}
section.grid-1-2x2.welcome > .logo {
  background-color: var(--main-bg-color);
}
section.grid-1-2x2 > .ergo {
  grid-area: ergo;
}
section.grid-1-2x2 > .fysio {
  grid-area: fysio;
}
section.grid-1-2x2 > .logopedie {
  grid-area: logopedie;
}
section.grid-1-2x2 > .dietist {
  grid-area: dietist;
}
section.welcome > .ergo {
  background-color: var(--color-ergo);
}
section.welcome > .fysio {
  background-color: var(--color-fysio);
}
section.welcome > .logopedie {
  background-color: var(--color-logo);
}
section.welcome > .dietist {
  background-color: var(--color-dietist);
}
header {
  position: fixed;
  top: 0;
  width: 50%;
  height: 100px;
  display: flex;
  align-items: center;
  z-index: 1;
}
#menu a.aanmelden {
  display: none;
}
header {
  transition:
    background-color 1s ease-in-out,
    backdrop-filter 1s ease-in-out;
}
header.fixed {
  width: 100%;
  background-color: rgba(255,255,255,0.5);
  flex-direction: row-reverse;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
header > #menu a {
  color: black;
  font-family: Helvetica;
  padding: 5px;
  margin: 5px;
  text-decoration: none;
  font-family: "Roboto", sans-serif;
}
header a.logo {
  opacity: 0;
  width: 80px;
  height: 100px;
  order: 1;
  margin-right: auto;
  background-image: url(/images/logo-eetteam-nijverdal.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-left: 30px;
  outline: none;  
}
header a.aanmelden {
  background-color: var(--black);
  color: #ffffff;
  font-family: "Mali", cursive;
  padding: 15px 30px;
  margin: 0 40px;
  line-height: 20px;
  font-size: 20px;
  text-decoration: none;
  display: inline-block;
  height: max-content;
  border-radius: 40px;
}
header.fixed a.logo {
  display: inherit;
  opacity: 1;
  transition: opacity 0.5s linear;
}
section.grid-1-2x2:not(.text) > div {
  display: flex;
  justify-content: center;
  align-items: center;
}
section.grid-1-2x2.text {
  padding: 0;
}
section.grid-1-2x2.text > .logo {
  padding: 10px 30px;
}

section.grid-1-2x2 > div > .logo,
section.grid-1-2x2 > div.card-container .logo {
  filter: brightness(0) invert(1);
  width: calc(100% - 40px);
  margin: 0 20px;
  height: 158px;
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 1;
}
.card {
  width: 100%;
  height: 100%;
  position: relative;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
}
.welcome .card-container {
  -webkit-perspective: 1000;
  -moz-perspective: 1000;
  -o-perspective: 1000;
  perspective: 1000;
}
.het-team .card-container {
  -webkit-perspective: 1001;
  -moz-perspective: 1001;
  -o-perspective: 1001;
  perspective: 1001;
}
.card-container {
  position: relative;
  width: 100%;
  height: 100%;
}
.front,
.back {
  width: 100%;
  height: 100%;
  position: absolute;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transition: -webkit-transform var(--animation-speed);
  transition: -webkit-transform var(--animation-speed);
  transition: transform var(--animation-speed);
  transition: transform var(--animation-speed),
    -webkit-transform var(--animation-speed);
  -webkit-transition-timing-function: ease-in-out;
  transition-timing-function: ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ergo .card .front,
.ergo .card .back {
  -webkit-transform-origin: right bottom;
  transform-origin: right bottom;
}
.fysio .card .front,
.fysio .card .back {
  -webkit-transform-origin: left bottom;
  transform-origin: left bottom;
}
.logopedie .card .front,
.logopedie .card .back {
  -webkit-transform-origin: right top;
  transform-origin: right top;
}
.dietist .card .front,
.dietist .card .back {
  -webkit-transform-origin: left top;
  transform-origin: left top;
}
.card .front {
  -webkit-transform: rotateX(0deg);
  transform: rotateX(0deg);
}
.card .back {
  background-color: rgba(0, 0, 0, 0.25);
  -webkit-transform: rotateX(180deg);
  transform: rotateX(180deg);
}
.card:hover .front {
  -webkit-transform: rotateX(-180deg);
  transform: rotateX(-180deg);
}
.card:hover .back {
  -webkit-transform: rotateX(0deg);
  transform: rotateX(0deg);
}
.ergo .logo {
  background-image: url(/images/ergotherapie-salland-logo.png);
}
.logopedie .logo {
  background-image: url(/images/logopediepraktijk-reede-logo.png);
}
.fysio .logo {
  background-image: url(/images/fysiocentrum-nijverdal-logo.png);
}
.dietist .logo {
  background-image: url(/images/logo-aantafel.png);
}

section.bg1 {
  background-color: var(--bg-1);
}
p {
  line-height: 22px;
}
#menu-check {
  display: none;
}
section.text {
  font-family: "Roboto", sans-serif;
  padding: 10px 30px 30px;
}
section.text h1 {
  font-family: "Mali", cursive;
  padding-top: 100px;
}
section > ul {
  padding-left: 16px;
  list-style: square;
}
#menu-check:checked ~ #menu {
  transform: translateX(0rem);
}
#burger {
  display: none;
}
#menu-check:checked ~ #burger > div {
  background-color: #fff;
}

#menu-check:checked ~ #burger > div:nth-child(1) {
  transform: translateY(15px) rotate(45deg);
}
#menu-check:checked ~ #burger > div:nth-child(2) {
  opacity: 0;
}
#menu-check:checked ~ #burger > div:nth-child(3) {
  transform: translateY(-15px) rotate(-45deg);
}
.silhoutte {
  background-color: var(--bg-2);
  width: 77%;
  aspect-ratio: 1/1;
  border-radius: 100%;
}
section.het-team > div:not(.logo) {
  display: flex;
  justify-content: center;
  align-items: center;
}
section.het-team div.ergo .silhoutte,
section.het-team div.logopedie .silhoutte {
  margin-left: 20px;
  margin-right: 10px;
}
section.het-team div.fysio .silhoutte,
section.het-team div.dietist .silhoutte {
  margin-left: 10px;
  margin-right: 20px;
}
button, button:hover, button:focus, button:active,
a, a:hover, a:focus, a:active {
    outline: 0;
}
form .input-wrapper {
  --padding-h: 16px;
  --padding-v: 10px;
  --focus-color: black;
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}
form {
  margin: 0 -15px;
  padding: 10px 0;

}
form .input-wrapper > span {
  position: absolute;
  right: 0;
  font-size: 10px;
  color: red;
  padding: 16px;
  transition: all 0.2s ease-in-out;
}
form input, 
form textarea {
  padding: var(--padding-h) calc(var(--padding-v) + 3px);
  border: 2px solid var(--bg-2);
  outline: none;
  border-radius: var(--border-radius);
  width: 100%;
  font-size: 16px;
  font-family: "Roboto", sans-serif;
}
form .placeholder {
  position: absolute;
  background-color: white;
  color: gray;
  left: calc(var(--padding-h) - 4px);
  padding: 0px 4px;
  transition: all 0.2s ease-in;
  pointer-events: none;
  top: calc(var(--padding-h) + 2px);
}

form input:is(:focus), 
form textarea:is(:focus) {
  border: 2px solid var(--focus-color);
}
form input:is(:focus, :valid:required) + .placeholder,
form textarea:is(:focus, :valid:required) + .placeholder,
form .input-wrapper.not-empty input + .placeholder,
form .input-wrapper.not-empty textarea + .placeholder {
  transform: translatey(calc(-1 * var(--padding-h) - 12px));
  font-size: 14px;
  color: var(--focus-color);
}
form input:is(:focus, :valid:required) + .placeholder + span,
form textarea:is(:focus, :valid:required) + .placeholder + span
{
  opacity: 0;
}
form input[type="file"] + .placeholder {
  width: 165px;
}
form input[type="file"]:focus + .placeholder {
  width: auto;
}
form input::file-selector-button {
  font-weight: normal;
  color: white;
  padding:  6px 10px;
  border-width: 0px;
  border-radius: 3px;
  float: right;
  margin: -5px;
  font-size: 12px;
  background-color: var(--bg-2);
  font-family: "Mali", cursive;
}
form textarea {
  min-height: 4em;
}
form button[type="submit"] {
  background-color: var(--bg-2);
  color: var(--white);
  font-family: "Mali", cursive;
  padding: 18px 10px;
  width: 100%;
  border-width: 0;
  border-radius: var(--border-radius);
  transition: all 0.2s ease-in;
  font-size: 16px;
}
form button[type="submit"]:is(:focus, :hover) {
  background-color: var(--black);
}
section.het-team {
  grid-template-rows: max-content 50vw max-content 50vw;
  grid-template-areas:
    "logo ergo fysio"
    "logo voorstellen voorstellen"
    "logo logopedie dietist";
  grid-template-rows: 1fr max-content 1fr;
}
body.procedure div.silhoutte {
  position: absolute;
}
@media screen and (max-device-width: 480px) {
  section.grid-1-2x2 > div > .logo,
  section.grid-1-2x2 > div.card-container .logo {
    background-size: 75%;
  }
  section.doelgroep {
    min-height: 100%;
    height: auto;
  }
  header a.logo {
    position: absolute;
    left: -200px;
  }
  header.fixed a.logo {
    position: relative;
    left: 0;
  }
  header.fixed > a.aanmelden {
    display: none;
  }
  #menu a.aanmelden {
    display: inline-block;
    width: max-content;
    margin-left: 16px;
    margin-top: 30px;
    padding: 15px 20px;
  }
  section.grid-1-2x2 {
    grid-template-columns: 50% 50%;
    grid-template-rows: 60% 20% 20%;
    grid-template-areas:
      "logo logo"
      "ergo fysio"
      "logopedie dietist";
  }
  section.het-team {
    grid-template-rows: max-content 50vw max-content 50vw;
    grid-template-areas:
      "logo logo"
      "ergo fysio"
      "voorstellen voorstellen"
      "logopedie dietist";
    height: auto;
    min-height: 100%;
  }
  section.het-team .partner.open:after {
    content: ''
  }
  section.grid-1-2x2 > div > .logo {
    height: 100px;
  }
  section.grid-1-2x2 .logo > img {
    max-height: 30%;
  }
  header > a.aanmelden {
    margin: 0 20px;
  }
  header.fixed a.aanmelden {
    order: 0;
    margin-top: 40px!important;
    padding: 15px 20px!important;
  }
  header {
    width: 100%;
    justify-content: space-between;
    flex-direction: row;
  }
  #burger {
    cursor: pointer;
    width: 2rem;
    height: 2rem;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    margin: 20px;
  }

  #burger > div {
    height: 2px;
    background-color: #000;
    transition: 0.5s;
    z-index: 999;
  }
  #menu {
    background: var(--color-logo-rondje);
    width: 100%;
    height: 100vh;
    position: fixed;
    right: 0;
    transition-timing-function: cubic-bezier(10, 2, 3, 1);
    transform: translateX(50rem);
    top: 0;
    z-index: 2;
    transition: 0.5s;
    padding-top: 86px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: stretch;
    align-content: stretch;
  }
  header > #menu a {
    width: 100%;
    color: var(--white);
    display: inline-block;
    font-size: 24px;
    border-bottom: 1px dotted var(--white);
    margin: 0;
    padding: 10px 40px;
  }
}

@media screen and (min-device-width: 481px) {
  form .input-wrapper {
  }
}