html {
  font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: #222;
  margin: 0;
  font-size: 16px;
  color: #eee;
}

body {
  margin: 0;
}

.main {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 5px;
  width: 100%;
  box-sizing: border-box;
  padding-bottom: 3rem;
}

a {
  display: inline-block;
  padding: 0.6rem 1rem;
  background-color: rgba(255, 255, 255, 0.15);
  text-decoration: none;
  color: #eee;
  border-radius: 0.25rem;
  line-height: 130%;
}

form.edit {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 5rem 1fr;
  width: 100%;
  padding: 0 5px;
  max-width: 410px;
  gap: 15px 15px;
  margin-block: 2rem;
}
form.edit > label {
  font-size: 0.9rem;
}
form.edit input {
  background-color: #333;
  padding: 0.6rem 0.4rem;
  border: rgba(255, 255, 255, 0.1) solid 1px;
  border-radius: 0.25rem;
  font-size: 1rem;
  color: #eee;
  min-width: 0;
}
form.edit textarea {
  background-color: #333;
  padding: 0.6rem 0.4rem;
  border: rgba(255, 255, 255, 0.1) solid 1px;
  border-radius: 0.25rem;
  font-size: 1rem;
  color: #eee;
  min-width: 0;
}
form.edit button {
  background-color: rgba(255, 19, 184, 0.2);
  padding: 0.7rem 1rem;
  border: none;
  cursor: pointer;
  border-radius: 0.25rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 5px 3px rgba(255, 19, 184, 0.4) inset, 0 0 0 1px rgba(255, 19, 184, 0.4);
}
form.edit br {
  display: none;
}
form.edit label:has(input[type=checkbox]) {
  white-space: nowrap;
  cursor: pointer;
}
form.edit div:has(input[type=checkbox]) {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
  gap: 0.75rem 0.5rem;
}
form.edit input[type=checkbox] {
  opacity: 0.25;
  width: 1rem;
  height: 1rem;
  vertical-align: middle;
  margin-top: 0;
}
form.edit input[type=checkbox]:checked {
  opacity: 1;
}
form.edit p:last-child {
  grid-column: 2;
}
form.edit select {
  background-color: #333;
  color: #eee;
  border-radius: 0.25rem;
  font-size: 1rem;
  padding: 0.6rem 0.4rem;
}

form.delete {
  width: 100%;
  padding: 0 5px;
  max-width: 410px;
}
form.delete button {
  background-color: #c04040;
  padding: 0.3rem 0.35rem 0.15rem 0.35rem;
  border: rgba(255, 255, 255, 0.1) solid 1px;
  cursor: pointer;
  border-radius: 0.25rem;
  font-size: 1rem;
}
form.delete button img {
  width: 1.8rem;
}
form.delete p {
  text-align: center;
  margin: 0;
}
form.delete p::before {
  content: "";
  display: block;
  width: 100%;
  height: 1rem;
  background: radial-gradient(ellipse at top, #161616 0%, #222 80%);
  margin-bottom: 1rem;
}

.controls {
  margin-top: 2rem;
  box-sizing: border-box;
  width: 100%;
  padding: 0;
  display: flex;
  align-items: start;
  flex-wrap: wrap;
  gap: 0.25rem;
}
@media (min-width: 1000px) {
  .controls {
    padding: 0 2rem !important;
  }
}
.controls .h {
  width: 100%;
}

a.reset {
  background-color: #0f0f0f;
  position: relative;
  aspect-ratio: 1;
  width: 2.5rem;
  padding: 0;
}
a.reset img {
  inset: 0.4rem;
  width: 68%;
  position: absolute;
  filter: invert(1);
  -o-object-fit: contain;
     object-fit: contain;
  opacity: 0.7;
}

.searchfield {
  display: inline-block;
  padding: 0.6rem;
  background-color: rgba(255, 255, 255, 0.15);
  text-decoration: none;
  color: #eee;
  border-radius: 0.25rem;
  border: none;
  box-shadow: 1px 1px 1px #000 inset, -1px -1px 1px #666 inset;
  font-size: 1rem;
  line-height: 130%;
  min-width: 5rem;
  max-width: 20rem;
  flex: 1;
  box-sizing: border-box;
}

button.search {
  display: inline-block;
  padding: 0.6rem 1rem;
  background-color: rgba(255, 255, 255, 0.15);
  text-decoration: none;
  color: #eee;
  border-radius: 0.25rem;
  border: none;
  font-size: 1rem;
  line-height: 130%;
}

.order {
  position: relative;
}
.order input {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  width: 1px;
  visibility: hidden;
}
.order label {
  display: block;
  background-color: rgba(255, 255, 255, 0.15);
  position: relative;
  aspect-ratio: 1;
  width: 2.5rem;
  padding: 0;
  border-radius: 0.25rem;
  cursor: pointer;
}
.order label img {
  inset: 0.4rem;
  width: 68%;
  position: absolute;
  filter: invert(1);
  -o-object-fit: contain;
     object-fit: contain;
  opacity: 0.7;
  pointer-events: none;
}
.order:has(input:checked) label {
  background-color: rgba(255, 19, 184, 0.2);
  box-shadow: 0 0 5px 2px rgba(255, 19, 184, 0.4) inset;
}

.box:has(.filter) {
  max-width: 50rem;
  width: 100%;
  height: 0;
  overflow: hidden;
  transition: height 0.3s ease-in-out;
}

.box:has(.filter.open) {
  height: calc-size(auto, size);
}

.filter {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  width: 100%;
  box-sizing: border-box;
  padding: 1rem;
  border-radius: 0.25rem;
  border: 1px solid transparent;
}
.filter.open {
  border-color: #444;
}
.filter label {
  white-space: nowrap;
  cursor: pointer;
}
.filter input {
  opacity: 0.25;
  width: 1rem;
  height: 1rem;
  vertical-align: middle;
  margin-top: 0;
  margin-right: 0.5rem;
}
.filter input:checked {
  opacity: 1;
}
.filter p {
  margin: 0;
}
.filter p:last-child {
  grid-column: 1/-1;
}
.filter button {
  display: inline-block;
  padding: 0.6rem 1rem;
  background-color: rgba(255, 255, 255, 0.15);
  text-decoration: none;
  color: #eee;
  border-radius: 0.25rem;
  border: none;
  font-size: 1rem;
  margin-right: 0.25rem;
}

.gallery {
  --min: 180px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(var(--min), 1fr));
  gap: 2px;
  width: 100%;
  box-sizing: border-box;
  padding: 0;
  margin-block: 2rem;
}
@media (min-width: 1000px) {
  .gallery {
    padding: 0 2rem !important;
  }
}
@media (max-width: 500px) {
  .gallery {
    --min: 160px;
  }
  .gallery .card {
    padding: 0.5rem !important;
  }
}
.gallery .card {
  background-color: #333;
  padding: 0.75rem;
  border-radius: 0.25rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.gallery .card .cover {
  width: 100%;
  aspect-ratio: 0.67;
  overflow: hidden;
}
.gallery .card .cover img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  scale: var(--zoom);
}
.gallery .card h2 {
  margin-block: 0.4em 0.4em;
  font-size: 1.25rem;
  font-weight: 400;
}
.gallery .card p {
  margin-block: 0 0.25em;
  display: flex;
  -moz-column-gap: 0.3rem;
       column-gap: 0.3rem;
}
.gallery .card p a {
  display: inline-block;
  border-radius: 0.25rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  padding: 0.25rem 0.6rem 0.35em;
  text-decoration: none;
  background: rgba(0, 0, 0, 0.1);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.15) inset, 0 1px 0 rgba(0, 0, 0, 0.4);
}
.gallery .card p a:not(:has(img))::after {
  content: "";
  background-color: rgba(19, 255, 224, 0.4);
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  display: inline-block;
  margin: 0 0 0.1rem 0.4rem;
}
.gallery .card p a:not(:has(img)).p::after {
  background-color: rgba(255, 19, 184, 0.6);
}
.gallery .card p a:has(img) {
  width: 0.8rem;
  position: relative;
}
.gallery .card p img {
  position: absolute;
  width: 1.1rem;
  display: block;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: invert(1);
  opacity: 0.6;
}

.zoom {
  display: none;
}

.zoom.active {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(5px);
  z-index: 100;
}
.zoom.active img {
  max-width: 95%;
  max-height: 95%;
  -o-object-fit: contain;
     object-fit: contain;
  box-shadow: 0 0 2rem rgba(0, 0, 0, 0.5);
}/*# sourceMappingURL=style.css.map */