.port_index {
  .block1 {
    background-image: linear-gradient(to bottom,
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0.8));

    .options {
      display: flex;
      justify-content: space-between;
      padding: 10px;
      border: 1px solid;
      border-image: linear-gradient(to bottom,
      rgba(58, 122, 149, 0),
      rgba(58, 122, 149, 1)) 1;
      border-top: none;

      .option {
        flex-basis: 33.33%;
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;

        .img_top {
          position: absolute;
          width: 70px;
          height: 70px;
          animation: portIndexSlideY 2s infinite;
        }

        .img_bottom {
          position: absolute;
          width: 75px;
          height: 75px;
          top: 5px;
        }

        .label {
          margin-top: 80px;
          color: #fff;
          font-size: 14px !important;
        }

        .count {
          background-image: linear-gradient(to bottom, #5bb4f7, #ffffff);
          -webkit-background-clip: text;
          background-clip: text;
          -webkit-text-fill-color: transparent;
          font-weight: bold;
          margin-top: 6px;
          font-family: "PingFang SC", "Helvetica Neue", "Hiragino Sans GB",
          "Segoe UI", "Microsoft YaHei", "微软雅黑", sans-serif;

          span {
            font-size: 26px;
          }
        }
      }
    }
  }

  .block2 {
    margin-top: 10px;
    background-image: linear-gradient(to bottom,
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0.8));

    .options {
      display: flex;
      flex-wrap: wrap;
      border: 1px solid;
      border-image: linear-gradient(to bottom,
      rgba(58, 122, 149, 0),
      rgba(58, 122, 149, 1)) 1;
      border-top: none;
      padding: 10px;

      .option {
        display: flex;
        align-items: center;
        position: relative;
        flex-basis: 50%;
        padding-left: 8px;

        .img {
          width: 34px;
          height: 34px;
          position: absolute;
          left: 25px;
          top: 10px;
          animation: portIndexSlideY 2s infinite;
        }

        .img_bg {
          width: 70px;
          height: 80px;
        }

        .label {
          color: #fff;
          font-size: 14px;
          margin-left: 10px;
        }

        .count {
          background-image: linear-gradient(to bottom, #5bb4f7, #ffffff);
          -webkit-background-clip: text;
          background-clip: text;
          -webkit-text-fill-color: transparent;
          font-weight: bold;
          font-size: 26px;
          margin-top: 12px;
          margin-left: 10px;
          font-family: "PingFang SC", "Helvetica Neue", "Hiragino Sans GB",
          "Segoe UI", "Microsoft YaHei", "微软雅黑", sans-serif;

          span {
            font-size: 26px;
          }
        }
      }
    }
  }

  .block3 {
    margin-top: 10px;
    background-image: linear-gradient(to bottom,
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0.8));

    .content {
      border: 1px solid;
      border-image: linear-gradient(to bottom,
      rgba(58, 122, 149, 0),
      rgba(58, 122, 149, 1)) 1;
      border-top: none;
      padding: 10px;

      .options {
        display: flex;
        justify-content: flex-end;

        .title {
          cursor: pointer;
          background-size: 100% 100%;
          background-repeat: no-repeat;
          width: 113px;
          height: 26px;
          font-size: 14px;
          line-height: 26px;
          text-align: center;
          color: #fff;
        }
      }

      .table {
        margin-top: 14px;

        .scroll {
          height: 300px;
          overflow-y: hidden;

          .tr {
            &:nth-child(odd) {
              background-color: transparent;
            }
          }
        }

        .tr {
          display: grid;
          grid-template-columns: 2fr 1fr 1fr;
          background-color: rgba(42, 86, 158, 0.53);

          .td {
            text-align: center;
            font-size: 12px;
            color: #fff;
            padding: 5px;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
          }
        }
      }
    }
  }

  @keyframes portIndexSlideY {
    0% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-5px);
    }
    100% {
      transform: translateY(0);
    }
  }
}
