:root {
  --breakpoint: "desktop";
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-size: 1.8rem;
  background-color: #f5f5f5;
  position: relative;
  width: 100vw;
  font-family: "Inter", sans-serif;
}

body,
main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15rem;
}

main img {
  width: 30%;
  height: auto;
}

.nav,
.landing,
.content,
.footer {
  width: 100%;
  padding: 0 15%;
}

/* Navigation styling */

.nav {
  margin-top: 5rem;
  position: absolute;
  display: flex;
  flex-direction: row;
  z-index: 99;
}

.nav > a {
  color: white;
  text-decoration: none;
  font-size: 3rem;
}

.link-list {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  list-style: none;
  gap: 6rem;
}

.link-list__item > a {
  font-size: 2.4rem;
  text-decoration: none;
  color: #fff;
}

.link-list__item > a:hover {
  text-decoration: underline;
}

/* Landing section styling */

.landing {
  width: 100%;
  height: 80vh;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: url("./assets/img/landing.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
}

.landing::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 80vh;
  background-color: rgba(0, 0, 0, 0.55);
}

.landing__text {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  z-index: 1;
}

.landing__text__wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  gap: 2rem;
}

.title {
  font-size: 4rem;
}

.subtitle {
  font-size: 2rem;
  font-weight: 400;
}

/* Content sections styling */

.stichting {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 5rem;
}

.stichting__text {
  width: 60%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 3rem;
}

.stichting__container {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: flex-start;
  width: 100%;
}

.koppen {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 5rem;
}

.wrapper-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3rem;
}

.wrapper-container:last-of-type {
  grid-column: 1 / span 2;
}

.wrapper-container > span {
  font-size: 5rem;
  color: #0f6494;
}

.organisatie {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3rem;
}

.organisatie__wrapper {
  width: 100%;
  display: flex;
  justify-content: space-evenly;
}

.organisatie__container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Footer styling */

.footer {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8rem;
  min-height: 10vh;
  background-color: #0f6494;
  padding-top: 8rem;
  padding-bottom: 3rem;
  color: #fff;
}

.footer__links {
  margin-top: auto;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  list-style: none;
}

.footer__links__item > a,
.footer__links__item > p {
  font-size: 1.6rem;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8);
}

.footer__links__item > a:hover {
  text-decoration: underline;
}

.footer__content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.contact-info {
  display: flex;
  flex-direction: row;
  gap: 8rem;
}

.call-to-action,
.address,
.contact-options {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.call-to-action > a {
  color: rgba(255, 255, 255, 0.9);
}

.address,
.contact-options {
  gap: 1rem;
}

.contact-options > p {
  display: grid;
  gap: 2rem;
  grid-template-columns: 0.5fr 1fr;
}

.contact-options > p > span {
  font-weight: bold;
}

/* Button styling */

.btn {
  display: flex;
  font-size: 1.8rem;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  border: none;
  border-radius: 0.8rem;
  background-color: #fff;
  color: #000;
  text-decoration: none;
}

.btn:visited {
  color: #fff;
}

.btn:hover {
  cursor: pointer;
  transform: scale(1.05);
}

.dark {
  background-color: #0f6494;
  color: #fff;
  margin-left: auto;
}

.btn > span {
  margin-left: 1rem;
}

/* Custom element styling */
.pipe {
  font-size: 2rem;
  color: #fff;
  width: fit-content;
}

.icon {
  color: #fff;
  cursor: pointer;
  background-color: transparent;
  border: none;
}

.icon > span {
  font-size: 5rem;
}

.show {
  display: flex;
}

.hidden {
  display: none;
}

.label {
  font-weight: bold;
}

.dot::before {
  content: "•";
  margin-right: 1rem;
}

/* Material Icons */
.material-symbols-outlined {
  font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
}

/* Media query Phone */
@media screen and (max-width: 768px) {
  :root {
    --breakpoint: "phone";
  }

  main img {
    width: 60%;
    height: auto;
  }

  .nav,
  .landing,
  .content {
    padding: 0 5%;
  }

  .nav {
    margin-top: 3rem;
  }

  .menu {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    flex-direction: column;
    gap: 5rem;
    height: 100vh;
    width: 100%;
    padding: 0 10%;
    padding-top: 20rem;
    background-color: #0f6494;
    transition: all 0.5s ease-in-out;
    margin-top: -3rem;
  }

  .link-list {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .menu > li > a {
    font-size: 3rem;
  }

  .show {
    display: flex;
  }

  #menu-icon {
    margin-left: auto;
  }

  #close-icon {
    position: absolute;
    top: 2rem;
    right: 2rem;
  }

  .landing {
    height: 100vh;
    justify-content: center;
  }

  .landing::after {
    height: 100vh;
  }

  .title {
    font-size: 3rem;
    word-break: break-all;
  }

  .landing__image {
    display: none;
  }

  .landing__text {
    width: 100%;
  }

  .landing__text__wrapper {
    flex-direction: column;
  }

  .stichting,
  .koppen,
  .organisatie {
    width: 80%;
  }

  .stichting {
    flex-direction: column;
    align-items: center;
    gap: 3rem;
  }

  .stichting__text {
    width: 100%;
  }

  .stichting__container > img {
    width: 80%;
  }

  .stichting__container {
    flex-direction: column;
    width: 100%;
    gap: 3rem;
    align-items: center;
  }

  .koppen {
    display: flex;
    flex-direction: column;
    gap: 5rem;
  }

  .organisatie__wrapper {
    flex-direction: column;
    gap: 4rem;
  }

  .footer__content {
    flex-direction: column;
    gap: 8rem;
  }

  .contact-info {
    flex-direction: column;
    gap: 5rem;
  }

  .contact-options > p {
    gap: 1rem;
  }

  .footer__links {
    flex-wrap: wrap;
    gap: 2rem;
  }
}

/* Media query Tablet */
@media screen and (min-width: 769px) and (max-width: 1280px) {
  :root {
    --breakpoint: "tablet";
  }

  main img {
    width: 40%;
    height: auto;
  }

  .nav,
  .landing,
  .content {
    padding: 0 5%;
  }

  .footer {
    padding-left: 5%;
    padding-right: 5%;
  }

  .nav {
    z-index: 4;
  }

  .link-list {
    justify-content: space-evenly;
    gap: 0;
  }

  .footer__content {
    justify-content: space-evenly;
  }

  .contact-info {
    flex-direction: column;
    gap: 5rem;
  }

  .call-to-action,
  .contact-info {
    width: fit-content;
  }

  .contact-options > p {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .landing {
    position: relative;
    height: 100vh;
  }

  .landing::after {
    height: 100vh;
  }

  .landing__text {
    width: 100%;
    margin-top: 5rem;
  }

  .landing__image {
    display: none;
  }

  .stichting,
  .organisatie,
  .koppen,
  .stichting__text {
    width: 90%;
  }

  .stichting {
    gap: 5rem;
  }

  .stichting__container {
    flex-direction: column;
    gap: 3rem;
    align-items: center;
    width: 100%;
  }

  .koppen {
    display: flex;
    flex-direction: column;
    gap: 5rem;
  }

  .organisatie__wrapper {
    flex-direction: column;
    gap: 4rem;
  }

  .footer__links {
    flex-wrap: wrap;
    gap: 2rem;
  }
}
