#largedisplay {
  width: 100%;
  height: 650px;
  max-width: calc(100% - 20px);
  padding: 10px;
  padding-bottom: 170px;
}

#largedisplay .content {
  width: 1200px;
  height: 125%;
  display: grid;
  margin: auto;
  grid-template-columns: 52.08% 47.92%;
  column-gap: 40px;
}

#largedisplay .content .text * {
  color: var(--main-text-colour);
}

#largedisplay .thumbnail {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  border: 4px solid #000000cc;
  overflow: hidden;
}

#thumbnailimages {
  width: 100%;
  height: 100%;
  white-space: nowrap;
  position: relative;
  transition: right 0.2s ease;
  right: 0;
}

#thumbnailimages .image {
  display: inline-block;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-color: var(--main-bg-colour);
  cursor: zoom-in;
}

#largedisplay .content h1 {
  font-size: 3.5em;
}

#largedisplay .content p {
  font-family: "DIN Alternate";
  font-size: 1.1em;
}

#largedisplay .teamlist {
  position: relative;
}

#largedisplay .member {
  display: inline-block;
  cursor: pointer;
}

#largedisplay .hidden {
  position: absolute;
  opacity: 0;
  bottom: -30px;
  z-index: 2;
  padding: 5px;
  border-radius: 4px;
  background-color: var(--main-bg-colour);
  transition: opacity 0.2s ease;
}

#largedisplay .hidden p {
  margin: 0;
}

#largedisplay .member:hover + .hidden {
  opacity: 1;
}

#largedisplay .member img {
  border-radius: 100%;
  border: solid 2px var(--main-text-colour);
}

#largedisplay .member:not(:first-child) img {
  margin-left: -15px;
}

#largedisplay h2 {
  margin-bottom: 3px;
}

#largedisplay .content .text .back {
  display: none;
}

#largedisplay .back * {
  display: inline-block;
}

#largedisplay .back i {
  margin-right: 8px;
}

#largedisplay .back p {
  text-decoration: underline;
}

#largedisplay #projectcontributors {
  display: grid;
  grid-row-gap: 8px;
  grid-template-areas: 
    "1 2"
    "3 4";
}

#largedisplay .thumbnail {
  position: relative;
}

#thumbnailleft, #thumbnailright {
  color: white;
  font-size: 30px;
  height: 100%;
  vertical-align: middle;
  position: absolute;
  width: 50px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  background-color: #ffffff00;
  z-index: 3;
}

#thumbnailleft::before, #thumbnailright::before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
}

#thumbnailleft:hover, #thumbnailright:hover {
  background-color: #ffffff25;
}

#thumbnailleft {
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  left: 0;
}

#thumbnailright {
  color: white;
  right: 0;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

/*
searchbar
*/

#searchbar {
  margin-top: 80px;
}

/*
popup images
*/

#imageviewer {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: #000000dc;
  z-index: 100;
  display: none;
}

#imageviewer:hover {
  cursor: zoom-out;
}

#imageviewer.enabled {
  display: block;
}

#imageviewer img, #imageviewer video, #imageviewer i {
  max-width: 90vw;
  max-height: 90vh;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

#imageviewer #imageclose {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 50px;
  color: white;
  cursor: pointer;
}