/* Title + desc of the page */
h1 {
  margin-top: 20px;
}

/* Categories filters */
#categories {
  /* background-color: lightgrey; */
  width: 100%;
  margin-bottom: 10px;
  padding: 20px 0px;
  background-color: rgba(0, 0, 0, 0.3);
  display: none;
}

#categories .category-row {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  margin: 20px 0px;
}

#categories .category-row .category {
  margin-left: 20px;
  text-align: center;
  width: 15%;
  padding: 10px 0;
}

#categories .category-row .category:hover {
  cursor: pointer;
  background-color: rgba(58, 228, 241, 0.8);
}

#categories .category-row .category img {
  width: 20%;
}

#categories .category-row .category h2 {
  font-size: 1.1rem;
  margin-top: 5px;
  text-transform: uppercase;
}

/* Main content */
#main-content {
  /* background-color: lightcoral; */
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-top: 20px;
  align-items: flex-start;
}

#filter {
  background: rgba(58, 228, 241, 0.8);
  width: 20%;

  padding: 10px;

  position: sticky;
  top: 100px;

  display: none;
}

#filter fieldset {
  margin-bottom: 20px;
}

#content {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex-wrap: nowrap;
  margin: 0 auto;
  /* height: 75vh; */
}

.content-row {
  /* background-color: lightyellow; */
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  flex-wrap: wrap;
}

/* Larger products */

#content.content-larger {
  width: 100%;
}

/* RESPONSIVE */
/* Up To : phone landscape & smaller + Tablet Portrait */
@media all and (min-width: 480px) {
}

/* Ipad */
@media all and (min-width: 900px) {
  #filter {
    display: flex;
    flex-direction: column;
    width: 30%;
  }

  #categories {
    display: block;
  }
}

/* Laptop and + */
@media all and (min-width: 1180px) {
  #content {
    width: 80%;
  }

  #filter {
    width: 20%;
  }
}
