@import "../../assets/scss/index";

.fade1-enter-active,
.fade1-leave-active {
  transition: all 0.3s ease;
}

.fade1-enter-from,
.fade1-leave-to {
  transform: translateY(10px);
  opacity: 0;
}

.Me {
  background: @main-bg;
  height: 100%;
  width: 100%;
  font-size: 1.4rem;

  .preview-img {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    background: black;
    display: flex;
    align-items: center;
    justify-content: center;

    .resource {
      width: 100vw;
      max-height: 100vw;
    }

    .download {
      position: absolute;
      bottom: 2rem;
      right: 2rem;
      padding: .3rem;
      background: @second-btn-color-tran;
      width: 2rem;
    }
  }

  .mask {
    background: #0000004f;
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 3;
  }

  .scroll {

    .notice {
      font-size: 1.2rem;
      height: 4rem;
      color: @second-text-color;
      display: flex;
      justify-content: center;
      align-items: center;

      img {
        height: 1.2rem;
        margin-right: .5rem;
      }
    }

    .collect {
      padding: .7rem;

      .video {
        background: @active-main-bg;
        border-radius: .5rem;
        padding: 1rem;
        margin-bottom: .7rem;

        .top {
          display: flex;
          justify-content: space-between;
          align-items: center;
          margin-bottom: 1rem;

          .left {
            display: flex;
            align-items: center;
            color: gainsboro;

            img {
              height: 2rem;
              margin-right: .5rem;
            }
          }

          .right {
            font-size: 1.4rem;
            display: flex;
            align-items: center;
            color: @second-text-color;

            img {
              height: 1.5rem;
              width: 1.5rem;
            }
          }
        }

        .list {
          display: grid;
          grid-template-columns: 33.33% 33.33% 33.33%;

          .item {
            height: calc(33.33vw * 1.3);
            padding: .2rem;
            overflow: hidden;
            position: relative;

            .poster {
              object-fit: cover;
              border-radius: .4rem;
              width: 100%;
              height: 100%;
              display: block;
            }

            .num {
              color: white;
              position: absolute;
              bottom: .5rem;
              left: .5rem;
              display: flex;
              align-items: center;
              font-size: 1.4rem;

              .love {
                width: 1.4rem;
                height: 1.4rem;
                margin-right: .5rem;
              }
            }
          }
        }
      }

      .music {
        background: @active-main-bg;
        border-radius: .5rem;
        padding: 1rem;

        .top {
          display: flex;
          justify-content: space-between;
          align-items: center;
          margin-bottom: 1rem;

          .left {
            display: flex;
            align-items: center;
            color: gainsboro;

            img {
              height: 1.5rem;
              margin-right: .5rem;
            }
          }

          .right {
            display: flex;
            align-items: center;
            color: @second-text-color;

            img {
              height: 1.5rem;
              width: 1.5rem;
            }
          }
        }

        .list {
          display: grid;
          grid-template-columns: 33.33% 33.33% 33.33%;

          .item {
            padding: .2rem;
            overflow: hidden;
            position: relative;

            .poster {
              border-radius: .4rem;
              width: 100%;
              height: calc((100vw - 3.4rem) / 3);
              display: block;
            }

            .title {
              margin-top: .5rem;
              color: @second-text-color;
            }
          }
        }
      }
    }

  }

  .float {
    position: fixed;
    box-sizing: border-box;
    width: 100vw;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4.6rem;
    padding: 0 1.5rem;
    background: transparent;
    transition: all .2s;

    .center {
      color: white;
    }

    &.fixed {
      background: @main-bg;

      img {
        background: @main-bg !important;
      }
    }

    .left {
      font-size: 1.2rem;
      height: 2.6rem;
      display: flex;
      padding-right: 1.3rem;
      padding-left: .5rem;
      align-items: center;
      border-radius: 2rem;
      background: rgba(82, 80, 80, 0.5);

      img {
        padding: .6rem;
        width: 1.8rem;
      }
    }

    .right {
      img {
        margin-left: 2rem;
        border-radius: 50%;
        background: rgba(82, 80, 80, 0.5);
        padding: .6rem;
        width: 1.8rem;
      }
    }
  }

  .desc {
    header {
      color: white;
      height: 12rem;
      background-image: url('../../assets/img/header-bg.png');
      //background-image: url('data:image/jpeg;base64,[encoded data, 4792 characters]');
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;

      box-sizing: border-box;
    }

    .detail {
      transform: translateY(-1rem);
      background: @main-bg;
      padding: 0 2rem 0 2rem;
      border-radius: 1rem 1rem 0 0;

      .head {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        box-sizing: border-box;
        transform: translateY(-2rem);

        .head-image {
          background: black;
          padding: 2px;
          border-radius: 50%;
          width: 8rem;
          height: 8rem;
        }

        .heat {
          margin-top: 1rem;
          width: calc(100% - 12rem);
          color: @second-text-color;
          display: flex;
          align-items: center;
          justify-content: space-between;

          .num {
            margin-top: .5rem;
            color: white;
            font-size: 1.6rem;
            font-weight: bold;
            margin-right: 3px;
          }

          .text {
            font-size: 1.2rem;
            margin-right: 10px;
            display: flex;
            align-items: center;
            flex-direction: column;

          }
        }

      }

      .description {
        font-size: 1.2rem;
        color: white;
        transform: translateY(-2rem);

        .number {
          color: @second-text-color;
          padding-bottom: 1rem;
          border-bottom: 1px solid @line-color;
          display: flex;
          align-items: center;

          img {
            width: 1.4rem;
            margin-left: .5rem;
          }
        }

      }

      .signature {
        color: @second-text-color;
        display: flex;
        align-items: center;
        margin-bottom: .5rem;

        img {
          height: 1.2rem;
          margin-left: .6rem;
        }

        .text {
          white-space: pre-wrap;
        }
      }

      .more {
        color: @second-text-color;
        display: flex;

        .item {
          padding: .2rem .5rem;
          border-radius: .2rem;
          background: @second-btn-color-tran;
          font-size: 1rem;
          display: flex;
          align-items: center;
          margin-right: .5rem;

          img {
            height: 1rem;
            margin-right: .2rem;
          }
        }
      }

      .my-buttons {
        display: flex;
        justify-content: space-between;

        .button {
          position: relative;
          width: 32%;
          font-size: 1.2rem;
          display: flex;
          align-items: center;
          justify-content: center;
          border-radius: .2rem;
          background: @second-btn-color;
          height: 3rem;
          color: white;

          .not-read {
            right: 1.5rem;
            position: absolute;
          }
        }

      }

      .other {
        display: flex;
        margin-bottom: 2rem;

        .item {
          margin-right: 2.5rem;
          display: flex;

          img {
            margin-right: .8rem;
            border-radius: .4rem;
            background: @second-btn-color-tran;
            padding: .8rem;
            height: 2.2rem;
          }

          .right {
            display: flex;
            justify-content: space-between;
            flex-direction: column;

            .top {
              color: white;
              font-size: 1.4rem;
            }

            .bottom {
              color: @second-text-color;
              font-size: 1.2rem;
            }
          }
        }
      }
    }
  }


  .ul {
    font-size: 1.4rem;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0;
    margin: 0;
    position: absolute;
    color: white;
    background: @main-bg;

    .line {
      height: 1px;
      background: #cccccc;
      opacity: .1;
      margin: 5px 20px;
    }

    .li {
      box-sizing: border-box;
      background: @main-bg;
      width: 100%;
      padding: 1rem 2rem;
      list-style: none;
      display: flex;
      align-items: center;
      line-height: 4rem;

      &:nth-last-child(1) {
        margin-bottom: 90px;
      }

      &:active {
        background: #454b65;
      }

      img {
        height: 20px;
        width: 20px;
        margin-right: 15px;
      }
    }
  }

  .more-function {
    box-sizing: border-box;
    font-size: 1.2rem;
    width: 100%;
    position: absolute;
    background: @main-bg;

    .title {
      padding: 2rem 0 1rem 2rem;
      color: gray;
    }

    .functions {
      display: grid;
      grid-template-columns: 33.33% 33.33%  33.33%;

      color: white;

      .function {
        margin: 15px 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        img {
          border-radius: 50%;
          background: @second-btn-color-tran;
          padding: .6rem;
          height: 1.6rem;
          margin-bottom: 15px;
        }
      }
    }
  }

  .button-ctn {
    font-size: 1.4rem;
    z-index: 99999;
    width: 70vw;
    position: absolute;
    bottom: 0;
    background: @main-bg;

    .button {
      box-sizing: border-box;
      width: calc(100% - 4rem);
      background: @second-btn-color;
      margin: 2rem;
      height: 4.5rem;
      border-radius: 3px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;

      img {
        height: 25px;
        width: 25px;
        margin-right: 15px;
      }
    }
  }

}