/* portfolio */
    #portfolio {
      padding: 60px 20px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      overflow-x: hidden;
      background-color: white;
    }

    #portfolio h2 {
        text-align: center;
        color: rgb(0, 54, 62);
        font-family: 'Heebo', sans-serif;
        font-weight: 700;
        font-size: clamp(30px, 3vw, 32px);
    }

      #portfolio h3 {
        font-weight: 600;
      }

         #portfolio a {
          font-weight: 600;
         }

    .accordion-wrapper {
      direction: ltr;
      width: 100%;
      max-width: 100vw;
      overflow-x: scroll;
      scroll-behavior: smooth;
      cursor: grab;
      display: flex;
      scrollbar-width: none; /* Firefox */
      -ms-overflow-style: none; /* IE 10+ */
      perspective: 1000px;
    }

    .accordion-wrapper.dragging {
  cursor: grabbing;
  user-select: none;
}

    .accordion-wrapper::-webkit-scrollbar {
      display: none; /* Chrome, Safari, Opera */
    }

    .accordion-scroll {
      display: flex;
      gap: 20px;
      width: max-content;
      box-sizing: content-box;
    }

    .spacer {
  flex: 0 0 calc(50vw - 250px);
}

    .accordion-item {
      flex: 0 0 500px;
      text-align: center;
      font-size: 1.5rem;
      /* border-radius: 10px; */
      border: none;
      padding: 40px 20px;
      user-select: none;
      font-family: 'Assistant', sans-serif;
      transition: transform 0.3s ease, opacity 0.3s ease;
      transform-origin: center;
      /* box-shadow: 0 2px 8px rgba(0,0,0,0.2); */
      margin-bottom: 20px;
    }

@media (max-width: 1300px) {
    .accordion-item {
          max-width: 400px;
     }
   }

   @media (max-width: 450px) {
    .accordion-item {
          max-width: 300px;
     }
   }

  .accordion-item h3 {
    color: rgb(0, 54, 62);
    font-size: 18px;
   }

   .accordion-item a {
      padding: 15px 20px;
      margin-bottom: 1.00rem;
      /* background-image: linear-gradient(to right, rgb(3, 114, 133), rgb(66, 219, 246)); */
      color: rgb(0, 160, 184);
      font-weight: bold;
      border: none;
      border-radius: 8px;
      font-size: 18px;
      cursor: pointer;
      transition: background-color 0.3s;
      width: 70%;
   }

   
.device-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
}
  
.frame {
  width: 100%;
  height: auto;
  display: block;
}

.screen-content {
  position: absolute;
  top: -2%;
  left: 10.5%;
  width: 80%;
  height: 80.5%;
  object-fit: contain;
}