* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  font-family: "Outfit", sans-serif;
  background-color: hsl(217, 54%, 11%);
  display: flex;
  justify-content: center;
  align-items: center;
  block-size: 100vh;
}

.card {
  inline-size: clamp(32.4rem, 70vw, 34.6rem);
  block-size: clamp(53.9rem, 70vw, 59.2rem);
  background-color: hsl(216, 50%, 16%);
  border-radius: 1.6rem;
  padding: 2.3rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.card__image-container {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
}
.card__image {
  inline-size: 100%;
}
.card__overlay {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: hsl(178, 100%, 50%);
  opacity: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.card__overlay:hover {
  opacity: 0.6;
}
.card__overlay-image {
  width: 4.4rem;
  height: 4rem;
}
.card__content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border-block-end: 0.1rem solid hsla(215, 52%, 70%, 0.434);
  padding-block-end: 1.5rem;
}
.card__title {
  color: hsl(0, 0%, 100%);
  font-size: 2.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.3s ease;
}
.card__title:hover {
  color: hsl(178, 100%, 50%);
}
.card__description {
  color: hsl(215, 51%, 70%);
  font-size: clamp(1.5rem, 5vw, 1.8rem);
}
.card__details {
  display: flex;
  gap: 8rem;
}
.card__price-group, .card__time-group {
  display: flex;
  gap: 1rem;
  inline-size: 100%;
}
.card__price {
  font-size: 1.5rem;
  color: hsl(178, 100%, 50%);
  font-weight: 600;
}
.card__time {
  color: hsl(215, 51%, 70%);
  font-size: 1.5rem;
}
.card__footer {
  display: flex;
  gap: 1.3rem;
  align-items: center;
}
.card__avatar {
  inline-size: 3.4rem;
  border: 0.1rem solid hsl(0, 0%, 100%);
  border-radius: 100%;
}
.card__creator {
  font-size: 1.5rem;
  color: hsl(215, 51%, 70%);
  font-weight: 300;
}
.card__creator-name {
  color: hsl(0, 0%, 100%);
  cursor: pointer;
  transition: color 0.3s ease;
}
.card__creator-name:hover {
  color: hsl(178, 100%, 50%);
}

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