.bg-img {
  width: 100%;  
  height: auto;  
}


.bg-img {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover; 
  z-index: -1;      
}


.gallery {
  position: relative;
}

.gallery-item {
  position: absolute;
  width: 50px;  
  height: 50px;
  object-fit: cover;
  border: 3px solid white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: scale(2);
  z-index: 50; 
}

.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
}

.modal-content {
  max-width: 90%;
  max-height: 90%;
  animation: zoomIn 0.3s ease;
}

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

.close {
  position: absolute;
  top: 40px;
  right: 70px;
  color: white;
  font-size: 30px;
  font-weight: 400;
  cursor: pointer;
  transition: 0.3s;
}

.modal-content:hover {
  transform: scale(1.02);
  transition: transform 0.2s ease;
}

body {
  background-attachment: fixed;
}