article hr {
  border: 0.01rem black solid;
  width: 97vw;
  margin-left: 1.5vw;
  border-radius: 0.5rem;
  margin-bottom: 3rem;
  margin-top: 0.5rem;
}

article a,
article {
  color: black;
}

.project-header {
  padding: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(540px, 1fr));
  gap: 7vw;
}

.project-title {
  font-size: 4.5vw;
  line-height: 80%;
  hyphens: auto;
  width: 100%;
  text-transform: uppercase;
  margin: 0;
  font-family: "diatype";
  font-weight: 900; /* Black/Bold */
  padding: 0;
  -webkit-text-stroke: 0.12vw;
}

.project-title p {
  padding: 0;
  margin: 0;
}

.metaandlinks {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 90%;
  height: 100%;
}

.meta {
  font-size: 1.8rem;
  line-height: 100%;
}

.meta p {
  padding: 0;
  margin: 0;
  width: 100%;
  hyphens: auto;
}

.furtherlinks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  width: 120%;
  margin-top: 0.8rem;
}

.furtherlinks a {
  border: solid 0.09rem black;
  background-color: white;
  border-radius: 0.7rem;
  font-size: 1.4rem;
  max-width: 40vw;
  align-items: center;
  padding: 0.6rem;
  margin-right: 1rem;
  cursor: pointer;
  transition: transform 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  white-space: wrap;
  text-decoration: none;
}

.furtherlinks img {
  width: 1.3rem;
  display: block;
  object-fit: contain;
  height: auto;
  margin-left: 6rem;
  transition: 0s;
}

.furtherlinks a:hover {
  filter: invert(1);
  transform: scale(1.02);
}

.furtherlinks:hover a:not(:hover) {
  transform: scale(0.98);
}

.project-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(540px, 1fr));
  grid-template-rows: 1fr;
  gap: 7vw;
  padding: 0rem 1.5rem 1.5rem 1.5rem;
  hyphens: auto;
}

.project-media {
  width: 90%;
  max-width: 92vw;
}

.project-text {
  width: 91%;
  max-width: 92vw;
  font-size: 1.4rem;
  font-weight: light !important;
}

.mediatype {
  display: none;
  opacity: 0;
  transition: transform 0.3s ease, opacity 1s;
}

.mediatype.active {
  display: block;
}

.mediatags {
  display: flex;
  margin-left: -0.3rem;
}
.mediatag {
  background-color: none;
  margin-right: 0.5rem;
  font-size: 1.9rem;
  text-transform: uppercase;
  border-radius: 1rem;
  font-family: "diatype";
  font-weight: 900; /* Black/Bold */
  cursor: pointer;
  padding: 0.3rem 0.8rem 0.3rem 0.8rem;
}

.mediatag.active {
  display: block;
  background-color: black;
  color: white;
}

.project .gallery-grid {
  width: 100%;
  margin-top: 1.5rem;
  position: relative;
  transition: none !important;
}

.grid-item-solo {
  margin-top: 1.5rem !important;
}

.project .gallery-fullwidth {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  display: block;
}

.project .grid-sizer,
.project .grid-item {
  width: 50%;
  float: left;
  box-sizing: border-box;
  padding: 0.15rem;
  transition: none !important;
}

.project .gallery-item img {
  width: 100%;
  height: auto;
  max-height: 95vh;
  display: block;
  object-fit: cover;
  transition: 0.3s;
}

.project .gallery-grid img:hover {
  transform: scale(1.05);
  z-index: 2;
  cursor: zoom-in;
  filter: brightness(1.05);
}

.project .gallery-grid:hover img:not(:hover) {
  transform: scale(0.95);
  filter: brightness(0.85) grayscale(20%);
}

@media (max-width: 1080px) {
  .furtherlinks a {
    white-space: wrap;
    margin-right: 0;
    max-width: 90vw;
  }

  .furtherlinks {
    width: 90vw;
  }

  .furtherlinks img {
  }

  .project-title {
    width: 85vw;
    font-size: 10vw;
    -webkit-text-stroke: 0.17vw;
  }

  .project .gallery-grid img:hover {
    transform: scale(1);
  }

  .project .gallery-grid:hover img:not(:hover) {
    transform: scale(1);
    filter: brightness(1) grayscale(0%);
  }

  .project .grid-sizer,
  .project .grid-item,
  .project-media {
    width: calc(100vw - 2rem);
    max-width: 100%;
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 768px) {
  .mediatags {
    display: block;
    width: auto;
    margin-left: 0.5vw;
    width: 50vw;
  }
  .mediatag {
    display: inline-block;
    width: 100%;
    background-color: none;
    margin-bottom: 0.3rem;
    font-size: 4.5vw;
    border-radius: 3.5vw;
  }

  .mediatag.active {
    display: inline-block;
    width: auto;
  }

  .meta {
    font-size: 4.5vw;
    white-space: wrap;
  }

  .meta p {
    width: 95vw;
  }

  .project-content {
    padding: 3vw;
  }
  .project-header {
    padding: 3vw;
  }

  .project-text {
    font-size: 1.1rem;
    max-width: 94vw;
  }

  .project .grid-sizer,
  .project .grid-item,
  .project-media {
    padding: 0;
    width: calc(100vw - 6vw);
  }

  .videos,
  .websites,
  .gallery-grid,
  .project .grid-item-solo {
    margin-top: 0.5rem !important;
  }

  .furtherlinks {
    display: block;
  }

  .furtherlinks a {
    hyphens: auto;
    margin-bottom: 0.5rem;
    margin-right: 0.5rem;
    font-size: 1.1rem;
    padding: 2.6vw;
  }

  .furtherlinks img {
    margin-left: 0rem;
    width: 1.1rem;
  }

  article hr {
    margin-top: 0rem !important;
    margin-bottom: 0.5rem !important;
  }
}
