body{
font-family: 'Noto Sans TC', "微軟正黑體",serif;
  color: #003854;
}
.font-y{
  color:#f9c84b;
}
.font-w{
  color:#ffff;
}
.m{ display: none;}
.pc{ display: block;}
.pc-inline{ display: inline-block;}

nav{ box-shadow:0px 1px 5px #999; background-color: rgba(255,255,255,0.8);}
nav a:hover{font-weight: bold;}
nav .nav-link{
  font-size: 20px;
}
h1{
  background-image: url(../img/info-banner.jpg);
  height: 70vh;
  padding: 15vh 0 0 5vw;
  font-weight: bold;
  font-size:60px;
  color: #fff;
  text-shadow: 0px 5px 5px #000;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
h1 > sub{
  font-weight:lighter;
  font-size: 30px;
}
main section#content{
  padding-top: 50px;
  padding-bottom: 50px;
}
main h2{
  line-height: 1.8;
  font-size: 38px;
  padding-top: 10px;
  color: #2f40a8;
}

main #content h2 > img{ height: 36px;}
main hr{ width: 100%;
  margin-left: auto;
  margin-right: auto;}
main #table{
  margin-top: 100px;
  background-color: #f2f2f2;
  padding: 0 50px 80px 50px;
  border-radius: 30px;}
main #table h2{
  line-height: 1.2;
}
main #table h2 img{
    width: 120px;
    transform:translateY(-40px);
    margin-right: 20px;
  }
main #table .list{
  width: 100%;
}
main a.download{
    border-radius: 9999px;
    border: 2px solid #2f40a8;
    padding: 16px 0;
    color: #2f40a8;
    font-size: 18px;
    text-decoration: none;
    letter-spacing: 2px;
    width:100%;
    max-width: 300px;
    display: inline-block;
    text-align: center;
transform: translateY(-20px);
  }
  main a.download2{
      border-radius: 9999px;
      padding: 16px 0;
      color: #fff;
      background-color: #2f40a8;
      font-size: 18px;
      text-decoration: none;
      letter-spacing: 2px;
      width:100%;
      max-width: 300px;
      display: inline-block;
      text-align: center;
  transform: translateY(-20px);
    }
main #video{
  padding-top: 5vw;
}
main #video hr{ width: 50%;
      margin-left: auto;
      margin-right: auto;}
main #exam{
        margin-top: 5vw;
        padding: 5vw;
        background-image: url(../img/info-test.jpg);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
      }
main #exam div.row{
        background-color: rgba(0,0,0,0.73);
        padding:3vw 0;
      }

main #exam h2{
  color: #fff;
}
main #exam a{
  display: inline-block;
  width: 26%;
  margin: 0 auto;
  padding: 0;
}
main #exam a img{ width: 90%;}

footer{
  background-color: #151d4b;
  color: #fff;
  text-align: center;
  margin-top: 50px;
  padding: 30px 0;
}
footer img{
  margin-left: 10px;
  margin-right: 10px;
}
@media (min-width: 300px) and (max-width:500px) {
  h1{
    height: 40vh;
    padding: 10vh 0 0 5vw;
    font-size: 40px;
  }
  h1 > sub{
    font-weight:lighter;
    font-size: 16px;
  }
  main{ padding-left: 5px; padding-right: 5px;}
  main h2{
    line-height: 1.2;
    font-size: 24px;
    color: #2f40a8;
  }
  main #content h2 > img{ height: 22px;}

  main #table{
    margin-top: 100px;
    background-color: #f2f2f2;
    padding: 0 20px 20px 20px;
    border-radius: 30px;}
  main #table h2 img{
        width: 80px;
        transform:translateY(-40px);
        margin-right: 20px;
        vertical-align: text-top;
      }
  main #table hr{    margin-top: -30px;}
  main #table h2 {font-size: 30px;}
  main #table img.list{
      width: 100%;
    }

    footer img{
      margin-left: auto;
      margin-right: auto;
      display: block;
    }
}
@media (min-width: 300px) and (max-width:767px) {
  .m{ display:block;}
  .pc{ display:none;}
  .pc-inline{ display: none;}
  main #table img.list{
      width: 100%;
    }
  main #exam h4{font-size:16px;}
}
