﻿@charset "utf-8";
.menuButton {
  position: fixed;
  top: 12px;
  right: 15px;
  z-index: 1999999;
  display: block;
}
.nav-tgl {
  display: inline-block;
  cursor: pointer;
  position: relative;
  z-index: 9999;
  width: 40px;
  height: 38px;
  border: none;
  border-radius: 50%;
  padding: 0;
  background: #3381b0;
  box-shadow: 0px 1px 3px #807c7c;
  line-height: 0.6;
  text-align: center;
}
.nav-tgl > span {
  display: inline-block;
  position: relative;
  height: 2px;
  width: 30px;
  border-radius: 1px;
  background: #fff;
  vertical-align: middle;
}
.nav-tgl > span:before, .nav-tgl > span:after {
  display: inline-block;
  position: absolute;
  content: "";
  height: 2px;
  border-radius: 1px;
  background: #fff;
  transition: all 200ms;
  -webkit-transition: all 200ms;
  -moz-transition: all 200ms;
  -o-transition: all 200ms;
  -ms-transition: all 200ms;
}
span:before {
  top: -8px;
  left: 3px;
  width: 22px;
}
span:after {
  top: 8px;
  left: 3px;
  width: 22px;
}
.nav-tgl:focus {
  outline: none
}
.nav-tgl:hover > span:after, .nav-tgl:hover > span:before {
  width: 30px;
  left: 0;
}
.nav-tgl-back:before {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  content: '';
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  transition: all 500ms ease-in-out;
  -webkit-transition: all 500ms ease-in-out;
  -moz-transition: all 500ms ease-in-out;
  -o-transition: all 500ms ease-in-out;
  -ms-transition: all 500ms ease-in-out;
  clip-path: circle(30px at calc(100% - 65px) 65px);
  visibility: hidden;
  z-index: 9999;
}
.menu.active .nav-tgl-back:before {
  visibility: visible;
  clip-path: circle(100%);
}
.menu.active .nav-tgl > span {
  height: 0;
}
.menu.active .nav-tgl > span:after, .menu.active .nav-tgl > span:before {
  top: -1px;
  left: 0;
  width: 30px;
}
.menu.active span:after {
  transform: rotate(-45deg);
}
.menu.active span:before {
  transform: rotate(45deg);
}
.side-menu {
  max-height: 100%;
  max-width: 100%;
  width: 300px;
  height: 100%;
  padding: 20px 0;
  box-sizing: border-box;
  background-image: linear-gradient(0deg, #3381b0, #87cefa);
  display: flex;
  flex-flow: column nowrap;
  box-shadow: 5px 0px 10px rgba(17, 26, 41, 0.6);
  position: fixed;
  transition: .5s;
  -webkit-transition: .5s;
  -moz-transition: .5s;
  -o-transition: .5s;
  -ms-transition: .5s;
  transform: translateX(-200%);
  -webkit-transform: translateX(-200%);
  -moz-transform: translateX(-200%);
  -o-transform: translateX(-200%);
  -ms-transform: translateX(-200%);
  left: 0;
  top: 61px;
  z-index: 99;
  border: 0;
  bottom: 0;
}
.side-menu.openbar {
  max-height: 100%;
  max-width: 100%;
  width: 300px;
  height: 100%;
  padding-top: 10px;
  padding-right: 0;
  padding-left: 0;
  padding-bottom: 10px;
  box-sizing: border-box;
  background-image: linear-gradient(0deg, #3381b0, #87cefa);
  display: flex;
  flex-flow: column nowrap;
  box-shadow: 5px 0px 5px rgba(17, 26, 41, 0.6);
  position: fixed;
  transition: .5s;
  -webkit-transition: .5s;
  -moz-transition: .5s;
  -o-transition: .5s;
  -ms-transition: .5s;
  transform: translateX(0%);
  -webkit-transform: translateX(0%);
  -moz-transform: translateX(0%);
  -o-transform: translateX(0%);
  -ms-transform: translateX(0%);
  left: 0;
  top: 60px;
  bottom: 0;
  z-index: 99;
  border: 0;
}
.barNav a {
  display: block;
  padding-top: 13px;
  padding-right: 10px;
  padding-left: 20px;
  padding-bottom: 13px;
  color: #fff;
  text-decoration: none;
  position: relative;
  font-family: 'Noto Sans TC', sans-serif;
  z-index: 99;
  border: 0;
  text-align: left;
  text-align-last: left;
  letter-spacing: 0.1em;
  font-weight: 500;
  font-size: 1em;
}
.barNav a + a::before, .barNav a + a::after {
  content: '';
  position: absolute;
  border-bottom: 1px solid #fff;
  left: 10px;
  right: 10px;
  top: 0;
  z-index: 99;
  text-align: left;
  text-align-last: left;
}
.barNav a .fas {
  margin-right: 0.1em;
  transform: scale(0);
  transition: .5s;
}
.barNav a:hover .fas {
  margin-right: 1.3em;
  transform: scale(1);
}
@media (min-width: 1024px) {
  .menuButton {
    display: none;
  }
}