html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin: 3em;
}


footer {
  padding-top: 1em;
}

.nsfw-warning-container {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  backdrop-filter: blur(20px);
}

.nsfw-warning {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

#fullscreenview.open ~ .nsfw-warning-container {
  backdrop-filter: blur(50px);
}




.artitems {
  
}

.artitems > ol {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-evenly;
  gap: 1em;

  list-style: none;
  margin: 0;
  padding: 0;
}

.artitems > ol > li {
  display: block;
  min-height: 15em;
  width: 15em;
}

.artitem figcaption {
  text-align: center;
}

.artitem img {
  height: 15em;
  width: 15em;
  object-fit: contain;
}

.artitem img.pixel {
  image-rendering: pixelated;
}

.artitem .title {
  /* want to include this data in the page (for now), but displaying it on the list makes it uglier */
  display: none;
}




.socials {
  list-style: none;
  padding-left: 0;
}

.socialicon {
  height: 1em;
}




#fullscreenview {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  color: white;
  
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  padding-top: 2em;

  transition: background-color 0.3s;
  z-index: 1;
}

#fullscreenview.open {
  background-color: rgba(0, 0, 0, 0.875);
}

#fullscreenview.closed {
  background-color: rgba(0, 0, 0, 0);
}

#fullscreenview.fullyClosed {
  visibility: hidden;
}

#fullscreenview #fsv_center {
  
}

#fullscreenview figure {
  display: block;
  max-width: 100%;
  max-height: 90vh;
  
  transition: transform 0.3s;
}

#fullscreenview.open figure {
  transform: scale(1);
}

#fullscreenview.closed figure {
  transform: scale(0);
}

#fullscreenview #fsv_img {
  width: auto;
  height: auto;
  max-width: 90vw;
  max-height: 70vh;
  object-fit: contain;
}

#fullscreenview #fsv_img.pixel {
  image-rendering: pixelated;
  width: 500px;
  /* Available in Chromium, but not Firefox or Safari. Looks great though. Enable when available in Firefox.
  width: calc-size(auto, size * 3);
   */
}




.artistselect menu {
  display: flex;
  flex-direction: row;
  /*list-style: none;*/
}




.pageselect {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}

.pageselect menu {
  flex-grow: 0;
  
  display: flex;
  flex-direction: row;
  
  gap: 2px;
}

.pageselect li {
  min-width: 2.5em;
  
  text-align: center;
  list-style: none;
  --pageselectItemHeight: 2.5em;
  height: var(--pageselectItemHeight);
  line-height: var(--pageselectItemHeight);
  flex-basis: auto;
  padding-left: 0.2em;
  padding-right: 0.2em;
  
  /*border: 1px solid orange;*/
  background-color: lightgray;
  transition: filter 0.5s;
}

.pageselect li.selected {
  filter: brightness(85%);
}

.pageselect li:hover {
  filter: brightness(75%);
}

.pageselect li:first-of-type {
  border-top-left-radius: 0.5em;
  border-bottom-left-radius: 0.5em;
}

.pageselect li:last-of-type {
  border-top-right-radius: 0.5em;
  border-bottom-right-radius: 0.5em;
}

.pageselect a {
  text-decoration: none;
  color: inherit;
}
