@font-face {
  font-family: 'Diatype';
  font-weight: 100 900;
  font-display: swap;
  font-style: normal;
  src: url("../fonts/ABCDiatypeVariableEdu.woff2") format("woff2");
}

:root {
  --white: #f1f1f1;
  --black: #232323;
  --dark-gray: #333;
  --light-gray: #f1f1f1;

  --background: var(--white);
  --text: var(--black);
}

body.light {
  --background: var(--white);
  --text: var(--black);
}

body.dark {
  --background: var(--black);
  --text: var(--white);
}


body {
  font-family: 'Diatype', sans-serif;
  margin: 0;
  padding: 0;
  background-color: var(--background);
  color: var(--text);
}

.content {
  display: grid;
  margin-left: 8vw;
  margin-right: 8vw;
  margin-bottom: 4vw;
  grid-template-columns: 1fr;
  row-gap: 2em;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

p {
  font-weight: 400;
  font-size: larger;
}

i {
  font-variation-settings: "ital" 12;
  font-weight: 400;
  color: var(--text);
}

em {
  font-weight: 400;
}

h1 {
  font-family: 'Diatype', sans-serif;
  font-weight: 800;
  font-size: 4vw;
}

h2 {
  font-size: 3vw;
  line-height: 100%;
}

h2.about {
  font-size: x-large
}

h3 {
  font-size: 2vw;
}

a {
  color: var(--text);
  text-decoration: none;
}

a:hover {
  font-weight: 600;
}

.container {
  position: relative;
}

.container:hover .cover-text {
  opacity: 1;
}

.container:hover .cover {
  opacity: 0.3;
}

.title {
  float: right;
}


hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid var(--text);
}

img {
  width: 100%;
  border-radius: 5px;
}

video {
  opacity: 1;
  transition: .2s ease;
  border-radius: 5px;
  width: 100%;
  object-fit: cover;
}

.youtube {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
}

.youtubevideo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.cover {
  opacity: 1;
  transition: .2s ease;
  border-radius: 20px;
  height: auto;
  object-fit: cover;
}

.cover-link {
  opacity: 1;
  transition: .2s ease;
  border-radius: 5px;
}

.cover-link:hover {
  -o-transition: .2s;
  -ms-transition: .2s;
  -moz-transition: .2s;
  -webkit-transition: .2s;
  transition: .2s;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transform: scale(1.02, 1.02);
  cursor: pointer;
}

.cover-text {
  opacity: 0;
  position: absolute;
  transition: .2s ease;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.cover-title {
  font-size: 3vh;
  font-weight: 700;
  margin-bottom: -20px;

}

.cover-date {
  font-size: 2vh;
  font-weight: 400;
}

@media screen and (max-width: 1200px) {

  .image {
    border-radius: 10px;
  }

  .video {
    border-radius: 10px;
  }

  .archief {
    height: 20vw;
    border-radius: 10px;
  }

  .text {
    font-size: 4vw;
  }

  .archieftxt {
    font-size: 4vw;
  }

  h1 {
    font-size: 6vw;
  }

  h2 {
    font-size: 4.5vw;
  }
}

@media screen and (max-width: 800px) {

  .image {
    border-radius: 5px;
  }

  .video {
    border-radius: 5px;
  }

  .text {
    font-size: 6vw;
  }

  h1 {
    font-size: 8vw;
  }

  h2 {
    font-size: 6vw;
  }

  .cover-text {
    opacity: 1;
    position: relative;
    top: 0;
    left: 4px;
    transform: translate(0%, 0%);
  }

  .hideonmobile {
    display: none;
  }

}

/* Selection */
::-moz-selection {
  color: var(--white);
  background: var(--black);
}

::selection {
  color: var(--white);
  background: var(--black);
}

.socials {
  display: flex;
  gap: 10px;
  align-items: left;
  flex-wrap: wrap;
  flex-direction: row;
}

.social:hover {
  filter: brightness(0) saturate(100%) invert(96%) sepia(34%) saturate(7388%) hue-rotate(357deg) brightness(93%) contrast(103%);
}

body.dark .social {
  filter: invert(1);
}

body.dark .social:hover {
  filter: brightness(0) saturate(100%) invert(96%) sepia(34%) saturate(7388%) hue-rotate(357deg) brightness(93%) contrast(103%);
}