header .PageTitle{
  margin: 0 auto;
  width: 100vw;
  max-width: calc(1440px);
  /* border: blue 5px solid; */
  font-family: 'MyFont2';
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

header img#NameCat{
  width: 40%;
  object-fit: contain;
}

header .PageTitle p{
  width: 80%;
  max-width: 1440px;
  font-size: min(6rem, 8vw);
  font-weight: 900;
  background: linear-gradient(to right bottom, var(--PageTitleUp), 70%, var(--PageTitleDown));
  border-radius: 2rem;
  border: var(--SideNavToColor) .5rem solid;
  box-shadow: var(--SideNavToColor)0 0 2rem;
  text-align: center;
  text-shadow: var(--SideNavTextColor) 0 0 0.5rem;
  color: var(--SideNavToColor);
  padding: 2rem;
  margin: 8rem 0 1rem 0;
}

/**/

.HelixBox{
  width: 95%;
  max-width: 1440PX;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  /* border: blue 5px solid; */
  margin: 0 auto;
  font-family: 'MyFont2';
}
.HelixBox p{
  width: fit-content;
  text-align: center;
  border-radius: 1rem;
  font-size: 1.2rem;
  font-weight: 900;
  padding: 0.5rem;
  margin: 0.5rem 1rem;
  background-color: var(--TextHolderColor);
  border: var(--NavFontColor) 0.5rem solid;
  color: var(--NavFontColor);
  transition: 0.5s;
}
.HelixBox p:hover, .HelixBox p.active{
  box-shadow: gray 0 0 1rem;
  cursor: pointer;
  transform: scale(1.05);
}


.ZH{
  font-family: 'Chinese';
}
.lang{
  z-index: 888;
  position: fixed;
  right: 3rem;
  bottom: 3rem;

  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;

  border-radius: 1.5rem;
  width: 3rem;
  height: 5.2rem;
  border: var(--NavFontColor) 5px solid;
  background-color: var(--TextHolderColor);

  font-size: 1rem;
  font-family: 'MyFont2';
  font-weight: 900;
}
.lang .Yuan{
  top: 0.2rem;
  position: absolute;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background-color: var(--NavFontColor);
  transition: 0.5s;
} 
.lang .Yuan:hover{
  cursor: pointer;
}
span.Italic{
  font-style: italic;
}
span.Bold{
  font-weight: bold;
}
.BROWN{
  color: brown;
}
.BLUE{
  color: darkblue;
}

.TableIframe{
  max-width: 1440px;
  font-family: 'MyFont2';
  color: black;

  /* overflow-x: auto; */
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.TableIframe::-webkit-scrollbar-track
{
  /* -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);*/
  border-radius: 10px; 
  background-color: transparent;
}
.TableIframe::-webkit-scrollbar
{
  width: 0.55rem;
  background-color: rgba(255, 191, 29, 0);
  border-radius: 0.5rem; 
}

.TableIframe::-webkit-scrollbar-thumb
{
  border-radius: 0.5rem;
  /* -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3); */
  background-color: var(--newBgColor);
}
.TableIframe p{
  width: 90%;
}
.TableIframe p.THead{
  margin: 1rem 0;
  font-size: 2.2rem;
  font-weight: 900;

  text-align: center;
}
.TableIframe p.TPara{
  text-indent: 1em;
  margin: 0.5rem 0;
  line-height: 1.8;
  font-size: 1.2rem;
  font-weight: 500;
}
.TableIframe a{
  text-decoration: underline;
  color: inherit;
}
.TableIframe a:hover{
  color: var(--SideNavToColor);
}

.TableIframe table{
  text-align: center;
  width: 100%;
  border: black 2px solid;
  border-collapse: collapse;
}
.TableIframe table td,
.TableIframe table th{
  border: black 1px solid;
  padding: 0.6rem 0.4rem;
}
.TableIframe table thead tr{
  background-color: var(--TableHead);
}
.TableIframe table tbody tr{
  background-color: var(--TextHolderColor);
}
.TableIframe table tbody tr:hover{
  background-color: var(--TableHover);
}
.TableIframe iframe{
  width: 95%;
  max-width: 1440px;
  height: 85vh;
  max-height: 1020px;
}


/* From Uiverse.io by joe-watson-sbf */ 
.FlipCardContainer{
  width: 100%;
  max-width: 1440px;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin:0.3rem 1rem;
}
.flip-card {
  margin: 0.6rem 0.5rem;
  background-color: transparent;
  width: 30%;
  min-width: 22rem;
  /* aspect-ratio: 3/4; */
  perspective: 1600px;
  font-family: 'MyFont2';
}




.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  box-shadow: 0 8px 14px 0 rgba(0,0,0,0.6);
  position: absolute;
  display: flex;
  flex-direction: column;
  /* justify-content: center; */
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border: 2px solid var(--newBgColor);
  border-radius: 1rem;
  align-items: center;
}

.flip-card-front {
  background: linear-gradient(120deg, bisque 60%, rgb(255, 231, 222) 88%,
     rgb(255, 211, 195) 40%, rgba(255, 127, 80, 0.603) 48%);
  color: var(--TextHolderColor);
  justify-content: end;
}

.flip-card-back {
  background: linear-gradient(120deg, rgb(255, 174, 145) 30%, coral 88%,
     bisque 40%, rgb(255, 185, 160) 78%);
  color: white;
  transform: rotateY(180deg);
  justify-content: center;
}

.FlipCardContainer .flip-card .flip-card-back p.Intro{
  width: 95%;
  font-size: 0.9rem;
  line-height: 1.5;
}

.flip-card-front .Position{font-size: 1.5rem; margin-bottom: 1.5rem;}
.flip-card-front .title{font-size: 2.2rem;}
.flip-card-back .title{font-size: 1.3rem;}
.title {
  /* font-size: 3em; */
  border-radius: 1rem;
  font-weight: 900;
  text-align: center;
  margin: 0.5rem 0;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

@media only screen and (min-width: 1025px){
  html{
    font-size: 16px;
  }
  
  .TableIframe{
    width: 85vw;
  }

  .HePic .flip-card{
    height: 19.125vw;
    min-height: 16.5rem;
  }
  .TotHePic .flip-card{
    width: 80%; 
    height: 38.25vw; 
    min-height: 12.375rem;
  }
  /* .TableIframe{
    overflow-x: hidden;
  } */
}
@media only screen and (max-width: 1024px){
  html{
    font-size: 12px;
  }
  .TableIframe{
    width: 95vw;
  }
  .lang .Yuan{
    width: 2.0rem;
    height: 2.0rem;
  }

  .HePic .flip-card{
    height: 21.375vw;
    min-height: 16.5rem;  
  }

  .TotHePic .flip-card{
    width: 80%; 
    height: 42.75vw; 
    min-height: 12.375rem;
  }

  .TableIframe{
    overflow-x: auto;
  }
}