.headline {
	width:100%;
	height:130px;
}
.head {
	text-align: center;
    font-size: 60px;
    padding: 20px;
}

.g-column {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  margin-top:20px;
}

.cards {
  width: calc(25% - 10px);
  margin-bottom: 10px;
  height: 280px;
  border-radius: 20px;
  border: 2px solid #ccc;
  overflow: hidden;
}

.cards:hover {
  border: 2px solid #777;
}

.img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.cards {
  width: calc(25% - 10px);  /* 4 images in one row */
  margin-bottom: 10px;
  height: 280px;
  border-radius: 20px;
  border: 2px solid #ccc;
  overflow: hidden;
  display: inline-block;
}

.cards:hover {
  border: 2px solid #777;
}

.img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.cards:hover img {
  transform: scale(1.1);
}

/* Overlay Styles */
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 999;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(10px);
  flex-direction: column;
}

.overlay img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.zoomed-img {
  transform: scale(1);
  transition: transform 0.3s ease;
}

/* Buttons for navigation and close */
.close-btn,
.prev-btn,
.next-btn {
  position: absolute;
  color: white;
  background: rgba(0, 0, 0, 0.6);
  border: none;
  padding: 10px;
  cursor: pointer;
  border-radius: 5px;
  font-size: 20px;
}

.close-btn {
  right: 20px;
  top: 20px;
}

.prev-btn {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.next-btn {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.close-btn:hover,
.prev-btn:hover,
.next-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}





@media screen and (max-width: 768px) {
	.head {
		font-size:48px;
	}
	.cards {
    width: calc(50% - 10px);
  }
}