@import "font/font.css";
:root {
  --canonroze: #e2004f;
}
@media (max-width: 1050px) {
  html,
  body {
    font-size: 6px !important;
  }
  section > div {
    width: 90%;
    padding: 6rem 3rem;
  }
}
@media (min-width: 1051px) {
  html,
  body {
    font-size: 6px !important;
  }
  section > div {
    width: 90%;
    max-width: 1600px;
    padding: 6rem 3rem;
  }
}
@media (min-width: 1250px) {
  html,
  body {
    font-size: 6px !important;
  }
}
@media (min-width: 1400px) {
  html,
  body {
    font-size: 7px !important;
  }
}
@media (min-width: 1700px) {
  html,
  body {
    font-size: 7px !important;
    max-width: 1700px;
    margin: 0 auto;
  }
}

section#header > div {
  padding-bottom: 3rem;
}
section#header,
section#logo-row,
section#figure-row {
  background: var(--canonroze);
  font-family: "Prater Sans";
  color: white;
  overflow: hidden;
}

#logo-row img {
  object-fit: contain;
  object-position: top;
  height: min(20vw, 200px);
  margin: 0 3rem;
}

section#header #logo {
  width: 63.7rem;
  padding-bottom: 6rem;
  max-width: 100%;
}
section#header #menu {
  margin: 0;
  padding: 0 15px;
  font-size: 4rem;
  max-width: 1700px;
}
section#header #menu li {
  margin-left: 0 !important;
  padding-left: 0 !important;
}
section#header #menu li.active {
  color: black;
}
section#header #menu a {
  color: inherit;
  margin: 0;
  padding: 0;
}

section#content .heroimg {
  padding-bottom: 6rem;
}
section#content h1 {
  font-family: "Prater Sans";
  color: black;
  font-size: 8rem;
  margin-bottom: 3rem;
}
section#content p,
section#content ol {
  font-family: "Avenir";
  color: grey;
  font-size: 2.72rem;
}
section#content button {
  background: var(--canonroze);
  font-family: "Prater Sans";
  color: white;
  font-size: 2.72rem;
  border: none;
  outline: none;
  display: block !important;
  width: auto;
  padding: 1rem 3rem;
  margin: 4rem 0;
}
section#content .projectitems > div {
  padding: 0 6rem;
}
section#content .projectitems a {
  text-decoration: none;
  color: inherit;
}

@media only screen and (min-width: 768px) {
  section#content .projectitems > div {
    border-left: 1px dotted rgba(181, 181, 181, 1);
  }
  section#content .projectitems > div:first-child {
    border-left: 0px;
  }
}

@media only screen and (max-width: 767px) {
  section#content .projectitems > div img {
    max-width: 50vw;
    margin: 0 auto;
  }
  section#content .projectitems > div {
    border-bottom: 1px dotted rgba(181, 181, 181, 1);
    padding: 3rem 6rem;
  }
  section#content .lijn {
    display: none;
  }
  section#content .laatstelijn {
    border-bottom: 0 !important;
  }
}

@media only screen and (min-width: 576px) {
  section#content .factsheets > div {
    padding: 0 6rem;
  }
  section#content .factsheets > div {
    border-left: 1px dotted rgba(181, 181, 181, 1);
  }
  section#content .factsheets > div:first-child {
    border-left: 0px;
    padding-left: 0;
  }
  section#content .factsheets > div:last-child {
    padding-right: 0;
  }
}

@media only screen and (max-width: 575px) {
  section#content .factsheets > div img {
    max-width: 50vw;
    margin: 0 auto;
  }
  section#content .factsheets > div {
    border-bottom: 1px dotted rgba(181, 181, 181, 1);
    padding: 3rem 0rem;
  }
}

@media only screen and (min-width: 768px) {
  section#content .makers > div {
    padding: 0 6rem;
  }
  section#content .makers > div {
    border-left: 1px dotted white;
  }
  section#content .makers > div:first-child {
    border-left: 0px;
    padding-left: 0;
  }
  section#content .makers > div:last-child {
    padding-right: 0;
  }
}

@media only screen and (max-width: 767px) {
  section#content .makers > div img {
    max-width: 50vw;
    margin: 0 auto;
  }
  section#content .makers > div {
    border-bottom: 1px dotted white;
    padding: 3rem 0rem;
  }
}

section#portretten {
  background: var(--canonroze);
  font-family: "Prater Sans";
  color: white;
}
@media only screen and (min-width: 768px) {
  section#portretten > div > img {
    margin-left: 30rem !important;
  }
}

section#footer {
  background: #3d3d3f;
  color: white;
}
section#footer h1 {
  font-family: "Prater Sans";
  color: black;
  font-size: 2.72rem;
  line-height: 1.3;
  color: white;
  margin-bottom: 3rem;
}
section#footer h1 span {
  color: var(--canonroze);
}
/* -------------------------------------------------
   1️⃣  Container – CSS Grid
------------------------------------------------- */
#podcast-section {
  display: grid;
  gap: 6rem; /* ruimte tussen de kaarten */
  justify-content: center; /* centreert de grid op brede schermen */
  padding: 6rem;
  background: var(--canonroze); /* jouw roze achtergrond */
  color: #808080;

  /* 
       repeat(auto‑fit, minmax(min‑breedte, 1fr))
       •  min‑breedte = de kleinste breedte die een kaart mag hebben
       •  1fr       = neemt de resterende ruimte gelijkmatig op
       •  Omdat we max‑breedte 33,33 % willen, zetten we een max‑waarde
         via een media‑query (zie hieronder).
    */
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr) /* 260 px is een praktische minimum‑breedte */);
}

/* -------------------------------------------------
   2️⃣  Kaart (blijft vrijwel hetzelfde)
------------------------------------------------- */
.podcast-card {
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 3rem;
  font-size: 2rem;
}
.podcast-links {
  display: flex;
  width: 100%;
  height: auto;
  padding-bottom: 1rem;
  justify-content: space-between;

  vertical-align: middle;
  line-height: 1rem;

  padding: 2rem 0;
  flex-wrap: wrap;
}
.podcast-links > * {
  display: inline-flex;
  height: auto;
  margin: 0 1rem 0 0;
  padding: 0;
  vertical-align: center;
}
.podcast-links > .btn-spotify {
  flex: 1;
}
.podcast-card .podcast-img-anchor {
  margin: -3rem -3rem 3rem;
}
.podcast-card .podcast-img {
  aspect-ratio: 16/9;
  object-fit: cover;
  width: 100%;
  object-position: center;
}

.podcast-card h3 {
  font-family: "Prater Sans";
  font-size: 4rem;
  color: black;
}
.podcast-card a {
  font-size: 2rem;
  color: #808080;
}
.podcast-card a:hover {
  text-decoration: none;
  color: inherit;
}
.podcast-links img {
  width: calc(2rem + 1rem);
  height: calc(2rem + 1rem);
  margin-right: 1rem;
  display: inline-block;
  margin: -1rem 0.5rem -1rem 0;
  padding: 0;
}

/* -------------------------------------------------
   3️⃣  Max‑3‑kolommen‑beperking (via media‑query)
------------------------------------------------- */
@media (min-width: 960px) {
  /* 3 × 260 px + gaps ≈ 960 px */
  #podcast-section {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* -------------------------------------------------
   4️⃣  2‑kolommen‑breakpoint (tablet)
------------------------------------------------- */
@media (max-width: 959px) and (min-width: 620px) {
  #podcast-section {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* -------------------------------------------------
   5️⃣  1‑kolom‑breakpoint (mobiel)
------------------------------------------------- */
@media (max-width: 619px) {
  #podcast-section {
    grid-template-columns: 1fr;
  }
}
body {
  font-family: "Avenir";
}
