.art-year-container {
  display: flex;
  color: white;
  font-size: 30px;
  flex-direction: column;
  align-items: center;
  width: 50%;
  left: 50%;
  position: relative;
  transform: translateX(-50%);
  height: fit-content;
  margin-top: 135px;
}

.title {
  color: white;
  text-shadow: 0px 5px black;
  background: black;
  width: 50%;
  padding: 10px;
  border: 3mm gray groove;
  border-radius: 6mm;
}

.tag-selector {
  text-align: center;
  background-color: white;
  border: outset white 1mm;
  text-decoration: none;
  color: black;
  user-select: none;
  margin: 3px 3px;
  padding: 0 3px;
}

.tags-container-button {
  position: absolute;
  width: 20px;
  height: 40px;
  background: gray;
  left: -29.8px;
  top: -4.8px;
  z-index: -5;
  border: groove 5px black;
  align-content: center;
  cursor: pointer;
  border-right: none;
}

.pressed {
  background-color: #404040;
  border: inset #2e2e2e 1mm;
  color: white;
}

.tags-container {
  width: 100%;
  max-width: 350px;
  height: fit-content;
  background: #474747;
  position: fixed;
  right: 0;
  margin: 0 35px;
  color: white;
  text-align: center;
  padding: 10px;
  border: groove 5px black;
  box-shadow: 15px 10px 10px black;
  transition: right 0.5s ease;
  bottom: 5%;
}

.hide {
  right: -415px;
}

.bg {
  height: 1150px;
  background-image: url('/bgs/PanelPattern2.png');
  background-size: 45px;
  background-color: #1b1b1b;
  background-blend-mode: soft-light;
  border: solid #4d4d4d;
  box-sizing: border-box;
}

.art-container {
  width: calc(100% - 20px);
  padding: 10px;
  flex-direction: row;
  justify-content: center;
  display: flex;
  background-color: black;
  box-shadow: 15px 10px 10px black;
  border: 3mm groove gray;
  background-image: url(/bgs/ArtBG.png);
  background-size: 40px;
  border-radius: 30px;
  flex-wrap: wrap;
}

.year-display { 
  background-color: black;
  padding: 10px;
  border-radius: 25px 25px 0px 0px;
  border: groove gray 3mm;
  position: absolute;
  top: -118px;
  z-index: -1;
}

.adult-content, .adult-tag {
  display: none;
}

.art-favorite {
  position: absolute;
  display: flex;
  width: auto;
  height: 9%;
  background-color: var(--art-item-color);
  border-radius: 10px 0 10px;
  padding: 9px;
}

.art-title {
  text-overflow: ellipsis;
  margin: 4px;
  overflow: hidden;
}

#image-viewer {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 1000;
  top: 0;
  left: 0;
  transition: opacity 0.5s;
}

.model-viewer {
  width: 100%;
  height: 100%;
}

#current-image {
  height: 100%;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  max-width: 100%;
  object-fit: contain;
}

.viewer-area {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

#image-area {
  background-color: black;
}

#ui-area {
  display: flex;
  gap: 10px;
  padding: 10px;
  box-sizing: border-box;
  color: white;
  text-shadow: black 0 0 8px, black 0 0 8px, black 0 0 8px;
  z-index: 1;
  pointer-events: none;
}

#ui-area > * {
  pointer-events: auto;
}

#ui-area h2 {
  margin: 0;
}

#exit-button {
  background: gainsboro;
  border: inset;
  height: 40px;
  width: 40px;
  text-align: center;
  color: black;
  opacity: 0.6;
  box-sizing: border-box;
  align-content: center;
  text-shadow: none;
}

.navigator-container {
  position: absolute;
  height: 100%;
  display: flex;
  align-items: center;
}

.image-navigator {
  width: 50px;
  background-color: darkgray;
  max-height: 200px;
  height: calc(100% - 35px);
  opacity: 0.5;
  border: outset white;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.image-navigator:hover {
  background-color: white;
  cursor: pointer;
}

.art-item {
  --art-item-color : #000;
  width: calc(25% - 20px);
  font-size: 10px;
  text-align: center;
  background-color: var(--art-item-color);
  border-radius: 10px;
  text-decoration: none;
  color: white;
  margin: 0 5px 5px 5px;
  position: relative;
  border: inset black 5px;
}

.art-thumbnail {
  width: 95%;
  border-radius: 15px;
  filter: blur(0rem);
  clip-path: content-box;
  transition: filter 0.2s ease;
}

.art-thumbnail-adult {
  width: 95%;
  border-radius: 15px;
  filter: blur(1rem);
  clip-path: content-box;
  transition: filter 0.2s ease;
}

.adult-advisory {
  position: absolute;
  width: 50%;
  right: calc(5% - 6px);
  bottom: calc(0% + 2px);
  transition: opacity 0.2s ease;
}

.art-item:hover{
  --art-item-color: #2d2d2d;
  z-index: 5;
}

.art-item:hover .art-thumbnail-adult{
    filter: blur(0rem);
}

.art-item:hover .adult-advisory{
    opacity: 0;
}

@media (max-width: 768px) {
  .art-item {
    width: calc(50% - 20px);
    font-size: 10px;
    text-align: center;
    background-color: var(--art-item-color);
    border-radius: 10px;
    text-decoration: none;
    color: white;
    margin: 0 5px 5px 5px;
    position: relative;
  }
  .art-year-container {
    display: flex;
    color: white;
    font-size: 30px;
    flex-direction: column;
    align-items: center;
    width: calc(100% - 6mm);
    left: 50%;
    position: relative;
    transform: translateX(-50%);
    height: fit-content;
  }
  .tags-container {
    position: relative;
    left: 50%;
    margin: 0;
    transform: translateX(-50%);
  }
}
