/* nav mobile 839px */

/* Goblin One font for headlines */
h1,
h2,
h3,
h4,
h5,
h6,
nav ul#main-nav li {
  font-family: "Goblin One", serif;
  text-transform: uppercase;
}
h1,
h2 {
  font-size: 3rem !important;
}
h3 {
  font-size: 1.4rem !important;
}
h4,
h5 {
  font-size: 1.2rem !important;
}
h6,
nav ul#main-nav li {
  font-size: 1.1rem !important;
}

.section-sub-pages {
  padding-top: 189px;
}

/* mobile size*/
@media (max-width: 739px) {

  h1,
  h2 {
    font-size: 2.5rem !important;
  }
}

/* gallery css */
.gallery-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

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

.gallery-item {
  cursor: pointer;
  transition: transform 0.3s ease;
  overflow: hidden;
  
  border: 4px solid #FCFAF7;
  background-color: #FCFAF7;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -o-border-radius: 3px;
  border-radius: 3px;
  -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.3);
  -moz-box-shadow: 0 1px 2px rgba(0,0,0,0.3);
  -o-box-shadow: 0 1px 2px rgba(0,0,0,0.3);
  box-shadow: 0 1px 2px rgba(0,0,0,0.3);  
}

.gallery-item:hover {
  transform: scale(1.03);
}

.gallery-image {
  width: 100%;
  height: 200px;
  object-fit: cover; 
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 1000;
}

.modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90vh;
  margin: 5vh auto;
}

.modal-image {
  width: 100%;
  height: auto;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  user-select: none;
  padding: 20px;
  width: 100px;
  filter: brightness(0) invert(1);
}

.left-arrow {
  left: 20px;
}

.right-arrow {
  right: 20px;
}

.close {
  position: absolute;
  top: -18px;
  right: 30px;
  color: white;
  font-size: 3rem;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.close:hover {
  transform: scale(1.2);
}
/* gallery css end */