a {
    text-decoration: none;
  }

  a:hover {
    transition: .3s
  }

  body,
  html {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    background: linear-gradient(333deg, #92c9f1, #d9b7ab, #fff6e6);
    border-top: 5px solid #fff6e6;
    border-bottom: 5px solid #fff6e6;
    box-sizing: border-box;
    overflow: hidden;
    font-family: 'Baloo 2', 'Noto Sans TC', sans-serif;
  }

  .bgmark {
    font-size: 20rem;
    font-weight: 400;
    line-height: 25rem;
    color: #f5f5f51c;
    text-align: center;
    top: 0;
    position: absolute;
    z-index: 0;
  }

  .namecard {
    width: 400px;
    height: 200px;
    padding: 40px;
    margin: auto;
    margin-top: 27vh;
    background: #efefefed;
    border-radius: 10px;
    border: solid 2px #ffffffe0;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    color: #606060;
    box-shadow: 0 5px 35px -18px rgb(243 79 42 / 82%);
    transition-duration: .2s;
  }





  .qr {
    width: 140px;
    height: 140px;
    position: absolute;
    right: 35px;
    bottom: 50px;
    background: url(./img/avatar.jpg);
    border-radius: 8px;
    background-size: cover;
    z-index: 88;
  }

  .circle {
    position: absolute;
  }

  .circle1 {
    width: 80px;
    height: 80px;
    border-radius: 100%;
    top: -40px;
    right: -40px;
    border: 8px solid #efe2d0;
  }

  .circle2 {
    width: 50px;
    height: 50px;
    border-radius: 100%;
    top: 210px;
    left: -20px;
    border: 8px solid #eddbd2;
  }

  .circle3 {
    width: 20px;
    height: 20px;
    border-radius: 100%;
    top: 180px;
    left: 200px;
    border: 4px solid #e7dfd8;
  }

  .circle4 {
    width: 60px;
    height: 40px;
    border-radius: 100%;
    bottom: -170px;
    right: -30px;
    border: 100px solid #e3e3e3;
  }

  .circle5 {
    width: 10px;
    height: 10px;
    border-radius: 100%;
    top: 220px;
    left: 160px;
    border: 3px solid #d5d7d9;
  }

  .circle6 {
    width: 10px;
    height: 10px;
    border-radius: 100%;
    bottom: 80px;
    right: -5px;
    border: 3px solid #d5d7d9;
  }

  .namecard h2 {
    margin-top: -5px;
    height: 20px;
    font-size: 26px;
    font-weight: 600;
    color: #606060;
    letter-spacing: 0.5px;
    posititon: relative;
    z-index: 88;
  }

  .namecard h3 {
    color: #606060;
    height: 24px;
    font-weight: 500;
    font-size: 18px;
    letter-spacing: 0.2px;
  }

  .mail {
    padding-left: 25px;
    background: url('./img/mail.png') no-repeat;
    background-size: 16px 16px;
    background-position: 0 8px;
    line-height: 30px;
    font-size: 15px;
  }

  .phone {
    padding-left: 25px;
    background: url('https://cdn0.iconfinder.com/data/icons/mobile-basic-vol-1/32/Mobile_Iphone-48.png') no-repeat;
    background-size: 16px 16px;
    background-position: 0 8px;
    line-height: 30px;
    font-size: 15px;
  }

  .igid {
    padding-left: 25px;
    background: url('./img/ig.png') no-repeat;
    background-size: 16px 16px;
    background-position: 0 8px;
    line-height: 30px;
    font-size: 15px;

  }

  .github {
    padding-left: 25px;
    background: url('./img/github.png') no-repeat;
    background-size: 16px 16px;
    background-position: 0 8px;
    line-height: 30px;
    font-size: 15px;

  }
  .info {
    padding-left: 25px;
    background: url('./img/info.png') no-repeat;
    background-size: 16px 16px;
    background-position: 0 8px;
    line-height: 30px;
    font-size: 15px;

  }

  .copy {
    width: 100vw;
    text-align: center;
    color: #fff;
    font-weight: 400;
    font-size: 13px;
    letter-spacing: 1.5px;
    position: absolute;
    bottom: 30px;
  }

  @media only screen and (max-width: 600px) {
    .namecard {
      width: 160px;
      height: 360px;
      margin-top: 0;
      /* 移除垂直方向的間距 */
      transform: rotate(0);
      margin:20%
      /* 移除卡片的旋轉 */
    }
    .qr{
      right: auto;
    }



  }

  @media only screen and (min-width: 601px) {
    .namecard {
      transform: rotate(0);
    }

    .namecard:hover {
      margin-top: 28vh;
      /* 在大屏幕上使用较大的移动幅度 */
    }
  }