body {
  background-color: #f9f9f9;
}
/* Gallery header styling */
.gallery-header {
  padding: 20px 32px;
  text-align: center;
  margin-bottom: 20px;
}

.gallery-header h2 {
  font-size: 2rem;
  font-weight: bold;
  color: #333;
  margin: 0 0 10px 0;
}

.gallery-header p {
  font-size: 1.1rem;
  color: #666;
  margin: 0;
  line-height: 1.5;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.spec-box {
  background-color: #f9f9f9;
  padding: 15px;
  margin-top: 40px;
  border-radius: 5px;
  text-align: left;
}

.spec-box h3 {
  font-size: 1.4rem;
  font-weight: bold;
  color: #333;
  margin: 0 0 50px 0;
}

.spec-box p {
  font-size: 1rem;
  color: #666;
  margin: 10px 0;
  line-height: 1.4;
}

@media screen and (max-width: 800px) {
  .gallery-header {
    padding: 15px;
  }
  .gallery-header h2 {
    font-size: 1.8rem;
  }
  .gallery-header p {
    font-size: 1rem;
  }
  .spec-box {
    margin-top: 20px;
  }
}

@media screen and (max-width: 600px) {
  .gallery-header {
    padding: 15px;
  }
  .gallery-header h2 {
    font-size: 1.5rem;
  }
  .gallery-header p {
    font-size: 0.9rem;
  }
  .spec-box {
    margin-top: 15px;
  }
  .spec-box h3 {
    font-size: 1.2rem;
  }
  .spec-box p {
    font-size: 0.9rem;
  }
}

.myImages {
  border-radius: 0px;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.myImages:hover {
  opacity: 0.7;
  transform: scale(1.01);
}

.modal {
  display: none;
  position: fixed;
  z-index: 10;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal[style*="display: flex"] {
  opacity: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.modal-content {
  display: block;
  max-width: 90%;
  max-height: 80vh;
  width: auto;
  height: auto;
  opacity: 1;
  transition: opacity 0.2s ease;
  margin: 0;
  box-sizing: border-box;
}

.modal-content.fade {
  opacity: 0;
}

body.modal-open {
  overflow: hidden;
}

#caption {
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  margin-top: 10px;
}

.modal-content,
#caption {
  animation-name: zoom;
  animation-duration: 0.6s;
}

@keyframes zoom {
  from { transform: scale(0); }
  to { transform: scale(1); }
}

.close {
  display: none;
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
  z-index: 11;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
}

.prev,
.next {
  display: block;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: auto;
  padding: 16px 20px;
  color: white;
  font-weight: bold;
  font-size: 24px;
  transition: background-color 0.3s ease;
  border-radius: 3px;
  user-select: none;
  z-index: 11;
  background-color: rgba(0, 0, 0, 0.5);
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
  border-radius: 3px 0 0 3px;
}

.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

@media only screen and (max-width: 700px) {
  .modal-content {
    max-width: 95%;
    max-height: 75vh;
  }
  .close {
    top: 10px;
    right: 20px;
    font-size: 30px;
  }
  .prev,
  .next {
    font-size: 20px;
    padding: 12px 16px;
  }
  .prev {
    left: 5px;
  }
  .next {
    right: 5px;
  }
}

* {
  box-sizing: border-box;
}

.row-pg {
  display: flex;
  flex-wrap: wrap;
  padding: 0 20px;
  margin-left: auto;
  padding-left: 32px;
  padding-right: 32px;
}

.column-pg {
  flex: 50%;
  max-width: 50%;
  padding: 0 20px;
  flex-direction: column;
  column-gap: 20px;
}

.column-pg img {
  margin-top: 40px;
  vertical-align: middle;
  width: 100%;
}

@media screen and (max-width: 800px) {
  .column-pg {
    flex: 50%;
    max-width: 50%;
    column-gap: 5px;
    flex-direction: column;
  }
  .row-pg {
    padding-left: 0px;
    padding-right: 0px;
  }
}

@media screen and (max-width: 600px) {
  .column-pg {
    flex: 100%;
    max-width: 100%;
    column-gap: 10px;
    flex-direction: column;
  }
  .row-pg {
    padding-left: 15px;
    padding-right: 15px;
  }
  .enap-gallery-img {
    padding: 5px;
  }
}

/* Share button styling */
.share-container {
  text-align: center;
  padding: 20px;
  margin-top: 40px;
  margin-bottom: 20px;
}

.share-button {
  background-color: #333;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.share-button:hover {
  background-color: #555;
}

.share-button.copied {
  background-color: #dfdbdb;
}