body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
}

/* Add a black background color to the top navigation */
.topnav {
    background-color: black;
    overflow: hidden;
  }
  
  /* Style the links inside the navigation bar */
  .topnav a {
    float: right;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    margin-top: 14px;
    text-decoration: none;
    font-size: 17px;
    transition-duration: 0.4s;
    user-select: none;
  }
  
  /* Change the color of links on hover */
  .topnav a:hover {
    color: gray;
  }
  
  /* Add a color to the active/current link */
  .topnav a.active {
    color: gray;
  }

  .logo {
      float: left;
      padding: 14px 16px;
      user-select: none;
  }

  .logo-text {
      float: left;
      font-size: 25px;
      color: #f2f2f2;
      padding: 10px 16px;
      user-select: none;
}

.headline {
  position: absolute;
  margin-top: 36px;
  font-size: 2.5vw;
  padding-left: 39vw;
  color: white;
  z-index: 999;
  animation: fadeInAnimation ease 3s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

.address {
  position: absolute;
  margin-top: 80px;
  font-size: 1.5vw;
  padding-left: 39vw;
  color: white;
  z-index: 999;
  animation: fadeInAnimation ease 3s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

.phone {
  position: absolute;
  margin-top: 150px;
  font-size: 1.5vw;
  padding-left: 39vw;
  color: lightblue;
  z-index: 999;
  animation: fadeInAnimation ease 3s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

.phone_num {
  position: absolute;
  margin-top: 150px;
  font-size: 1.5vw;
  padding-left: 48vw;
  color: white;
  z-index: 999;
  text-decoration: none;
  animation: fadeInAnimation ease 3s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

.phone_num:hover {
  text-decoration: underline;
}

.fax {
  position: absolute;
  margin-top: 190px;
  font-size: 1.5vw;
  padding-left: 39vw;
  color: lightblue;
  z-index: 999;
  animation: fadeInAnimation ease 3s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

.fax_num {
  position: absolute;
  margin-top: 190px;
  font-size: 1.5vw;
  padding-left: 48vw;
  color: white;
  z-index: 999;
  text-decoration: none;
  animation: fadeInAnimation ease 3s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

.fax_num:hover {
  text-decoration: underline;
}

.email {
  position: absolute;
  margin-top: 230px;
  font-size: 1.5vw;
  padding-left: 39vw;
  color: lightblue;
  z-index: 999;
  animation: fadeInAnimation ease 3s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

.email_address {
  position: absolute;
  margin-top: 230px;
  font-size: 1.5vw;
  padding-left: 48vw;
  color: white;
  z-index: 999;
  text-decoration: none;
  animation: fadeInAnimation ease 3s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

.email_address:hover {
  text-decoration: underline;
}

.website {
  position: absolute;
  margin-top: 270px;
  font-size: 1.5vw;
  padding-left: 39vw;
  color: lightblue;
  z-index: 999;
  animation: fadeInAnimation ease 3s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

.web_address {
  position: absolute;
  margin-top: 270px;
  font-size: 1.5vw;
  padding-left: 48vw;
  color: white;
  z-index: 999;
  text-decoration: none;
  animation: fadeInAnimation ease 3s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

.web_address:hover {
  text-decoration: underline;
}

.line_1 {
  position: absolute;
  margin-top: 140px;
  font-size: 1.5vw;
  padding-right: 48vw;
  margin-left: 38.5vw;
  color: white;
  z-index: 999;
  animation: fadeInAnimation ease 3s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

.line_2 {
  position: absolute;
  margin-top: 180px;
  font-size: 1.5vw;
  padding-right: 48vw;
  margin-left: 38.5vw;
  color: white;
  z-index: 999;
  animation: fadeInAnimation ease 3s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

.line_3 {
  position: absolute;
  margin-top: 220px;
  font-size: 1.5vw;
  padding-right: 48vw;
  margin-left: 38.5vw;
  color: white;
  z-index: 999;
  animation: fadeInAnimation ease 3s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

.line_4 {
  position: absolute;
  margin-top: 260px;
  font-size: 1.5vw;
  padding-right: 48vw;
  margin-left: 38.5vw;
  color: white;
  z-index: 999;
  animation: fadeInAnimation ease 3s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}


.bck {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    filter: grayscale(75%) blur(2px);
  }

.main {
  position: relative;
  top: 0;
  left: 0;
}

.image {
    position: absolute;
    top: 25px;
    margin-left: -88vw;
    width: 25%;
    height: 60%;
    z-index: 1;
    animation: fadeInAnimation ease 3s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

@keyframes fadeInAnimation {
  0% {
      opacity: 0;
  }
  100% {
      opacity: 1;
  }
}

.panel {
  position: absolute;
  width: 51%;
  top: 25px;
  margin-left: -61vw;
  height: 60%;
  z-index: 1;
  opacity: 50%;
  animation: delayed-fade ease 3s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

@keyframes delayed-fade {
  0% {
      opacity: 0;
  }
  100% {
      opacity: 50%;
  }
}

.footer {
  position: relative;
  background-color: black;
  padding: 50px;
  text-align: center;
}

.footer a {
  user-select: none;
}

.chinese_text {
  font-size: 3vw;
  color: red;
  letter-spacing: 10px;
  font-family: "KaiTi";
}

.eng_text {
  font-size: 2.5vw;
  color: white;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

.first {
  color: white;
  text-decoration: none;
}

.second {
  color: white;
  text-decoration: none;
  padding-left: 10px;
}

@media screen and (max-device-width: 480px) and (orientation: portrait){
  
  .line_1 {
    margin-left: 40vw;
  }

  .line_2 {
    margin-left: 40vw;
  }

  .line_3 {
    margin-left: 40vw;
  }

  .line_4 {
    margin-left: 40vw;
  }

  .headline {
    padding-left: 40vw;
  }

  .address {
    padding-left: 40vw;
  }

  .fax {
    padding-left: 40vw;
  }

  .fax_num {
    padding-left: 49vw;
  }

  .phone {
    padding-left: 40vw;
  }

  .phone_num {
    padding-left: 49vw;
  }

  .website {
    padding-left: 40vw;
  }

  .web_address {
    padding-left: 49vw;
  }

  .email {
    padding-left: 40vw;
  }

  .email_address {
    padding-left: 49vw;
  }
}

@media screen and (min-device-width: 768px) and (max-device-width: 1024px){

  .line_1 {
    margin-left: 40vw;
  }

  .line_2 {
    margin-left: 40vw;
  }

  .line_3 {
    margin-left: 40vw;
  }

  .line_4 {
    margin-left: 40vw;
  }

  .headline {
    padding-left: 40vw;
  }

  .address {
    padding-left: 40vw;
  }

  .fax {
    padding-left: 40vw;
  }

  .fax_num {
    padding-left: 49vw;
  }

  .phone {
    padding-left: 40vw;
  }

  .phone_num {
    padding-left: 49vw;
  }

  .website {
    padding-left: 40vw;
  }

  .web_address {
    padding-left: 49vw;
  }

  .email {
    padding-left: 40vw;
  }

  .email_address {
    padding-left: 49vw;
  }
}

@media screen and (min-width: 1024px){

  .line_1 {
    margin-left: 40vw;
  }

  .line_2 {
    margin-left: 40vw;
  }

  .line_3 {
    margin-left: 40vw;
  }

  .line_4 {
    margin-left: 40vw;
  }

  .headline {
    padding-left: 40vw;
  }

  .address {
    padding-left: 40vw;
  }

  .fax {
    padding-left: 40vw;
  }

  .fax_num {
    padding-left: 49vw;
  }

  .phone {
    padding-left: 40vw;
  }

  .phone_num {
    padding-left: 49vw;
  }

  .website {
    padding-left: 40vw;
  }

  .web_address {
    padding-left: 49vw;
  }

  .email {
    padding-left: 40vw;
  }

  .email_address {
    padding-left: 49vw;
  }
}