@import url("https://cdn.jsdelivr.net/gh/jgthms/minireset.css@master/minireset.min.css");

body {
  background-color: rgb(97, 102, 102);
  scroll-behavior: smooth;
}

/* Thumbnail */

#thumbnail-container {
  display: flex;
  flex-direction: row;
  position: fixed;
  width: 20%;
  overflow-x: scroll;
  right: 40%;
  padding: 5px;
}

.thumbnail {
  height: 150px;
  width: auto;
}

/* Large image */

#large-image-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

img {
  height: 100vh;
  width: 100vw;
  object-fit: contain;
}

/* Mobile styling */

@media (max-width: 800px) {
  #thumbnail-container {
    display: flex;
    flex-direction: row;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    align-items: center;
  }
}

/* Next and previous buttons */

#next,
#prev {
  position: absolute;
  padding: 20px 20px;
  font-size: 1rem;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  cursor: pointer;
}

#next {
  right: 10px;
  top: 100px;
}

#prev {
  left: 10px;
  top: 100px;
}

/* This was something i was playing around with but didnt end up working the way i wanted it to */

/* @media (orientation: portrait) {
  #thumbnail-container {
    max-width: 800px;
    display: flex;
    flex-direction: row;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
  }
}

@media (orientation: landscape) {
  #thumbnail-container {
    max-width: 800px;
    display: flex;
    flex-direction: row;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 25%;
    display: flex;
    align-items: center;
  }
} */
