.swiper {
    width: 100%;
    height: 100%;
  }

  .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* .swiper-pagination-bullet {
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    font-size: 12px;
    color: #000;
    opacity: 1;
    background: rgba(0, 0, 0, 0.2);
  }

  .swiper-pagination-bullet-active {
    color: #fff;
    background: #007aff;
  } */



.swiper-slide img {
    padding-bottom: 70px;
}

.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 17px;    
}

.swiper-button-next, .swiper-button-prev {
    top: var(--swiper-navigation-top-offset,97%);
    width: 90%;
}

:root {
  --swiper-theme-color: black;
}

.swiper-pagination-bullet {
  width: var(--swiper-pagination-bullet-width,var(--swiper-pagination-bullet-size,10px));
  height: var(--swiper-pagination-bullet-height,var(--swiper-pagination-bullet-size,10px));
  opacity: 1;
  background-color: white;
  border: 1px solid black;
}

#my-swiper-life .swiper-pagination-bullet-active {
  background-color: black;
}

.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet, .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
  margin: 0 var(--swiper-pagination-bullet-horizontal-gap,6px);
}


/* 客製化按鈕 */
.play{
  background-image: url(../img/play-icon.png);
  background-size: cover;
  width: 20px;
  height: 20px;
  position: absolute;
  top:0; /* 按鍵有自己的高度，所以要調整為0 */
  left: calc(50% - 130px);
  z-index: 15;
  cursor: pointer;
  display: none;
  /* border: 2px solid black;
  border-style:dashed; 虛線待修改*/ 
  /* max-width: 100%; 等比縮放*/
}

.stop{
  background-image: url(../img/stop-icon-2.png);
  background-size: cover;
  width: 20px;
  height: 20px;
  position: absolute;
  top:0; 
  left: calc(50% - 130px);
  z-index: 15;
  cursor: pointer;
  /* filter: invert(100%); */  
}

.play:hover{
  background-image: url(../img/play-icon-2.png);
}
.stop:hover{
  background-image: url(../img/stop-icon.png);
}



/* ===================================== */
.main-text {
  /* background-color: aqua; */
  position: absolute;
  z-index: 13;
  top: 20%;
  text-align: left;
  padding: 8px 48px 38px 48px;
  cursor: pointer;
}

.main-btn{
  border: none;
  background-color: #0067B8;
  color: #FFFFFF;
  padding: 10px 12px;
  font-size: 15px;
  margin-top: 30px;
  cursor: pointer;
}
.main-text h1{
  font-weight: 600;
}

.swiper-slide:nth-of-type(1) .main-text{
  right: 1%;
}
.swiper-slide:nth-of-type(2) .main-text{
  left: 5%;
}

@media (max-width:1600px) {
  .main-text {
      width: 40%;
  }
}

@media (max-width:1080px) {
  .swiper-slide {
    position: relative;
  }
  .main-text {
    position: absolute;
    background-color: #FFFFFF;
    top: 45%;
    right: 10%!important;
    width: 90%;
    height: 230px;
    padding: 0 50px;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.1), 
                0px 4px 20px rgba(0, 0, 0, 0.1);
    margin-right: -5%;
  }
  .swiper-slide img {
    padding-bottom: 250px;
  }
}





