* {
  min-height: 0vw;
  /* Safari clamp問題解法 */
}

/*====================================
# 主色調
==================================== */

:root {
  --main-color: #239c86;
  --lightY: #ffcc24;
}

/*====================================
# 共同設定
==================================== */

html {
  scroll-behavior: smooth;
}

body {
  font-size: 17px;
  line-height: 1.8;
  color: #333333;
  font-weight: 400;
  font-family: 'Roboto', 'Noto Sans TC', Arial, '微軟正黑體', '新細明體', Helvetica, sans-serif;
}

section {
  padding: 6rem 1.5rem 5rem;
}

::selection {
  background-color: #C8FCEA;
}

a{
  color: rgb(0, 129, 250);
  transition: all .2s ease;
}
a:hover {
  text-decoration: none;
  color: #0649db;
}

p{
  font-size: 18px;

}

.main-title {
  font-size: 2.4rem;
  font-weight: 500;
  padding-bottom: 2rem;
  color: var(--main-color);
  text-align: center;
  position: relative;
}

.main-title::before {
  display: inline-block;
  content: url(../img/main-title1.svg);
  width: 200px;
  margin: 0 3rem;
}

.main-title::after {
  display: inline-block;
  content: url(../img/main-title2.svg);
  width: 200px;
  margin: 0 3rem;
}
.second-title{
  color: #292a31;
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: 0.4rem;
  padding: 10px ;
}
.second-title::before,
.second-title::after{
  display: inline-block;
  content: url(../img/info-title.svg);
  width: 100px;
  margin: 0 1rem;
}
.btn-area{
  text-align: center;
}
.btn-more {
  display: inline-block;
  text-align: center;
  font-size: 15px;
  color: #fff;
  position: relative;
}

.btn-more a {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}
.btn-more p{
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--main-color);
}
.btn-more i {
  transition: all .3s ease-in-out;
}

.btn-more:hover i {
  transform: translate(5px);
}


@media (max-width:1200px) {
  .main-title::before {
    content: url(../img/main-title1-2.svg);
    width: 100px;
    margin: 0 1rem;
  }
  
  .main-title::after {
    content: url(../img/main-title2-2.svg);
    width: 100px;
    margin: 0 1rem;
  }

}
@media (max-width:767px) {
  .main-title::before {
    display: flex;
    flex-direction: column;
    vertical-align: bottom;
    justify-content: center;
    margin:  auto;
    padding: 0;
  }
  
  .main-title::after {
    content: none;
  }

}

@media (max-width:550px) {
  .second-title{
    padding: 0;
  }
  .second-title::before{
    content: none;
    margin: 0 auto;
  }
  .second-title::after{
    display: block;
    margin: 0 auto;

  }
}

/* ==========================================
    scrollbar
============================================ */
::-webkit-scrollbar {
  width: 15px;
  background-color: #E8F3F1;
}

::-webkit-scrollbar-track {
  border-radius: 3px;
  background-color: transparent;
}

::-webkit-scrollbar-thumb {
  border-radius: 8px;
  background-color: var(--main-color);
  border: 1px solid #C8FCEA;
}

/*====================================
# sec-top
==================================== */
.sec-top {
  position: relative;
  overflow: hidden;
  background: url(../img/top.jpg) no-repeat 100% fixed;
}

.sec-top::before,
.sec-top::after {
  position: absolute;
  z-index: -1;
}


.sec-top h1 {
  font-weight: 600;
  text-align: center;
  margin: 0 0 20px;
}
.sec-top h1 span{
  padding: 3px 40px;
  border-radius: 80px;
  color: var(--main-color);
  background-color: #fff;
}

@media (max-width:768px) {
  .sec-top h1{
    font-size: 33px;
  }
  .sec-top h1 span{
    padding: 3px 10px;
  }
}
@media (max-width:540px) {
  .sec-top h1 span{
    background-color: unset;
  }
}



/*====================================
# sec-foreword
==================================== */



/*====================================
# sec-info
==================================== */
.sec-info{
  position: relative;
  overflow: hidden;
  background: url(../img/info.jpg) no-repeat 100% fixed;
}

.info-box{
  position: relative;
  background-color: #fff;
  border: 1px solid var(--main-color);
  z-index: 1;
  overflow: hidden;
  margin-bottom: 20px;
  padding: 20px;
  transition: all .3s ease-in-out;
}
.info-box:hover{
  transform: translateY(-3px);
}
.info-box:hover p{
  border-radius: 50px;
  transform: translate3d(5px, -5px,  0);
}
.info-box p{
  display: inline-block;
  border: 1px solid rgb(0, 129, 250);
  padding: 5px 10px;
  transform: translateY(-5px);
  transition: all .3s ease-in-out;
}

.info-box::before{
  position: absolute;
  content: url(../img/dot.svg);
  display: block;
  top: 30px;
  left: -120px;
  width: 60%;
  z-index: -1;
}
.sec-info h2 {
  text-align: center;
  color: #292a31;
  z-index: 99;
}
.sec-info h2 small {
  display: inline-block;
  background-color: var(--main-color);
  font-size: 20px;
  padding: 4px 6px;
  transform: translateY(-4px);
  border-radius: 50px;
  color: #fff;
}
.sec-info h2 strong{
  color: var(--main-color);
}

.sec-info h2 span {
  display: inline-block;
  background-color: #e9f0ed;
  padding: 8px 12px;
  transform: translateY(-2px);
  margin: 10px ;
  font-size: 20px;
}

 .info-list {
  padding-top: 1rem;
}
.info-list p {
  padding-left: 2rem;
  padding-bottom: 1rem;
}



/*====================================
# sec-speaker
==================================== */
.sec-speaker h4{
  color: var(--main-color);
  padding-top: 10px;
  margin-top: 20px;
  border-top: 2px solid #f3f3f3;
}
.speaker-item {
  width: 95%;
  margin: 1.2rem auto;
  padding: 10px 10px 0 10px;
  max-width: 260px;
  background-color: #fff;
  border: 2px solid var(--main-color);
  transition: all .3s ease-in-out;
}

.speaker-item:hover {
  transform: scale(1.02);
}

.speaker-item .imgbox {
  position: relative;
}

.speaker-item .imgbox img {
  border: 1px solid var(--main-color);
  box-shadow: 0 3px 0 #e9f0ed;
}

.imgbox img {
  width: 100%;
}

.keynote .imgbox::after {
  content: 'KEYNOTE';
  position: absolute;
  left: -16px;
  top: -6px;
  background-color: #fff;
  border: 2px solid var(--main-color);
  color: var(--main-color);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 8px;
  line-height: 1;
}

.speaker-txtbox h5 {
  font-size: 16px;
  padding: 10px 0;
  color: #292a31;
  text-align: center;
  border-bottom: 2px solid var(--main-color);
}

.speaker-txtbox p {
  font-size: 15px;
  text-align: center;
  color: #292a31;
  padding: 0 10px;
}

.speaker-item a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}



/*====================================
# sec-gift
==================================== */
.sec-gift {
  position: relative;
  overflow: hidden;
  background: url(../img/gift.png) no-repeat 100% fixed;
  background-color: #bcf8d8;
}

.gift-box {
  background-color: #fff;
  margin-bottom: 1rem;
  padding: 2rem 2rem 1rem;
  min-height: 431px;
  border: 1px solid #c4c4c4;
}
.gift-img {
  position: relative;
  overflow: hidden;
  display: block;
  margin: 0 auto;
}


.gift-img img {
  width: 100%;
}
.gift-box h5 {
  display: inline-block;
  margin-top: 1.5rem;
  color: #fff;
  background-color: var(--main-color);
  padding: 5px 15px;
  font-size: 26px;
}
.sec-gift span{
  background-color: #fff;
  padding: 5px 10px;
  font-weight: 600;
  font-size: 20px;
  color: var(--main-color);
}

@media (max-width:767px) {
  .sec-gift{
    background: url(../img/gift.png) no-repeat 70% fixed;
    background-color: #bcf8d8;
  }  
}


/*====================================
# sec-partners
==================================== */
.sec-partner {
  background-color: #f7f7f7;
}

.partner-area {
  padding: 15px 0;
}

.level-title {
  text-align: center;
  font-weight: 500;
  font-size: 24px;
  letter-spacing: 0.3rem;
  padding: 30px 0 10px;
}

.pt-img img {
  background-color: #fff;
  border-radius: 500px;
  padding: 0 36px;
  margin-bottom: 20px;
  transition: .3s ease;
  border: 1px solid #e9e9e9;
}

.pt-img:hover img {
  transform: scale(1.02);
}

.logo-img {
  position: relative;
  display: block;
  transition: all 0.3s;
}

.logo-img a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/*====================================
# sec-traffic
==================================== */
.sec-traffic {
  background-color: #e3e3e3;
}


.traffic-info p {
  padding-left: 2rem;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
#gotopBtn {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Fixed/sticky position */
  bottom: 20px;
  /* Place the button at the bottom of the page */
  right: 30px;
  /* Place the button 30px from the right */
  z-index: 99;
  /* Make sure it does not overlap */
  border: none;
  /* Remove borders */
  outline: none;
  /* Remove outline */
  background-color: var(--main-color);
  color: #FFFF00;
  cursor: pointer;
  /* Add a mouse pointer on hover */
  padding: 12px 20px;
  border-radius: 500px;
  font-size: 18px;
  border: 2px solid #FFFF00;
  transition-duration: .3s;
}

#gotopBtn:hover {
  background-color: #2d886d;
}