#content {
  width: 1280px;
  margin: 0 auto;
  padding: 24px 40px;
  box-sizing: border-box;
}
#content ul {
  display: grid;
  grid-template-columns: repeat(9, minmax(50px, 1fr));
  grid-gap: 17px;
}
#content ul li {
  border-radius: 40px;
  overflow: hidden;
  position: relative;
}
#content ul li a {
  width: 100%;
  display: block;
  position: relative;
  overflow: hidden;
  padding-top: 100%;
}
#content ul li a img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#content ul li .name {
  width: 100%;
  height: 40px;
  background: rgba(0, 0, 0, 0.3);
  position: absolute;
  bottom: 0;
  left: 0;
  display: none;
}
#content ul li .name span {
  display: block;
  width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin: 10px auto 0;
  color: #fff;
  font-family: Oxanium-Regular;
}
#content ul li:hover a img {
  transform: scale(1.1);
  transition: 0.5s;
}
#content ul li:hover .name {
  display: block;
}
#content ul .fra_gg {
  grid-area: 3 / 1 / 4 / 10;
  background: #F5F5F5;
  text-align: center;
  position: relative;
}
#content ul .fra_gg p {
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  font-weight: 400;
  color: #ccc;
  font-family: Oxanium-Regular;
}
#content ul .li1 {
  grid-area: 1 / 2 / 3 / 4;
}
#content ul .li2 {
  grid-area: 4 / 6 / 6 / 8;
  animation: tada 1s infinite;
}
#content ul .li3 {
  grid-area: 6 / 3 / 8 / 5;
}
#content ul .li3:hover a img {
  transform: scale(1);
}
@media (min-width: 860px) and (max-width: 1200px) {
  #content {
    width: 100%;
    padding: 12px;
  }
  #content ul {
    grid-template-columns: repeat(8, minmax(50px, 1fr));
  }
  #content ul li {
    border-radius: 12px;
  }
  #content ul .fra_gg {
    grid-area: 3 / 1 / 4 / 9;
  }
  #content ul .li1 {
    grid-area: 1 / 2 / 3 / 4;
  }
  #content ul .li2 {
    grid-area: 4 / 1 / 6 / 3;
  }
  #content ul .li3 {
    grid-area: 5 / 4 / 7 / 6;
  }
}
@media (min-width: 750px) and (max-width: 859px) {
  #content {
    width: 100%;
    padding: 12px;
  }
  #content ul {
    grid-template-columns: repeat(6, minmax(50px, 1fr));
  }
  #content ul li {
    border-radius: 12px;
  }
  #content ul .fra_gg {
    grid-area: 3 / 1 / 4 / 7;
  }
  #content ul .li1 {
    grid-area: 1 / 2 / 3 / 4;
  }
  #content ul .li2 {
    grid-area: 4 / 1 / 6 / 3;
  }
  #content ul .li3 {
    grid-area: 5 / 4 / 7 / 6;
  }
}
@media (min-width: 560px) and (max-width: 749px) {
  #content {
    width: 100%;
    padding: 12px;
  }
  #content ul {
    grid-template-columns: repeat(5, minmax(50px, 1fr));
  }
  #content ul li {
    border-radius: 12px;
  }
  #content ul .fra_gg {
    grid-area: 3 / 1 / 4 / 6;
  }
  #content ul .li1 {
    grid-area: 1 / 2 / 3 / 4;
  }
  #content ul .li2 {
    grid-area: 4 / 1 / 6 / 3;
  }
  #content ul .li3 {
    grid-area: 6 / 2 / 8 / 4;
  }
}
@media (min-width: 0px) and (max-width: 559px) {
  #content {
    width: 100%;
    padding: 12px;
  }
  #content ul {
    grid-template-columns: repeat(3, minmax(50px, 1fr));
  }
  #content ul li {
    border-radius: 12px;
  }
  #content ul .fra_gg {
    grid-area: 3 / 1 / 4 / 4;
  }
  #content ul .li1 {
    grid-area: 1 / 2 / 3 / 4;
  }
  #content ul .li2 {
    grid-area: 4 / 1 / 6 / 3;
  }
  #content ul .li3 {
    grid-area: 6 / 2 / 8 / 4;
  }
}
/* 抖动 */
@-webkit-keyframes tada {
  0% {
    -webkit-transform: scale(1);
  }
  10%,
  20% {
    -webkit-transform: rotate(-3deg);
  }
  30%,
  50%,
  70%,
  90% {
    -webkit-transform: rotate(3deg);
  }
  40%,
  60%,
  80% {
    -webkit-transform: rotate(-3deg);
  }
  100% {
    -webkit-transform: rotate(0);
  }
}
/*流光*/
.li1 {
  position: relative;
  float: left;
  border-radius: 15px;
  overflow: hidden;
  transition-duration: 3s;
  /* *动画时间* */
  grid-column: 2/5;
  grid-row: 1/4;
  z-index: 5552;
  /* box-shadow: 0px 3px 27px 0px #5B57FF; */
}
.li1:hover::before {
  display: none;
}
.li1::before {
  content: "";
  position: absolute;
  width: 1000px;
  height: 100%;
  z-index: 22266;
  /* 光标的宽度，可根据实际调整*  */
  background-image: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.7), transparent);
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -webkit-animation: searchLights 2s ease-in 1s infinite;
  -o-animation: searchLights 2s ease-in 1s infinite;
  animation: searchLights 2s ease-in 1s infinite;
  /* 第一个数字参数控制扫光速度，数字越大越慢 */
}
@keyframes searchLights {
  0% {
    left: -200px;
    top: -280px;
  }
  100% {
    left: -160px;
    top: 800px;
  }
}
