#search_box{
    height: 200px;
    margin-top: -200px;
}
.infinite_container *{
  box-sizing: border-box;
}
.infinite_container{
  width: 99%;
  margin: 20px auto;
  columns: 7;
  column-gap: 10px;
  position: relative;

}
.infinite_container .infinite_box{
width: 100%;
margin-bottom: 10px;
break-inside: avoid;
position: relative;
    overflow: hidden;
}

.infinite_box .infinite_box_title {
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: -30%;
    opacity: 0;
    transition: 0.3s;
    direction: rtl;
    border-radius: 8px;
    background: linear-gradient(rgba(0,0,0,0.3),var(--gold));
  }
  
.infinite_box:hover .infinite_box_title {
    opacity: 1;
    bottom: 0;
  }
.infinite_box_title h3{
    color: #ffffff;
    text-align: center;
    position: absolute;
    top: -30px;
    left: 8px;
    opacity: 0;
    transition: 0.2s 0.3s ease-out;
    font-size: 13px;
}
.infinite_box:hover .hoverBTN {
    opacity: 1;
    transform: rotate(360deg);
}
.infinite_box:hover h3 {
    opacity: 1;
    top: 8px;
}

.hoverBTN{
    display:block;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    background-color: #ffffff;
    position: absolute;
    bottom: 10px;
    cursor: pointer;
    border: none;
    color: #000;
    padding: 0;
    transition: 0.3s ease-out;
    opacity: 0;
    line-height: 1px;
}

.hoverBTN:hover {
    box-shadow: 0 0 20px #0b0b0b;
}
.hoverBTN:active{
    animation-name: hoverBTNAnimation;
    animation-duration: 0.5s;
}
@keyframes hoverBTNAnimation {
    from {transform: rotate(0deg);}
    to {transform: rotate(360deg);}
}
.hoverlike{left: 5px;}
.hovershare{left: 55px;}
.hoverview{left: calc(50% - 20px);bottom: 50%}
.hoversimilar{left: calc(50% - 20px) ;bottom: calc(50% - 55px) }
.hovershopping{right: 5px;background-color: #0b0b0b;color: #fff}
.hoverfavorite{right: 55px;background-color: #0b0b0b;color: #fff}
.likeCount{
    display: block;
    position: absolute;
    color: #0b0b0b;
    transition: 0.6s ease-out;
    opacity: 1;
    text-align: center;
    left: -50px;
    bottom: 58px;
    width: 50px;
    background :rgba(255,255,255,1);
    font-weight: bold;
    font-size: 12px;
    border-radius: 0 5px 5px 0;
}
.infinite_box:hover .likeCount {
    left: 0px;
}
.redLike{
    background-color: var(--redLike);
    color: #fff;
}
#linkCopied{
    position: fixed;
    padding: 20px;
    background : rgb(255, 255, 255,0.8);
    z-index: 5;
    bottom: 70%;
    left: 50% ;
    color: #2a2a2a;
    display: none;
    box-shadow: 0 0 20px #0b0b0b;
    transition: 0.5s;
    animation-name: popup_animation;
    animation-duration: 0.5s;
    opacity: 1;
    transform: translateX(-50%);
}
@keyframes popup_animation {
    from {bottom: 65%;opacity: 0.1}
    to {bottom: 70%;opacity: 1}
}

.infinite_container .infinite_box img{
  max-width: 100%;
  border-radius: 8px;
  opacity: 1;
  display: block;
  transition: .5s ease;
  backface-visibility: hidden;
  }
.topsearch_left{
    height: 70px;
    position: relative;
}

@media (max-width:1600px) {
    .infinite_container{
        width: 99%;
        columns: 6;
    }
}
@media (max-width:1367px) {
  .infinite_container{
    width: 99%;
    columns: 5;
  }
}
@media (max-width:1200px) {
  .infinite_container{
    width: 99%;
    columns: 4;
  }
    .searchform__submit {
        right: 20px;
    }
}
@media (max-width:768px) {
  .infinite_container{
    width: 99%;
    columns: 3;
  }
    .searchform__submit {
        right: 20px;
    }
}
@media (max-width:480px) {
  .infinite_container{
    width: 99%;
    columns: 2;
  }
    .hoverBTN{
        height: 30px;
        width: 30px;
    }
    .hoverBTN i{
        font-size: 14px;
    }
    .hoverlike{left: 5px;}
    .hovershare{left: 40px;}
    .hoverview{left: calc(50% - 20px);bottom: 50%}
    .hoversimilar{left: calc(50% - 20px) ;bottom: calc(50% - 40px) }
    .hovershopping{right: 5px;background-color: #0b0b0b;color: #fff}
    .hoverfavorite{right: 40px;background-color: #0b0b0b;color: #fff}
    .LandScapeBTN{
        left:110px
    }
    .PortraitBTN {
        left:170px

    }
    .uploadBTN{
        left:230px
    }
    .searchform__submit {
        right: 20px;
    }



}
