body {
  overflow-x: hidden;
}
.main-container {
  display: flex;
  flex-direction: column;
  font-family: "Microsoft JhengHei", "微軟正黑體", sans-serif;
  img {
    image-rendering: -webkit-optimize-contrast;
  }
  .title {
    margin: 0;
    color: #0076a5;
    font-size: 35px;
    margin-bottom: 20px;
    font-weight: bold;
    @media (max-width: 991px) {
      text-align: center;
    }
    @media (max-width: 576px) {
      font-size: 30px;
    }
  }
  nav {
    padding: 10px 50px;
    display: flex;
    justify-content: space-around;
    box-shadow: 0px 0px 6px #969696;
    @media (max-width: 767px) {
      padding: 10px 0px;
    }
    .logo-box {
      width: 425px;
      display: flex;
      align-items: center;
      @media (max-width: 767px) {
        width: 100%;
        max-width: 350px;
      }
      img:first-child {
        width: 44%;
      }
      img:last-child {
        width: 50%;
        margin-left: 10px;
      }
    }
    ul {
      margin: 0;
      padding: 0;
      width: 60%;
      display: flex;
      align-items: center;
      justify-content: center;
      list-style: none;
      li {
        margin: 1%;
        a {
          text-decoration: none;
          color: black !important;
          font-weight: bold;
          &:hover {
            opacity: 0.7;
          }
        }
      }
    }
  }
  .nav-link {
    cursor: pointer;
  }
  header {
    margin: 30px 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    @media (max-width: 767px) {
      flex-direction: column;
    }
    img:first-child {
      width: 30%;
      @media (max-width: 767px) {
        width: 50%;
      }
    }
  }

  .logo {
    display: flex;
    align-items: center;
    justify-content: end;
    @media (max-width: 767px) {
      margin: 0 10px;
      justify-content: center;
    }
    img:first-child {
      width: 30%;
      margin-right: 20px;
      @media (max-width: 767px) {
        width: 45%;
      }
    }
    img:last-child {
      width: 40%;
      @media (max-width: 767px) {
        width: 55%;
      }
    }
    // a {
    //   text-decoration: none;
    //   font-weight: bold;
    //   h2 {
    //     margin: 0;
    //     color: #4653a2;
    //     font-size: 50px;
    //     text-shadow: 0px 0px 3px #fde301;
    //   }
    //   span {
    //     color: #e7380d;
    //   }
    //   p {
    //     margin: 0;
    //     color: #009844;
    //     font-size: 17px;
    //     letter-spacing: 4px;
    //   }
    // }
  }
  .banner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-top: 60px;
    img {
      width: 60%;
      height: auto;
      @media (max-width: 991px) {
        width: 90%;
      }
    }
    section {
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 50px 0;
      img {
        width: 75px;
        height: 100%;
        margin-top: -50px;
      }
      p {
        margin-left: 15px;
        color: #0076a5;
        font-size: 45px;
        font-weight: bold;
        @media (max-width: 767px) {
          font-size: 30px;
        }
      }
    }
  }
  .metaverse {
    margin: auto;
    width: 1080px;
    max-width: 100%;
    @media (max-width: 991px) {
      padding: 0 5%;
    }
    &:hover {
      .bg-img {
        background-color: rgba(0, 0, 0, 0.6);
        background-blend-mode: multiply;
        a {
          opacity: 1;
        }
      }
    }
    .bg-img {
      position: relative;
      transition: all 0.5s;
      background-image: url("/img/圖層 2.png");
      height: 496px;
      background-repeat: no-repeat;
      background-size: cover;
      background-position: center;
      cursor: pointer;
      a {
        position: absolute;
        bottom: 50%;
        right: 50%;
        transform: translate(50%, 50%);
        transition: all 0.3s;
        background-color: #ff0101;
        padding: 15px 50px;
        color: #fff;
        letter-spacing: 2px;
        font-weight: bold;
        border-radius: 50px;
        opacity: 0;
        text-decoration: none;
        &:hover {
          background-color: #c80000;
        }
        @media (max-width: 475px) {
          padding: 10px 30px;
        }
      }
    }
  }
  .directions {
    margin: 100px auto 0px;
    display: flex;
    max-width: 900px;
    font-weight: bold;
    @media (max-width: 991px) {
      flex-direction: column;
      align-items: center;
    }
    @media (max-width: 767px) {
      margin: 100px 5% 0px;
    }
    img {
      width: 50%;
      margin-left: -100px;
      object-fit: cover;
      @media (max-width: 991px) {
        width: 65%;
        margin-left: 0px;
      }
    }
    div {
      width: 70%;
      margin-left: 35px;
      @media (max-width: 991px) {
        width: 90%;
        margin: 0px 20px;
      }
      ul {
        margin: 0;
        padding: 0;
        list-style: none;
        li {
          line-height: 1.5;
          letter-spacing: 1px;
          &:last-child {
            margin-top: 20px;
          }
          a {
            color: #000;
          }
        }
      }
    }
  }
  .time-form {
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 100px;
    img {
      width: 80%;
      margin-top: 25px;
      @media (max-width: 991px) {
        width: 95%;
      }
    }
  }
  .video-content {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 150px 10% 50px;
    @media (max-width: 991px) {
      padding: 0 5%;
      flex-direction: column;
      margin: 150px 0 50px;
    }
    img {
      width: 70%;
      height: 300px;
      object-fit: cover;
      object-position: left;
    }
    .img-box {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      width: 50%;
      height: 26.15vw;
      overflow: hidden;
      background-image: url("/img/Group 34.png");
      background-position: 10px 60px;
      background-repeat: no-repeat;
      background-size: cover;
      @media (max-width: 991px) {
        height: 100%;
        background-image: none;
      }
    }
    .video-box {
      position: relative;
      width: 70%;
      height: 0;
      padding-bottom: 33%;
      @media (max-width: 991px) {
        width: 100%;
        padding-bottom: 50%;
      }
      iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
      }
    }
  }
  .content {
    padding: 0 10%;
    @media (max-width: 991px) {
      padding: 0 5%;
    }
    img {
      width: 50%;
      height: auto;
      @media (max-width: 991px) {
        width: 100%;
      }
    }
    .box {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 50px;
      @media (max-width: 991px) {
        flex-direction: column;
        &:nth-child(even) {
          flex-direction: column-reverse;
        }
      }
      div {
        display: flex;
        flex-direction: column;
        margin: 0 50px;
        &:nth-child(even) {
          align-items: flex-start;
        }
        &:nth-child(odd) {
          align-items: flex-end;
          p {
            text-align: end;
          }
        }
        @media (max-width: 991px) {
          width: 100%;
          margin-bottom: 40px;
          text-align: center;
          &:nth-child(even) {
            align-items: center;
          }
          &:nth-child(odd) {
            align-items: center;
            p {
              text-align: center;
            }
          }
        }
      }
      h4 {
        font-size: 35px;
        font-weight: bold;
        color: #ff0101;
        margin-bottom: 30px;
        letter-spacing: 2px;
        @media (max-width: 991px) {
          margin-bottom: 0px;
        }
      }
      p {
        width: 100%;
        font-weight: bold;
        letter-spacing: 1px;
        line-height: 1.5;
        @media (max-width: 991px) {
          width: 100%;
          margin: 20px 0;
        }
      }
      .video-box {
        position: relative;
        width: 53%;
        height: 0;
        padding-bottom: 30%;
        @media (max-width: 991px) {
          width: 100%;
          padding-bottom: 56%;
        }
        iframe {
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
        }
      }
    }
  }
  .faq-content {
    padding: 0 10%;
    letter-spacing: 1px;
    margin: 100px 0;
    @media (max-width: 991px) {
      padding: 0 5%;
    }
    h3,
    p {
      font-size: 22px;
      font-weight: bold;
      letter-spacing: 1px;
      @media (max-width: 576px) {
        font-size: 17px;
      }
    }
    .accordion-button {
      display: block;
      border-radius: 50px;
      &:focus {
        box-shadow: none;
      }
    }
    .accordion-button,
    .accordion-button:not(.collapsed) {
      color: #fff;
      background-color: #ff0000;
    }
    .accordion-item {
      border: none;
    }
    .accordion-item:last-of-type .accordion-button.collapsed {
      border-radius: 50px;
    }
    .accordion-body {
      ul {
        list-style: none;
        li {
          margin: 20px 0;
          span {
            font-weight: bold;
          }
          a {
            color: #6d6d6d;
            font-weight: bold;
            &:hover {
              opacity: 0.6;
            }
          }
        }
      }
    }
  }
  #container-5 {
    margin-bottom: 130px;
  }
  footer {
    display: flex;
    justify-content: space-around;
    position: relative;
    padding: 50px 0;
    @media (max-width: 991px) {
      flex-direction: column;
      align-items: center;
    }
    .bg-img {
      background-image: url("/img/875.png");
      background-repeat: no-repeat;
      background-size: cover;
      position: absolute;
      width: 100vw;
      height: 165%;
      bottom: 0px;
      left: 0;
      right: 0;
      z-index: -1;
      @media (max-width: 991px) {
        height: 140%;
        background-position: top;
      }
    }
    .logo-img {
      margin: auto 0;
      @media (max-width: 991px) {
        margin-bottom: 35px;
      }
      img {
        width: 70%;
        margin-left: 20%;
        @media (max-width: 991px) {
          width: 60%;
        }
      }
    }
    .list {
      width: 100%;
      max-width: 220px;
      border-left: 1px solid #707070;
      @media (max-width: 991px) {
        border-left: none;
      }
      ul {
        list-style: none;
        padding-left: 30%;
        @media (max-width: 991px) {
          margin: 0;
          padding-left: 25%;
        }
        li {
          margin-bottom: 10px;
          a {
            color: #000;
            text-decoration: none;
            cursor: pointer;
            &:hover {
              opacity: 0.6;
            }
          }
        }
      }
    }
    .text {
      margin: auto 40px 0px 0px;
      font-size: 35px;
      font-weight: bold;
      color: #0076a5;
      @media (max-width: 991px) {
        margin: 30px 0 0;
      }
    }
  }
}
