body {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  background-image: url(/bin/images/main-bg.jpg);
}

#bin {
  min-height: 100dvh;
  width: 75vw;
  background-image: url(/bin/images/side-bg.jpg);
}

#itemGrid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 5px;
}

.item {
  height: 25vh;
  aspect-ratio: 4/3;
  overflow: hidden;
  margin: 5px;
  padding: 5px;
  border: 1px outset;
  background-color: gray;
}

img.shrunk {
  width: 100%;
  max-height: 95%;
  object-fit: contain;
  border: 1px inset;
}

.title.hidden {
  text-overflow: clip;
  white-space: nowrap;
  word-break: normal;
}

.title {
  margin: 2px;
}

.hidden {
  mask: linear-gradient(to right, black, black, transparent);
  backdrop-filter: blur(1.5rem);
  overflow: hidden;
}

.web.hidden {
  /*
  Source - https://stackoverflow.com/a/67853608
  Posted by Quinn Keaveney, modified by community. See post 'Timeline' for change history
  Retrieved 2026-03-26, License - CC BY-SA 4.0
  */
  mask: linear-gradient(to bottom right, black, transparent) 0 0/calc(100% - 1px) calc(100% - 1px);
  width: calc(100% - 5px);
}

iframe.shrunk {
  width: calc(100% - 5px);
  height: 87.5%;
  border: 1px inset;
}

.tag {
  height: 2em;
}

hr {
  margin: 5px;
  color: silver;
}

hr.dashed {
  border: 1px dashed;
}

.item.expand {
  height: 75vh;
}

button.tag {
  border-radius: 0px;
  background-color: gray;
  border: 1px outset;
  margin-top: 5px;
  margin-left: 5px;
}

button.usedTag {
  border: 1px inset;
  background-color: dimgray;
}

#tags {
  min-height: 2em;
}

#usedTags {
  min-height: 2em;
}
