main .main {
  z-index: 999;
}
main .main .category ul{
  display: grid;
  grid-template-columns: repeat(7,1fr);
  grid-gap:0.2rem;
  justify-content: center;
  z-index: 999;
  height: 180px;
}
main .main .category ul a{
  width: 100%;
  background-color: #4F44BB;
  box-shadow: 0 7px 21px 0 hsla(0,0%,4%,.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  border: 2px solid #fff;
  border-color:transparent;
}
main .main .category ul a img{
  width: 80px;
  border-radius: 10px 0 0 10px;
  border: 2px solid #fff;
  border:transparent;
}
main .main .category ul a span{
  padding-left: 20px;
  font-size: 18px;
  color: #fff;
  font-weight: 700;
}
main .main .recommend{
  display: grid;
  grid-template-columns: repeat(11,1fr);
  grid-gap:0.2rem;
  justify-content: center;
  z-index: 999;
  margin-top: 60px;
}
main .main .recommend a{
  position: relative;
}
main .main .recommend a img{
  border-radius: 20px;
  width: 100%;
}
main .main .recommend a p{
  position: absolute;
  bottom: 0;
  font-size: 12px;
  text-align: center;
  width: 100%;
  color: #fff;
  border-radius: 0 0 20px 20px;
  height: 50px;
  background: linear-gradient(transparent 25%,rgba(0,0,0,.5));
  word-wrap: break-word;
  display: none;
}




@media screen and (min-width:1220px){
  main .main .recommend a:hover p{
    display: block;
  }
  main .main .recommend a:hover{
    transition: all 0.2s;
    transform: scale(1.2);
    z-index:2;
    visibility: visible;
  }
  main .main .category ul a:hover{
    border: 2px solid #fff;
  }
  main .main .category ul a:hover img{
    border-right: 2px solid #fff;
  }
}

@media screen and (max-width:700px) {
  main .main{
    padding: 0 10px 0 10px;
  }
  main .main .category ul{
    grid-template-columns: repeat(2,1fr);
    height: auto;
  }
  main .main .category ul a img{
    width: 60px;
  }
  main .main .category ul a span{
    padding-left: 20px;
    font-size: 12px;
    color: #fff;
    font-weight: 700;
  }
  main .main .recommend{
    grid-template-columns: repeat(4,1fr);
    margin-top: 30px;
  }
}


@media screen and (min-width:700px) and (max-width:830px){
  main .main .category ul{
    grid-template-columns: repeat(3,1fr);
    height: auto;
  }
  main .main .category ul a img{
    width: 60px;
  }
  main .main .category ul a span{
    padding-left: 20px;
    font-size: 12px;
    color: #fff;
    font-weight: 700;
  }
  main .main .recommend{
    grid-template-columns: repeat(5,1fr);
    margin-top: 30px;
  }
}


@media screen and (min-width:830px) and (max-width:960px){
  main .main .category ul{
    grid-template-columns: repeat(4,1fr);
    height: auto;
  }
  main .main .category ul a img{
    width: 60px;
  }
  main .main .category ul a span{
    padding-left: 20px;
    font-size: 12px;
    color: #fff;
    font-weight: 700;
  }
  main .main .recommend{
    grid-template-columns: repeat(6,1fr);
    margin-top: 30px;
  }

}



@media screen and (min-width:960px) and (max-width:1220px){
  main .main .category ul{
    grid-template-columns: repeat(5,1fr);
    height: auto;
  }
  main .main .category ul a img{
    width: 60px;
  }
  main .main .category ul a span{
    padding-left: 20px;
    font-size: 12px;
    color: #fff;
    font-weight: 700;
  }
  main .main .recommend{
    grid-template-columns: repeat(7,1fr);
    margin-top: 30px;
  }
}

@media screen and (min-width:1220px) and (max-width:1700px){
  main .main .category ul{
    grid-template-columns: repeat(5,1fr);
    height: auto;
  }
  main .main .category ul a img{
    width: 60px;
  }
  main .main .category ul a span{
    padding-left: 20px;
    font-size: 12px;
    color: #fff;
    font-weight: 700;
  }
  main .main .recommend{
    grid-template-columns: repeat(8,1fr);
    margin-top: 30px;
  }
}