@import "@styles/theme.scss";

.hide {
  display: none;
}

.ani {
  position: absolute;
}

.fixed-btn {
  position: fixed;
  bottom: 16%;
  right: 2%;
  width: 100px;
  height: 100px;
  border-radius: 100%;
  background: rgba(255, 255, 255, 0.7);
  border: solid 1px $border-color;
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;

  .iconfont {
    color: $text-color-lighter;
    font-size: 38px;
  }

  .text {
    color: $text-color;
    font-size: 22px;
    padding: 0 16px;
  }
}

.mycard {
  position: relative;
  background: #fff;
  width: 100%;
  // box-shadow: rgb(189, 185, 185);
  // padding-bottom: 50px;
}

.mycard__user {
  width: 100%;

  &__imgox {
    width: 100%;
    height: 550px;
    overflow: hidden;
    position: relative;
  }

  &__info {
    width: 100%;
    position: relative;

    .top-img {
      position: absolute;
      width: 100%;
      bottom: 0%;
      height: 100px;
    }

    .head__img {
      position: absolute;
      bottom: 0%;
      left: 5%;
      width: 150px;
      height: 150px;
      border-radius: 50%;
      border: 4px solid rgba(255, 255, 255, 1);
      z-index: 2;
    }
  }

  &__img {
    width: 100%;
    height: 500px;
    filter: blur(10px);
  }
}

.canvas-share__img {
  width: 750px;
  height: 600px;
  position: fixed;
  top: 9999px;
  left: 0;
  z-index: 999;
}

.medal {
  font-size: 24px;
  font-weight: bold;
  display: flex;
  align-items: center;
  padding-bottom: 30px;
  margin-top: 15px;

  .img {
    width: 35px;
    color: #f7df18;
    margin-right: 10px;
  }
}

.card__box {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
  left: 4%;
  top: 7%;
  display: flex;
  justify-content: center;
  align-items: center;

  .card__img {
    width: 50px;
    height: 50px;
  }

  z-index: 1;
}

.mycard__user__information {
  position: relative;
  width: 100%;
  left: 0%;
  // margin-top: -120px;
  border-radius: 10px;
  background: #fff;
  padding: 0px 50px 0;
  margin-top: 10px;

  &__show {
    .line {
      padding: 0 20px;
      color: $text-color-lighter;
    }

    display: flex;
    justify-content: space-between;
    align-items: center;

    .chat-img {
      width: 100px;
      height: 100px;
    }
  }

  &__show__name {
    font-size: 35px;
    font-weight: bold;
    margin-right: 24px;
  }

  &__show__tel {
    font-size: 30px;
    font-weight: bold;
    color: #000;
  }
}

// 工作
.mycard__work {
  font-size: 30px;
  color: #000;
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;

  .row {
    // width: 100%;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    font-weight: bold;
    font-size: 30px;

    .txt {
      color: rgba(0, 0, 0, 0.27);
      font-size: 24px;
      padding: 15px 0;
    }
  }

  .row:not(:last-child) {
    border-right: 3px solid rgba(151, 151, 151, 0.0865);
    padding: 0 20px;
  }

  .row:last-child {
    padding-left: 20px;
  }

  // &-company {
  //   color: $text-color-light;
  // }
  // .mycard__work-department {
  //   width: 60%;
  // }
  // .mycard__work-position {
  //   width: 70%;
  // }
}

.card__btn {
  width: 100%;
  height: 80px;
  line-height: 80px;
  margin: 100px auto 0 0;
  display: flex;
  padding-bottom: 100px;
  justify-content: space-between;
  align-items: center;
  border-bottom: 3px solid rgba(151, 151, 151, 0.0865);

  .carbtn {
    width: 40%;
    background: $btn-color;
    height: 80px;
    line-height: 80px;
    font-size: 30px;
    color: #fff;
    padding: 0;
    background: $primary-color;
  }

  .poster-btn {
    width: 80%;
  }
}

// 人气
.like-info {
  display: flex;
  justify-content: space-between;
  margin-top: 0px;

  padding-top: 50px;
  align-items: center;

  &__fans {
    .fans__list {
      width: 400px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-left: 10px;

      &-con {
        // width: 360px;
      }

      &-img {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        margin-left: -10px;
      }

      .iconfont {
        font-size: 50px;
        color: $text-color-lighter;
        vertical-align: middle;
      }
    }

    .fans__num {
      font-size: 28px;
      color: rgba(0, 0, 0, 0.37);
      background: $primary-color;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      letter-spacing: 4px;
      margin-top: 20px;
      font-weight: 500;

      .nb {
        width: 26px;
        height: 26px;
      }
    }
  }

  &__zan {
    .iconfont {
      font-size: 50px;
      color: #838591;
    }

    .liked {
      color: $primary-color;
    }

    &-num {
      display: block;
      margin-top: 18px;
      font-size: 30px;
      color: $text-color-lighter;
      letter-spacing: 4px;
    }
  }
}

.chat-entrance {
  position: fixed;
  bottom: 20%;
  right: 2%;
  width: 100px;
  height: 100px;
  background: $btn-color;
  border-radius: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9;
  overflow: initial;

  .iconfont {
    font-size: 50px;
    color: white;
  }

  .unread-num {
    padding: 4px 12px;
    background-color: $primary-color;
    color: white;
    font-size: 24px;
    position: absolute;
    line-height: 1;
    right: 2px;
    top: -6px;
    border-radius: 16px;
  }
}

.detailed__information__title {
  position: relative;
  width: 100%;
  left: 0%;
  height: 60px;
  margin-top: 30px;
  margin-bottom: 30px;
  line-height: 60px;
  text-align: left;
  font-size: 30px;
  color: rgba(0, 0, 0, 1);
  font-weight: bold;
  padding-left: 20px;
}

.detailed__information {
  position: relative;
  width: 100%;
  height: 420px;
  left: 0%;
  border-radius: 10px;
  background: #fff;
  padding: 0px 50px;

  .detailed__main {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.11);
    border-radius: 10px;
    padding: 30px;
    display: flex;
    flex-direction: column;
  }

  .detailed__tel,
  .detailed__add {
    width: 100%;
    height: 100px;
    line-height: 100px;
    display: flex;
    justify-content: space-between;
  }

  .detailed__tel {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);

    .detailed__tel__txt {
      position: relative;
      width: 90%;
      height: 100%;
      left: 0%;

      color: rgba(0, 0, 0, 0.4);

      .tel__txt {
        color: #000;
        font-weight: bold;
      }

      .bar {
        position: absolute;
        right: 0;
        color: rgba(0, 0, 0, 0.2);
      }
    }

    .tel__img {
      font-size: 40px;

      color: #000;
    }
  }

  .detailed__add {
    .detailed__add__txt {
      position: relative;
      width: 90%;
      height: 100%;
      left: 0%;
      @include text-ellipsis;
      color: rgba(0, 0, 0, 0.4);
      font-weight: bold;

      .add__txt {
        color: rgba(0, 0, 0, 1);
      }

      .bar {
        position: absolute;
        right: 0;
        color: rgba(0, 0, 0, 0.2);
      }
    }

    .add__img {
      font-size: 40px;
      color: #000;
    }
  }

  .mail__list__btn {
    width: 90%;
    height: 80px;
    line-height: 80px;

    background: rgba(248, 248, 248, 1);
    border-radius: 8px;
    color: rgba(93, 126, 171, 1);
    font-size: 28px;
    font-weight: bold;
  }
}

.project__title {
  position: relative;
  width: 100%;
  left: 0%;
  height: 60px;
  margin-top: 30px;
  line-height: 60px;
  text-align: left;
  font-size: 30px;
  color: rgba(0, 0, 0, 1);
  font-weight: bold;
  padding-left: 20px;
}

.share__friend,
.creat__img {
  background: none;
}

// 项目信息
.pro__info {
  padding: 30px 50px;
  background: white;
}

@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@-webkit-keyframes fadeOut {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@-webkit-keyframes fadeFromBottom {
  0% {
    -webkit-transform: translate3d(0, 100px, 0);
    opacity: 0;
  }

  100% {
    -webkit-transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

@keyframes fadeFromBottom {
  0% {
    -webkit-transform: translate3d(0, 100px, 0);
    opacity: 0;
  }

  100% {
    -webkit-transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

.collection {
  position: absolute;
  width: 80px;
  height: 80px;
  left: 4%;
  top: 27%;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;

  .iconfont {
    font-size: 50px;
    color: $disabled-color;
  }
}


.modal {
  position: fixed;
  width: 100vw;
  height: 100vh;
  left: 0;
  top: 0;
  z-index: 9999;

  &-mask {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
  }

  &-body {
    position: absolute;
    width: 600px;
    top: 26%;
    left: 75px;
    border-radius: 10px;
    background: white;
    height: 330px;
    padding: 30px;

    .iconfont {
      font-size: 60px;
      position: absolute;
      right: 6px;
      top: 6px;
    }

    &__con {
      text-align: center;
      font-size: 36px;
      margin-top: 20px;
    }

    &__btn {
      width: 490px;
      height: 96px;
      background: $primary-color;
      border-radius: 7px;
      line-height: 96px;
      color: white;
      text-align: center;
      margin-top: 60px;
      font-size: 36px;
    }
  }
}