  .carousel {
    /* Full view width & height */
    width: 100vw;
    height: 100vh;
    position: relative;
    z-index: 0; /* Navbar dropdown menus appears over the images */
  }
  
  /* Selects the ul inside of class carousel */
  .carousel > ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  
  .slide {
    position: absolute;
    inset: 0; /* Sets the top, right, left, and buttom spacing to 0 */
    opacity: 0;
    transition: 200ms opacity ease-in-out;
    transition-delay: 200ms; /* Animation won't start until animation is complete */
  }
  
  /* Make sure the images fill the whole screen */
  .slide > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Makes sure object ratio is maintained */
    object-position: center; /* Focuses on the center of the image */
  }
  
  .slide[data-active] {
    opacity: 1;
    transition-delay: 0ms;
  }
  
  .carousel-button {
    position: absolute;
    z-index: 1;
    background: none;
    border: none;
    font-size: 4rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, .5);
    cursor: pointer;
    border-radius: .25rem;
    padding: 0 .5rem;
    background-color: rgba(0, 0, 0, .1);
  }
  
  .carousel-button:hover,
  .carousel-button:focus {
    color: white;
    background-color: rgba(0, 0, 0, .2);
  }
  
  .carousel-button:focus {
    outline: 1px solid black;
  }
  
  .carousel-button.prev {
    left: 1rem;
  }
  
  .carousel-button.next {
    right: 1rem;
  }