* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #222;
  color: white;
  font-family: sans-serif;
}

.page {
  position: absolute;
  width: 100%;
  height: 100%;
  display: none;
  overflow-y: auto;
  padding: 20px;
  background-color: #222;
}

.page.active {
  display: block;
}

canvas {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

.logo {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 32px;
  z-index: 1;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 36px;
  font-family: sans-serif;
  cursor: pointer;
  z-index: 2;
  user-select: none;
}

.arrow.right {
  right: 20px;
}

.arrow.left {
  left: 20px;
}

.gallery {
  position: relative;
  width: 100%;
  height: 100%;
}

.gallery img {
  position: absolute;
  width: 25%;
  height: auto;
  object-fit: cover;
  transition: transform 0.3s ease, left 0.5s, top 0.5s;
  cursor: pointer;
}

.gallery img:hover {
  transform: scale(1.1);
  z-index: 5;
}

.gallery img.focused {
  transform: translate(-50%, -50%) scale(2);
  left: 50% !important;
  top: 50% !important;
  z-index: 10;
}

.shuffle-button {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: transparent;
  color: white;
  border: 1px solid white;
  padding: 8px 16px;
  font-size: 16px;
  cursor: pointer;
  z-index: 5;
  transition: background 0.3s;
}

.shuffle-button:hover {
  background: rgba(255, 255, 255, 0.1);
}

.info {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.info h2, .info h3 {
  margin-top: 40px;
  font-size: 24px;
}

.info ul {
  margin-top: 10px;
  margin-bottom: 30px;
  padding-left: 20px;
  line-height: 1.6;
}
