﻿.all-cat-wrap img {
  height: 72%;
  width: 72%;
  position: relative;
  transition: all 0.2s ease-in-out;
  border-radius: 166px;
  top: 34px;
}

.cell h2 {
  font-size: 20px;
  font-weight: bold;
}

.image-wrap {
  border: 2px solid #F0F0F0;
  border-radius: 166px;
  height: 250px;
  width: 250px;
  margin-bottom: 1rem;
  cursor: pointer;
}

.brands-wrap {
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: center;
  border-radius: 166px;
  position: relative;
  transition: all 0.2s ease-in-out;
  border: 2px solid #F0F0F0;
}
.brands-wrap img {
  width: 35%;
  aspect-ratio: 3/2;
  object-fit: contain;
}

.main-page-wrap h1 {
  font-weight: bold;
  margin-left: 1rem;
}

.grid-categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin: 2rem 0rem;
}
.grid-categories .cell {
  border-radius: 10px;
  padding: 1rem;
  padding-bottom: 0rem;
  text-align: center;
  height: 368px;
  width: 247px;
  margin-left: 0.6rem;
}

.category-text {
  margin-left: 0.6rem;
}

@media screen and (max-width: 768px) {
  .grid-categories {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(5, 1fr);
  }
  .all-cat-wrap img {
    width: 100px;
  }
}
@media screen and (min-width: 768px) and (max-width: 1100px) {
  .grid-categories {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(5, 1fr);
  }
}
@media screen and (min-width: 1100px) and (max-width: 1480px) {
  .grid-categories {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media screen and (max-width: 1330px) {
  .grid-categories {
    grid-template-columns: repeat(3, 1fr);
    margin: 2rem 8rem;
  }
  .category-text h1 {
    margin: 1rem 8rem;
  }
}
@media screen and (max-width: 1200px) {
  .grid-categories {
    grid-template-columns: repeat(3, 1fr);
    margin: 2rem 6rem;
  }
  .category-text h1 {
    margin: 2rem 6rem;
  }
}
@media screen and (max-width: 1100px) {
  .grid-categories {
    grid-template-columns: repeat(3, 1fr);
    margin: 2rem 4rem;
    gap: 1rem;
  }
  .category-text h1 {
    margin: 2rem 4rem;
  }
}
@media screen and (max-width: 1000px) {
  .grid-categories {
    grid-template-columns: repeat(3, 1fr);
    margin: 2rem 1.7rem;
    gap: 1rem;
  }
  .category-text h1 {
    margin: 2rem 1.7rem;
  }
}
@media screen and (max-width: 950px) {
  .grid-categories {
    grid-template-columns: repeat(2, 1fr);
  }
  .category-text h1 {
    margin: 2rem 2rem;
  }
}
