.background {
  padding-top: 160px;
  background-image: url(@/Project/assets/newBackground.jpg);
  width: 100vw;
  height: 100vh;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  padding-left: 60px;
  padding-right: 60px;
  overflow: hidden;

  .content {
    :global {
      .swiper-container {
        width: 100%;
        height: 600px;
        position: static;

        .swiper-container .swiper-wrapper {
          max-width: 100%;
        }

        .swiper-button-next {
          background-image: url('@/Project/assets/projectSelect/next.png');
          width: 90px;
          height: 347px;
          background-size: contain;
          background-repeat: no-repeat;
          top: 50%;
          right: 60px;
          margin-top: -130px;
          position: absolute;
          z-index: 999;
          cursor: pointer;

          &::after {
            content: '';
          }
        }

        .swiper-button-prev {
          background-image: url('@/Project/assets/projectSelect/pre.png');
          width: 90px;
          height: 347px;
          background-size: contain;
          background-repeat: no-repeat;
          top: 50%;
          left: 60px;
          margin-top: -130px;
          position: absolute;
          z-index: 999;

          &::after {
            content: '';
          }
        }

        .swiper-button-prev.swiper-button-disabled,
        .swiper-button-next.swiper-button-disabled {
          display: none;
        }
      }
    }
  }

  .control {
    width: 124px;
    display: flex;
    flex-direction: row-reverse;
    height: 30px;
    margin-top: 10px;
    justify-content: end;

    .switch {
      color: #a6c5d8;
      justify-content: center;
      align-items: center;
      display: flex;
      flex-direction: row-reverse;
      font-size: 16px;
      position: absolute;
      right: 100px;
      bottom: 80px;
      letter-spacing: 2px;

      :global {
        .ant-switch {
          background-color: rgba(255, 255, 255, 0.5);

          &::after {
            background-image: url('@/Project/assets/projectSelect/ToggleBtn.png');
            background-size: cover;
            background-repeat: no-repeat;
          }
        }

        .ant-switch-checked {
          background-image: url('@/Project/assets/projectSelect/togbg.png');
          background-size: cover;
          background-repeat: no-repeat;
        }
      }
    }
  }
}

.enterBtn {
  display: flex;
  justify-content: center;
  cursor: pointer;
  border: none;
  align-items: center;
  width: 90px;
  height: 30px;
  font-size: 18px;
  line-height: 18px;
  /* Microsoft YaHei UI;*/
  color: white;
  margin-right: 20px;
  background-image: url('@/Project/assets/projectSelect/enterBtnBG.png');
  background-size: 100% 100%;

  img {
    padding-left: 10px;
    height: 40%;
  }
}

.item {
  width: 22%;
  height: 208px;
  position: relative;

  &.empty {
    height: 0;
    visibility: hidden;
  }

  &:hover {
    .project {
      .projectBg {
        background-image: url('@/Project/assets/projectSelect/hoverBg.png');
        opacity: 0.85;
        transition: all 0.2s;
      }

      .pic {
        .name {
          display: none;
        }

        .name2 {
          display: block;
        }
      }

      .province {
        display: block;
        z-index: 2;
        font-weight: 200;
      }
    }
  }

  .project {
    width: 100%;
    height: 100%;
    cursor: pointer;
    padding: 8px;
    position: relative;

    .projectBg {
      position: absolute;
      width: 100%;
      height: 100%;
      background-image: url('@/Project/assets/projectSelect/projectBg.png');
      background-size: cover;
      background-repeat: no-repeat;
      top: 0;
      left: 0;
      opacity: 0.5;
    }

    .pic {
      width: 100%;
      height: 100%;
      background-size: cover;
      background-repeat: no-repeat;
      position: relative;

    }

    .name {
      max-width: 80%;
      width: max-content;
      text-align: center;
      padding: 4px 20px;
      background: url('@/Project/assets/projectSelect/projectSelectBg.png') no-repeat center;
      background-size: 100% 100%;
      position: absolute;
      bottom: 6px;
      left: 50%;
      transform: translateX(-50%);
      font-size: 26px;
      font-family: 'Microsoft YaHei UI';
      font-weight: 400;
      color: #e2f2f7;
      line-height: 35px;
    }

    .name2 {
      font-family: 'Microsoft YaHei UI';
      color: #cbe5ff;
      width: 100%;
      text-align: center;
      z-index: 2;
      letter-spacing: 2px;
      font-size: 30px;
      font-weight: 300;
      padding-left: 20px;
      padding-right: 20px;
      position: absolute;
      display: block;
      top: 50%;
      left: 0;
      display: none;
      transform: translateY(-50%);
    }

    .province {
      color: #cbe5ff;
      font-family: 'Microsoft YaHei UI';
      position: absolute;
      top: 5px;
      right: 10px;
      font-size: 14px;
      font-weight: 200;
      display: none;
    }
  }
}

.page {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 600px;
  align-items: center;

  .line {
    height: 248px;
    width: 1562px;
    display: flex;
    flex-direction: column;
    position: relative;

    .lineList {
      height: 100%;
      width: 1380px;
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      margin-left: 96px;
    }

    .floor {
      background-image: url(@/Project/assets/projectSelect/floor.png);
      background-size: contain;
      background-repeat: no-repeat;
      background-position: center;
      width: 100%;
      height: 76px;
      position: absolute;
      bottom: 0;
    }
  }
}

.search {
  width: 238px;
  height: 36px;
  background-image: url(@/Project/assets/projectSelect/input.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  top: 50px;
  right: 100px;
  position: absolute;

  input {
    background: transparent;
    background-size: 100% 100%;
    width: 100%;
    height: 100%;
    border: none;
    padding-left: 42px;
    font-size: 16px;
    line-height: 36px;
    font-family: 'Microsoft YaHei UI';
    color: #cbe5ff;
    outline: none;
  }

  img {
    width: 18px;
    height: 18px;
    left: 10px;
    top: 10px;
    position: absolute;
    z-index: 100;
    cursor: pointer;
    pointer-events: auto;
  }
}