#home {
  background-image: url("../img/back.png");
  background-color: #2a2a2a;
  color: #ffffff;
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top 60px center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

#categories .one img {
  width: 100%;
  height: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

#categories .one .details {
  color: #ffffff;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  transition: 0.3s ease;
}

#categories .one:hover .details {
  cursor: pointer;
  background-color: var(--main-color-btn-hover);
}

#categories .one .details button {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  background: none;
  text-transform: none;
  border-bottom: 1px solid #2a2a2a;
  padding: 2.5px;
  transform: translateY(70px);
  transition: 0.3s ease;
    background-color: rgba(37, 37, 37, 0.5);
}

#categories .one .details button:hover {
  color: #ffffff;
  border-bottom: 1px solid #ffffff;
}

#categories,
.one:nth-child(1),
.one:nth-child(2),
.one:nth-child(3),
.details {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.product {
  cursor: pointer;
  margin-bottom: 2rem;
}

.product img {
  transition: 0.3s all;
}

.product:hover img {
  opacity: 0.7;
}

.product .buy-btn {
  background: var(--main-color);
  transform: translateY(20px);
  opacity: 0;
  border-radius: 0.3rem;
  transition: 0.3s all;
}
.product:hover .buy-btn {
  transform: translateY(0px);
  opacity: 1;
}

.product .buy-btn:hover {
  background-color: var(--main-color-btn-hover);
}

.stars {
  padding: 10px 0;
}

.stars i {
  font-size: 00.8rem;
  color: var(--stars-color);
}

#parallaxBanner {
  background-image: url("../img/back.png");
  width: 100%;
  height: 60vh;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top 70px center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  background-attachment: fixed;
}

#parallaxBanner h4 {
  color: #d8d8d8;
}

#parallaxBanner h1 {
  color: white;
}

#parallaxBanner button {
  background-color: var(--main-color);
  color: white;
}

#parallaxBanner button:hover {
  background-color: var(--main-color-btn-hover);
}

@media (max-width: 600px) {
  #home {
    background-color: #2a2a2a;
    background-image: url(https://wallpaperaccess.com/full/1129028.jpg);
  }
  #parallaxBanner {
    background-image: url(https://wallpaperaccess.com/full/1129028.jpg);
  }
}

@media (min-width: 601px) and (max-width: 992px) {
  #home {
    background-color: #2a2a2a;
    background-image: url(https://wallpaperaccess.com/full/1129028.jpg);
  }
  #parallaxBanner {
    background-image: url(https://wallpaperaccess.com/full/1129028.jpg);
  }
}

@media (min-width: 993px) {
  .home {
    display: none;
    background-color: #2a2a2a;
  }
}
