@import "../../../styles/varibale.scss";

@media (max-width: 1199.98px) {}

.sectionSubTitle {
  font-weight: 700;
  font-size: 24px;
  line-height: 1.4;
  color: $primaryColor;
  text-align: center;
  padding:0 0 2rem 0 ;
}
.subtitleSpan{
  position: absolute;
  left: calc(48% - 6rem);
}

.home_find_brands_item {
  text-align: center;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border: 1px solid #d9d9d9;
  border-radius: 1em;
  background: #ffffff;
  cursor: pointer;
  max-width: 100%;
  min-height: 100px;
  width: 100px;
}

.home_find_brands_item:after {
  content: '';
  padding-bottom: 100%;
  display: block;
}

.home_find_brands_item img{
  max-width: 100%;
  min-height: 100px;
  width: 90%;
  object-fit: contain;
  object-position: center;
}

.sliderContainer>div>div>div>div>div {
  margin-right: 1em;
}

.brandDiv{
  background-color:transparent;
  // margin-top:2.5em;
}

.home_find_brands_img {
  margin-left: auto;
  margin-right: auto;
  object-fit: contain;
  padding: 0.3em;
}

.iconRightDisplay {
  cursor: pointer;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  border-radius: 0.5em;
  transition: 0.3s;
  color: $primaryColor;
  background: whitesmoke;
  width: 3.5em;
  height: 3.5em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: -1em;
  top: calc(50% - 1.5em);
  opacity: 0.5;
}

.iconRightDisplay:hover {
  opacity: 1;
}

.viewText{
  color: $primaryColor;
  font-size: 14px;
  font-weight: 700;
  align-items: center;
  display: flex;
 
}

.iconLeftDisplay {
  cursor: pointer;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  border-radius: 0.5em;
  transition: 0.3s;
  color: $primaryColor;
  background: whitesmoke;
  width: 3.5em;
  height: 3.5em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: -1em;
  top: calc(50% - 1.5em);
  z-index: 9;
  opacity: 0.5;
}

.iconLeftDisplay:hover {
  opacity: 1;
}

@media (max-width: 767.98px) {
  .home_find_brands_item {
    border: 1px solid #d9d9d9;
    border-radius: 50%;
  }

  .home_find_brands_img {
    border-radius: 50%;
  }

  .brandDiv{
    margin-top:1.5em;
  }

  .subtitleSpan{
    left:30px
  }
  .sectionSubTitle {
    font-weight: 700;
    font-size: 1.5em;
    line-height: 1.4;
    color: #343434;
    text-align:left;
  }

  .viewText{
    padding:0 0 2rem 0 ;
  }
  .home_find_brands_item img{
    min-height: 100px;
  }
}