/**************/
/* CSS REMEDY */
/**************/
*,
*::after,
*::before {
  box-sizing: border-box;
  margin: 0px;
  padding: 0px;
  font-family: "accord", sans-serif;
}

nav > a:nth-of-type(1) {
  cursor: pointer;
  align-self: center;
  margin-right: auto;
}

nav > a svg g:nth-of-type(3) {
  display: none;
}

nav > a:nth-of-type(1) svg {
  height: 3em;
  align-self: center;
  fill: var(--kleur-h1nav);
}

nav > a svg ellipse {
  box-sizing: border-box;
  fill: #fff;
}

nav > a svg g:nth-of-type(2) path {
  box-sizing: border-box;
  fill: #e2212a;
}

@media (min-width: 48.125em) {

  /* tekst logo nav */
  nav > a svg g:nth-of-type(3) {
    display: block;
  }

  nav > a:nth-of-type(1) {
    margin-right: 36px;
  }
}


/**************/
/* main       */
/**************/

/* main header */
main header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2em 1.25em 0 1.25em;
  margin: 0 0 1em;
  max-width: 42.5em;
  margin: auto;
}

main header p {
  color: #fff;
  font-size: 0.75em;
  font-weight: bold;
  text-transform: uppercase;
  background-color: var(--kleur-achtergrondlabel);
  padding: 0.5em 0.75em;
  border-radius: 3px;
}

/* dropdown voor de talen */
select {
  background-color: red;
  padding: 0.5em;
  border-radius: 2em;
  border: none;
  color: white;
  font-weight: bold;
}

/* artikel */
main h2 {
  margin-bottom: 0.75em;
  font-size: 2em;
  line-height: 1.3;
}

main > p {
  padding: 0 20px 0 20px;
  font-size: 1em;
  line-height: 1.375em;
  opacity: 0.6;
  margin: 0;
  max-width: 42.5em;
  margin: auto;
}

main article {
  padding: 1em 20px 0 20px;
  max-width: 42.5em;
  margin: auto;
}

main article h3 {
  font-size: 24px;
  margin-top: 1.5em;
}

main article p:nth-of-type(1) {
  color: var(--kleur-paragraaf);
  opacity: 0.6;
  font-size: 1em;
  font-weight: 300;
  line-height: 1.375;
  margin: 1em 0;
}

/* figure in de artikel */
main figure{
  display: grid;
  grid-template-columns: 1fr max-content;
  grid-template-rows: 1fr max-content max-content;
}

main figure img {
  object-fit: cover;
  display: block;
  width: 100%;
  height: 100%;
  grid-column: 1/3;
  grid-row: 1/3;
}

main figure button{
    color: #fff;
    background: rgba(0, 0, 0, .4);
    border-radius: 50%;
    border: none;
    padding: 1.5em;
    margin: 1em;
    cursor: pointer;

    grid-area: 2/2;
}

main figure button svg{
    fill: #fff;
    width: 1.5em;
    height: 1.5em;
    display: block;
}

figcaption {
  font-size: 0.875em;
  font-weight: 100;
  color: var(--kleur-paragraaf);
  opacity: 0.6;
  margin: 0.75em 0 2em;
  line-height: 1;

  grid-area: 3/1;
}

main article p:nth-of-type(2) {
  font-size: 1em;
  font-weight: bold;
  line-height: 1.5;
  margin: 1em 0;
}

main article p:nth-of-type(3),
main article p:nth-of-type(4),
main article p:nth-of-type(5) {
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.5;
}

/* Links in de tekst van de artikel */
main article a {
  text-decoration: none;
  color: #e2212a;
  font-weight: bold;
}

/* lees ook section */
main section:nth-of-type(1) {
  max-width: 42.5em;
  margin: auto;
}

main section:nth-of-type(1) h2 {
  font-size: 24px;
  padding: 0 20px 0 20px;
  margin-top: 1.5em;
}

main section:nth-of-type(1) ul:nth-of-type(1) li img {
  width: 6.25em;
  height: 6.25em;
  border-radius: 3px;
}

main section:nth-of-type(1) ul:nth-of-type(1) li h3 {
  padding: 0 12px;
  font-size: 1em;
  font-weight: 700;
  line-height: 1.2;
}

main section:nth-of-type(1) ul:nth-of-type(1) li a {
  text-decoration: none;
  color: var(--color-text);
  display: flex;
}

main section:nth-of-type(1) ul:nth-of-type(1) li {
  padding: 0.375em 0;
}

main section:nth-of-type(1) ul:nth-of-type(1) {
  padding: 0 20px 0 20px;
  list-style: none;
  margin-bottom: 2em;
}

/* whatsapp ons */
main section:nth-of-type(2) {
  max-width: 42.5em;
  margin: auto;
}

main section:nth-of-type(2) div {
  background: #dcf8c6;
  color: #323232;
  padding: 0em 1em;
  margin: 0 1em;
  box-shadow: inset 6px 0px 0 -1px rgba(0, 0, 0, 0.26);
}

main section:nth-of-type(2) p {
  display: flex;
  flex-direction: column;
  margin: 1em 0;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.5;
}

main section:nth-of-type(2) a {
  color: #e2212a;
}

/* media links */
main section:nth-of-type(3) {
  border-top: 5px solid #e6e6e6;
  margin: 4em 20px 0 20px;
}

main section:nth-of-type(3) ul {
  padding: 1em 0;
  display: flex;
  list-style: none;
  justify-content: end;
}

main section:nth-of-type(3) svg {
  color: var(--kleur-svg);
  fill: var(--kleur-svg);
  width: 1.5rem;
  height: 1.5rem;
  margin: 0 1em;
}

/* andere nieuws section */

main section:nth-of-type(4) {
  padding: 0 1em;
}

main section:nth-of-type(4) h2 {
  font-size: 2em;
  padding: 26px 0 26px 0px;
  max-width: 65rem;
  margin: auto;
}

main section:nth-of-type(4) > ul {
  list-style: none;
  grid-template-columns: 1fr max-content;
  grid-template-rows: repeat(5, 1fr);
  max-width: 65rem;
  margin: auto;
}

main section:nth-of-type(4) ul a {
  display: flex;
  text-decoration: none;
}

main section:nth-of-type(4) ul a h3 {
  color: var(--kleur-paragraaf);
}

main section:nth-of-type(4) > ul > li {
  padding-top: 5px;
  padding-left: 0;
  border-bottom: 2px solid #e1e0e0;
  padding-bottom: 5px;
}

main section:nth-of-type(4) ul li:nth-of-type(1) > p {
  color: #fff;
  font-size: 0.75em;
  font-weight: bold;
  text-transform: uppercase;

  list-style: none;
  padding: 5px;
  border-radius: 3px;
  background-color: #e2212a;
  display: inline-block;
}

main section:nth-of-type(4) ul li:nth-of-type(3) > p {
  font-size: 12px;
  color: var(--kleur-paragraaf);
  opacity: 0.6;
}

main section:nth-of-type(4) ul ul {
  display: grid;
  grid-template-rows: max-content max-content 1fr;
  list-style: none;
}

main section:nth-of-type(4) ul ul li:nth-of-type(2) {
  grid-area: 2/1;
}

main section:nth-of-type(4) ul ul li:nth-of-type(3) {
  grid-area: 3/1;
  align-self: end;
}

main section:nth-of-type(4) ul img {
  height: 116px;
  width: 144px;
  margin-right: 0.63em;
}

/* laad meer knop */
main div {
  display: flex;
  justify-content: center;
}

main div button {
  background-color: #e2212a;
  color: white;
  border: none;
  margin: 2em;
  padding: 0.5em 1.4em 0.5em 1em;
  font-size: 1em;

  display: flex;
  align-items: center;
}

main div button svg {
  fill: currentColor;
  width: 1.125em;
  height: 1.125em;
  margin-right: 0.75rem;
}
