
#grids {
width: calc(100% - 60px);
  margin: 0 auto;
    margin-top: 0px;
    margin-bottom: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-wrap: wrap;
  margin-top: 3.5rem;
  margin-bottom: 12rem;flex-direction: column;
  display:grid;grid-template-columns: repeat(auto-fill, minmax(16%, 1fr));
  grid-gap: 0px .8rem;
}
.gridbox {
position: relative;
transform-style: preserve-3d;
cursor: pointer;
background-repeat:no-repeat;
}
.flex {
  display: flex;
  align-items: center;
  justify-content: center;
}
#grids .tmp {
  width:100%;
  margin-bottom: 5rem;
  text-align: center;position: relative;
}
#grids .tmp::before{
    position: absolute;
    content: 'I';
    left:50%;
    top: 50%;
	transform: translate(-50%, -50%);font-size:2.4rem !important;color:#555 !important;opacity:0.7;
animation: rotate 1s linear infinite;
}
@keyframes rotate {
from { transform: rotate(0deg);  transform-origin: center;}
  to { transform: rotate(360deg); transform-origin: center; } 
}
#grids .tmp .flex {
  padding: .8rem 0;
    padding-left: 0px;
  font-weight: bold;
  font-size: 1.4rem;
  justify-content: start;
  display: flex;
  align-items: center;
  padding-left: 1rem;
}
#grids .tmp .fav img {
  height: 2.4rem;
  width: 2.4rem !important;
  margin-bottom: 0 !important;
  margin-left: .6rem;
}
#grids .tmp img {
  width: 98%;
  margin-bottom: 1.2rem;
}
.col{flex-direction: column; }
.title {
  display: grid;
  grid-template-columns: auto 10rem;
  width: 94%;
  margin: 0 auto;
  background-color: #f4f4f4;
  border-radius: 3rem;
  padding: 0rem .8rem;
}
#grids .tmp .fav {display:none !important;
  font-weight: normal;
  justify-content: end;
  padding-left: .5rem important;
  padding-right: .8rem !important;
}
  .title {
  display: grid;
 display:grid;grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));}
   .title .flex{  justify-content:center !important}
@media screen and (max-width:900px) {
#grids {
 display:grid;grid-template-columns: repeat(auto-fill, minmax(48%, 1fr));
  grid-gap: 0px .8rem;
  }
  .title {
  display: grid;
 display:grid;grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));}
   .title .flex{  justify-content:center !important}
}