body {
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  padding: 0;
}

nav {
  background-color: #fff;
  text-align: center;
  padding: 15px;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

nav li {
  display: inline;
  margin-right: 30px;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: 200;
}

nav a:hover {
  color: #555;
}

header {
  background-color: #f0f0f0;
  text-align: center;
  padding: 20px;
}

.hidden {
  display: none;
}

.category {
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.category img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.category:hover {
  transform: scale(1.05);
}

.gallery-options {
  text-align: center;
  padding: 40px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  padding: 20px;
}

.gallery a {
  cursor: pointer;
}

.image-container {
  position: relative;
  overflow: hidden;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.image-container img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.image-title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 5px;
  font-size: 14px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-container:hover .image-title{
  opacity: 1;
}

.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  overflow-y: auto;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
}

.lightbox-caption {
  color: #fff;
  text-align: center;
  margin-top: 10px;
}

.lightbox-close {
  position: absolute;
  top: 10px;
  right: 20px;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
}

#lightboxImage {
  max-width: 100%;
  max-height: 100%;
  display: block;
  object-fit: contain;
}

.about-me, .contact {
  padding: 30px;
}

.about-me {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 10px;
}

.about-image img {
  margin-top: 15px;
  max-width: 200px;
  height: auto;
}

.about-text {
  line-height: 1.6;
  text-align: justify;
  flex: 1;
}

.about-header {
  padding-top: 40px;
  text-align: center;
}

.about-header h2 {
  font-size: 36px;
  font-weight: 200;
  font-style: italic;
}

.contact {
  text-align: center;
  background-color: #555;
  color: #fff;
}

@media (min-width: 768px) {
  .about-me {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .about-image {
    order: 1;
    flex: 0 0 200px;
  }

  .about-text {
    order: 2;
    flex: 1;
    padding-left: 10px;
  }
}

@media (max-width: 767px) {
  .about-me {
    align-items: center;
  }

  .about-image {
    order: 1;
    flex: 0;
    text-align: center;
  }

  .about-text {
    order: 2;
    flex: 1;
  }
}