@font-face {
  font-family: "STOR";
  src: url("fonts/STOR-Regular.ttf") format("truetype");
}

h2 {
  font-family: "STOR", sans-serif;
}

body {
  margin: 0;
  font-family: "Roboto Condensed", sans-serif;
  background-color: #000;
    background-image: url('/architecture/archbgg.jpg');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

header {
  text-align: center;
  padding: 1rem;
  color: #000;
}
header {
  max-width: 100%;
  height: auto;
  box-sizing: border-box;
}

.header {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 90%;
  z-index: 5;
}


.header img {
  max-width: 100%;
  height: auto;
}

header a {
  text-decoration: none;
  display: block;
}

.container {
  width: 100%;
  max-width: 65%;
  min-height: 400px;
  margin: 135px auto 1rem;
  background: #fff;
  border: 20px solid #000;
  padding: 1rem;
  padding-top: 120px;
  padding-bottom: 100px;
  border-radius: 150px;
  flex-direction: column;
}

.filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 1.5rem auto;
  padding: 0;
}

.filters .enter-btn.btn-6 {
  padding: 10px 12px; /* increases the padding for a bit more space inside */
  font-size: 0.85rem; /* makes the text a little bigger */
  height: 45px; /* slightly larger height */
  width: auto; /* keeps width adjusting based on content */
  min-width: 80px; /* sets a slightly larger minimum width */
  border-width: 1px; /* keeps the border thin */
}



.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
  margin: 0 auto;
  padding: 16px;
  max-width: 1200px;
}


.gallery-item {
  position: relative;
  overflow: hidden;
  display: block;
  width: 100%;
  max-width: 500px;
  margin: auto;
  height: auto;
  transition: all 0.3s ease;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, opacity 0.3s ease;
  max-width: 100%;
  max-height: 100%;
}

/*name of item*/
.gallery-item .title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: "Russo One", sans-serif;
  color: #000;
  font-size: .75rem;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}


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

.gallery-item:hover .title {
  opacity: 1;
}


.lightbox {
  display: none;
  position: fixed;
  z-index: 10;
  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: 80%;
  max-height: 80%;
  border-radius: 15px;
}

.lightbox .close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 3rem;
  color: white;
  cursor: pointer;
}

.hidden {
  display: none;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: auto;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s;
  z-index: 11;
}

#lightbox-prev {
  left: 20px;
}

#lightbox-next {
  right: 20px;
}

.lightbox-nav:hover {
  opacity: 1;
}

/*footer (desktop)*/
footer {
  font-family: "STOR", sans-serif;
  background: #fff;
  color: #000;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 0.05em;
  padding: .5rem;
  border: 20px solid #000;
  border-radius: 45px;
  text-align: center;
  max-width: 30%; /* Increased max-width for better width */
  margin: 1rem auto;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}



/*mobile*/
@media screen and (max-width: 768px) {
  .container {
    width: 83%;
    max-width: 83%;
    padding: 16px;
    padding-bottom: 16px;
    margin: 5px auto 1rem;
    top: 25px;
    margin-top: 65px;
    border: 5px solid #000;
    border-radius: 50px;
  }
  
  h2 {
  font-size: 1rem;
}

  p {
  font-size: 0.8rem;
}

.filters .enter-btn.btn-6 {
  padding: 6px 10px;
  font-size: 0.7rem;
  height: 30px;
  min-width: 70px;
}

.gallery-item .title {
  font-size: 0.6rem;
}

  
    footer {
    max-width: 100%;
    padding: .2rem;
      border: 5px solid #000;
    border-radius: 50px;
    text-align: center;
    font-size: 0.7rem;
    margin: .5rem;
    display: flex; 
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}