/* Set the background color of body to tan */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

body {
  width: 100%;

  margin:auto;
  padding: 0;

    font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  font-style: normal;
    max-width:1200px;
    background-color: #f4f4f9;
}
.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 20px;
  justify-content: center;
  margin-bottom: 100px;
}

.gallery-item {
  width: 150px;
  height: 150px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s;
}

.gallery-item:hover {
  transform: scale(1.05);
}

/* Lightbox Styles */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}
.image-name {
  font-size: 18px;
  color: white;
  margin: 0 15px;
  text-align: center;
  font-family: Arial, sans-serif;
}

.lightbox-image {
  max-width: 90%;
  max-height: 80%;
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 30px;
  color: white;
  cursor: pointer;
}

.controls {
  margin-top: 10px;
}

.controls button {
  background-color: #fff;
  border: none;
  font-size: 20px;
  margin: 0 10px;
  cursor: pointer;
  padding: 5px 15px;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.controls button:hover {
  background-color: #ccc;
}

.gallery-link {
  display: block;
  text-align: center;
  color: #007BFF;
  text-decoration: none;
  margin-top: 5px;
  font-size: 16px;
  cursor: pointer;
}

.gallery-link:hover {
  text-decoration: underline;
}

.text-links{
  margin-bottom: 25px;
}