/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: 'Roboto', 'Noto Sans TC', Arial, '微軟正黑體', '新細明體', Helvetica, sans-serif;
  color: #212121;
  font-size: 18px;
  ;
}

a {
  color: #2176ff;
  text-decoration: none;
}

a:hover {
  color: #33a1fd;
  text-decoration: none;
}

.marker {
  font-weight: 500;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(50%, transparent), color-stop(50%, rgba(253, 202, 64, 0.7)));
  background: -webkit-linear-gradient(transparent 50%, rgba(253, 202, 64, 0.7) 50%);
  background: linear-gradient(transparent 50%, rgba(253, 202, 64, 0.7) 50%);
}

section {
  padding: 3rem 1rem;
  overflow: hidden;
}

.section-title {
  text-align: center;
  padding: 3rem 1rem 1rem;
}

.section-title {
  color: #fff;
  font-weight: 600;
  font-size: 40px;
  letter-spacing: 0.4rem;
  margin-bottom: 1rem;
}

.section-title::before {
  content: attr(dataText);
  position: absolute;
  z-index: -1;
  -webkit-text-stroke: 6px #31393c;
}




/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 0;
  bottom: 0;
  z-index: 996;
  background: #999;
  width: 40px;
  height: 40px;
  border-radius: 10px 0 0 0;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 28px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: #33a1fd;
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}


/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  transition: all 0.5s;
  z-index: 997;
  padding: 20px 0;
}

#header.header-scrolled,
#header.header-inner-pages {
  background: rgba(4, 31, 74, 0.9);
  padding: 12px 0;
}


#header .logo a {
  color: #fff;
}

#header .logo img {
  width: 160px;
}


/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar>ul>li {
  padding: 10px 0 10px 24px;
}

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3px;
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.1rem;
  color: #ffffff;
  white-space: nowrap;
  transition: 0.3s;
  position: relative;
}


.navbar>ul>li>a:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #ea7af4;
  visibility: hidden;
  width: 0px;
  transition: all 0.3s ease-in-out 0s;
}

.navbar a:hover:before,
.navbar li:hover>a:before,
.navbar .active:before {
  visibility: visible;
  width: 100%;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover>a {
  color: #ea7af4;
}

.navbar .getstarted,
.navbar .getstarted:focus {
  padding: 8px 25px;
  margin-left: 30px;
  border-radius: 25px;
  color: #fff;
  transition: 0.3s;
  font-weight: 600;
  border: 2px solid #fff;
}

.navbar .getstarted:hover,
.navbar .getstarted:focus:hover {
  color: #ea7af4;
  border-color: #ea7af4;
}

.navbar .getstarted:before,
.navbar li:hover>.getstarted:before {
  visibility: hidden;
}


/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }

  .navbar ul {
    display: none;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(108, 117, 125, 0.9);
  transition: 0.3s;
  z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  /* background-color: #fff; */
  overflow-y: auto;
  transition: 0.3s;
}

.navbar-mobile>ul>li {
  padding: 0;
}

.navbar-mobile a,
.navbar-mobile a:focus {
  padding: 10px 20px;
  font-size: 15px;
  color: #ffffff;
}

.navbar-mobile a:hover:before,
.navbar-mobile li:hover>a:before,
.navbar-mobile .active:before {
  visibility: hidden;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover>a {
  color: #5846f9;
}

.navbar-mobile .getstarted,
.navbar-mobile .getstarted:focus {
  margin: 15px;
}


/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  height: 700px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.2) 45%, rgba(0, 0, 0, 0.6) 100%), url("../img/hero-bg.jpg") center center no-repeat;
  background-size: cover;
  color: #fff;
}


#hero h3 {
  font-size: 3.8rem;
  text-shadow: 1px 3px 10px #212121;
}

#hero h3 small {
  font-size: 2.4rem;
}

#hero h4 {
  margin: 2rem 0 1rem;
  font-size: 22px;
  letter-spacing: 0.3rem;
  text-shadow: 1px 3px 10px #212121;
}


@media (min-width: 1200px) {
  #hero {
    background-attachment: fixed;
  }
}

@media (max-width: 991px) {
  #hero {
    text-align: center;
  }

  #hero .container,
  #hero .container-fluid {
    padding-top: 68px;
  }

  #hero .hero-img {
    text-align: center;
  }

  #hero .hero-img img {
    width: 50%;
  }
}

@media (max-width: 768px) {
  #hero h1 {
    font-size: 26px;
    line-height: 36px;
  }

  #hero h2 {
    font-size: 18px;
    line-height: 24px;
  }

  #hero .hero-img img {
    width: 60%;
  }
}

@media (max-width: 575px) {
  #hero .hero-img img {
    width: 80%;
  }
}

@media (max-width: 575px),
(max-height: 600px) {
  #hero {
    height: auto;
  }
}



/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about {
  padding-top: 5rem;
  font-size: 20px;
  line-height: 38px;
}

.about .content h3 {
  font-weight: 600;
  font-size: 30px;
  color: #2e294e;
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  border: 1px solid #33a1fd;
  border-radius: 20px;
  padding: 0 10px;
  margin-bottom: 15px;
}

.about .content ul i {
  font-size: 20px;
  padding-right: 4px;
  color: #33a1fd;
}


.about .content p:last-child {
  margin-bottom: 0;
}




/*--------------------------------------------------------------
# Features
--------------------------------------------------------------*/
.features {
  padding-top: 50px;
  color: #ffffff;
  background-color: #1b2a41;
}

.features .icon-box {
  border: 1px solid #e36414;
  padding: 20px 10px;
  text-align: center;
  margin-bottom: 20px;
  min-height: 125px;
}

.features .icon-box h4 {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.1rem;
}

.features .icon-box i {
  font-size: 48px;
  color: #e36414;
  display: block;
  margin-bottom: 15px;
}

.features .icon-box p {
  color: #d7dace;
}

.features .icon-box span {
  font-size: 26px;
  color: #e36414;
  font-weight: 500;
}


.features .list-box {
  font-size: 20px;
  border: 1px solid #e36414;
  padding: 20px 10px;
  text-align: center;
  margin-bottom: 20px;
}


/*--------------------------------------------------------------
# rules
--------------------------------------------------------------*/
.rules .box {
  padding: 20px 20px 10px;
  background: #fff;
  text-align: center;
  border-radius: 5px;
  position: relative;
  overflow: hidden;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
}

.rules h3 {
  font-weight: 400;
  padding: 1rem 1.5rem;
  color: #ffffff;
  background: #1b2a41;
}


.list-rules {
  list-style-type: none;
  padding: 1em;
  border: 2px solid #999;
  counter-reset: li;
  margin-bottom: 1.5rem;
}

.list-rules li {
  display: flex;
  align-items: self-start;
  padding: .3em;
}

.list-rules li::before {
  display: inline-block;
  min-width: 1.7em;
  margin-right: 5px;
  border-radius: 50%;
  background-color: #999;
  color: #fff;
  font-weight: bold;
  font-size: .75em;
  line-height: 1.7em;
  text-align: center;
  content: counter(li);
  counter-increment: li;
}




/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/


.contact .info-box {
  color: #444444;
  text-align: center;
  box-shadow: 0 0 30px rgba(214, 215, 216, 0.6);
  padding: 20px 0 30px 0;
  background: #fff;
  min-height: 205px;
}

.contact .info-box i {
  font-size: 32px;
  color: #e36414;
  border-radius: 50%;
  padding: 8px;
}

.contact .info-box h3 {
  color: #e36414;
  font-weight: 700;
  margin: 10px 0 15px;
}

.contact .info-box p {
  padding: 0;
  line-height: 24px;
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Counts
--------------------------------------------------------------*/
.counts {
  color: #ffffff;
  background: linear-gradient(to bottom, #041f4a, #2d1634);
  background-size: cover;
  background-position: center;
  padding: 80px 0 60px 0;
}

.counts .bg {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 15px 15px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  padding: 3rem 0.8rem;
  letter-spacing: 1px;
  text-decoration: none;
  overflow: hidden;
  color: #fff;
  font-weight: 400;
  z-index: 1;
  transition: 0.5s;
  backdrop-filter: blur(15px);
}

.counts .bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(to left, rgba(255, 255, 255, 0.15), transparent);
  transform: skewX(45deg) translate(0);
  transition: 0.5s;
  filter: blur(0px);
}

.counts .bg .desc {
  text-align: center;
}

.counts .bg .desc h2 {
  position: relative;
  margin-bottom: 3rem;
}

.counts .bg .desc h2::after {
  content: "";
  display: inline-block;
  background: #b43e8f;
  position: absolute;
  bottom: -15px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
}

.counts .bg .desc p {
  color: #d7dace;
}

.counts .counters {
  margin: 2rem 1rem;
}

.counts .counters span {
  font-size: 48px;
  display: inline-block;
  font-weight: 600;
  color: #f79824;
}

.counts .counters .percent {
  font-size: 28px;
  padding-left: 6px;
}

.counts .counters p {
  font-size: 18px;
  padding: 0;
  margin: 0 0 20px 0;
}


.btn-support {
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.5rem;
  display: inline-block;
  padding: 1rem 4rem;
  margin-top: 2rem;
  border-radius: 30px;
  transition: 0.5s;
  color: #fff;
  position: relative;
  background-size: 200% auto;
  background-image: linear-gradient(to right, #6200b3 0%, #b43e8f 51%, #6200b3 100%);
}

.btn-support:hover {
  color: #fff;
  background-position: right center;
}

@media (max-width:576px) {
  .counts .bg .desc h2 {
    font-size: 25px;
  }

  .counts .bg .desc h3 {
    font-size: 22px;
  }

  .counts .bg .desc p {
    font-size: 16px;
  }

  .btn-support {
    letter-spacing: 0.1rem;
  }
}


/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

.footer {
  position: relative;
  margin: 0;
  padding: 2rem 1rem;
  width: 100%;
  background: linear-gradient(0deg, rgba(45, 49, 66, 0.8) 0%, rgba(0, 0, 0, 1) 100%), url("../img/footer-bg.jpg") center center no-repeat;
  background-size: cover;
  overflow: hidden;
}

.footer * {
  color: #fff;
}

.footer a:hover {
  color: #ffc8fb;
}

.footer h2 {
  letter-spacing: 0.1rem;
  margin-bottom: 1.5rem;
}


.footer ul {
  list-style-type: square;
  font-size: 16px;
  line-height: 28px;
}

.footer-year {
  margin-bottom: 30px;
}

.footer-bottom {
  font-size: 16px;
  letter-spacing: 2px;
  padding-top: 15px;
  border-top: 1px solid #dfdfdf;
}

@media (max-width:768px) {
  .footer {
    padding-bottom: 5rem;
  }

}

@media (max-width:576px) {
  .footer h2 {
    font-size: 25px;
  }

  .f-logo {
    margin-top: 20px;
  }
}