
* {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
section {
  display: block;
}

#large_display_container {
  z-index: -1;
  background: rgba(0, 0, 0, 0.95);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#large_display_img {
  max-width: 95vw;
  max-height: 95vh;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#gallery {
  z-index: 0;
  line-height: 0;
  column-count: 4;
  column-gap: 5px;
}

.tile {
  position: relative;
  z-index: 1;
}
.tile img.display {
  width: 100%;
  height: auto;
  margin-top: 5px;
}
.tile:hover img.display, .tile:active img.display {
  cursor: pointer;
  mask-image: linear-gradient(to top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.9) 80%);
  -moz-mask-image: linear-gradient(to top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.9) 80%);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.9) 80%);

}
.hidden_tile {
  margin: 0;
  display: none;
}

.date, .tools, .comment, .resources {
  display: none;
  position: absolute;
  left: 5px;
}
.tile:hover .date {
  display: block;
  font-size: calc(100vw/90);
  font-weight: bolder;
  bottom: calc(100vw/25);
}
.tile:hover .tools {
  display: block;
  font-size: calc(100vw/120);
  bottom: calc(100vw/40);
}
.tile:hover .comment {
  display: block;
  color: grey;
  font-size: calc(100vw/120);
  bottom: calc(100vw/100);
}

body {
  background-color: black;
  margin: 0;
  padding: 0;
}

p {
  color: white;
  font-family: Arial, "Helvetica", sans-serif;
}