@import url('https://fonts.googleapis.com/css2?family=Roboto+Serif:ital,opsz,wdth,wght@0,8..144,50..150,100..900;1,8..144,50..150,100..900&display=swap');

* {
  margin: 0;
  padding: 0;
  border: 0;
  box-sizing: border-box;
}

/* Colors */

:root {
  --background: rgb(0, 0, 0);
  --foreground: rgb(250, 250, 250);
  --accent: rgb(56, 157, 159);
}

@media (prefers-color-scheme: light) {
  :root {
    --foreground: rgb(0, 0, 0);
    --background: rgb(250, 250, 250);
    --accent: rgb(138, 114, 44);
  }
}

/* Body */

body {
  /* background-image: url("https://www.futurematerialsbank.com/wp-content/themes/futurematerialsbank/images/grid.svg"); */
  font-family: "Roboto Serif", serif;
  font-optical-sizing: auto;
  font-synthesis: none;
  font-weight: 420;
  font-style: normal;

  font-variation-settings:
    "wdth" 80;

  margin: 10px 15px;
  background-color: var(--background);
  font-size: 20px;
  line-height: 30px;
  color: var(--accent);
}


svg {
  width: 100%;
}

svg path {
  fill: var(--accent);
}


/* Typography */

h1 {
  color: var(--accent);
  font-weight: 500;
  font-size: 20px;
  line-height: 30px;
  /*text-align: justify;
  text-align-last: justify;*/
}

h2 {
  font-weight: 500;
  font-size: 50px;
  line-height: 55px;
  padding-bottom: 10px;
font-family: "Roboto Serif", serif;  text-align: center;
  text-wrap: balance;
  font-variation-settings:
  "wdth" 80;
}

h2 span {
font-family: "Roboto Serif", serif;  font-weight: 500;
  font-style: normal;
  font-size: 20px;
  line-height: 30px;
  font-variation-settings:
  "wdth" 80;
}

h3 {
  font-weight: 500;
  font-size: 20px;
  line-height: 30px;
  padding-bottom: 10px;
}

section.home {
  max-width: 1000px;
  margin: 0 auto;
}

@media only screen and (max-width: 600px) {
  h2 {
    font-size: 45px;
    line-height: 50px;
  }
}

@media only screen and (max-width: 400px) {
  h2 {
    font-size: 40px;
    line-height: 45px;
  }
}

a {
  color: var(--artcodeblue);
  /*text-underline-offset: 6px;*/
  text-decoration: none;
}

/*
a h2:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 3px;
}
*/
/* Navigatie */

nav {
  /*
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  text-transform: lowercase;
  */
  display: flex;
  justify-content: space-between;
  margin-bottom: 50px;
  /*position: sticky;
  top: 0px;*/
}

header {
  margin: 0 auto 50px auto;
  max-width: 800px;
  text-align: center;
}

/* ARTIKEL */

article {
  max-width: 1000px;
  margin: 0 auto;
}

article div {
  margin: 0 auto;
  padding: 20px 0;
}

article div.text {
  max-width: 700px;
}

article div.text p {
  padding-bottom: 20px;
}

article div.image figure {
  max-width: 1000px;
}

article div.image figure img {
  object-fit: contain;
  width: 100%;
  max-height: 800px;
  display: block;
  /* padding-bottom: 4px; */
  /* mix-blend-mode: screen; */
}

article div.image figure figcaption {
  /*font-size: 13.5px;
  line-height: 15px;*/

}

/* Footer */

footer {
  margin: 100px 0 50px 0;
  padding: 20px 0 0 0;
}

footer figure {
  margin-bottom: 50px;
}

footer section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 20px;
}

@media only screen and (max-width: 400px) {
  footer section {
    grid-template-columns: 1fr;
  }
}

footer section div p {
  padding-bottom: 10px;
}

footer section div p a,
div.pages a,
article p a {
  text-decoration: underline;
  text-decoration-thickness: 1.6px;
  text-underline-offset: 3px;
}

section.students ul {
  list-style: none;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 20px;
}

h2 img {
  max-height: 55px;
}

figcaption {
  font-size: 14px;
  line-height: 25px;
  font-weight: 500;
  text-align: center;
}

p.break {
  text-align: center;
}

p.ddw {
  margin: 10px 0px;

}

p.ddw a {
  border: solid 1px;
  padding: 8px 8px 5px 8px;
  background-color: var(--accent);
  color: white;
}

p.links a,
section.archief a,
nav p a,
div.banner p a  {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-style: dotted;
}

p.links a:hover,
section.archief a:hover {
  text-decoration-style: solid;
}

section.archief {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  grid-gap: 50px 10px;
  margin: 10px 0;
}

section.archief a img {
  width: 100%;
}

div.banner {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 5px;
}

div.banner p {
  text-align: center;
  text-wrap: balance;
}
div.banner p a {
  background-color: var(--accent);
  color: var(--background);
  display: inline-block;
  border-radius: 10px;
  padding: 5px 10px; 
}