:root {
  --list-left-color: #202020;
  --software-category-width: 200px;
}

body {
  position: relative;
  z-index: 0;
  height: 100vh;
  min-height: 100vh;
}

.software-category-list {
  background-color: rgb(20, 23, 30);
  height: 100vh;
  width: var(--software-category-width);
  position: fixed;
  z-index: -1;
  display: flex;
  flex-direction: column;
  justify-content: start;
  padding: 100px 0 0 0;
}

.software-category-list > .software-category {
  /* position: fixed; */
  padding: 0 0 0 20px;
  width: 100%;
  height: 45px;
  font-size: 1em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  /* background: #259904; */
  cursor: url("/Images/Common/鼠标-指向.cur"), pointer;
  user-select: none;
  -webkit-user-select: none;
}

.software-category-list > .software-category:hover {
  background: rgba(41, 52, 63, 1) !important;
}

/* .software-category-list > .software-category:hover > p {
  color: gold !important;
  transform: translateX(1em) !important;
} */

.software-container {
  /* background: #402500; */
  background-image: radial-gradient(farthest-corner at 60% 5%, rgb(63, 69, 91) 0%, rgb(23, 26, 33) 40%);
  width: calc(100vw - var(--software-category-width));
  /* min-height: 100vh; */
  height: 100vh;
  margin-left: var(--software-category-width);
  display: grid;
  align-content: flex-start;
  gap: 5vh 50px;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  grid-auto-rows: fit-content;
  padding: 100px 4%;
  /* overflow: hidden; */
}

.software-container > .software {
  /* background-color: beige; */
  width: 100%;
  height: 105%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  /* height: fit-content; */
  transition: 0.5s;
}

.software-container > .software > .software-img {
  /* background-color: #002bff; */
  display: block;
  max-width: 100%;
  aspect-ratio: 4/3;
  transition: 0.5s;
  border-radius: 15px;
  position: relative;
  overflow: hidden;
  box-shadow: 2px 2px 5px 0 rgba(0, 0, 0, 0.7);
}

.software-container > .software > .software-img:hover {
  transform: scale(1.03);
}

.software-container > .software > .software-img > img {
  display: block;
  position: relative;
  margin: auto;
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: 5px 5px 5px 0 #111;
  transition: 0.5s;
}

/* .software-container > .software > .software-img:hover > img {
  transform: scale(1.08);
  animation: colorful-out-glow linear 5s infinite;
  outline: solid #fff 3px;
} */

/* @keyframes colorful-out-glow {
  from {
    box-shadow: 8px 5px 45px 0 #ff0000;
    box-shadow: -2px -3px 45px 0 #ff0000;
  }
  11% {
    box-shadow: 8px 5px 45px 0 #ff7300;
    box-shadow: -2px -3px 45px 0 #ff7300;
  }
  22% {
    box-shadow: 8px 5px 45px 0 #fffb00;
    box-shadow: -2px -3px 45px 0 #fffb00;
  }
  33% {
    box-shadow: 8px 5px 45px 0 #48ff00;
    box-shadow: -2px -3px 45px 0 #48ff00;
  }
  44% {
    box-shadow: 8px 5px 45px 0 #00ffd5;
    box-shadow: -2px -3px 45px 0 #00ffd5;
  }
  55% {
    box-shadow: 8px 5px 45px 0 #002bff;
    box-shadow: -2px -3px 45px 0 #002bff;
  }
  66% {
    box-shadow: 8px 5px 45px 0 #7a00ff;
    box-shadow: -2px -3px 45px 0 #7a00ff;
  }
  77% {
    box-shadow: 8px 5px 45px 0 #ff00c8;
    box-shadow: -2px -3px 45px 0 #ff00c8;
  }
  to {
    box-shadow: 8px 5px 45px 0 #ff0000;
    box-shadow: -2px -3px 45px 0 #ff0000;
  }
} */

.float-brief-container {
  position: absolute;
  background: rgba(15, 15, 15, 0.6);
  opacity: 0;
  height: 100%;
  width: 100%;
  top: 0;
  transition: 0.3s;
}

.software-img:hover > .float-brief-container {
  opacity: 1;
}

.float-brief {
  position: absolute;
  top: 65%;
  width: 100%;
  height: 75%;
  font-size: 0.9em;
  transition: 0.25s;
  text-align: justify;
  text-justify: inter-cluster;
}

.software-img:hover .float-brief {
  top: 25%;
  background: rgba(0, 0, 0, 0.7);
}

.float-brief > span {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  flex-wrap: wrap;
  width: 100%;
  height: 100%;
  overflow: auto;
}

.software-container > .software > .software-text {
  display: block;
  text-align: center;
  padding: 2.5% 0 0 0;
  width: 100%;
  height: 12%;
  overflow: visible;
  transition: 0.5s;
}

.software-container > .software > .software-text > .software-title {
  display: inline-block;
  font-size: clamp(16px, 1.25em, 2vw);
  color: tomato;
  text-shadow: 1px 1px 1px #111;
  transition: transform 0.5s;
}

.software-container > .software > .software-text > .software-title:hover {
  transform: scale(1.05);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-color: cadetblue;
}

/* <!-- ------------------ ↓ 响应式设计 ------------------- --> */
@media screen and (max-width: 1000px) {
  .software-category-list {
    width: 110px;
  }

  .software-category-list > .software-category {
    padding: 0 0 0 10px;
    width: 100%;
    height: 45px;
    font-size: 0.8em;
  }

  .software-container {
    width: calc(100vw - 110px);
    margin: 0 0 0 110px;
    padding: 2% 2%;
    gap: 5vh 10px;
    grid-template-columns: repeat(auto-fill, 225px);
  }

  .software-container > .software {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: 0.5s;
  }
}
/* <!-- ------------------ ↑ 响应式设计 ------------------- --> */
