    body {
      margin: 0;
      padding: 0;
      background-color: black;
      font-family: Arial;
      display: flex; /* Use flex to control the layout */
      user-select: none;
    }

    .container {
      flex: 1;
      display: flex;
      flex-direction: column;
    }

    .carousel {
      width: 100%;
      overflow: hidden;
      position: relative;
      order: 1; /* Order images section to come second in desktop view */
    }

    .carousel-container {
      display: flex;
      position: relative;
    }

    .carousel-slide {
      width: 100%;
      position: relative;
    }

    img {
      width: 100%;
      display: block;
      object-fit: contain;
    }

    .prev-button,
    .next-button {
      position: absolute;
      top: 61%;
      transform: translateY(100%);
      padding: 10px;
      background-color: #333;
      color: white;
      border: none;
      cursor: pointer;
      z-index: 1;
    }

    .prev-button {
      left: 0;
      background: none;
      display: none;
    }

    .next-button {
      right: 0;
      background: none;
      color:black;
      font-weight:bold;
    }

    .details {
      color: white;
      width: 100%;
      padding: 20px;
      box-sizing: border-box;
      order: 2; /* Order details section to come first in desktop view */
    }

    h1 {
      text-align: center;
    }

@media (min-width: 767px) {
  .carousel {
    width: 45%;
    position: fixed; /* Set position to fixed */
  }

  .details {
    width: 55%;
    margin-left: 45%; /* Adjust the margin to leave space for the carousel */
    box-sizing: border-box;
  }

  img {
    width: 100%;
    height: 100vh; /* Set height to occupy the full carousel height */
    display: block;
    object-fit: contain;
  }

  .next-button {
    top: 50%; /* Adjust the top position to center the button vertically */
    transform: translateY(50%);
    background: none;
    color:#00ff00;
    font-weight:bold;
  }
}
