.background-slider{
    border-radius: 20px;
    width: 70%;
    margin: 5% auto;
    background: linear-gradient(to bottom, rgba(17, 17, 17, 0.8), rgba(51, 51, 51, 0.8));
}
.slider{ 
    margin: auto;
    width: 100%;
    padding: 5% 0% 5% 0%;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}
   
    /*change the number below to scale to the appropriate size*/ 
    .thumbnail:hover { 
    transform: scale(1.1); 
    
    }
    .elementor-widget-container img{
      transform: scaleX(-1);
    }
#carousel {
    margin: 5% 0 5% 0;
    position: relative;
    height: 400px;
    top: 50%;
    overflow: visible;
  }
  #carousel div {
    position: absolute;
    transition: transform 400ms, left 400ms, opacity 400ms, z-index 0s;
    opacity: 1;
  }
  #carousel div img {
    width: 400px;
    transition: width 400ms;
     -webkit-user-drag: none;
     border-radius: 10px;
  }
  #carousel div.hideLeft {
    left: 0%;
    opacity: 0;
    transform: translateY(50%) translateX(-50%);
  }
  #carousel div.hideLeft img {
    width: 200px;
  }
  #carousel div.hideRight {
    left: 100%;
    opacity: 0;
    transform: translateY(50%) translateX(-50%);
  }
  #carousel div.hideRight img {
    width: 200px;
  }
  #carousel div.prev {
    z-index: 5;
    left: 30%;
    transform: translateY(50px) translateX(-50%);
  }
  #carousel img:hover {
    cursor: pointer;
  }
  #carousel div.prev img {
    width: 300px;
  }
  #carousel div.prevLeftSecond {
    z-index: 4;
    left: 15%;
    transform: translateY(50%) translateX(-50%);
    opacity: 0.7;
  }
  #carousel div.prevLeftSecond img {
    width: 200px;
  }
  #carousel div.selected {
    filter: drop-shadow(0 0px 40px rgba(255, 255, 255, 0.5));
    z-index: 10;
    left: 50%;
    transform: translateY(0px) translateX(-50%);
  }
  #carousel div.next {
    z-index: 5;
    left: 70%;
    transform: translateY(50px) translateX(-50%);
  }
  #carousel div.next img {
    width: 300px;
  }
  #carousel div.nextRightSecond {
    z-index: 4;
    left: 85%;
    transform: translateY(50%) translateX(-50%);
    opacity: 0.7;
  }
  #carousel div.nextRightSecond img {
    width: 200px;
  }
  
  /*previous or next buttons css*/
  
  .buttons {
    text-align: center;
    left: 50%;
    bottom: 100px;
  }
  
  .button-82-pushable {
    position: relative;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    outline-offset: 4px;
    transition: filter 250ms;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
  }
  
  .button-82-shadow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    background: hsl(0deg 0% 0% / 0.25);
    will-change: transform;
    transform: translateY(2px);
    transition:
      transform
      600ms
      cubic-bezier(.3, .7, .4, 1);
  }
  
  .button-82-edge {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    background: #ffc83a;
  }
  
  .button-82-front {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    font-family: 'genotics', sans-serif;
    display: block;
    position: relative;
    padding: 12px 27px;
    border-radius: 12px;
    font-size: 20px;
    color: white;
    background: #ffc83a;
    will-change: transform;
    transition:
      transform
      600ms
      cubic-bezier(.3, .7, .4, 1);
  }
  @media only screen and (max-width: 768px) {
    .slider {
        width: 100%;
      padding: 10% 0%;
    }
    #carousel div.next img{
        width: 250px;
        opacity: 0.8;
    }
    #carousel div.prev img{
        width: 250px;
        opacity: 0.8;
    }
    #carousel div.prev{
    right: 0%;
    transform: translateY(50px) translateX(-50%);
    }
    #carousel div.nextRightSecond{
        left: 80%;
    }
    #carousel div.prevLeftSecond{
        right: 40%;
        transform: translateY(50%) translateX(-50%);
    }
    #carousel div.selected{
        width: max-content;
    }
    #carousel {
      height: 420px;
    }
  
    #carousel div img {
      width: 350px;
    }
    .button-82-front {
        font-size: 1.2rem;
        padding: 12px 42px;
      }
    }
    
    .button-82-pushable:hover {
        background-color: #ffc83a;
        border-radius: 10px;
      filter: brightness(110%);
      -webkit-filter: brightness(110%);
    }
    
    .button-82-pushable:hover .button-82-front {
      transform: translateY(-6px);
      transition:
        transform
        250ms
        cubic-bezier(.3, .7, .4, 1.5);
    }
    
    .button-82-pushable:active .button-82-front {
        background-color: #ffc83a;
        border-radius: 10px;
      transform: translateY(-2px);
      transition: transform 34ms;
    }
    
    .button-82-pushable:hover .button-82-shadow {
        background-color: #ffc83a;
        border-radius: 10px;
      transform: translateY(4px);
      transition:
        transform
        250ms
        cubic-bezier(.3, .7, .4, 1.5);
    }
    
    .button-82-pushable:active .button-82-shadow {
        background-color: #ffc83a;
        border-radius: 10px;
      transform: translateY(1px);
      transition: transform 34ms;
    }
    
    .button-82-pushable:focus:not(:focus-visible) {
        background-color: #ffc83a;
        border-radius: 10px;
      outline: none;
    }
  