@import "normalize.css";

/* Adding Fonts */
/* font-family: "Inter", sans-serif; */

:root {
  --color-primary: #575d6d;
  --color-accent: #b3c1d2;
  --color-background: #eef2f3;
  --color-background-darker: #dae3e4;
  --color-headings: #ebebeb;
  --color-headings-body: #1e2b30;
  --height-navbar: 6.5rem;
  --height-footer: 6.5rem;
  --font-size--body: 1.4rem;
}
/* -------------------- */
/* Typography */
body {
  font-family: "Inter", sans-serif;
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 1.5;
  background: var(--color-background);
}

h1 {
  color: var(--color-headings);
  font-size: 7rem;
}

h2,
h3 {
  color: var(--color-headings-body);
  margin-bottom: 1rem;
  line-height: 1.1;
  margin-top: 0;
}

h2 {
  font-size: 2.4rem;
}

h3 {
  font-size: 2.2rem;
}

p {
  margin: 0;
}

.font-weight--bold {
  font-weight: 600;
}

@media screen and (min-width: 768px) {
  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.8rem;
  }
}
/* -------------------- */
/* Images */
img {
  width: 100%;
}

/* -------------------- */
/* Links */
a {
  text-decoration: none;
  line-height: 1.5;
}

.link--bold {
  font-weight: 500;
}

.link--primary {
  color: var(--color-background-darker);
}

.link--primary:hover {
  color: white;
}

.link--primary-active {
  background: #484d5c;
  padding: 0 0.4rem;
  border-radius: 4px;
}

.link--secondary {
  color: var(--color-headings-body);
}
.link--secondary:hover {
  color: #4e7ae9;
}

/* -------------------- */
/* Container */
.container {
  max-width: 1140px;
  margin: 0 auto;
}

/* -------------------- */
/* Icons */
.icon {
  width: 32px;
  height: 32px;
}

.icon--primary {
  color: var(--color-background);
}

/* -------------------- */
/* Logo */
.logo {
  height: 80%;
  object-fit: contain;
  align-self: center;
  justify-self: center;
}

.logo__container--black {
  display: flex;
  aspect-ratio: 1 / 1;
  height: var(--height-navbar);
  background: #000;
}

/* -------------------- */
/* Division Line */
.division-line {
  margin: 0;
  max-width: 150px;
  width: 25%;
  height: 3px;
  background-color: var(--color-accent);
  white-space: nowrap;
  border: none;
}

/* -------------------- */
/* List */
.list--no-decoration {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.ordered-list {
  padding-left: 30px;
  margin-top: 0;
}

.body__list-item {
  font-size: var(--font-size--body);
  font-weight: 250;
}

/* -------------------- */
/* Collapsible */
.collapsible__header {
  display: flex;
  justify-content: end;
  text-align: center;
}

.collapsible__content {
  max-height: 0;
  text-align: left;
  font-size: 1.6rem;
  opacity: 0;
  transition: all 0.5s;
}

.collapsible--expanded .collapsible__content {
  max-height: 100vh;
  opacity: 1;
}

@media screen and (min-width: 1140px) {
  .collapsible__content {
    display: block;
    max-height: 100vh;
    opacity: 1;
  }
}
/* -------------------- */
/* NavBar */
.nav {
  background: var(--color-primary);
  width: 100%;
  height: minmax(var(--height-navbar), 100vh);
  display: grid;
  grid-template-columns: auto 1fr;
}

.nav__brand {
  max-height: var(--height-navbar);
  display: flex;
}

.nav__header {
  margin: 0.5rem 0.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nav__heading {
  font-size: 1.5rem;
  margin: 0;
  line-height: 1;
}

.nav__contact-info {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0;
  line-height: 1;
  color: var(--color-background);
}

.nav__toggler {
  height: 0.9rem;
  padding: 1.4rem 0 0.5rem 0.6rem;
  margin: 0 2rem;
  display: inline-block !important;
  text-align: center;
  align-self: center;
}

.nav__toggler:hover {
  background: #484d5c;
  border-radius: 10px;
}

.nav__list {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.nav__link {
  font-size: 1.5rem;
  margin: 0 1rem;
}

.nav .collapsible__content {
  grid-column: 1 / span 2;
  text-align: center;
}

@media screen and (max-width: 450px) {
  .logo__container {
    width: 5rem;
  }
  .nav__heading {
    font-size: 1.4rem;
  }
  .nav__contact-info {
    font-size: 1rem;
  }
}

@media screen and (max-width: 750px) {
  .nav {
    display: flex;
    flex-direction: column;
  }
  .nav .collapsible__header {
    justify-self: center;
    align-self: center;
    margin: 1rem 0 0.5rem;
  }
  .nav__link {
    margin: 0.2rem 1rem;
  }
}

@media screen and (min-width: 1140px) {
  .nav .collapsible__content {
    grid-column: 2 / 3;
    grid-row: 1 / 1;
    text-align: center;
  }

  .nav__list {
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
  }

  .nav__toggler {
    display: none !important;
  }
}

/* -------------------- */
/* Grid */
.grid--1x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
}

.grid--align-left {
  grid-template-columns: auto 1fr;
  justify-items: start;
}

@media screen and (max-width: 930px) {
  .grid--1x2 {
    grid-template-columns: 1fr;
  }
}

/* -------------------- */
/* Footer */
.footer {
  width: 100%;
  min-height: var(--height-footer);
  background: var(--color-primary);
  color: var(--color-background);
}
.footer__header {
  padding: 0.5rem 0.5rem;
}
.footer__title {
  color: var(--color-background);
  font-size: 1.5rem;
  font-weight: 300;
  margin-top: 0;
  margin-bottom: 0.1rem;
}
.footer__list-item {
  margin: 0.5rem 1rem 0.5rem 0.5rem;
  font-size: var(--font-size--body);
  display: flex;
  height: 100%;
}
.footer__list-item p {
  margin: 0;
  line-height: 1;
  font-weight: 200;
}
.footer__icon {
  /*  padding-top: 0.3rem; */
  padding-right: 0.3rem;
}

@media screen and (max-width: 580px) {
  .footer__title {
    font-size: 1.2rem;
  }
  .footer__list-item {
    font-size: 1rem;
  }
}

/* -------------------- */
/* Container */
.container {
  max-width: 1140px;
  width: 80%;
  margin: auto auto;
}

@media screen and (min-width: 1024px) {
  .container--fullscreen {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
}

/* -------------------- */
/* Block */
.block {
  padding-bottom: 2rem;
}

.block:last-of-type {
  padding-bottom: 0;
}

.block__title {
  text-align: center;
  padding-top: 1rem;
}

.block--darker {
  background: var(--color-background-darker);
}

.block--fullscreen {
  min-height: 75vh;
}

.block__content {
  font-size: var(--font-size--body);
  font-weight: 250;
  padding-bottom: 1.6rem;
}

.block__content--margin-small {
  padding-bottom: 0.4rem;
}

.block__content--align-center {
  text-align: center;
}

.block__artsenwachtpost {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.block__unordered-list {
  margin: 0;
  margin-bottom: 2rem;
}

@media screen and (max-width: 768px) {
  .block__title {
    font-size: 2rem;
  }
  .block__content {
    font-size: var(--font-size--body);
  }
  li {
    font-size: var(--font-size--body);
  }
}
/* -------------------- */
/* Image */
.img--decoration {
  border-radius: 20px;
  border: 3px solid var(--color-primary);
  box-shadow: 5px 5px 20px #5c5c5c;
}

/* -------------------- */
/* Float Image */
.img--float-right {
  float: right;
}

.img--float-left {
  float: left;
}

.img--float::after {
  clear: both;
}

.img--size-medium {
  margin: 1rem;
  width: 45%;
}

.img--size-small {
  margin: 1rem;
  width: 35%;
}

@media screen and (max-width: 768px) {
  .img--float {
    float: none;
  }
  .img--size-medium {
    margin: 1rem;
    width: 100%;
  }

  .img--size-medium,
  .img--size-small {
    margin: 0 0 1rem 0;
    width: 100%;
  }
}
