.gallery-container {
    display: flex;
    justify-content: center;
  }
  
  .thumbnails {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
    height: 94vh;
    overflow-y: scroll;
  }
  
  .thumbnails img {
    width: 120px;
    height: 100px;
    cursor: pointer;
  }
  
  .scrollbar {
    width: 1px;
    height: 850px;
    background: #ccc;
    display: block;
    margin-top: 10px;
    margin-left: 10px;
  }
  
  .thumb {
    width: 1px;
    position: absolute;
    height: 0;
    background: #000;
  }
  
  .slides {
    margin: 35px 30px;
    display: grid;
    grid-auto-flow: row;
    width: 1200px;
    height: 850px;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
  }
  
  .slides > div {
    scroll-snap-align: start;
  }
  
  .slides img {
    width: 1200px;
    height: 850px;
    object-fit: fill;
  }
  
  .slides::-webkit-scrollbar {
    display: block;
  }
  
  .thumbnails::-webkit-scrollbar {
    width: 6px;
  }

  .thumbnails::-webkit-scrollbar-track {
    background-color: darkgrey;
  }

  .thumbnails::-webkit-scrollbar-thumb {
    background-color:rgba(219, 162, 33, 0.6);
  }


@media only screen and (min-width : 220px) and (max-width: 950px) {

    .gallery-container div img:not(.slides){
      
       width: 300px;
       height: auto;
       margin: 0.1rem 0.1rem 0.1rem 0.1rem !important;
       padding: 0.1rem 0.1rem 0.1rem 0.1rem !important;
    }
}


@media only screen and (min-width : 220px) and (max-width: 950px) {

  .thumbnails {
     display: none;
  }
}

@media only screen and (min-width : 220px) and (max-width: 950px) {

  .scrollbar {
     display: none;
  }
}

@media only screen and (min-width : 220px) and (max-width: 950px) {

  .slides {
     width: auto;
  }
}

@media only screen and (min-width : 220px) and (max-width: 950px) {

  .slides::-webkit-scrollbar {
     display: none;
  }
}
