/*====HERO====*/
.hero_hero {
  height: calc(100vh - var(--nav-height));
}

.hero_text {
  background-color: var(--blue);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: calc(100vh - var(--nav-height) - 100px);
}

.hero_text img {
  height: 128px;
}

.hero_text h1 {
  font-size: 64px;
}

.hero_ad_d,
.hero_ad_m {
  margin-top: auto;
  margin-bottom: 10px;
}

/*====SHOP BY CATEGORY & CONDITION====*/
.category-container,
.condition-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.category-container,
.pill {
  transition: all 0.4s;
}

.card {
  background-color: var(--grey);
  padding: 1rem;
  border-radius: 12px;
  width: 200px;
  height: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  color: var(--blue);
}

.pill {
  padding: 9px 20px;
  margin: 12px;
  border-radius: 12px;
  color: white;
}

.pill:hover,
.category-container :hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.card p,
.pill p {
  margin-top: auto;
  font-family: var(--font1);
  font-weight: bold;
}

.card i {
  font-size: 80px;
}

a {
  text-decoration: none;
  color: var(--blue);
}

.preowned {
  background-color: var(--blue);
}

.used {
  background-color: var(--green);
}

.forparts {
  background-color: var(--yellow);
}

.damaged {
  background-color: var(--red);
}

.untested {
  background-color: var(--grey);
}

/*====LIST ITEM====*/
.listitem {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}
.button-group {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

/*====RESPONSIVE====*/
@media (max-width: 768px) {
  .hero_text {
    height: calc(100vh - var(--nav-height) - 110px);
  }
}

@media (max-width: 580px) {
  .hero_text img {
    height: 110px;
  }

  .hero_text h1 {
    font-size: 55px;
  }
}

@media (min-width: 769px) {
}
