body, html {
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: 'Josefin Sans', sans-serif;
    height: 100vh;
    transition: background-color 0.5s ease;
  }
  
  .carousel-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
  }
  
  .carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
  }
  
  .slide {
    min-width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .slide img {
    max-height: 80vh;
    width: auto;
    object-fit: contain;
    margin-top: -130px;
  }

  @media screen and (min-width: 1024px) {
    .slide img {
      max-height: 95vh;   /* makes the image bigger */
      margin-top: 0px;  /* moves it downward slightly */
    }
  }
  
  /* nav buttons */
  .nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    background: none;
    border: none;
    color: #444;
    cursor: pointer;
    z-index: 10;
  }
  
  .left { left: 5%; }
  .right { right: 5%; }