
    * { box-sizing: border-box; }


    .carousel {
      width: 100%;
      max-width: 800px;
      margin: auto;
      overflow: hidden;
      position: relative;
      border-radius: 12px;
    }

    .slides {
      display: flex;
      transition: transform 0.5s ease-in-out;
    }

    .slide {
      min-width: 100%;
    }

    .slide img {
      width: 100%;
      display: block;
    }

    .dot-container {
      text-align: center;
      margin-top: -30px;
      position: relative;
      z-index: 2;
    }

    .dot {
      height: 12px;
      width: 12px;
      margin: 0 4px;
      background-color: #bbb;
      border-radius: 50%;
      display: inline-block;
      transition: background-color 0.3s;
      cursor: pointer;
    }

    .dot.active {
      background-color: #fff;
    }


