@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&family=Noto+Serif+TC:wght@200;300;400;500;600;700;900&display=swap');

/* cssreset */
a{
  text-decoration: none;
  color: #000;
}
li{
  list-style: none;
}

body{
  font-weight: 600;
  line-height: 1.618;
  font-family: 'Noto Serif TC', 'Lora',serif;
}
img{
  width: 100%;
  object-fit: cover;
}
/* wrap */
.wrap{
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  overflow: hidden;
}

/* topBtn */
#topBtn {
  position: fixed;
  bottom: 80px;
  right: 40px;
  font-size: 22px;
  width: 50px;
  height: 50px;
  border-radius: 50px;
  background: #005F89;
  border: none;
  color: #fff;
  cursor: pointer;
  display: none;
}

/* header */

.header{
  display: flex;

  margin-top: 40px;
  align-items: center;
  justify-content: space-between;
}

.header img{
  width: 178px;
  vertical-align: middle;
}

/* navbar */

.navbar{
  display: flex;
  justify-content: center;
  align-items: center;
}

.navbar a{
  border-bottom: 2px solid transparent;
  padding: 0.5rem 1rem;
  padding-left: 40px;
  padding-right: 40px;
  display: block;
  font-size: 1.5rem;
  font-weight: 500;
  transition: all 0.5s;
  text-transform: uppercase;
}

.navbar a:hover{
  color: #005F89;
  border-bottom: 2px solid #005F89;
}

/* showcase */
.banner{
  background: url(/img/showcase.gif);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 80vh;
  margin-top: 30px;
  margin-bottom: 30px;
}
/* lines */
.lines{
  position: relative;
  width: 105px;
  height: 3px;
  bottom: 80px;
  left: 80px;
  background:#005F89;
}
/* section */

.section-header{
  display: flex;
  justify-content:space-between;
  align-items:center;
  padding: 0 80px;
  margin-top:100px;
  margin-bottom: 100px;
}

.section-title{
  font-size: 40px;
  font-weight: bold;
}
.title{
  color: #4E93B2;
}
.flex-d{
  flex-direction: column;
}
.section-header a{
  border-radius: 4px;
  display: inline-block;
  font-size: 24px;
  padding: 10px 40px;
  transition: all 0.3s;
  color:#005F89;
  border: 2px solid #005F89;
}

.section-header a:hover{
  background: #005F89;
  color: #fff;
}

.section-card{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  background: #fff;
}
.section-card a{
  margin: 10px;
}

.section-card img{
  aspect-ratio: 1/ 1;
  width: 400px;
  transition: all 0.3s;
  opacity: 1;
}
.section-card img:hover{
  opacity: 0.5;
}
.items-btn {
  text-align: center;
  font-weight: 800;
  padding: 20px;
  font-size: 20px;
}
.btn:hover{
  color: #005F89;
}
/* quote */
.showcase_img{
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.showcase_img img{
  width: 100%;
}
/* rules */
.rules{
  margin-top: 40px;
  padding: 0 80px;
}
.rules-title{
  position: relative;
  margin-bottom: 40px;
  font-size: 1.5rem;
  font-weight: 900;
}
.rules-title::after{
  content:"";
  position: absolute;
  width: 15%;
  bottom: -10px;
  left: 0px;
  border-bottom: 2px solid #005F89;
}
.rules-container{
  margin-top: 40px;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
}
.col{
  color: #005F89;
}
.rules-content{
  font-weight: bold;
  margin-top: 40px;

}
.rule-description{
margin-top: 20px;
}
.rules-rul{
  width: 100%;
  margin-right: 25px;
}
.container{
  margin-top: 40px;
  display: flex;
  text-align: justify;
}
.left{
  justify-content:flex-start;
  align-items: flex-start;
}
.mb-2{
  margin-top: 20px;
}
.wd-5{
  width: 75%;
}
.center{
  margin-bottom: 30px;
  text-align: center;
}
/* about */
.showcase{
  background: url('/img/banner.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 50vh;
  margin-top: 40px;
  margin-bottom: 40px;
}
.about-img{
  margin-right: 20px;
}
.about-container{
  padding: 40px;
  justify-content:center;
  align-items: center;
  display: flex;
}
.about-content h2{
  font-size: 2rem;
  font-weight: 800;
}

.about-content span{
  padding-left: 10px;
  font-size: 2rem;
}
.about-content p{
  font-size: 18px;
}
.mb-3{
  margin-bottom: 20px;
}
.icons{
  display: flex;
  justify-content:center;
  align-items: center;
}
.icons img{
  width: 55px;
}
.line img{
  width: 350px;
}
/* elaborateBtn */
.elaborateBtn{
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 100px;
  margin-top: 100px;
}
.elaborateBtn a{
  font-size: 16px;
  border: 2px solid #005F89;
  color: #000;
  transition: all 0.3s ;
  padding:20px 80px;
  border-radius: 4px;
  text-align: center;
}
.elaborateBtn a:hover{
  background: #005F89;
  color: #fff;
}
/* footer */
.footer{
  text-align: center;
  margin-top: 40px;
  padding: 15px;
  background: #005F89;
}
.footer p{
  color: #fff;
  font-size: 1rem;
}
.center-le{
  text-align: left;
}
/* media rwd */
@media only screen and (max-width: 440px) {
  .banner{
    height: 80vh;
    background-position: right 30px ;
  }
  .section-header{
    flex-direction: column;
    margin-top: 40px;
    margin-bottom: 40px;
  }
  .section-header a{
    margin-top: 40px;
  }
  .lines{
    display: none;
    border:none;
  }
  .navbar {
    margin-top: 20px;
  }
  .navbar a{
    font-size: 1rem;
  }
  .header{
    flex-direction: column;
  }
  .elaborateBtn a{
    font-size: 14px;
    padding: 20px 20px;
  }
  .footer{
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .footer p{
    margin-bottom: 20px;
    font-size: 0.8rem;
  }
  .showcase_img img {
    height: 25vh;
  }
  .section-card img{
    width: 280px;
  }
  #topBtn{
    bottom: 97px;
    right: 3px;
  }
  .rules{
    font-size: 14px;
    padding: 0 20px;
  }
  .container{
    flex-direction: column;
  }
  .rules-rul{
    margin-bottom: 40px;
  }
  .about-container{
    flex-direction: column;
  }
  .about-img{
    width: 500px;
    margin-bottom: 20px;
  }
  .about-content h2{
    font-size: 1.5rem;
    text-align: center;
  }
  .about-content span{
    font-size: 1.5rem;
    text-align: center;
  }
  .about-content p{
    font-size: 1rem;
    text-align: center;
  }
  .center{
    margin-bottom: 30px;
    text-align: center;
    font-size: 14px;
  }
}
