:root {
  --white: #fffae3;
  --black: #262521;
  --grey: #898678;
  --accent: #ffd000;
  --radius: 1rem;
  --radius-md: 0.5rem;
  --radius-sm: 0.25rem;
  --primary-font: "Average Sans", sans-serif;
  --secondary-font: "Castoro Titling", serif;
  --transition-timing: 0.5s;
  font-size: 18px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  color: var(--black);
  font-family: var(--primary-font);
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 1rem;
  line-height: 1.5;
  background: var(--black);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--secondary-font);
  font-weight: 400;
  font-style: normal;
}

h2 {
  font-size: 1.5rem;
}

p {
  font-size: 1rem;
}

.wall {
  position: relative;
  width: 100vw;
  height: 100vh;
  background: var(--white);
  overflow: hidden;
  perspective: 1000px;
}
.wall:has(.case:hover) .case:not(:hover) {
  opacity: 0.4;
}
.wall .case {
  position: absolute;
  width: clamp(150px, 20vw, 500px);
  aspect-ratio: 4/3;
  border-radius: var(--radius-sm);
  filter: drop-shadow(0 0 0px var(--black));
  overflow: hidden;
  will-change: transform;
  cursor: pointer;
  transition: opacity var(--transition-timing) ease, box-shadow var(--transition-timing) ease;
}
.wall .case:hover {
  opacity: 1;
  filter: drop-shadow(0 0 10px color-mix(in srgb, var(--black) 30%, transparent));
  z-index: 100;
}
.wall .case img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  pointer-events: none;
}

.wall:has(.case:hover) + .overlay {
  opacity: 0.6;
}

.overlay {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--black);
  transition: opacity var(--transition-timing) ease;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 200;
}

.details {
  position: fixed;
  top: 50%;
  left: 50%;
  width: clamp(300px, 50vw, 600px);
  transform: translate(-50%, -50%);
  z-index: 200;
  pointer-events: none;
}
.details .case {
  opacity: 0;
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: var(--radius-xs);
  color: var(--white);
  text-align: center;
}
.details .case h2 {
  position: relative;
  padding-bottom: 1rem;
}
.details .case h2:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 5rem;
  height: 1px;
  background: var(--white);
  transform: translateX(-50%);
}/*# sourceMappingURL=style.css.map */