* {
    box-sizing: border-box;
  }
  
  body {
    margin: 0;
    font-family: Arial, sans-serif;
  }
  
  .gallery-container {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 100vw;
    overflow: hidden;
    background-color: #1a1a1a; /* Ensure background color for contrast */
}

.gallery-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px; /* Adjust the height to control the fade area */
    background: linear-gradient(to bottom, #1a1a1a, #00000000);
    z-index: 1; /* Ensure this pseudo-element is above the background image */
}

  .main-image {
    display: block;
    width: 100vw;
    height: 90vh;
    object-fit: cover;
  }
   
  .arrow {
    background-color: transparent;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    padding: 1rem;
    color: white;
    z-index: 6;
  }
  
    @media (max-width:450px){
        .arrow{
            bottom: 0;
        }
    }

  .left {
    position: absolute;
    left: 0;
  }
  
  .right {
    position: absolute;
    right: 0;
  }
  
  .thumbnail-container {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
  }
  
  .thumbnail {
    cursor: pointer;
    width: 60px;
    height: auto;
    margin: 0 0.5rem;
    opacity: 0.6;
    border-radius: 6px;
    box-shadow: 2px 2px 4px #000000;
  }
  
  .thumbnail:hover,
  .thumbnail.active {
    opacity: 1;
  }
  