/*==================================================================
| Designer: Longteng Education Co.                                 |
| Author Web: https://www.ltedu.com.tw/                            |
| Designer: Elaine Chu                                             |
==================================================================*/

@charset "UTF-8";
@import url(https://fonts.googleapis.com/icon?family=Material+Icons);
@import url(https://fonts.googleapis.com/css?family=Lusitana);
@import url(https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500&family=Noto+Serif+TC:wght@500;700&display=swap);
@font-face {
  font-family: 'Font Awesome 6 Free';
  font-style: normal;
  font-weight: 900;
  font-display: block;
  src: url("../webfonts/fa-solid-900.woff2");
}

:root {
  --font-Sans: 'Noto Sans TC', sans-serif;
  --font-Serif: 'Noto Serif TC', serif;
  --font-Size: 1.2em;
  --font-Title: 3rem;
  --font-p: 1.5rem;
  --normal-Blue: #38a1db;
  --normal-Yellow: #fac03d;
}

* {
  color: #000;
  font-family: var(--font-Sans);
  font-weight: 500;
}
html {
  padding: 0;
}
body {
  font-size: 1.1em;    
  margin: 0;
}
.affix {
    position: fixed !important;
    top: 0;
    z-index: 2;
}

header {
  background: #fff;
  z-index: 1;
  position: relative;
}
header.affix {
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
}

.nav {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  display: inline-block;
  padding: 20px;
  font-weight: 600;
}

.nav__logo a {
  background: url(../images/logo.svg) no-repeat center center;
  width: 160px;
  height: 40px;
  display: block;
  text-indent: -9999em;
}

.nav__toggle {
  display: none;
}

.menu {
  list-style: none;
  padding-inline-start: 0;
  margin: 0;
}

.menu__item {
  display: inline-block;
  font-weight: 300;
  margin: 0px;
  padding: 5px 10px;
  transition: 0.2s ease;
}

.menu__item a {
  color: #000;
  text-decoration: none;
  cursor: pointer;
  cursor: pointer;
  padding: 10px 15px;
  border-radius: 25px;
}

.menu__item a:hover {
  background: var(--normal-Yellow);
  transition: 0.2s ease;
}
.actions {
  margin-right: 10px;
}
.actions .menu__item a:hover {
  background: var(--normal-Blue);
}
.actions .btn-action {
  color: #fff;
  background: var(--normal-Blue);
  border: var(--normal-Blue) 2px solid;
}
.actions .menu__item a.btn-action:hover {
  color: #136794;
  background: #fff;
}
.actions .btn-login {
  color: #000;
  background: #fff;
}
.actions .menu__item a.btn-login:hover {
  background: var(--normal-Yellow);
}


@media only screen and (max-width: 1100px) {
  header {
    padding: 10px 0;
  }
  .nav {
    transition: 0.3s ease;
    display: block;
  }

  .nav.display {
    width: 100vw;
    height: 100vh;
    position: fixed;
    display: block;
    background: rgb(255, 255, 255,.97);
    left: 0;
    right: 0;
  }

  .nav__logo {
    display: inline-block;
    padding: 15px;
    align-self: center;
  }

  .nav__toggle {
    display: block;
    float: right;
    padding: 22px 30px;
    cursor: pointer;
    transition: 0.3 ease;
  }
  .nav.display .nav__toggle {
    position: absolute;
    right: 0;
    top: 10px;
  }

  .nav__toggle:hover {
    color: #D444DD;
    transition: 0.3s ease;
  }

  .menu {
    width: 100%;
    padding-inline-start: 20px;
  }
  .main.menu {
    display: none;
  }
  .nav.display .main.menu  {
    display: block;
  }
  .menu.actions {
    width: auto;
  }

  .menu__item {
    opacity: 0;
    text-align: left;
    padding: 10px 15px;
    margin: 0px;
    transition: 0.3s ease;
  }

  .menu__item a {
    color: #000;
    display: block;
    padding: 10px;
    text-decoration: none;
    cursor: pointer;
    transition: 0.3s ease;
  }

  .menu__item a:hover {
    transition: 0.3s ease;
    transform: translateX(5px);
    color: #000;
  }  
  .menu.actions{    
    padding-inline-start: 0;    
    margin-right: 0;
    float: right;
  }
  .menu.actions .menu__item {
      opacity: 1;    
  }
  
  .nav.display .menu.actions{    
    position: absolute;
    top: 10px;
    right: 75px;
  }

  .menu__item.display {
    display: block;
    -webkit-animation: showMenuItems 0.6s ease;
    animation: showMenuItems 0.6s ease;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
  }

  .actions .btn-login { 
    display: none;
  }
  .menu__item.display:nth-child(1) {
    -webkit-animation-delay: 0.1s;
    animation-delay: 0.1s;
  }

  .menu__item.display:nth-child(2) {
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s;
  }

  .menu__item.display:nth-child(3) {
    -webkit-animation-delay: 0.3s;
    animation-delay: 0.3s;
  }
  .menu__item.display:nth-child(4) {
    -webkit-animation-delay: 0.4s;
    animation-delay: 0.4s;
  }

  .menu__item.display:nth-child(5) {
    -webkit-animation-delay: 0.5s;
    animation-delay: 0.5s;
  }

  .menu__item.display:nth-child(6) {
    -webkit-animation-delay: 0.6s;
    animation-delay: 0.6s;
  }
}

@-webkit-keyframes showMenuItems {
  0% {
    opacity: 0;
    transform: translate3d(40px, 0, 0);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes showMenuItems {
  0% {
    opacity: 0;
    transform: translate3d(40px, 0, 0);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
@media (max-width: 470px) {
  .menu.actions {
    position: absolute;
    right: 55px;
    top: 10px;
  }
  .nav.display .menu.actions {
    right: 55px;
  }
}
@media (max-width: 400px) {
  .menu__item a {
    font-size: 1rem;
  }
  .nav__logo a {
    width: 140px;
    height: 35px;
  }
}
@media (max-width: 375px) {
  .nav__logo a {
    width: 120px;
  }
  .menu__item a {
    font-size: 1rem;
  }
  .nav__toggle {
    padding: 20px 25px;
  }
  .menu.actions {
    right: 50px;
  }
}

section {
  padding: 2rem 0;
}

section .row {
  display: flex;
  justify-content: center;
  align-items: center;
}

img {
  max-width: 100%;
}

#intro {
  padding: 2rem 0;
}
.container {
  max-width: 70%;
}
section+section {
  margin-top: 2rem;
  border-top: #efefef solid 1px;
}
@media (max-width: 1280px) {
  section {
    padding: 2.5rem 0;
}
  .container {
    max-width: 95%;
  }
}
@media (max-width: 768px) {
    .container {
      padding-right: 10px;
      padding-left: 10px;
    }
}
h1 {
  color: var(--normal-Blue);
  font-weight: 600;
  font-size: 4rem;
  margin-bottom: 2rem;
}
p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}
h2 {
  font-size: 2.4rem;
  font-weight: 600;
  margin-bottom: 2rem;
}
.prod-logo img {
  width: 250px;
  margin: 20px 0 15px;
}
.prod-logo.sensei img {
  width: 180px;
  margin-left: -5px;
}
.prod-logo.Qbot img {
  width: 150px;
  margin-left: -10px;
}
h3 {
  font-size: 1.7rem;
  font-weight: 700;
}
@media (max-width: 1280px) {
  h1 {
    font-size: 2.2rem;
    font-weight: 600;
  }
  h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }
  h3 {
    font-size: 1.3rem;
  }
  p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }
  .prod-logo.thinker img {
    width: 200px;
  }
  .prod-logo.Qbot img {
    width: 130px;
  }
  .prod-logo.sensei img {
    width: 150px;
    margin-bottom: 5px;
  }
}
@media (max-width: 500px) {
  h1 {
    font-size: 2.6rem;
  }
  h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  p {
    font-size: 1rem;
    margin-bottom: 1.2rem;
  }
}
@media (max-width: 400px) {
  h1 {
    font-size: 2.6rem;
  }
  h2 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }
  h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }
  p {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
  }
}
section .btn {
  font-size: 1.4rem;
  font-weight: 500;
  padding: .5rem 1.5rem;
  border-radius: 25px;
  background: var(--normal-Blue);
  border: var(--normal-Blue) 2px solid;
}
section .btn-primary:hover {
  background: #fff;
  color: #136794;
  transition: 0.3s ease;
}

section .btn-outline-primary {
  background: #fff;
  color: #136794;
}
section .btn-outline-primary:hover {
  background: #000;
  color: #fff;
  border-color: #000;
}
section .nav {
    text-align: center;
    display: block;
}
section .nav.nav-pills {
    text-align: left;
}
section .nav.nav-pills + p {
  margin-top: 1.5rem;
}
section .nav li {
  display: inline-block;
}
section .nav-item a {
  display: flex;
  align-self: center;
  color: #000;
  border: #000 solid 1px;
  margin-bottom: 5px;
}
section .nav-pills .nav-link.active {
  color: #000;
  background: var(--normal-Yellow);
  border-color: var(--normal-Yellow);
}
section .nav-item a span {
  margin-right: 5px;
}
section .nav-pills .nav-link.active span {
  color: #000;
}
section .btn-link {
  color: var(--normal-Blue);
  font-size: 2rem;
  font-weight: 600;
  background: transparent;
  text-transform: none;
  border: none;
  padding: 0;
  border-radius: 0;
}
section .btn-link:hover {
  color: #000;
}

#sensei ul,
#QBot ul,
#Linggle ul {
  list-style: none;
  padding-inline-start: 0;
  margin: 30px 0;
}
#sensei ul li,
#QBot ul li,
#Linggle ul li {
  display: flex;
  margin: 10px 0;
}
#sensei ul li span,
#QBot ul li span,
#Linggle ul li span  {
  margin-right: 8px;
}
#intro .icon-ltrust {
  background: url(../images/logo.svg) no-repeat center center;
  background-size: contain;
  height: 65px;
  width: 205px;
  display: block;
  text-indent: -9999em;
  margin-bottom: 1rem;
}
h2 .icon-ltrust {
  background: url(../images/logo.svg) no-repeat center center;
  background-size: contain;
  height: 50px;
  width: 190px;
  display: inline-block;
  text-indent: -9999em;
  margin-bottom: 1rem;
}
ul li .icon-ltrust {
  background: url(../images/img-list.png) no-repeat center center;
  background-size: contain;
  height: 25px;
  width: 25px;
  display: block;
  text-indent: -9999em;
} 
.icon.icon-sensei{
  background: url(../images/img-sensei.png) no-repeat left center;
  background-size: contain;
  height: 100%;
  width: 125px;
  display: inline-block;
  text-indent: -9999em;
}
.icon.icon-qbot{
  background: url(../images/img-Qbot.png) no-repeat left center;
  background-size: contain;
  height: 100%;
  width: 115px;
  display: inline-block;
  text-indent: -9999em;
}
.icon.icon-thinker{
  background: url(../images/img-Thinker.png) no-repeat left center;
  background-size: contain;
  height: 100%;
  width: 240px;
  display: inline-block;
  text-indent: -9999em;
}
h2 .icon.icon-sensei{
    width: 190px;
}
.btn-link .icon.icon-sensei{
    width: 135px;
}
#sensei ul li .icon.icon-sensei {
  height: 28px;
  width: 108px;
}

.jumbotron {
  background: #e9f4ff;
}
.link-group {
  margin-bottom: 1.5rem;
}
@media (max-width:1280px) {   
  .icon.icon-qbot{
    width: 85px;
  }
  .icon.icon-thinker{
    width: 190px;
  }
}
@media (max-width:768px) { 
    section .link-group .btn {
      font-size: 1rem;
    }
    section .link-group .btn+.btn {
      margin-left: 10px;
    }
    .link-group {
      display: flex;
    }
    .btn-link .icon.icon-sensei{
        width: 100px;
    }
    .icon.icon-qbot {
      width: 85px;
    }
}
@media (max-width:414px) {
    .link-group,
    section .link-group .btn {
      display: block;
    }        
    section .link-group .btn+.btn {
      margin-left: 0;
      margin-top: 10px;
    }
    section .nav-item a span {
        font-size: 16px;
    }
}
footer ul {
  display: flex;
  list-style: none;
  padding-inline-start: 0;
  justify-content: right;
}
footer ul li {
  margin-left: 10px;
}
footer ul li i {
  font-size: 2rem;
}
footer ul li a:hover i {
  color: #136794;
}
footer {
  text-align: right;
}
footer p {
  font-size: 1rem;
}
@media (max-width: 1280px) {
  footer {
    text-align: center;
  }
  footer ul {
    margin-top: 2rem;
    justify-content: center;
  }
  footer img {
    max-width: 200px;
    margin: auto;
    display: block;
  }
  section .nav.nav-pills {
    text-align: center;
  }
  section .nav.nav-pills .nav-link {
    padding: .5rem;
    font-size: 1rem;
  }
  
  section .btn-link {
    font-size: 1.5rem;
  }    
  #sensei ul,
  #QBot ul,
  #Linggle ul {
    margin: 20px 0;
  }
  h2 .icon.icon-sensei {
    width: 135px;
  }
}
@media (max-width: 414px) {
  section .nav.nav-pills .nav-link { 
    display: flex;
    align-items: center;   
  }

}
@media (max-width: 375px) {
  section .btn-link {
    font-size: 1.2rem;
    font-weight: 600;
  }
  section .nav.nav-pills .nav-link {
      font-size: .9rem;     
  }
  section .nav.nav-pills +p {
    margin-top: .5rem;
  }
}

/* top */
.btn-top,
.btn-top:hover {
    background: var(--normal-Yellow);
    display: block;
    color: #fff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    position: fixed;
    z-index: 1;
    opacity: 0;
    text-indent: 4px;
    transition: all 0.2s linear;
}

.btn-top {
    bottom: 35px;
    right: 35px;
}

.btn-top:hover {
    background: var(--normal-Blue);
}

.btn-top:hover span {
    color: #fff;
}
.btn-top.show {
    opacity: 1;
    cursor: pointer;
}

.btn-top:hover {
    text-decoration: none;
}

.btn-top span {
    line-height: 2.3rem;
}

@media(max-width:767px) {
    .btn-top {
        bottom: 20px;
        right: 20px;
    }
}

@media(max-width:645px) {
    .btn-top {
        bottom: 10px;
        right: 10px;
    }
}
