/* Плавная анимация для слайдов*/
.slider {
  position: relative;
  min-height: 300px;
}
.slider .slide {
  opacity: 0;
  transition: opacity var(--slider-speed, 500ms) ease;
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
  z-index: 1;
  pointer-events: none;
}
.slider .slide.active {
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
}

/* Можно менять скорость анимации через переменную ниже */
:root {
  --slider-speed: 900ms;
}
#portfolio img.responsive-img {
  width: 30%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35), 0 2px 8px rgba(0,0,0,0.18);
  background: #fff;
  user-select: none;
  pointer-events: none;
}

#portfolio .gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

/* Блокировка правого клика */
#portfolio img {
  -webkit-user-drag: none;
}

#portfolio {
  -webkit-user-select: none;
  user-select: none;
}


#portfolio {
  font-family: Arial, sans-serif;
  color: #222;
  font-size: 1rem;
  background: none;
  margin: 0;
  padding: 0;
}
