
.perif {
	font-family: font/Poppins-Regular.ttf;
	font-size: 1rem;;
	color: #FF7F11;
	text-align: center;
}

/* 1. Contêiner principal que esconde o estouro */
.gallery-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 20px 0;
}

/* 2. Trilho contínuo que desliza via Keyframes */
.gallery {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  animation: scrollGallery 20s linear infinite;
}

/* Pausa o movimento no hover (desktop) */
.gallery:hover,
.gallery.paused {
  animation-play-state: paused;
}

@keyframes scrollGallery {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%); /* Desloca exatamente metade (o grupo original de imagens) */
  }
}

.gallery-item {
  flex: 0 0 auto;
  width: 250px;
  height: 345px;
  object-fit: cover;
  margin: 0 10px;
  cursor: pointer;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
}

/* Modal Styling */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.show {
  display: flex;
  opacity: 1;
}

.modal-content {
  position: relative;
  max-width: 90%;
  max-height: 80vh;
  border-radius: 8px;
  animation: zoomIn 0.3s;
}

@keyframes zoomIn {
  from { transform: scale(0.8); }
  to { transform: scale(1); }
}

.close {
  position: absolute;
  top: 15px;
  right: 25px;
  color: #ffffff;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
}

.caption {
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: center;
  color: #ffffff;
  font-size: 20px;
}


