/* CSS Document */
/* RWD：手機斷點 */
@media (min-width: 992px) {
  header {
    border-bottom: 5px solid var(--color-primary);
    padding: 0 clamp(1.5rem, 7.5vw, 20rem);
  }
  .dropdown-menu {
    animation: .5s slideup;
  }
  .dropdown:hover > .dropdown-menu {
    display: block;
  }
  .dropdown > .dropdown-toggle:active {
    pointer-events: none;
  }
  .nav-link {
    padding: 1.5em 0 0 0;
    transition: all .3s;
    height: 11rem;
  }
}
@keyframes slideup {
  from {
    transform: translateY(25px);
  }
  to {
    transform: translateY(0);
  }
}
@media (min-width: 1600px) {
  .container {
    max-width: 1440px;
  }
}
@media (min-width: 576px) {}
@media (max-width: 1200px) {}
@media (max-width: 991px) /*手機版選單*/ {
  header {
    border-bottom: 2px solid var(--color-primary);
  }
  .navbar {
    height: 6.6rem;
    align-content: center
  }
  .navbar-brand {
    margin: auto;
    height: 100%;
    align-content: center
  }
  .navbar-collapse {
    background-color: #fff;
    position: absolute;
    top: 6.8rem;
    left: 0;
    width: 100%
  }
  .navbar-nav {
    width: 100%;
    margin: clamp(2rem, 3.8vw, 7.5rem) auto;
    gap: 0
  }
  .navbar-nav > .nav-item {
    width: 100%;
  }
  .nav-link {
    width: 100%;
    text-align: center
  }
  .dropdown-menu {
    text-align: center
  }
  .logo {
    height: 100%;
    max-height: 4rem;
    width: auto;
  }
}
@media (max-width: 575px) {
  h1.entry-title {
    font-size: 4rem;
    margin: 0.5em auto
  }
  h2, .home h2 {
    font-size: 3.6rem;
  }
  header {}
  main {}
  .footer {
    flex-direction: column;
    padding: 3rem 1.5rem 6rem;
  }
  .top-wrapper {
    flex-direction: column;
    gap: 2rem
  }
  .page-title {
    align-self: flex-start;
    flex: auto
  }
  .top-img img {
    max-width: 100%;
    aspect-ratio: 2.35 / 1;
    object-fit: cover;
    margin-left: 1.5rem
  }
  /*about */
  .about h3 {
    font-size: 2.8rem;
  }
  .member {
    flex-direction: column;
  }
  .member figure {
    width: 100%
  }
  .member img {
    width: 45vw;
    margin: 2.5rem 2.5rem 0
  }
  .member-1 {
    margin-right: 2.5rem;
  }
  .member-2 {
    margin-left: 2.5rem;
  }
  .member-1 h3 {
    left: 2rem
  }
  .member-1 p {
    padding-left: 2rem
  }
  .member-2 h3 {
    right: 2rem
  }
  .member-2 p {
    padding-right: 2rem
  }
  .team-banner {
    aspect-ratio: 1 / .37;
    object-fit: cover;
    padding: 0 2rem
  }
  .team-member {
    flex-direction: column;
  }
  .journal-list {
    flex-direction: column
  }
  .journal-content {
    width: 100%
  }
  .journal .tab-content ul {
    flex-direction: column
  }
  /*project single */
  .project-single .page-title {
    flex: auto
  }
  .project-single .project {
    padding: 4rem 0;
    gap: 2rem
  }
  /* home */
  .home .swiper img {
    aspect-ratio: 1 / 1.4;
    object-fit: cover;
  }
  .home section {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .home section > .container.p-5 {
    padding: 3rem 0 !important
  }
  .intro .container > .d-flex {
    flex-direction: column-reverse;
    gap: 0
  }
  .intro figure {
    margin: 0 1.5rem
  }
  .intro article {
    position: static;
    width: 100%;
  }
  .intro article p {
    text-align: justify;
  }
  .intro article br {
    display: none
  }
  .news .container > .d-flex {
    flex-direction: column;
  }
  .news article {
    margin-top: 0;
    width: 100%
  }
  .news ul li a {
    flex-direction: column;
    padding: 1em 0;
  }
  .news ul li a i {
    display: block
  }
  .work .container > .d-flex {
    flex-direction: column;
  }
  .work .container > .d-flex > article {
    margin-top: 2rem;
    width: 100%;
  }
}