@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600&family=Playfair+Display+SC:wght@700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  font-family: "Outfit", sans-serif;
  font-size: 18px;
}

main {
  height: 100vh;
  background-color: hsl(217, 54%, 11%);
}
main .card {
  width: 19.4rem;
  padding: 1.35rem;
  background-color: hsl(216, 50%, 16%);
  border-radius: 0.8rem;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}
main .card .img-box {
  width: 100%;
  height: 16.85rem;
  background-image: url("images/image-equilibrium.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 0.5rem;
  cursor: pointer;
  position: relative;
}
main .card .img-box .view-box {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border-radius: 0.5rem;
  background-color: hsl(178, 100%, 50%);
  opacity: 0;
}
main .card .img-box img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
}
main .card .img-box:hover .view-box {
  opacity: 0.5;
}
main .card .img-box:hover img {
  opacity: 1;
}
main .card .img-box .hide {
  display: none;
}
main .card .info-box {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}
main .card .info-box h3 {
  color: hsl(0, 0%, 100%);
  cursor: pointer;
}
main .card .info-box h3:hover {
  color: hsl(178, 100%, 50%);
}
main .card .info-box p {
  font-weight: 300;
  color: rgba(139, 172, 218, 0.8);
}
main .card .info-box .price-time {
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
}
main .card .info-box .price-time .price {
  color: hsl(178, 100%, 50%);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
}
main .card .info-box .price-time .time {
  color: hsl(215, 51%, 70%);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
}
main .card .info-box .line {
  background-color: hsl(215, 32%, 27%);
  height: 1px;
}
main .card .info-box .author {
  margin-top: -0.4rem;
  color: hsl(215, 51%, 70%);
  font-size: 0.9rem;
  font-weight: 300;
  display: flex;
  align-items: center;
}
main .card .info-box .author a {
  text-decoration: none;
  color: hsl(0, 0%, 100%);
}
main .card .info-box .author a:hover {
  color: hsl(178, 100%, 50%);
}
main .card .info-box .author img {
  width: 2rem;
  border: 1px solid hsl(0, 0%, 100%);
  border-radius: 50%;
  margin-right: 1rem;
}

.attribution {
  font-size: 11px;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
}
.attribution a {
  color: hsl(228, 45%, 44%);
}

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