@media screen and (max-width: 768px) {
  .scroll-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    width: 100%;
  }

  .style-title {
    text-align: center;
    font-size: 1rem;
    width: 100%;
  }

  .template-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .template-card {
    width: 100%;
    max-width: 280px;
  }

  .template-image {
    width: 157% !important;
    height: auto !important;
    border-radius: 8px !important
  }

  .color-picker {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    gap: 5px;
    padding: 5px;
    width: 100%;
    justify-content: center;
  }

  .color-box {
    width: 25px;
    height: 25px;
    cursor: pointer;
  }
}


.menu-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding-bottom: 50px;
  }


  .category-container {
    display: flex;
    overflow: hidden;
    width: 80%;
    border-radius: 8px;
  }
  .style-title {
    margin-right: 15px;
  }

  .menu {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap:20px
  }
  .menu1 {
    display: flex;
    transition: transform 0.5s ease-in-out;
  }

  .category-btn {
    min-width: 100px;
    padding: 10px;
    border: none;
    cursor: pointer;
    background-color: white;
    text-align: center;
    margin: 5px;
    color: #6a47ff;
    border-radius: 15px;
    white-space: nowrap;
  }

  .category-btn.active {
    background-color: #6a47ff !important;
    color: white !important;
  }

  .arrow {
    color: white;
    cursor: pointer;
    font-size: 24px;
    padding: 10px;
    background: #6a47ff;
    border-radius: 50%;
    user-select: none;
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    /* Ensures a round shape */
    height: 40px;
    /* Ensures a round shape */
  }

  .arrow:hover {
    background: #f0f0f0;
    color: #6a47ff;
    /* Slight hover effect */
  }

  .title {
    display: flex;
    justify-content: center;
    font-weight: bold;
    color: #6a47ff;
    margin-bottom: 10px;
  }

  .description {
    display: flex;
    justify-content: center;
    font-size: 14px;
    color: #444;
    margin-bottom: 20px;
    padding-bottom: 50px;
  }

  .template-card {
    display: inline-block;
    width: 200px;
    background-color: white;
    padding: 3px;
    border-radius: 15px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
  }


  .template-image {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    object-fit: cover;
  }

  .arrow:active {
    background-color: #6a47ff;
    /* Active state */
    color: white;
  }

  /* Second Scroll */
  .scroll-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    position: relative;
    max-width: 80%;
    margin: auto;
  }

  .template-group {
    display: flex;
    flex-direction: row;
    gap: 80px;
    margin-top: 10px;
  }

  .scroll-container {
    display: flex;
    flex-direction: row;
    gap: 25px;
    margin-top: 10px;
  }



  .color-picker {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }

  .color-box {
    width: 20px;
    height: 20px;
    cursor: pointer;
  }
  .titles {
    text-align: start;
  }
  