
  
  .slider {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: rgb(0, 0, 0);
  }
  
  .carousel {
    --color-default-state: none;
    --color-active-state: #ffffff;
    position: relative;
    width: calc(100vw - 10rem);
    height: 80vh;
  }
  
  .carousel_track-container {
    overflow: hidden;
    width: 100%;
    height: 100%;
  }
  
  .carousel_track {
    position: relative;
    width: inherit;
    height: inherit;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  
  .carousel_slide,
  .carousel_image {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    padding: 0;
  }
  
  .carousel_slide {
    padding: 5% 12% 8%;
    text-align: center;
    transform: translateX(-100%);
    transition: transform .3s ease-out;
  }
  
  .carousel_slide.is-selected {
    transform: translateX(0);
  }
  
  .carousel_slide.is-selected ~ .carousel_slide {
    transform: translateX(100%);
  }
  
  .carousel_image {
    z-index: -1;
  }
  
  .carousel_image > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border: none;
    object-fit: contain;
  }
  
  .carousel_title {
    font-size: 40px;
    color: #fff;
  }
  
  .carousel_btn,
  .carousel_dot {
    z-index: 1;
    padding: 0;
    cursor: pointer;
    border: none;
  }
  
  .carousel_btn {
    position: absolute;
    top: 50%;
    background-color: transparent;
    transform: translateY(-50%);
    height: 100%;
    width: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .carousel_btn:focus,
  .carousel_dot:focus,
  .carousel_btn:active,
  .carousel_dot:active {
    outline: none;
  }
  
  .carousel_btn > * {
    pointer-events: none;
  }

  .carousel_btn img {
    fill: white;
    transform-origin: center;
    transition: fill .2s;
    filter: invert(100%);
  }

  
  .jsPrev {
    left: -4rem;
  }
  
  .jsNext {
    right: -4rem;
  }
  
  .carousel_nav {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
  }
  
  .carousel_dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-default-state);
    transition: background-color .2s;
    border: 1px solid white;
    margin-left: 7px;
    margin-right: 7px;
  }
  
  
  
  .carousel_dot.is-selected {
    background-color: var(--color-active-state);
  }

  @media (max-width: 480px) {
    .carousel {
        width: calc(100vw - 4rem);
        height: 80vh;
      }

      .carousel_btn {
        width: 2rem;
      }

      .jsPrev {
        left: -2rem;
      }
      
      .jsNext {
        right: -2rem;
      }
  }