body {
  font-family: Verdana, sans-serif;
  margin: 0;
  background-color: black;
  color: white;

}

* {
  box-sizing: border-box;
}



.row > .column {
  padding: 8px 8px;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

.column {
  float: left;
  width: 25%;
}

/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: black;
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: black;
  margin: auto;
  padding: 0;
  width: 90%;
  max-width: 1200px;
}

/* The Close Button */
.close {
  color: white;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

.mySlides {
  display: none;
}

.cursor {
  cursor: pointer;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: black;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

img {
  margin-bottom: -4px;
}

.caption-container {
  text-align: center;
  background-color: black;
  padding: 2px 16px;
  color: white;
}

.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}

img.hover-shadow {
  transition: 0.3s;
}

.hover-shadow:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

/* navbar stuff*/

header {
  background-color: rgba(0, 0, 0, 0.8);
  position: fixed;
  top: 0;

  width: 100%; /* Adjust width of the sidebar */
  z-index: 10;
  padding: 10px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  overflow: auto; /* Allows scrolling if the sidebar is longer than the screen */
}

.navbar {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.baritem {
  padding: 10px 20px;
  color: white;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s;
}

.baritem:hover {
  color: #ddd;
}

.baritem i {
  margin-right: 8px;
}



/*ss*/

.row:after {
  content: "";
  display: table;
  clear: both;
}

.column {
  float: left;
  width: 25%;
}

/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: black;
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: black;
  margin: auto;
  padding: 0;
  width: 90%;
  max-width: 1200px;
}

/* The Close Button */
.close {
  color: white;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

.mySlides {
  display: none;
}

.cursor {
  cursor: pointer;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: black;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

img {
  margin-bottom: -4px;
}

.caption-container {
  text-align: center;
  background-color: black;
  padding: 2px 16px;
  color: white;
}

.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}

img.hover-shadow {
  transition: 0.3s;
}

.hover-shadow:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}


.gallery-title {
  padding-top: 20px; /* Padding to offset for mobile navigation */
  text-align: center;
  margin: 20px 0;
  color: #fff;
}

.gallery-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.gallery-column {
  flex: 1 1 25%;
  padding: 8px;
  max-width: 25%;
  box-sizing: border-box;
}

.gallery-image, .modal-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  cursor: pointer;
  transition: 0.3s;
  
}


.landscape {
  aspect-ratio: 13 / 9; 
}
.landscape1 {
  aspect-ratio: 13 / 10; 
}

.landscape2 {
  aspect-ratio: 12 / 10; 
}

.portrait {
  aspect-ratio: 9 / 13; 
}
.portrait2 {
  aspect-ratio: 10 / 13; 
}

.square {
  aspect-ratio: 1 / 1; 
}


.gallery-image:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(0, 0, 0, 0.19);
}

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

.modal-content {
  position: relative;
  background-color: black;
  margin: auto;
  padding: 0;
  width: 80%;
  max-width: 800px;
}

.close {
  color: white;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

.mySlides {
  display: none;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  user-select: none;
  -webkit-user-select: none;
}

.prev {
  left: 0;
  border-radius: 0 3px 3px 0;
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

.caption-container {
  text-align: center;
  background-color: black;
  padding: 2px 16px;
  color: white;
}

#awards, #design, #architecture {
  padding-top: 50px;  /* Space above h2 */
  margin-top: -50px;  /* Pull h2 back up to its original position */
}
#objects {
  margin-top: 30px;  /* Space above h2 */
}
@media (max-width: 900px) {
  .navbar {
    flex-direction: row;
    
    justify-content: center;
  }
  
}


@media (max-width: 800px) {
  body {
    padding-left: 0; /* Remove sidebar padding on smaller screens */
  }
  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    padding: 10px 0;
  }
  .navbar {
    flex-direction: row;
    
    justify-content: center;
  }
  .gallery-title {
    margin-top: 40px; /* More space to prevent overlap by the header */
  }
  .gallery-column {
      flex: 1 1 50%;
      max-width: 50%;
  }
  .baritem {
      font-size: 14px; /* Smaller font size for smaller screens */
      padding: 10px 10px; /* Smaller padding for navigation items */
  }/*
  #awards, #design, #architecture {
    padding-top: 80px; 
    margin-top: -50px;
  } */
}

@media (max-width: 500px) {
  .gallery-column {
      flex: 1 1 100%;
      max-width: 100%;
  }
  .baritem {
    font-size: 13px; /* Smaller font size for smaller screens */
    padding: 10px 3px; /* Adjust padding for compact appearance */
  }
  .baritem i.fa {
    margin-right: 1px; /* Reduce the right margin on icons */
    }

  header {
      padding: 5px 0; /* Reduce padding in the header for small screens */
  }
  

}
@media (max-width: 400px) {
  .baritem {
    font-size: 12px; /* Smaller font size for smaller screens */
    padding: 10px 3px; /* Smaller padding for navigation items */
  }
}