body {
  overflow-x: hidden;
}

#shopping {
  background-color: black;
  text-align: center;
  width: 100vw;
  padding: 0 0 40px;
}

.boxes {
  width: 91vw;
  height: 35vh;
  margin: 20px 4vw;
  display: flex;
}

.boxes > div {
  background-color: darkblue;
  margin: 0 5px;
  display: flex;
  padding: 15px;
  justify-content: left;
  align-items: last baseline;
  transition: 0.8s ease;
  flex-grow: 1;
  flex-shrink: 1;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  filter: saturate(200%);
  border: 3px solid #222;
}

.boxes > div > h2 {
  font-size: 20pt;
  color: white;
  font-family: "swanbold", sans-serif;
  letter-spacing: 2px;
  text-shadow: black 0 0 20px;
  background: rgba(29, 44, 99, 0.3);
  padding: 10px;
  text-transform: uppercase;
}

.short {
  width: 45%;
}

.long {
  width: 55%;
}

.short:hover {
  width: 60%;
  filter: saturate(250%);
}

.short:hover ~ .long {
  width: 40%;
}

.long:hover {
  width: 65%;
  filter: saturate(100%);
}

.long:hover ~ .short {
  width: 35%;
}

#shopcenter {
  width: 91vw;
  margin: 40px auto;
  display: flex;
  gap: 20px;
  padding: 20px;
}

#shopcenter > div {
  margin: 10px;
}

#sortby {
  display: flex;
  margin: 0px 40px;
  width: 92%;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

#showFilters {
  background-color: #1d2c63;
  color: white;
  height: 100%;
  width: 500px;
  cursor: pointer;
  padding: 20px 10px;
  font-family: "areakilo", sans-serif;
  border: 1px solid black;
  display: none;
}

#showFilters:hover {
  background-color: #5066b6;
  transform: scale(1.03);
}

#hideFilters {
  background-color: #1d2c63;
  color: white;
  height: auto;
  width: calc(100% - 30px);
  cursor: pointer;
  padding: 10px;
  font-family: "areakilo", sans-serif;
  border: 1px solid black;
  display: none;
  font-size: 20pt;
  border-radius: 0;
}

#hideFilters:hover {
  background-color: #5066b6;
  transform: scale(1.03);
}

input[type=checkbox] {
  border: 2.5px solid #5066b6;
}

input[type=checkbox]::before {
  background: rgba(80, 102, 255, 0.5);
}

.checkbox-item {
  display: flex;
  gap: 0.5em;
  border-radius: 5px;
}

.checkbox-item label {
  font-family: "swanbold", sans-serif;
  font-size: 1.1em;
}

#categories {
  width: 30%;
  background: rgba(0, 0, 0, 0.2);
  text-align: left;
  padding: 20px 10px;
  margin: 0;
  background-color: #0f0f0f;
  border: 3px solid #333;
}

.filter-group {
  border: 3px solid black;
  background: rgba(0, 0, 0, 0.3);
  padding: 1px;
}

#categories > *, #categories > * > * {
  font-family: "swanbold", sans-serif;
  margin: 15px;
}

#categories hr {
  border: 3px solid black;
  margin: 40px 20px;
}

#categories > h4 {
  color: #7b90db;
  font-size: 15pt;
  margin: 30px 15px 0;
  padding: 10px;
  border: 3px solid black;
  background: rgb(0, 0, 0);
  font-family: "areakilo", sans-serif;
  letter-spacing: 1.2px;
}

#categories > h2 {
  letter-spacing: 2px;
  font-size: 20pt;
  margin-bottom: 40px;
  padding: 10px;
  border: 3px solid black;
  background: rgb(0, 0, 0);
  color: #5066b6;
  font-family: "areakilo", sans-serif;
}

#selection {
  background-color: #222;
  padding: 0 15px;
  margin-left: 45%;
  position: relative;
  color: #5066b6;
  border: 3px solid black;
  border-radius: 0;
  font-size: 12pt;
  border: none;
  font-family: "areakilo", sans-serif;
  width: 350px;
  height: 50px;
  transition: 0.3s ease-in-out;
}

#selection option {
  background-color: #333;
  color: #7b90db;
  font-family: "areakilo", sans-serif;
}

#combined {
  width: 85%;
  background-color: #0f0f0f;
  border: 3px solid #333;
  padding: 20px;
}

#mainshop, #pagination {
  min-height: 10vh;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 20px;
  gap: 10px;
  margin-top: 10px;
}

#mainshop {
  justify-content: start;
}

#pagination {
  margin: 0;
}

#counted {
  font-weight: bold;
  font-family: "swanbold", sans-serif;
  font-size: 11pt;
}

#cart {
  height: 30px;
  width: auto;
  cursor: pointer;
  position: relative;
  transition: 0.3s ease-in-out;
}

#cart:hover {
  transform: scale(1.1);
}

#cart:hover ~ #cart-count {
  transform: translate(20px, -10px) scale(1.1);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  /* Handles highlights */
  .boxes {
    display: flex;
    flex-direction: column;
    height: 600px;
    margin: 0 auto;
    width: 100%;
  }
  .boxes > div h2 {
    font-size: 30pt;
  }
  .boxes > div {
    margin: 15px auto;
    height: 150px;
    box-shadow: inset 0 0 0 1px black;
    width: 90%;
  }
  .boxes > div:hover {
    width: 90% !important; /* Slightly adjusted width */
    transform: scale(1.03);
  }
  .short, .long {
    width: 90% !important;
  }
  .short:hover, .long:hover {
    width: 90% !important;
    transform: scale(1.03);
  }
  .boxes:nth-of-type(2) {
    flex-direction: column-reverse;
  }
  /* Handles filters */
  #categories {
    opacity: 0;
    padding: 10px;
    width: 83vw;
    height: 90vh;
    z-index: 300;
    position: fixed;
    top: 2.5vh;
    left: -100%;
    overflow-y: auto;
    transition: 0.5s ease-in-out;
    box-shadow: 0 0 60px 60px rgba(0, 0, 0, 0.5);
  }
  #categories.active {
    left: 5vw;
    opacity: 1;
  }
  #categories > h2 {
    font-size: 30pt;
  }
  #categories > h4 {
    font-size: 28pt;
  }
  .checkbox-item input {
    height: 25pt;
    width: 25pt;
    border: 4px solid #5066b6;
  }
  .checkbox-item label {
    font-size: 19pt;
  }
  #showFilters {
    display: block;
    margin-top: 10px;
    font-size: 30pt;
  }
  #selection {
    font-size: 30pt;
    padding: 20px 10px;
    height: auto;
  }
  /* Handles main shop */
  #combined {
    padding: 20px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
  }
  #sortby {
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
    margin-top: 20px;
    justify-content: center;
    align-items: center;
  }
  #sortby > * {
    margin: 0 auto;
    width: 100%;
  }
  #sortby {
    width: 80%;
    margin: 10px auto;
  }
  #counted {
    display: none;
  }
  #mainshop {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    margin-top: 5px;
  }
  #pagination {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 20px;
  }
  #shopcenter {
    padding: 0;
  }
}
@media (max-width: 600px) {
  #shopcenter {
    flex-direction: column;
    width: 100%;
    gap: 15px;
  }
  #categories.active {
    left: 2.5vw;
    opacity: 1;
  }
  #combined {
    width: 94vw;
  }
  #pagination {
    margin-top: 10px;
  }
  #mainshop {
    justify-content: center;
  }
  #showFilters {
    margin-top: 10px;
  }
}

/*# sourceMappingURL=shop.css.map */
