* {
  box-sizing: border-box;
}

@font-face {
  font-family: body;
  src: url("../../assets/fonts/Gotu-Regular.ttf");
}

@font-face {
  font-family: title;
  src: url("../../assets/fonts/XiaoWei-Regular.ttf");
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.3);
}

::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.4);
}
  ::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

body {
  position: relative;
  margin: 0;
  background-color: rgb(255, 255, 216);
  z-index: -1;
  max-height: 100vh;
  min-height: 100vh;
}


 /* header settings */
.header {
  width: 100%;
  height: 60%;
  overflow: hidden;
  padding-left: 3%;
  display: flex;
  align-items: center;
}

  .headtitle {
    padding: 20px 50px;
    z-index: 40;
  }

      .headtitle .name {
        font-family: title;
        font-size: 40pt;

      }

      .headtitle .tagline {
        padding-bottom: 10px;
        align-content: center;
        font-family: title;
        font-size: 14pt;

      }

  .home {
    height: 100%;
    text-align: center;
   
    margin: 10px;
    border-radius: 10px;
    color: rgb(030, 068, 126);
    background-color: rgba(255, 211, 187);
  }

      .home .name {
        font-family: title;
        font-size: 50pt;
        cursor: default;
      }

      .home .tagline {
        padding-bottom: 10px;
        align-content: center;
        font-family: title;
        font-size: 14pt;
        cursor: default;
      }


.Nav {
  width: 100%;
  background-color: #FFF;
  z-index: 9999;
}

  .logo {
    display: none;
    padding: 5px 0px 5px 30px;
    font-family: title;
    font-size: 30pt;
    background-color: rgba(0,0,0,0) !important;
    color: rgb(030, 068, 126);
    z-index: 20;
    cursor: pointer;
    margin-left: 0px;
    margin-right: auto;
    position: fixed;
    top: 0px;
    transition: top 0.3s;
  }

  .sticky {
    position: fixed;
    top: 0;
  }

  .sticky .nav-link {
    transition: 0.3s;
    text-align: right !important;
  }

  .Nav img {
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: 100ms ease;
    margin-left: auto;
    margin-right: auto;
  }

  .Nav .menu {
    display: none;
  }

  .Nav .search {
    right: 100px;
  }

    .Nav img:active {
      opacity: 0.5;
    }
    .Nav .nav-active {
      opacity: 0.5;
    }

    .show {
      display: inline-block !important;
      background-color: inherit;
    }

.nav-link {
  position: relative;
  width: 100%;
  text-align: center;
  padding: 5px 0px;
  background-color: #FFF;
  z-index: 1;
  transition: 0.5s;
}


  .nav-link-btn {
    font-family: body;
    font-size: 20px;
    position: relative;
    line-height: 40px;
    padding: 0px 40px;
    margin: 0px auto;
    cursor: pointer;
    color: rgb(030, 068, 126);
    border-radius: 50px;
    transition: 0.5s;
    z-index: 9999;
  }

  .nav-link-btn:hover {
    color: #FFF;
    background-color: rgb(030, 068, 126);
  }

  .intro .nav-link-btn {
    color: rgb(156, 109, 097);
  }

    .intro .nav-link-btn:hover {
      color: #FFF;
      background-color: rgb(156, 109, 097);
    }

  .gallery .nav-link-btn {
    color: rgb(105, 057, 086);
  }

    .gallery .nav-link-btn:hover {
      color: #FFF;
      background-color: rgb(105, 057, 086);
    }

  .contact .nav-link-btn {
    color: rgb(108, 108, 108);
  }

    .contact .nav-link-btn:hover {
      color: #FFF;
      background-color: rgb(108, 108, 108);
    }

.hide{
  display: none !important;
}

.content {
  position: relative;
  font-family: body;
  color: rgb(030, 068, 126);
  padding: 0px 100px;
  margin-left: 30px;
  margin-right: 30px;
  flex: 1 0 auto;
  line-height: 2;
  z-index: 0;
}

  .construction {
    max-height: calc(100vh - 32.4px);
    max-width: calc(100% - 500px)
  }

  .gallery-content {
    padding: 90px 0px;
  }

  .content .title {
    font-family: title;
    font-size: 32pt;
    margin: 10px;
  }

  .profile img {
    width: 300px;
    height: 300px;
  }

  .content .profile {
    display: inline-flex;
  }

  .profile p {
    padding-left: 30px;
    margin: 0px;
  }

  .study img {
    width: 200px;
    height: 200px;
  }

    #cs {
      cursor: pointer;
    }

  .study span {
    display: inline-block;
  }

  .content figcaption {
    text-align: center;
  }

  a {
    color: inherit;
    font-style: italic;
    cursor: pointer;
    text-decoration: underline;
  }

  .interests figure {
    margin-left: auto;
    margin-right: auto;
    width: 70%;
  }

  .home-box {
    text-align: center;
  }

  .overlay {
    box-sizing: border-box;
    position: absolute;
    background: rgba(0, 0, 0, 0.4);
    width: calc(100% - 10px);
    height: calc(100% - 10px);
    transition: .5s ease;
    opacity:0;
    color: white;
    text-align: center;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    cursor: pointer;
  }

    .overlay:hover {
      opacity: 1;
    }

    .art-title {
      font-size: 20px;
      position: relative;
      top: 40%;
      width: 100%;
    }

    .full-frame {
      position: fixed;
      background-color: rgba(0, 0, 0, 0.6);
      top: 0;
      left: 0;
      width: 100%;
      height: 100vh;
      transition: .3s ease;
      display: none;
      color: white;
      text-align: center;
      backdrop-filter: blur(30px);
      -webkit-backdrop-filter: blur(30px);
      z-index: 99999;
      overflow: scroll;
    }

      .full-frame-active {
        display: block;
      }

      .lock {
        overflow: hidden;
        z-index: -1;
      }

      .close-btn, .contact-img {
        cursor: pointer;
        font-size: 20pt;
      }

      .close-btn {
        padding-top: 80px;
      }

      .open-btn {
        font-family: title;
        font-size: 16pt;
        line-height: 30px;
        border-radius: 50px;
        background-color: #FFF;
        color: rgb(105, 057, 086);
        border: 0px;
        padding: 5px 20px;
        transition: 0.5s ease;
        cursor: pointer;
        margin: 40px;
      }

        .open-btn:hover {
          background-color: rgb(105, 057, 086);
          color: #FFF;
        }

      .asset-preview {
        height: 90%;
      }

      .preview-desc {
        padding: 40px 120px;
        padding-bottom: 120px;
      }

.feature-box {
  display: flex;
  flex-wrap: wrap;
}

.thumbnail-box, .contact-list {
  display: flex;
  flex-wrap: wrap;
}

  .thumb {
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    padding: 5px;
  }

  .thumb img {
    width: 100%;
    height: auto;
  }

  .col, .f-col {
    width: 33%;
    margin-left: auto;
    margin-right: auto;
  }

  .c-col {
    width: 50%;
  }

.footer {
  padding: 5px 0px;
  font-family: body;
  font-size: 10pt;
  color: rgb(030, 068, 126);
  background-color: #FFF;
  width: 100%;
  position: fixed;
  display: flow-root;
  bottom: 0px;
}

  .copyright {
    float: left;
    padding: 0px 50px;
  }

  .footer-link {
    float: right;
    display: inline-flex;
    padding: 0px 50px;
  }

  .footer-link-btn {
    width: 48px;
    height: 48px;
    font-size: 20px;
    position: relative;
    margin-left: 20px;
    cursor: pointer;
    z-index: 0;
  }
