@charset "utf-8";
/* CSS Document */

.sofwave {
      max-width: 850px;
      margin: 0 auto;
      position: relative;
      font-family: sans-serif;
    }

    .slider-viewport {
      overflow: hidden;
      width: 850px;
    }

    .slider-container {
      display: flex;
      transition: transform 0.5s ease;
    }

    .slide {
      flex: 0 0 calc(850px / 3);
      box-sizing: border-box;
      padding: 20px;
      text-align: center;
    }

    .slide img {
      width: 100%;
      border-radius: 8px;
    }

    .caption {
      font-weight: bold;
      font-size: 16px;
      margin-top: 10px;
    }

    .description {
      font-size: 14px;
      color: #555;
      margin: 5px 10px 10px;
    }

    .more-button {
      padding: 6px 12px;
      background: #007bff;
      color: #fff;
      border: none;
      border-radius: 5px;
      cursor: pointer;
    }

    .navigation {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      font-size: 30px;
      color: #333;
      background: rgba(255, 255, 255, 0.7);
      border: none;
      cursor: pointer;
      z-index: 2;
      width: 40px;
      height: 60px;
      opacity: 0.8;
      transition: opacity 0.3s;
    }

    .navigation:hover {
      opacity: 1;
    }

    .nav-prev {
      left: 0;
    }

    .nav-next {
      right: 0;
    }

    .thumbnails {
      display: flex;
      justify-content: center;
      margin-top: 10px;
      gap: 10px;
      flex-wrap: wrap;
    }

    .thumbnails img {
      width: 80px;
      height: auto;
      cursor: pointer;
      opacity: 0.6;
      transition: opacity 0.3s;
      border-radius: 4px;
    }

    .thumbnails img.active {
      opacity: 1;
      border: 2px solid #000;
    }

    .popup {
      display: none;
      position: fixed;
      z-index: 100;
      left: 0;
      top: 0;
      width: 100vw;
      height: 100vh;
      background-color: rgba(0, 0, 0, 0.6);
      justify-content: center;
      align-items: center;
    }

    .popup-content {
      background: #fff;
      padding: 20px 30px;
      border-radius: 10px;
      max-width: 600px;
      width: 90%;
      box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
      text-align: center;
      position: relative;
    }

    .popup-close {
      position: absolute;
      right: 15px;
      top: 10px;
      font-size: 24px;
      cursor: pointer;
    }