:root {
  font-size: 16px;
}

body {
  margin: 0;
  font-family: "Nunito", "Avenir", sans-serif;
}

.max-width {
  width: min(1000px, calc(100vw - 10rem));
  margin-inline: auto;
}

.max-width > *,
.max-width > * nav,
.max-width > * section {
  margin-inline: calc(50% - 50vw);
  padding-inline: calc(50vw - 50%);
}

nav {
  display: flex;
  background-color: white;
  border-bottom: 1px solid #D6D6D6;
}

nav a {
  display: inline-block;
  padding: 10px 20px;
  text-transform: uppercase;
  text-decoration: none;
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  font-size: 1.6rem;
}

nav a:nth-child(4) {
  margin-left: auto;
}

header {
  position: relative;
  overflow: hidden;
}

header button {
  display: none;
}

header .background-map {
  position: absolute;
  top: 50px;
  margin-left: -460px;
  z-index: -1;
  height: 396px;
  pointer-events: none;
}

header .street {
  position: absolute;
  z-index: 1;
  height: 312px;
  top: 253px;
  margin-left: 210px;
  pointer-events: none;
}

header h1 {
  display: inline-block;
  padding-bottom: 8rem;
  padding-top: 1rem;
}

header h1 img {
  width: 23rem;
  margin-left: 20px;
}

header #idea {
  float: right;
  clear: none;
  margin-top: 5rem;
  margin-right: 2rem;
  text-align: center;
  font-size: 2.3rem;
  font-weight: 900;
}

header #idea span {
  display: inline-block;
  padding: 5px 10px;
  font-size: 1.4rem;
  font-weight: 700;
  transform: rotate(-2deg);
}

header section {
  display: flex;
  background-color: white;
  border-top: 1px solid #D6D6D6;
}

header section p {
  display: inline-block;
  width: 26rem;
  text-align: center;
  vertical-align: middle;
  padding-block: 2rem;
}

header section a {
  display: inline-block;
  vertical-align: middle;
  margin-left: auto;
  margin-block: auto;
  position: relative;
  z-index: 2;
}

main {
  position: relative;
  overflow: hidden;
}

main .background-map {
  position: absolute;
  margin-top: -40px;
  margin-left: -200px;
  height: 700px;
  z-index: -1;
  pointer-events: none;
}

main .street {
  position: absolute;
  z-index: -1;
  height: 570px;
  margin-left: 382px;
  pointer-events: none;
}

main section {
  padding-block: 2rem;
}

#voortgang h2 {
  display: inline-block;
}

#voortgang div.content {
  display: flex;
  align-items: end;
}

#voortgang div p {
  flex: 1;
}

#voortgang p.countdown {
  flex: 1.2;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-align: right;
}

#hetverhaal figure {
  background-image: url("../images/joeri-van-veen-arnhem-straat-voor-straat.jpg");
  background-size: cover;
  background-position: 20% top;
  margin: 0rem 0;
}

#map {
  display: block;
  width: 100%;
  height: 30rem;
  z-index: 0;
}

#map-cover {
  margin: 0;
  width: 100%;
  height: 100%;
  background-image: url("../maps/poster.jpg");
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

#doneer {
  padding-block: 3rem;
}

#doneer .big {
  margin-bottom: 1rem;
}

#progress .metric {
  display: flex;
  margin-block: 2rem;
  align-items: center;
}

#progress .metric .bar {
  display: flex;
  flex-grow: 1;
  background: #F1F1F1;
}

#progress .metric .bar .fill {
  width: 40%;
  text-align: right;
}

#progress .metric .value {
  width: 13rem;
  text-align: right;
  font-size: 1.4rem;
}

#progress svg {
  display: inline-block;
  height: 1.6rem;
  padding: 10px;
}

#progress .fill svg {
  padding: 10px 10px 5px 10px;
}

#progress small {
  margin-top: -1.6rem;
}

#pers h2 .small {
  font-family: "Barlow Condensed";
  font-size: 0.7em;
  font-weight: 100;
  margin-left: 0.2rem;
}

#pers ul {
  list-style: "↓ ";
  padding: 0;
  margin-left: 1rem;
}

#pers ul li::marker {
  padding-inline: 1rem;
}

#pers ul li i {
  font-style: normal;
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: 500;
  color: #8f8f8f;
}

details {
  background-color: rgb(255 255 255 / 0);
  border-radius: 1rem;
  padding: 0.5rem;
  border: 1px solid #D6D6D6;
  margin-block: 0.5rem;
  transition: border 0.2s ease, background-color 0.2s ease;
}

details:hover {
  background-color: rgb(255 255 255 / 0.5);
  border: 1px solid #9d9d9d;
}

details summary {
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
}

details summary {
  list-style: none;
}

details summary::before {
  content: "▸";
  width: 1.3rem;
  font-size: 1.5rem;
  float: left;
  margin-top: -4px;
}

details[open] {
  background-color: rgb(255 255 255 / 1);
}

details[open] summary::before {
  content: "▾";
}

details p {
  font-size: 1.1rem;
  padding-inline: 1.3rem;
  margin-block: 1rem;
}

h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.5rem;
  margin: 0;
  padding-bottom: 1rem;
}

h3 {
  margin: 0;
  font-size: 1.5rem;
}

p, li {
  font-size: 1.2rem;
  margin-top: 0;
}

a {
  transition: background-color 0.1s ease-out, color 0.1s ease-out;
  cursor: pointer;
}

a:hover {
  text-decoration: none;
}

small {
  display: block;
  margin-top: 10px;;
  font-size: 1.1rem;
  font-style: italic;
}

.big {
  font-size: 2rem;
  margin: 0;
}

.bold {
  font-weight: 900;
}

.call-to-action {
  display: inline-block;
  padding: 1rem 3.5rem 1rem 1.5rem;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  font-size: 1.8rem;
  text-transform: uppercase;
  text-decoration: none;
  clip-path: polygon(
    0 0,
    calc(100% - 1.5rem) 0,
    100% 50%,
    calc(100% - 1.5rem) 100%,
    0 100%
  );
}

.call-to-action.cta-big {
  font-size: 2.5rem;
}

.call-to-action svg {
  height: 2rem;
  margin-bottom: -3px;
  margin-right: 1rem;
}

.call-to-action.cta-big svg {
  height: 2.5rem;
}

.columns {
  column-count: 2;
  column-gap: 3rem;
}

.columns p:first-child {
  margin-top: 0;
}

.side-by-side {
  display: grid;
  grid-template-columns: 1fr 3rem 1fr;
}

a {
  color: currentColor;
}

footer {
  background: #ebebeb;
  padding-block: 1.5rem;
}

footer a {
  margin-left: 1rem;
}