html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video, iframe {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  font-family: 'Cairo', sans-serif;
}
body{
  background-color: rgb(30,30,30);
  color: white;
  #overflow-x: hidden;
}
a{
  color: white;
}
a:visited{
  color: white;
}
h1{
  font-size: 40px;
}
h2{
  font-size: 30px;
}

iframe{
  border: none;
  overflow: hidden;
}

#bodyContainer{
  width: 100%;
  min-height: 100vh;
  margin-bottom: 0px;
  padding-bottom: -80px;
}
html{
  background-color: #1E1E1E;
  color: white;
  font-family: 'Cairo', sans-serif;
  #text-align: center;
}
footer{
  text-align: right;
  max-width: 800px;
  margin: 20px auto;
  font-size: 14px;
  line-height: 18px;
  color: gray;
  padding: 10px;
}
#about{
  width: 100%;
}
/* CSS for the gallery images */
.galleryContainer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.galleryImage {
  max-width: 100%;
  max-height: 600px;
  object-fit: contain;
  margin-top: 60px;
  margin-bottom: 60px;
}
.galleryImage1 {
  height: 600px;
  margin: 0px;
  background-size: cover;
  background-position: center;
  min-width: 100%;
  border-radius: 4px;
  flex-grow: 1;
}
.galleryDescription{
  padding-bottom: 20px
}
section p{
  text-align: left;
  padding: 0px 10px;
  line-height: 22px;
  width: 100%;
}
section h2{
  text-align: center;
  text-align: left;
  padding: 0px 10px;
  margin-top: 40px;
}
section{
  max-width: 800px;
  margin: auto;
}
hr{
  margin-top: 60px;
}
.lightboxOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  display: none;
}
.lightboxImage {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 90%;
  max-height: 90%;
  border-radius: 4px;
  width: auto; /* Add this line */
  height: auto; /* Add this line */
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.lightboxImage1 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.8); /* Lightbox background color with transparency */
  z-index: 9999; /* Ensure the lightbox is above other elements on the page */
  opacity: 0; /* Start with zero opacity, the lightbox will be hidden initially */
  pointer-events: none; /* Ensure the lightbox doesn't block interactions with underlying elements */
  transition: opacity 0.3s ease; /* Smooth transition for showing and hiding the lightbox */
}




#header{
  width: 100%;
  height: 100px;
  margin: auto;
  margin-bottom: 20px;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  #justify-content: space-between;
  #align-items: center;
}

#menu a{
  display: flex;
  flex: 1;
  text-decoration: none;
  font-weight: bold;

  text-align: right;
  white-space: nowrap;
  -webkit-transition: background-color 1s ease-out;
  -moz-transition: background-color 1s ease-out;
  -o-transition: background-color 1s ease-out;

  height: 50px;
  width: auto;
  flex-grow: 1;
  #margin: auto;
}
#menu a:hover{
  background-color: gray;
}
#menu a .wrapper{
  margin: auto;
  text-align: center;
}
.headerMargin{
  width: 100%;
  height: 130px;
  display: none;
  display: block;
}
.headerWelcome{
  display: flex;
  float: left;
  font-size: 30px;
  z-index: 201;
  padding-left: 10px;
  justify-content: space-between;
  align-items: space-between;
}
.headerWelcome a{
  text-decoration: none;
}
#menu {
  display: flex;
  flex-direction: row;
  #position: fixed;
  left: 0;
  top: 0;
  z-index: 100;
  width: 100%;
  height: 50px;
  background: #1E1E1E;
  justify-content: flex-start;
  #padding-top: 100px;
}
#menuButton{
  display: block;
  margin-left: auto;
  z-index: 5000;
  background-image: url("http://nomadicrealms.net/images/open.png");
  background-size: 200%;
  background-position: center;
  height: 50px;
  width: 50px;
  border: none;
  background-color: initial;
  color: transparent;
  margin-right: 20px;
}




/* CSS for the gallery images */
.sectionContainer {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 3px;
}
.sectionImage {
  margin: 0px;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  flex-grow: 1;
  height: 533px;
  width: 800px;
}
.description{
  margin: 20px 0px 120px 0px;
  text-align: justify;
  padding: 0px 10px;
}



@media only screen and (max-width: 800px) {
  #menu{
    flex-direction: column;
    height: 100%;
  }
  #header{
    height: calc(100vh - 20px);
  }
  .headerWelcome a{
    width: 180px;
    line-height: 20px;
    padding-top: 20px;
  }
  section{
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  h2{
    line-height: 30px;
    margin-bottom: 20px;
  }
  .sectionImage{
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    background-size: cover;
    background-position: center;
    height: auto;
  }
  .galleryContainer{
    justify-content: space-around;
  }
}
