* {
  box-sizing: border-box;
  transition: all 0.3s;
}

.debug {
  width: 50px;
  height: 50px;
  background-color: #000000;
  position: fixed;
  z-index: 99999999;
  top: 0;
  left: 0;
}

html,
body {
  margin: 0;
  padding: 0 0 0 0;
  font-family: "Roboto", "Noto Sans TC", sans-serif;
  font-size: 16px;
  width: 100%;
  height: 100%;
}

body {
  padding-top: 70px;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
  padding: 0;
}

img {
  vertical-align: middle;
}

nav {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #ffffff;
  z-index: 999;
  padding: 0 10%;
}

.logo {
  height: 90%;
}

.logo img {
  height: 100%;
}

.munu {
  display: flex;
}

.menu-item {
  background-color: #ffffff;
  color: #c4171f;
  margin: 0 15px;
  padding: 5px 20px;
  font-size: 18px;
  border-radius: 50px;
  border: 1px #c4171f solid;
}

.menu-item.set {
  background-color: #c4171f;
  color: #ffffff;
}

.top-slogan h1,
h2 {
  text-align: center;
}

.top-slogan h1 {
  font-size: 70px;
  letter-spacing: 30px;
}

.top-slogan h2 {
  font-size: 50px;
}

.color-font {
  color: #c4171f;
}

.top-bottom {
  position: relative;
  bottom: 0;
}

.top-bg {
  max-width: 100%;
  position: relative;
  z-index: 3;
  bottom: 0;
}

.top-role {
  position: absolute;
  width: 300px;
  right: 10%;
  top: -50%;
}

.divider {
  width: 100%;
  display: flex;
}

.divider-line-color {
  background-color: #c4171f;
}

.divider-line {
  width: 50%;
  height: 2px;
}

.about {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 100px 0;
  position: relative;
}

.about-role {
    position: absolute;
    width: 350px;
    left: 10%;
    bottom: 0;
    z-index: 9;
}

.about-content {
  width: 35%;
}

.caption {
  background-color: #c4171f;
  font-size: 26px;
  color: #ffffff;
  display: inline;
  padding: 5px 10px;
}

.about-content p {
  line-height: 30px;
}

.product {
  background-color: #000000;
  color: #ffffff;
  display: flex;
  flex-direction: column;
}

.product-caption {
  display: flex;
  justify-content: center;
  margin: 100px 0;
}

.product-item {
  width: 100%;
}

.product-block {
  width: 100%;
  display: flex;
  align-items: center;
  margin-bottom: 100px;
}

.product-info {
  display: flex;
  width: 50%;
  justify-content: center;
  flex-direction: column;
}

.product-info-block {
  padding: 0 20%;
}

.product-info-block p {
  line-height: 25px;
}

.product-title {
  display: flex;
  height: 50px;
}

.product-icon {
  width: 50px;
}

.product-download {
  display: flex;
  justify-content: space-between;
}

.product-download a {
  width: 30%;
}

.product-download img {
  max-width: 100%;
}

.product-icon img {
  max-width: 100%;
}

.product-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-image {
  width: 50%;
}

.product-image-right {
  max-width: 100%;
  border-top: 2px #c4171f solid;
  border-left: 2px #c4171f solid;
  border-bottom: 2px #c4171f solid;
  padding: 3px 0 3px 3px;
}

.product-image-left {
  max-width: 100%;
  border-top: 2px #c4171f solid;
  border-right: 2px #c4171f solid;
  border-bottom: 2px #c4171f solid;
  padding: 3px 3px 3px 0;
}

.product-content {
  width: 50%;
}

.product-content-block {
  padding: 0 5%;
}

.product-content-title {
  font-weight: bold;
  font-size: 20px;
}

.product-content-block ul {
  padding-left: 20px;
  margin: 0;
}

.product-content-block li {
  margin-bottom: 5px;
}

.footer {
  background-color: #000000;
  color: #ffffff;
  font-size: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  padding: 5px 0;
}

.footer p {
  margin: 0;
}

.footer p span {
  margin: 0 10px;
}

.footer p span i {
  margin: 0 5px 0 0;
}

.sidebar {
  position: fixed;
  width: 90px;
  height: 90px;
  z-index: 999999999;
  right: 15px;
  bottom: 5%;
}

.sidebar img {
  width: 100%;
  opacity: 0.5;
}

.sidebar img:hover {
  opacity: 1;
}

@media (max-width: 575.98px) {
  /* body::after {
        content: "手機直放";
        position: fixed;
        left: 0;
        top: 0;
        background-color: rgb(100, 77, 0);
        z-index: 99999999;
    } */

  nav {
    padding: 0px 1%;
  }

  .logo {
    height: 35%;
  }

  .menu-item {
    margin: 0px 5px;
    font-size: 14px;
    padding: 4px 10px;
  }

  .top-slogan h1 {
    font-size: 40px;
    letter-spacing: 10px;
  }

  .top-slogan h2 {
    font-size: 20px;
  }

  .top-role {
    width: 120px;
    top: -100%;
    transform: rotateY(180deg);
    left: -3%;
  }

  .about-content {
    width: 80%;
  }

  .about-role {
    width: 140px;
    left: auto;
    right: 0;
    top: -30%;
    transform: rotateY(180deg);
  }

  .product-caption {
    margin: 100px 0px 50px 0;
  }

  .product-block {
    flex-wrap: wrap;
    margin-bottom: 30px;
  }

  .column-reverse {
    flex-direction: column-reverse;
  }

  .product-info {
    width: 100%;
  }

  .product-image {
    width: 100%;
    padding: 3px;
  }

  .product-content {
    width: 100%;
  }

  .product-image-right,
  .product-image-left {
    max-width: 100%;
    border: 2px #c4171f solid;
    padding: 3px;
  }

  .product-info-block {
    padding: 5%;
  }

  .product-download a {
    width: 40%;
  }

  .product-content-title {
    text-align: center;
    margin-top: 10px;
  }

  .footer {
    padding: 6px 0;
  }

  .footer p {
    margin: 0;
    display: flex;
    flex-direction: column;
    line-height: 16px;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  /* body::after {
        content: "手機橫放";
        position: fixed;
        left: 0;
        top: 0;
        background-color: rgb(154, 19, 207);
        z-index: 99999999;
    } */

  nav {
    padding: 0px 1%;
  }

  .menu-item {
    margin: 0px 5px;
    font-size: 16px;
  }

  .top-slogan h1 {
    font-size: 50px;
    letter-spacing: 15px;
  }

  .top-slogan h2 {
    font-size: 30px;
  }

  .top-role {
    width: 140px;
    top: -70%;
    transform: rotateY(180deg);
    left: 5%;
  }

  .about-content {
    width: 80%;
  }

  .about-role {
    width: 150px;
    left: auto;
    right: 5%;
    top: -40%;
    transform: rotateY(180deg);
  }

  .product-caption {
    margin: 70px 0;
  }

  .product-info {
    width: 60%;
  }

  .product-image {
    width: 40%;
  }

  .product-info-block {
    padding: 0px 10%;
  }

  .product-content {
    width: 60%;
  }

  .product-download a {
    width: 40%;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  /* body::after {
        content: "平板";
        position: fixed;
        left: 0;
        top: 0;
        background-color: rgb(154, 19, 207);
        z-index: 99999999;
    } */

  nav {
    padding: 0px 5%;
  }

  .menu-item {
    margin: 0px 10px;
    font-size: 16px;
  }

  .top-slogan h1 {
    font-size: 65px;
    letter-spacing: 20px;
  }

  .top-slogan h2 {
    font-size: 40px;
  }

  .top-role {
    width: 200px;
    top: -60%;
  }

  .about-role {
    width: 250px;
    left: 0;
  }

  .about-content {
    width: 50%;
  }

  .product-caption {
    margin: 60px 0;
  }

  .product-info-block {
    padding: 0 10%;
  }

  .product-download a {
    width: 40%;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  /* body::after {
        content: "筆電";
        position: fixed;
        left: 0;
        top: 0;
        background-color: rgb(230, 51, 27);
        z-index: 99999999;
    } */

  .product-info-block {
    padding: 0 10%;
  }

  nav {
    padding: 0 5%;
  }

  .top-role {
    width: 250px;
    top: -60%;
  }

  .about-role {
    width: 250px;
    left: 5%;
  }
}

@media (min-width: 1200px) {
  /* body::after {
        content: "桌機";
        position: fixed;
        left: 0;
        top: 0;
        background-color: rgb(55, 10, 255);
        z-index: 99999999;
    } */
}