@charset "UTF-8";
* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

body {
  margin: 0px;
  padding: 0px;
  font-family: "微軟正黑體";
}

html {
  scroll-behavior: smooth;
}

.navbar {
  display: block;
  padding: 0 8px 0 0;
  position: fixed;
  z-index: 9999999;
  width: 100%;
  max-height: 15%;
}

#toggle {
  width: 28px;
  height: 30px;
  margin: 10px auto;
  float: right;
  margin-right: 15px;
  display: none;
}

#toggle div {
  width: 100%;
  height: 5px;
  background: white;
  margin: 4px auto;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}

#toggle.on .one {
  -webkit-transform: rotate(45deg) translate(5px, 5px);
      -ms-transform: rotate(45deg) translate(5px, 5px);
          transform: rotate(45deg) translate(5px, 5px);
}

#toggle.on .two {
  opacity: 0;
}

#toggle.on .three {
  -webkit-transform: rotate(-45deg) translate(7px, -8px);
      -ms-transform: rotate(-45deg) translate(7px, -8px);
          transform: rotate(-45deg) translate(7px, -8px);
}

@media (max-width: 992px) {
  .navbar {
    max-height: none;
  }
  #toggle {
    display: block;
  }
  .navbar-nav {
    height: 100vh;
  }
}

.navbar-nav a {
  font-size: 24px;
}

#navbarNav.show {
  height: 100vh;
  -webkit-transition: .2s;
  -o-transition: .2s;
  transition: .2s;
  -webkit-overflow-scrolling: touch;
}

.navbar-nav {
  margin: auto;
}

.navbar-nav li.nav-item {
  margin: 0 25px 0px 25px;
}

.navbar-nav li.nav-item a {
  font-size: 24px;
  color: white;
}

.navbar-nav li.nav-item a p {
  color: white;
  margin-bottom: 0px;
  padding-bottom: 10px;
  margin: 0 0 0 auto;
  font-size: 24px;
  text-decoration: none;
  position: relative;
  border-bottom: solid 2px #ffbf0e;
}

.navbar-nav li.nav-item a p:hover {
  color: #ffbf0e;
  border-bottom: none;
}

.navbar-nav li.nav-item a p:after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0%;
  width: 0;
  border-bottom: 2px solid #ffbf0e;
  -webkit-transition: 1s;
  -o-transition: 1s;
  transition: 1s;
}

.navbar-nav li.nav-item a p:hover:after {
  width: 100%;
}

.navbar-nav .here1 {
  display: none;
}

.navbar-nav .touch:hover .here1 {
  display: block;
  position: fixed;
  border-radius: 5px;
  padding: 0px;
  margin-left: -10px;
  background-color: #343a40;
}

.navbar-nav .touch:hover .here1 .dropdown-item:hover {
  color: #ffbf0e;
  background-color: #6a6a67;
}

@media (max-width: 992px) {
  .navbar-nav .here1 {
    display: block;
    margin-left: -10px;
    padding: 0px;
  }
  .navbar-nav .touch:hover .here1 {
    display: block;
    background-color: rgba(0, 0, 0, 0);
    border-radius: 10%;
    width: 100%;
  }
  .navbar-nav .touch:hover .dropdown-item:hover {
    margin-left: 10px;
    width: 90%;
    color: #ffbf0e;
  }
}

.top {
  display: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  /* background-color: rgba(184, 135, 11, 0.733); */
  background-color: rgba(100, 100, 100, 0.438);
  position: fixed;
  bottom: 20px;
  right: 40px;
  text-align: center;
  line-height: 60px;
  font-size: 30px;
  color: white;
}

.top a {
  text-decoration: none;
}

.top:hover {
  background-color: rgba(255, 245, 238, 0.815);
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
  color: rgba(250, 26, 26, 0.849);
  font-weight: 900;
  font-size: 40px;
}
/*# sourceMappingURL=layout-portfolio.css.map */