
.gallery-container{
    max-width: 1920px;
    margin: 50px auto;
    position: relative;
    overflow: hidden;
    width: 100vw;   
    height: 100vh;    

  }
  
  .sidebar {
    height: 100%;
    width: 30%;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.5s ease-in-out;
  }
  
  .sidebar > div {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 35px;
    color: #fff;
  }
  
  .sidebar h1 {
    font-size: 40px;
    margin-bottom: 10px;
    margin-top: -30px;
  }
  
  .main-slide {
    height: 100%;
    position: absolute;
    top: 0;
    left: 30%;
    width: 70%;
    transition: transform 0.5s ease-in-out;
  }
  
  .main-slide > div {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    height: 100%;
    width: 100%;
  }
  
  .gallery-container .controls button {
    background-color: #fff;
    border: none;
    color: #aaa;
    cursor: pointer;
    font-size: 16px;
    padding: 15px;
  }
  
  .gallery-container .controls button:hover {
    color: #222;
  }
  
  .gallery-container .controls button:focus {
    outline: none;
  }
  
  .gallery-container .controls button {
    position: absolute;
    left: 30%;
    top: 50%;
    z-index: 100;
  }
  
  .gallery-container .controls .down-button {
    transform: translateX(-100%);
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
  }
  
  .gallery-container .controls .up-button {
    transform: translateY(-100%);
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
  }

  @media only screen and (min-width: 218px) and (max-width: 539.5px) {
    .sidebar h1 {
     font-size: 25px;
    }  
    .main-slide {      
     bottom: 0% !important;
     left: 0% !important;
     width: 100% !important;    
     top:inherit !important;
   }
   .sidebar {
     height: 100% !important;
     width: 100% !important;
     position: relative !important;
   }
   .gallery-container .controls .up-button {
     transform: translateY(0%) !important;
     border-top-right-radius: 5px !important;
     border-bottom-right-radius: 5px !important;
   }
   .gallery-container .controls button {
     position: absolute;
     left: 50% !important;
     top: 50% !important;
     z-index: 100;
   }
   .gallery-container .controls .down-button {
     transform: translateX(-100%) !important;
     border-top-left-radius: 5px !important;
     border-bottom-left-radius: 5px !important;
   }

   
 }


  @media only screen and (min-width: 540px) and (max-width: 767.5px) {
    .sidebar h1 {
      font-size: 25px;
      top: 20% !important;
      position: relative !important;
     }  
     .main-slide {      
      bottom: 0% !important;
      left: 0% !important;
      width: 100% !important;    
      top:inherit !important;
    }
    .sidebar {
      height: 100% !important;
      width: 100% !important;
      position: relative !important;
    }
    .gallery-container .controls .up-button {
      transform: translateY(0%) !important;
      border-top-right-radius: 5px !important;
      border-bottom-right-radius: 5px !important;
    }
    .gallery-container .controls button {
      position: absolute;
      left: 50% !important;
      top: 70% !important;
      z-index: 100;
    }
    .gallery-container .controls .down-button {
      transform: translateX(-100%) !important;
      border-top-left-radius: 5px !important;
      border-bottom-left-radius: 5px !important;
    }
  }
  @media only screen and (min-width: 768px) and (max-width: 1023.5px) {
    .sidebar h1 {
      font-size: 30px;
      top: 20% !important;
      position: relative !important;
     }  
     .main-slide {      
      bottom: 0% !important;
      left: 0% !important;
      width: 100% !important;    
      top:inherit !important;
    }
    .sidebar {
      height: 100% !important;
      width: 100% !important;
      position: relative !important;
    }
    .gallery-container .controls .up-button {
      transform: translateY(0%) !important;
      border-top-right-radius: 5px !important;
      border-bottom-right-radius: 5px !important;
    }
    .gallery-container .controls button {
      position: absolute;
      left: 50% !important;
      top: 70% !important;
      z-index: 100;
    }
    .gallery-container .controls .down-button {
      transform: translateX(-100%) !important;
      border-top-left-radius: 5px !important;
      border-bottom-left-radius: 5px !important;
    }

  }
  @media only screen and (min-width: 1024px) and (max-width: 1280px) {
    .main-slide > div > img {
      width: 100%;
      height: 100% !important;
    }

  }
  @media only screen and (min-width: 1281px) and (max-width:1440px) {
    .main-slide > div > img {
      width: 100%;
      height: 100% !important;
    }
  }
  @media only screen and (min-width: 1440px) and (max-width: 1823.5px) {
    .main-slide > div > img {
      width: 100%;
      height: 100% !important;
    }
  }
  @media only screen and (min-width: 1824px) and (max-width: 1920px) {
    .main-slide > div > img {
      width: 100%;
      height: 100% !important;
    }
  }

  
  @media only screen and (min-width: 1920px) and (max-width: 2560px) {
    .main-slide > div > img {
      width: 100%;
      height: 100% !important;
    }  
  }

  @media only screen and (min-width: 2560px) and (max-width: 6000px) {
    .main-slide > div > img {
      width: 100%;
      height: 100% !important;
    }  
  }
  
