: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: 16px;
}

* {
  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);
  transition: background var(--transition-timing) ease;
  overflow: hidden;
  perspective: 1000px;
}
.wall:has(.case:hover) .case:not(:hover) {
  opacity: 0.4;
}
.wall:has(.case.active) {
  background: color-mix(in srgb, var(--white), var(--black) 20%);
}
.wall:has(.case.active) .case {
  opacity: 0.4;
  pointer-events: none;
}
.wall:has(.case.active) .case.active {
  opacity: 1;
  pointer-events: auto;
}
.wall .case {
  position: absolute;
  width: clamp(150px, 20vw, 800px);
  aspect-ratio: 4/3;
  will-change: transform;
  cursor: pointer;
  transition: opacity var(--transition-timing) ease;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
}
.wall .case:hover {
  opacity: 1;
  z-index: 100;
}
.wall .case .front, .wall .case .back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.wall .case .front {
  z-index: 2;
}
.wall .case .front img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  pointer-events: none;
}
.wall .case .back {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.5rem;
  padding: 1.5rem;
  text-align: center;
  background: var(--white);
  transform: rotateY(180deg);
  z-index: 1;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--grey) transparent;
}
.wall .case .back .close {
  text-align: right;
}
.wall .case .back .logo img {
  width: auto;
  height: 3rem;
}
.wall .case .back h2 {
  display: none;
}/*# sourceMappingURL=style.css.map */