:root {
    --main-deepblue: #101f30;
    --main-gold: #a78e44;
  }
  /* default font-size: 16px; 62.5%=>1rem=10px*/
  html {
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-size: 62.5%;
  }
  img {
    display: block;
    width: 100%;
  }
  @media (max-width: 1200px) {
    html {
      font-size: 75%;
    }
  }
  @media (max-width: 980px) {
    html {
      font-size: 70%;
    }
  }
  @media (max-width: 460px) {
    html {
      font-size: 58%;
    }
  }
  body {
    font-family: system-ui;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.5;
    background-color: var(--main-deepblue);
  }
  h1 {
    font-family: 'Ma Shan Zheng', sans-serif; 
    padding: 0;
    margin: 0;
  }
  h1 {
    font-size: 4rem;
  }
  h2 {
    font-size: 3.2rem;
    font-family: 'Ma Shan Zheng', sans-serif; 
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  h3 {
    font-size: 2.4rem;
  }
  a {
    text-decoration: none;
    color: black;
  }
  /* navbar */
  .navName {
      padding-left: 4rem;
  }
  .navlist > a {
    color: white;
    font-size: 1.8rem;
    font-weight: 580;
    padding: 2rem;
  }
  #navbar {
    display: flex;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--main-gold);
    z-index: 5;
  }
  .navlist {
    display: inline-flex;
    align-items: center;
  }
  @media (max-width: 460px) {
    #navbar {
      justify-content: center;
    }
    .navlist > a {
      padding: 1rem;
    }
  }
  .navlist > a:hover {
    background-color: var(--main-pink);
  }
  /* welcome section*/
  #welcome-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    color: white;
  }
  #welcome-section > h1 {
      font-family: sans-serif;
  }
  /* product section */
  .project-section {
    background-color: var(--main-deepblue);
    padding: 0;
    margin: 0;
    width: 100%;
    text-align: center;
  }
  .proPic {
    width: 80vw;
    height: 80vh;
    justify-content: center;
    margin: 0 auto;
  }
  .text {
    color: white;
    text-align: center;
  }
  .desc {
      position: relative;
      display: flex;
      flex-direction: column;
  }
.picMem {
    width: 50%;
    height: 50%;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}
#contact {
    display: flex;
    justify-content: space-around;
    margin-top: 2rem;
    color: grey;
}
.link {
    color: grey;
}
  