@font-face {
  font-family: "Futura CondLight";
  src: url('/Fonts/futura-condensedlight.otf');
}

html, body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden !important; 
  font-family: Futura CondLight, sans-serif;
  background-color: #000;
  color: #fff;
}

#gallery-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  z-index: 50;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s ease;
}

#gallery-wrapper.shifted { /*js toggles this on*/
  transform: translateX(-28vw); /*moves gallery to the left by the width of the description panel*/
}

#description-container {
  position: fixed;
  right: -28vw;
  top: 0;
  height: 100vh;
  width: 28vw;
  background: rgba(0,0,0,0.9);
  color: white;
  padding: 30px;
  box-sizing: border-box;
  overflow-y: auto;
  transition: right 0.4s ease;
  z-index: 100;
  display: block;
}

#description-container.visible { /*js toggles this on*/
  right: 0;
}

#description-text h3, #description-text p {
  color: white;
}

.gallery-container {
  flex: 1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.art-slides-photography {
  position: absolute;
  display: none;
  width: 100%;
  height: 100%;
}

.image-wrapper {
  position: relative;
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-wrapper img { /*shows image in the viewable area*/
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.descrip-icon {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255,255,255,0.8);
  padding: 5px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 200;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  z-index: 10;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 28px;
  top: 50%;
  transform: translateY(-50%);
  user-select: none;
  background-color: rgba(0,0,0,0.5);
}

.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);
}

.image-number {
  position: absolute;
  top: 10px;
  left: 10px;
  color: white;
  font-size: 0.95rem;
  font-weight: 500;
  background: rgba(0,0,0,0.45);
  padding: 4px 10px;
  border-radius: 4px;
  user-select: none;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.image-caption-container {
  flex: 0.6;
  text-align: center;
  background-color: #9C7248;
  padding: 4px;
}

.preview-row {
  position:absolute;
  bottom: -120px; /*off-screen*/
  left: 0;
  width: 100%;
  height: 100px;
  background: rgba(0,0,0,0.9);
  padding: 10px 20px;
  box-sizing: border-box;
  z-index: 100; 
  transition: bottom 0.3s ease-out; /*slide-up/slide-down animation*/
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
}

.preview-row.preview-visible { /*js toggles this on*/
  bottom: 0;
}

.preview-column {
  flex: 0 0 100px; /*fixed img width*/
  cursor: pointer;
  opacity: 0.6;
  height: 100%;
  transition: opacity 0.2s;
}

.preview-column img.demo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-column .active, .preview-column img:hover {
  opacity: 1;
}

.image-container {display: none;} /*hide unused elements*/

/*.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0px 2px;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6 ease; }*/
  
  @media (max-width: 850px) {
    #description-container {
      width: 35vw !important;
    }
  }
  
  @media (max-width: 600px) {
    #description-container {
      width: 45vw !important;
    } 
  }

/* .fade {
  animation-name: fade;
  animation-duration: 1.5s; 
  }

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
} */
  