@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap");
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Outfit", serif;
  min-height: 100vh;
  width: 100%;
  background-color: hsl(217, 54%, 11%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: hsl(215, 51%, 70%);
}

.product {
  background-color: hsl(216, 50%, 16%);
  border-radius: 1.2rem;
  padding: 1.5rem;
  width: 90%;
  max-width: 350px;
}
.product__img-container {
  display: inline-block;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border-radius: 0.8rem;
}
.product__overlay {
  cursor: pointer;
  border-radius: 0.8rem;
  position: absolute;
  bottom: -100%;
  width: 100%;
  height: 100%;
  background: rgba(0, 255, 247, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: hsl(0, 0%, 100%);
  transition: bottom 0.3s ease-in-out;
}
.product__img-container:hover .product__overlay {
  bottom: 0;
}
.product__img {
  display: block;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 0.8rem;
}
.product__details {
  margin-block: 1.4rem;
}
.product__name {
  cursor: pointer;
  margin-block-end: 0.9rem;
  color: hsl(0, 0%, 100%);
  transition: color 0.4s ease;
}
.product__name:hover {
  color: hsl(178, 100%, 50%);
}
.product__description {
  line-height: 1.5;
  margin-block-end: 1rem;
}
.product__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
}
.product__meta-item {
  list-style-type: none;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
}
.product__meta-item--price {
  font-weight: 600;
  color: hsl(178, 100%, 50%);
}
.product__meta-icon {
  margin-inline-end: 0.5rem;
}
.product__divider {
  color: hsl(215, 32%, 27%);
  margin-block-end: 1.2rem;
}
.product__author {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
}
.product__author-img {
  width: 50px;
  height: auto;
  border: 2px solid hsl(0, 0%, 100%);
  border-radius: 50%;
  -o-object-fit: contain;
     object-fit: contain;
  margin-inline-end: 1.5rem;
}
.product__author-text--bold {
  color: hsl(0, 0%, 100%);
  cursor: pointer;
  transition: color 0.4s ease;
}
.product__author-text--bold:hover {
  color: hsl(178, 100%, 50%);
}/*# sourceMappingURL=main.css.map */