html, body {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  background: #111;
  color: #fff;
}

a {
  color: #F3114E;
  text-decoration: underline;
}

.back-link-container {
  text-align: center;
  margin: 20px 0;
}

.back-link-container a {
  text-decoration: none;
  color: #00bfff;
  font-weight: bold;
  font-size: 1.1rem;
}

.gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
}

.gallery img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.2s;
}

.gallery img:hover {
  transform: scale(1.03);
}

.image-block {
  text-align: center;
}

.image-block p {
  margin: 0 0 8px;
  font-weight: bold;
  font-size: 1.1rem;
}

.image-block img {
  width: 100%;
  max-width: 600px;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.2s;
}

.image-block img:hover {
  transform: scale(1.03);
}

.popup-img {
  max-width: 100%;
  max-height: 100%;
  cursor: pointer;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
}

.popup-container {
  text-align: center;
  padding: 20px;
  background: #111;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.popup-nav {
  position: absolute;
  top: 50%;
  width: 20%;
  height: 100%;
  cursor: pointer;
  z-index: 1001;
}

.popup-nav-left {
  left: 0;
}

.popup-nav-right {
  right: 0;
}

.popup-nav-left::before,
.popup-nav-right::before {
  content: '';
  position: absolute;
  top: 50%;
  width: 30px;
  height: 30px;
  border: solid white;
  border-width: 0 4px 4px 0;
  padding: 4px;
  opacity: 0.6;
  pointer-events: none;
}

.popup-nav-left::before {
  left: 10px;
  transform: translateY(-50%) rotate(135deg);
}

.popup-nav-right::before {
  right: 10px;
  transform: translateY(-50%) rotate(-45deg);
}