body {
  background-color: #13294B;
  margin: 0;
  font-family: Arial, sans-serif;
}

h1.centered-title {
  font-family: 'Playfair Display', serif; /* Replace with any font name from the list provided */
  font-weight: 200;                       /* Thin weight */
  font-size: 2.5em;                       /* Adjust size as per your requirement */
  color: #FFFFFF;                         /* White color */
  text-align: center;                     /* Center align */
  letter-spacing: 2px;                    /* Adds a bit of spacing between characters for a more refined look */
  margin-bottom: 20px;                    /* Provides some space below the heading */
  line-height: 1.2;                       /* Adjusts the spacing between lines if your heading wraps onto multiple lines */
}

#viewer {
  width: 100%;
  height: 65%;
  margin: 0 auto;
}

#gallery img {
  height: 100px;
  width: 135px;
  cursor: pointer;
  transition: transform 0.3s;
}

#gallery img:hover {
  transform: scale(1.1);
}

#gallery {
  overflow-x: auto;
  white-space: nowrap;
  padding: 10px 0;
}

.thumbnail-container {
  position: relative;
  display: inline-block;
  margin-right: 10px;
  vertical-align: top; /* To align the blocks vertically */
}

.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: small;
  font-weight: bold;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 2px 5px;
  border-radius: 3px;
  text-align: center;
  width: 100%;
  white-space: pre-wrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

.modal-content {
  margin: auto;
  display: block;
  max-width: 80%;
  max-height: 80%;
}

.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

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

.header-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 20px 0; /* Optional padding to give some vertical space */
}

.header-content {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1200px; /* You can adjust this value or remove it if you don't need a max width */
  padding: 0 20px;  /* Added padding for small screens */
}

.site-logo {
  flex: 0 0 auto;
  margin-right: 5px;
  height: 75px;
  width: 75px;
}

.centered-title {
  flex: 1 0 auto;
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-weight: 50;
  color: #FFFFFF;
  margin: 0 5px; /* Gives some horizontal space around the title */
}

#showImageBtn {
  flex: 0 0 auto;
  margin-left: 5px;
}

/* Splash Scene */
#splashOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999; /* Ensure it's on top of other content */
  display: flex;
  justify-content: center;
  align-items: center;
}

#splashVideo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#videoOverlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(32, 19, 83, 0.5); /* Dark blue with opacity */
  z-index: 1; /* Ensure it's on top of the video but below the button */
}

#enterTourBtn {
  position: fixed; /* This will keep the button fixed at a specific position */
  bottom: 5%; /* This will position the button at the lower 25% of the screen */
  z-index: 1; /* Ensure it's on top of the video and overlay */
  padding: 15px;
  margin: 5px;
  font-size: 1.5em;
  cursor: pointer;
  border-radius: 5px;
  color: white;
  background-color: #13294B;
  border: 3px solid white;
  outline: 6px solid #13294B;
}

#enterTourBtn:hover {
  color: #13294B;
  background-color: white;
  border: 4px solid #13294B;
  outline: 6px solid #FFFFFF;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .site-logo, .centered-title, #showImageBtn {
    margin-bottom: 10px;
  }

  .centered-title {
    font-size: 2em;
  }

  #enterTourBtn {
    font-size: 1.2em;
  }

  #gallery img {
    height: 75px;
    width: 100px;
  }

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