h1 {
  font-size: 36px;
  font-weight: bold;
}

h2 {
  font-size: 24px;
  font-weight: bold;
}

h3 {
  font-size: 18px;
  font-weight: bold;
}

.credit-item {
  padding: 0.75rem 0;
}

.container {
  gap: 1rem;
  padding: 1rem;
}

.bio {
  padding: 1rem;
}

.credits {
  padding: 1rem;
}

.social-links {
  margin-top: 1.5rem;
  text-align: center;
}

.social-links a {
  margin: 0 10px;
  text-decoration: none;
  color: #0077ff;
  font-weight: bold;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-image: url("../images/wallpaper.png");
  background-repeat: repeat;
  background-attachment: fixed;
  background-color: #f0f0f0;
  color: #222;
  position: relative;
  z-index: 0;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8); 
  z-index: -1; 
}

nav {
  background: #222;
  color: white;
  padding: 1rem;
  text-align: center;
}
nav a {
  color: white;
  margin: 0 1rem;
  text-decoration: none;
}

.title {
  text-align: center;
  padding: 1rem;
}

.gallery .grid {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.gallery img {
  width: 200px;
  border-radius: 8px;
}
footer {
  text-align: center;
  padding: 1rem;
  background: #222;
  color: white;
  margin-top: 2rem;
}

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

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
  cursor: zoom-out;
}

.gallery img {
  cursor: pointer;
  transition: transform 0.2s;
}

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


.photo {
  position: relative;
  overflow: hidden;
}

.photo img {
  display: block;
  width: 200px;
  border-radius: 8px;
  transition: transform 0.2s;
}

.photo:hover img {
  transform: scale(1.05);
  filter: brightness(80%);
}

.caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  text-align: center;
  padding: 0.3rem;
  font-size: 0.9rem;
  opacity: 0;
  transition: opacity 0.3s;
}

.photo:hover .caption {
  opacity: 1;
}
