body {
  background-color: var(--color-white);
}

.container {
  position: relative;
  margin: 0 auto;
  box-sizing: border-box;
}

.font-title {
  font-family: 'SmileySans-Oblique', -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Hiragino Sans GB, Microsoft YaHei UI, Microsoft YaHei, Source Han Sans CN, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
}

header {
  background-color: var(--color-white);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 0 0.5rem 0 rgba(0, 0, 0, 0.05);

  .container {
    display: flex;
    align-items: center;
    position: relative;
    margin: 0 auto;
    box-sizing: border-box;
    justify-content: space-between;
  }

  .logo {
    height: 3rem;

    img {
      height: 100%;
    }
  }

  .menu {
    .layui-nav {
      background-color: var(--color-white);

      .layui-this:after,
      .layui-nav-bar {
        top: 0 !important;
        background-color: #6b7a8f;
        border-radius: 0 0 0.5rem 0.5rem;
        height: 0.5rem;
      }

      .layui-nav-item {
        a {
          color: #6a7890;
          margin: 0 1rem;
        }
      }
    }
  }

  .user {
    .no-login {
      background-color: #4f5a70;
      padding: 1.2rem 1.7rem;
      border-radius: 0.5rem;
      line-height: 1;
      color: var(--color-white);
      cursor: pointer;

      a {
        color: var(--color-white);
      }

      &:hover {
        background-color: #8ca3c7;
      }
    }

    .login {
      display: flex;
      align-items: center;

      .avatar {
        width: 3.6rem;
        height: 3.6rem;
        margin: 0 1.5rem;

        img {
          width: 100%;
          height: 100%;
          border-radius: 50%;
        }
      }
    }
  }
}

.main-title {
  text-align: center;

  h4 {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: #1f2329;
  }

  p {
    font-size: 1.6rem;
    color: #555;
  }
}

.case-main {
  margin: 10rem auto;

  .case-list {
    margin-top: 7rem;
    position: relative;
    overflow: hidden;
    font-size: 0;

    &::after,
    &::before {
      position: absolute;
      content: "";
      top: 0;
      left: -5rem;
      height: 100%;
      width: 24rem;
      background-image: linear-gradient(to right, rgba(255, 255, 255, 1) 20%, rgba(255, 255, 255, 0));
      z-index: 1;
    }

    &::after {
      right: -5rem;
      left: auto;
      background-image: linear-gradient(to left, rgba(255, 255, 255, 1) 20%, rgba(255, 255, 255, 0));
    }

    .case-item {
      width: 2934px;
      -webkit-animation: scrollToRight 36s linear infinite;
      animation: scrollToRight 36s linear infinite;
      display: flex;
      flex-wrap: wrap;
      margin-bottom: 3rem;

      img {
        height: 60px;
        border: 1px solid #f1f1f1;
        margin-right: 30px;
        box-sizing: border-box;
        border-radius: 0.5rem;
      }
    }
  }

  @-webkit-keyframes scrollToRight {
    0% {
      transform: translate3d(-50%, 0, 0)
    }

    to {
      transform: translateZ(0)
    }
  }
}

.interface-content {
  margin: 7rem 0;

  .interface-main {
    display: flex;
    align-items: center;
    margin-top: 5rem;

    .interface-left {
      width: 22rem;
      height: 54rem;
      flex-shrink: 0;
      background-image: url("/html/statics/image/main/interface-left-bg.jpeg");
      background-repeat: no-repeat;
      background-position: center top;
      background-size: cover;
      border-radius: 0.5rem;
      margin-right: 3rem;
      padding: 2rem;
      box-sizing: border-box;

      .nav-list {
        display: grid;
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: .5rem;

        .item {
          padding: 1.5rem 2rem;
          line-height: 1;
          border-radius: 0.5rem;
          cursor: pointer;
          font-size: 1.4rem;
          text-align: center;

          &:hover {
            background-color: rgb(223 239 254);
            color: rgb(28 148 254);
          }

          &.active {
            background-color: rgb(28 148 254);
            color: rgb(255 255 255);
          }
        }
      }
    }

    .interface-right {
      width: 100%;

      .interface-carousel {
        height: 100%;
        background-color: var(--color-white);

        .interface-list {
          display: grid;
          grid-template-columns: repeat(3, minmax(0, 1fr));
          grid-template-rows: repeat(4, minmax(0, 1fr));
          gap: 1.5rem;
          height: 100%;

          .interface-item {
            background-color: var(--color-white);
            height: 100%;
            border-radius: 0.5rem;
            border: 1px solid var(--background-color);
            cursor: pointer;
            padding: 1.6rem;
            box-sizing: border-box;
            position: relative;

            .item-footer {
              display: flex;
              justify-content: flex-end;
              position: absolute;
              line-height: 1;
              bottom: 1.6rem;
              left: 0;
              right: 1.6rem;

              .text {
                color: var(--color-error5);
                font-size: 1.2rem;

                span,
                b {
                  font-size: 1.6rem;
                  padding: 0 0.5rem;
                }
              }
            }

            .item-header {
              display: flex;
              align-items: flex-start;

              .thumb {
                width: 5rem;
                height: 5rem;
                margin-right: 1.5rem;
                flex-shrink: 0;

                img {
                  width: 100%;
                  height: 100%;
                }
              }

              .info {
                .name {
                  font-size: 1.5rem;
                  font-weight: 500;
                  line-height: 1;
                  padding-bottom: 1rem;
                }

                .desc {
                  font-size: 1.2rem;
                  color: var(--color-text-placeholder);
                  word-wrap: break-word;
                  text-overflow: ellipsis;
                  display: -webkit-box;
                  -webkit-box-orient: vertical;
                  -webkit-line-clamp: 2;
                  overflow: hidden;
                }
              }
            }

            &:hover {
              background-color: rgba(239, 242, 243, 0.8);
            }
          }
        }
      }

    }
  }
}

.head-main {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14rem 0 11rem;

  .head-poster {
    position: absolute;
    background-image: url("/html/statics/image/main/head-poster.jpg");
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
  }

  .head-content {
    position: relative;
    width: 100%;

    .head-slogan {
      font-size: 3.6rem;
      font-weight: 600;
    }

    .head-child {
      --bs-text-opacity: 1;
      color: #6e6e6e;
      margin-top: 1.2rem;
      font-size: 1.6rem;
    }

    .head-list {
      display: flex;
      justify-content: center;
      align-items: center;
      margin-top: 2rem;

      .item {
        display: inline-block;
        font-weight: 400;
        line-height: 1.6;
        color: #6e6e6e;
        text-align: center;
        text-decoration: none;
        vertical-align: middle;
        cursor: pointer;
        -webkit-user-select: none;
        -moz-user-select: none;
        user-select: none;
        border: 1px solid var(--border-color);
        padding: 0.75rem 1.5rem;
        font-size: 1.2rem;
        border-radius: .5rem;
        background-color: #ffffff;
        margin: 0.5rem;
        transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;

        &:hover,
        &:focus,
        &:active {
          color: #15181d;
          border-color: #6a7890;
        }
      }
    }

    .head-search {
      position: relative;
      max-width: 80rem;
      margin: 2rem auto 0;

      .search-button {
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        width: 8rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;

        i {
          line-height: 1;
          font-size: 2rem;
          color: var(--color-text-placeholder);
        }

        &:hover {
          i {
            color: #15181d;
          }
        }
      }

      .form-input {
        display: block;
        width: 100%;
        font-size: 1.5rem;
        font-weight: 400;
        line-height: 1.5;
        color: #212529;
        background-color: #ffffff;
        background-clip: padding-box;
        border: 0.2rem solid #efefef;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        border-radius: .5rem;
        transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
        padding: 1.5rem 5rem 1.5rem 1.5rem;
        box-sizing: border-box;

        &:focus {
          color: #15181d;
          border-color: #6a7890;
          background-color: #ffffff;
          box-shadow: none;
        }
      }
    }
  }
}

footer {
  .footer-main {
    background-color: #f8f8f8;
    overflow: hidden;

    .container {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .left-main {
      padding: 3rem 0;
      width: 60%;
      float: left;

      .bottom-logo {
        height: 3.5rem;

        img {
          height: 100%;
        }
      }

      .bottom-info {
        padding-top: 2rem;
        line-height: 2;
        font-size: 1.4rem;
        color: #787878;
      }
    }

    .right-main {
      width: 35%;
      float: right;
      display: flex;
      align-items: center;
      justify-content: flex-end;

      .image-item {
        text-align: center;
        margin-left: 2rem;

        img {
          width: 11rem;
        }

        em {
          padding-top: 1rem;
          width: 100%;
          display: block;
        }
      }
    }
  }

  .footer {
    height: 5rem;
    line-height: 5rem;

    .copyright {
      color: #929292;
      display: flex;
      justify-content: space-between;
    }
  }
}

.query-ip-main {
  border-radius: 0.5rem;
  overflow: hidden;

  .layui-layer-title {
    border-color: #f5f5f5;
    background-color: #f3f6f8;
  }

  .layui-layer-content {
    .query-ip {
      padding: 2.5rem;
      line-height: 2.2;
      background-color: #f3f6f8;
      color: #3d4657;

      p {
        font-size: 1.4rem;
        display: flex;
        align-items: center;

        em {
          width: 10rem;
          text-align: right;
          display: block;
          margin-right: 0.5rem;
          font-size: 1.2rem;
          color: #868f98;
        }
      }
    }
  }
}

.interface-main {
  .top-nav {
    background-color: #f5f5f5;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    margin: 3rem auto;
    height: 5rem;
    padding: 0 1rem;

    .item {
      padding: 1rem 2rem;
      line-height: 1;
      cursor: pointer;
      margin-right: 1rem;

      &.layui-this {
        background-color: var(--color-primary7);
        color: var(--color-white);
        border-radius: 0.5rem;
      }
    }
  }

  .interface-list-main {
    height: 100%;
    display: block;
    overflow: hidden;
    padding-bottom: 1rem;

    .interface-carousel {
      height: 100%;
      background-color: var(--color-white);

      .interface-list {
        display: none;

        .interface-item {
          background-color: var(--color-white);
          height: 13rem;
          width: calc(100% / 3 - 1.34rem);
          float: left;
          border-radius: 0.5rem;
          border: 1px solid var(--background-color);
          cursor: pointer;
          padding: 1.6rem;
          box-sizing: border-box;
          position: relative;
          display: block;
          margin-right: 2rem;
          margin-bottom: 2rem;

          &:nth-child(3n) {
            margin-right: 0;
          }

          .item-footer {
            display: flex;
            justify-content: flex-end;
            position: relative;
            line-height: 1;
            margin-top: 1.6rem;

            .text {
              color: var(--color-error5);
              font-size: 1.2rem;

              span,
              b {
                font-size: 1.6rem;
                padding: 0 0.5rem;
              }
            }
          }

          .item-header {
            display: flex;
            align-items: flex-start;

            .thumb {
              width: 5rem;
              height: 5rem;
              margin-right: 1.5rem;
              flex-shrink: 0;

              img {
                width: 100%;
                height: 100%;
              }
            }

            .info {
              .name {
                font-size: 1.5rem;
                font-weight: 500;
                line-height: 1;
                padding-bottom: 1rem;
              }

              .desc {
                font-size: 1.2rem;
                color: var(--color-text-placeholder);
                word-wrap: break-word;
                text-overflow: ellipsis;
                display: -webkit-box;
                -webkit-box-orient: vertical;
                -webkit-line-clamp: 2;
                overflow: hidden;
              }
            }
          }

          &:hover {
            background-color: rgba(239, 242, 243, 0.8);
          }
        }
      }
    }
  }
}

.ssl-main {
  padding: 2rem 0;

  img {
    width: 100%;

    & + img {
      margin-left: 5%;
    }
  }

  .size-full {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
  }

  p {
    margin: 0 auto;
    width: 100rem;
    padding: 2rem 0;
    letter-spacing: 0;
    line-height: 2.4;
    text-align: center;
    font-size: 1.4rem;
    color: #666;

    .h1 {
      font-size: 3rem;
      color: #333333;
    }

    & + p {
      padding-top: 0;
    }
  }
}

.ssl-content {
  background-color: #f8f8f8;
  padding: 7rem 0;

  .content-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 7rem;

    .left-content {
      width: 100%;
      margin-right: 10rem;

      .item {
        background-color: #ffffff;
        border-radius: 1rem;
        width: 100%;
        line-height: 5rem;
        margin-bottom: 2rem;
        font-size: 1.4rem;
        padding-left: 2rem;
        cursor: pointer;

        &:last-child {
          margin-bottom: 0;
        }

        &:hover {
          background-color: #4f5a70;
          color: #ffffff;
        }
      }
    }

    .right-content {
      img {
        width: 40rem;
      }
    }
  }

  .pay-button {
    text-align: center;
    margin-top: 5rem;

    .layui-btn {
      max-width: 35rem;
      border-radius: 5rem !important;
      line-height: 5rem;
      height: 5rem;
    }
  }
}

.link-main {
  background-color: #f1f1f1;
  padding: 2rem 3rem;
  margin-bottom: 3rem;
  border-radius: 1rem;
  overflow: hidden;

  ul {
    li {
      float: left;
      margin-left: 2rem;

      &:first-child {
        margin-left: 0;
      }
    }
  }
}

@media screen and (min-width: 1300px) {
  .container {
    width: 124rem;
  }
}

