 /* Insert styles here */
 
  
  main {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
  }


  
  
  .slider-dimensions {
    width: 400px;
    height:400px;
    aspect-ratio: 3 / 2;
  }
  .slider-container {
    position: relative;
    overflow: hidden;
    background-color: lightgray;
  }
  .slider {
    position: absolute;
    display: flex;
    transform: translateX(-0%);
    transition: transform 1s;
  }
  
  .slider > div {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }
  .nav-container {
    position: absolute;
    padding: 0 20px 20px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-image: radial-gradient(transparent, rgba(0,0,0,.3));
    opacity: 0;
    transition: opacity .2s;
  }
  
  .nav-container:hover {
    opacity: 1;
  }
  
  .index-container {
    align-self: flex-end;
    display: flex;
    gap: 30px;
  }
  
  .index-container > button {
    width: 20px;
    height: 20px;
    border: none;
    border-radius: 20px;
    background-color: rgba(255,255,255,.3);
    transition: background-color .2s;
    cursor: pointer;
  }
  
  .index-container > button:hover {
    background-color: rgba(255,255,255,.7);
  }
  
  button[data-index-change] {
    font-size: 40px;
    color: white;
    background-color: transparent;
    border: none;
    cursor: pointer;
  }
  
  @media (max-width: 500px) {
    .nav-container {
      padding: 0 0 10px;
    }
    
    .index-container {
      gap: 20px;
    }
  }