@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400&display=swap");

/* general */

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

img {
  width: 100%;
  display: block;
  border-radius: 5px;
}

body {
  font-family: "Roboto", sans-serif;
}

a {
  color: #f4f4f4;
  text-decoration: none;
  text-align: center;
}

a[href^="tel"] {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  text-align: center;
}

h1 {
  font-size: 3.5rem;
  letter-spacing: 4px;
}

h2 {
  font-size: 3rem;
  letter-spacing: 2px;
  margin-block: 3rem;
}

h3 {
  font-size: 1.25rem;
  letter-spacing: 2px;
}

p {
  font-size: 1.125rem;
  line-height: 1.5;
  max-width: 75ch;
}

.container {
  width: clamp(300px, 90%, 1250px);
  margin-inline: auto;
}

section {
  padding-block: 3rem 2rem;
}

@media (max-width: 650px) {
  h1 {
    font-size: 1.75rem;
    letter-spacing: 1px;
  }

  h2 {
    font-size: 1.5rem;
    letter-spacing: 1px;
  }

  p {
    font-size: 1rem;
  }
}

/* navigatie */

nav {
  background-color: #221e45;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 99;
}

nav ul {
  width: 100%;
  list-style: none;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

nav li {
  height: 60px;
}

nav a {
  height: 100%;
  padding: 0 30px;
  text-decoration: none;
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  color: #f4f4f4;
}

.sidebar {
  height: 100vh;
  width: 100%;
  background-color: #221e45;
  
  box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
  list-style: none;
  display: none;
  text-align: center;
}
.sidebar li {
  width: 100%;
}

.links {
  margin-right: auto;
}

.sidebar a {
  width: 100%;
}
.menu-button {
  display: none;
  cursor: pointer;
}

@media (max-width: 800px) {
  .hideOnMobile {
    display: none;
  }
  .menu-button {
    display: block;
  }

  nav a {
    font-size: 1rem;
  }
}

/* end navigatie */

/* home section */

.home {
  background: linear-gradient(#8aa4b1, #ce975f);
}

.home-title {
  margin-block: 2.5rem;
  color: #221e45;
}

.home-img {
  width: 65%;
  margin: 0 auto 0.5rem;
}

.home-p {
  font-size: 1.5rem;
  text-align: center;
  line-height: 1.65;
}

.home-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "boreval logo bovital"
    "boreval-adres logo bovital-adres";
}

.home-boreval {
  grid-area: boreval;
}

.home-bovital {
  grid-area: bovital;
}

.home-logo {
  grid-area: logo;
  width: 65%;
  justify-self: center;
}

.home-boreval-adres {
  color: #221e45;
  grid-area: boreval-adres;
  align-self: end;
}

.home-bovital-adres {
  color: #221e45;
  grid-area: bovital-adres;
  align-self: end;
}

@media (max-width: 850px) {
  .home-p {
    font-size: 1rem;
  }

  .home-logo {
    width: 45%;
  }
}

@media (max-width: 650px) {
  .home-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "logo"
      "boreval"
      "boreval-adres"
      "bovital"
      "bovital-adres";
    gap: 0.5rem;
  }

  .home-boreval-adres {
    margin-block-end: 1rem;
  }

  .home-logo {
    width: 10%;
  }

  .home-img {
    width: 30%;
  }

  .home-p {
    line-height: 1.35;
  }
}

/* end home*/

/* koorts section */

.koorts {
  background: #ce975f;
  padding-block-end: 0;
}

.koorts-masker,
.koorts-gel {
  width: 10%;
  align-self: center;
}

.koorts-flex {
  display: flex;
  justify-content: space-around;
}

.koorts-title {
  align-self: center;
}

.koorts-tekst {
  margin-inline: auto;
  padding-block: 1rem;
}

@media (max-width: 850px) {
  .koorts-title {
    font-size: 1.5rem;
  }
}

/* end koorts */

/* praktijk section */

.praktijk {
  background: linear-gradient(#ce975f, #8aa4b1, #ce975f);
}

.praktijk-tekst-intro {
  margin: 0 auto 2.5rem;
}

.praktijk-grid {
  display: grid;
  grid-template-columns: 3fr 1fr 3fr;
  grid-template-areas:
    "revalfoto revaltekst revaltekst"
    "vitaltekst vitaltekst vitalfoto";
  gap: 1.5rem;
}

.praktijk-boreval-tekst {
  grid-area: revaltekst;
  align-self: start;
}

.praktijk-boreval-tekst span,
.praktijk-bovital-tekst span {
  font-weight: 700;
}

.praktijk-boreval-foto {
  grid-area: revalfoto;
}

.praktijk-bovital-tekst {
  grid-area: vitaltekst;
  align-self: start;
}

.praktijk-bovital-foto {
  grid-area: vitalfoto;
}

.praktijk-taal-grid {
  margin-block-start: 2rem;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  background-color: rgba(51, 51, 51, 0.1);
  border-radius: 16px;
  padding-block: 2rem;
}

.praktijk-logo {
  width: 35%;
  justify-self: center;
  align-self: center;
}

.praktijk-taal {
  text-align: center;
  font-weight: 700;
  align-self: end;
}

@media (max-width: 900px) {
  .praktijk-grid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-areas:
      ". revalfoto revalfoto ."
      "revaltekst revaltekst revaltekst revaltekst"
      ". vitalfoto vitalfoto ."
      "vitaltekst vitaltekst vitaltekst vitaltekst";
  }
}

@media (max-width: 650px) {
  .praktijk-grid {
    grid-template-columns: 1fr 2fr 2fr 1fr;
  }

  .praktijk-taal-grid {
    grid-template-columns: 1fr;
  }

  .praktijk-logo {
    display: none;
  }
}

/* end praktijk */

/* team section */

.team {
  background: linear-gradient(#ce975f, #f4f4f4 20%);
}

.team-lid-naam {
  margin: 0.5rem 0 0;
}

.team-intro {
  margin: 0 auto 3rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  row-gap: 3rem;
  column-gap: 2rem;
  padding-block-end: 2rem;
}

.team-lid {
  position: relative;
  background-color: #333;
  border-radius: 5px;
}

.team-lid-foto {
  display: block;
  width: 100%;
  aspect-ratio: 30/35;
  object-fit: cover;
  object-position: center;
  border-radius: 5px 5px 0 0;
}

.team-lid-tekst {
  background-color: #333;
  color: #f4f4f4;
  text-align: center;
  padding-bottom: 0.5rem;
  border-radius: 0 0 5px 5px;
}

.team-lid-kort {
  padding: 0.5rem 0.5rem 3rem;
}

.team-lid-lang {
  position: absolute;
  inset: auto 0 3rem;
  text-align: left;
  margin: 0;
  padding: 2rem 0.5rem 0.5rem;
  background-color: rgb(51, 51, 51);
  color: #f4f4f4;
  line-height: 1.2;
  font-size: 0.75rem;
  opacity: 0;
  transition: 0.8s ease-in-out;
}

.team-lid-lang-schakel {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 2rem;
  height: 2rem;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #f4f4f4;
  border: 2px solid rgba(240, 240, 240, 0.5);
  cursor: pointer;
}

.team-lid-lang.aan {
  opacity: 1;
}
/* end team */

/* foto section */

.fotos {
  background: linear-gradient(#f4f4f4, #e0e0e0 10%);
}

.foto-panini {
  width: 300px;
  margin: 0 auto 3rem;
}

.foto {
  aspect-ratio: 16/12;
  object-fit: cover;
  object-position: center;
}

.foto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

/* end foto */

/* faq section*/

.faq {
  background: linear-gradient(#e0e0e0, #f4f4f4 10%);
}

.faq-item {
  position: relative;
  padding: 1rem 2rem 0.5rem 0.25rem;
  border-bottom: 1px solid rgba(51, 51, 51, 0.4);
}

.faq-item:last-of-type {
  border: 0;
}

.faq-vraag {
  font-size: 1.25rem;
  margin-inline-end: 2rem;
}

.faq-antwoord {
  display: none;
  padding-inline-start: 0.5rem;
}

.faq-antwoord span {
  font-weight: 700;
}

.faq-antwoord a {
  font-weight: 700;
  color: #333;
  
}

.faq-item.aan .faq-antwoord {
  display: block;
}

.faq-schakel {
  background-color: #f5f5f5;
  border: 1px solid black;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: start;
  font-size: 1.125rem;
  font-weight: 900;
  padding: 0;
  position: absolute;
  top: 15px;
  right: 10px;
  height: 30px;
  width: 30px;
}

.faq-schakel:focus {
  outline: 0;
}

.faq-schakel .faq-open {
  color: #333;
}

.faq-schakel .faq-sluit {
  display: none;
}

.faq-item.aan .faq-schakel .faq-sluit {
  display: block;
  color: #f4f4f4;
}

.faq-item.aan .faq-schakel .faq-open {
  display: none;
}

.faq-item.aan .faq-schakel {
  background-color: #333;
}

@media (max-width: 650px) {
  .faq-vraag {
    font-size: 1.125rem;
  }
}

/* end faq */

/* special section */

.special {
  background: linear-gradient(#f4f4f4, #e0e0e0 10%);
}

.special-tekst {
  margin: 0 auto 1rem;
}

.special-list-center, .faq-center {
  display: flex;
  justify-content: center;
}

.special-list li {
  font-size: 1rem;
  margin-block-end: 0.25rem;
}

@media (max-width: 500px) {
  .special-list-center {
    display: block;
    max-width: 90%;
    margin-inline: auto;
  }
}

/* end special */

/* ligging section */

.ligging {
  background: linear-gradient(#e0e0e0, #f4f4f4 10%);
}

/* end ligging */

/* footer */

footer {
  background: #221e45;
  color: #f4f4f4;
  padding-block: 2rem;
}

.footer-container p {
  margin-block-end: 0.5rem;
}

.small {
  font-size: 0.75rem;
}

/* end footer */