html {
  font-size: 1em;
}

body {
  margin: 0;
  font-family: Microsoft JhengHei;
}

h6 {
  display: none;
}

h2 {
  margin-top: 14px;
}

p {
  font-weight: bold;
}

#hidden_banner {
  display: none;
}

#p_title {
  font-size: 2.5em;
  font-weight: bold;
  margin: auto;
}

.p_content {
  text-align: left;
  font-size: 1.5em;
  text-indent: 2em;
}

.p_contentHead {
  text-align: left;
  font-size: 2em;
  text-indent: 0;
}

#img_top {
  width: 100%;
  height: 100px;
  position: absolute;
  z-index: -1;
}

#div_footer {
  width: 100%;
  /* min-height: 100px; */
  background-color: #494949;
  clear: both;
  position: absolute;
  padding: 25px;
  font-size: 1rem;
}

#div_footer a {
  text-decoration: none;
  color: #30a5ff;
  font-weight: 700;
  cursor: pointer;
}

.modal-dialog {
  max-width: calc(1000px - 50%) !important;
  min-width: 50% !important;
}

#img_logo {
  width: 220px;
  margin-top: 16px;
  margin-left: 1%;
  cursor: pointer;
}

#div_Menu {
  height: 75px;
  width: 101%;
  font-weight: bold;
}

#div_theme {
  background: rgba(25, 125, 139, 0.2);
  width: 20%;
  height: 87%;
  float: left;
  text-align: center;
  cursor: pointer;
  display: table;
  word-break: break-all;
}

#div_theme div:first-child {
  display: table-caption;
  background: #197d8b;
  height: 15%;
}

#div_theme div:nth-child(2) {
  display: table-cell;
  vertical-align: middle;
  font-size: 1.5rem;
}

#div_data {
  background: rgba(9, 67, 96, 0.2);
  width: 20%;
  height: 87%;
  float: left;
  text-align: center;
  cursor: pointer;
  display: table;
  word-break: break-all;
}

#div_data div:first-child {
  background: #094360;
  height: 15%;
  display: table-caption;
}

#div_data div:nth-child(2) {
  display: table-cell;
  vertical-align: middle;
  font-size: 1.5rem;
}

#div_intro {
  background: rgba(221, 58, 54, 0.7);
  width: 20%;
  height: 87%;
  float: left;
  text-align: center;
  cursor: pointer;
  display: table;
  word-break: break-all;
}

#div_intro div:first-child {
  background: #dd3a36;
  height: 15%;
  display: table-caption;
}

#div_intro div:nth-child(2) {
  display: table-cell;
  vertical-align: middle;
  font-size: 1.5rem;
}

#div_co {
  background: rgba(255, 199, 94, 0.2);
  width: 20%;
  height: 87%;
  float: left;
  text-align: center;
  cursor: pointer;
  display: table;
  word-break: break-all;
}

#div_co div:first-child {
  background: #ffc75e;
  height: 15%;
  display: table-caption;
}

#div_co div:nth-child(2) {
  display: table-cell;
  vertical-align: middle;
  font-size: 1.5rem;
}

#div_statistics {
  background: rgba(50, 133, 216, 0.2);
  width: 20%;
  height: 87%;
  float: left;
  text-align: center;
  cursor: pointer;
  display: table;
  word-break: break-all;
}

#div_statistics div:first-child {
  background: #3285d8;
  height: 15%;
  display: table-caption;
}

#div_statistics div:nth-child(2) {
  display: table-cell;
  vertical-align: middle;
  font-size: 1.5rem;
}

a.tooltips {
  position: relative;
  display: inline;
}

a.tooltips span {
  position: absolute;
  width: 140px;
  color: #FFFFFF;
  background: #3B3B3B;
  height: 26px;
  line-height: 26px;
  text-align: center;
  visibility: hidden;
  border-radius: 7px;
}

a.tooltips span:after {
  content: '';
  position: absolute;
  top: 50%;
  right: 100%;
  margin-top: -8px;
  width: 0;
  height: 0;
  border-right: 8px solid #3B3B3B;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}

a:hover.tooltips span {
  visibility: visible;
  opacity: 0.7;
  left: 100%;
  top: 50%;
  margin-top: -33px;
  margin-left: 15px;
  z-index: 999;
}

/* @media (max-height:900px) {
  html {
      font-size: 1.3vw;
  }
}
@media (max-height:800px) {
  html {
      font-size: 1.5vw;
  }
}
@media (max-height:700px) {
  html {
      font-size: 1.7vw;
  }
}
@media (max-height:600px) {
  html {
      font-size: 1.9vw;
  }
}
@media (max-height:500px) {
  html {
      font-size: 1vw;
  }
} */

@media (max-width:800px) {
  html{
      font-size: 0.8em;
   }
}
@media (max-width:500px) {
  html {
    font-size:  1vw;
  }
  #div_Menu div div:nth-child(2) {
    font-size: 4.5rem;
  }
  #p_title {
    font-size: 6rem;
  }
  #p_content {
    font-size: 4.5rem;
  }
  div[name="div_title"] {
    float: none;
    text-align: left;
    width: 100%;
  }
  #div_Menu div div:nth-child(2) {
    font-size: 8rem;
  }
  .s_banner {
    display: block;
    font-size: 4rem;
  }
  #div_intro .s_banner {
    letter-spacing: 8px;
    margin-left: 5px;
  }
  #hidden_banner {
    display: block;
  }
  #img_logo {
    width: 160px;
    margin-top: 30px;
  }
  .tooltips span {
    font-size: 3rem;
  }
  #div_footer {
    font-size: 2rem;
  }
  .p_content {
    font-size: 3rem;
  }
  .p_contentHead {
    font-size: 4rem;
  }
}

@media (max-height:500px) {
  #div_Menu div div:nth-child(2) {
    font-size: 3rem;
  }
  #p_title {
    font-size: 4rem;
  }
  #p_content {
    font-size: 2.5rem;
  }
  .tooltips span {
    font-size: 2rem;
  }
  html{
      font-size: 0.39em;
  }
  #div_footer{
      font-size: 1.3rem;
  }
  .p_content {
    font-size: 3rem;
  }
  .p_contentHead {
    font-size: 4rem;
  }
}