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

body {
  font-family: 'Outfit', sans-serif;
  background-color: hsl(217, 54%, 11%);
  color: hsl(0, 0%, 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}

.card {
  background-color: hsl(216, 50%, 16%);
  border-radius: 15px;
  padding: 20px;
  width: 300px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.card-image {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.card-image img {
  width: 100%;
  display: block;
}

.card-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 255, 255, 0.5) url('./images/icon-view.svg') center no-repeat;
  opacity: 0;
  transition: opacity 0.3s;
}

.card-image:hover::after {
  opacity: 1;
}

.card-title {
  font-size: 1.5em;
  margin: 20px 0 15px;
  color: hsl(0%, 0%, 100%);
  transition: color 0.3s;
}

.card-title:hover {
  color: hsl(178, 100%, 50%);
}

.card-description {
  font-size: 0.9em;
  color: hsl(215, 51%, 70%);
  margin-bottom: 20px;
}

.card-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid hsl(215, 32%, 27% );
}

.card-price {
  color: hsl(178, 100%, 50%);
  font-size: 0.9em;
  display: flex;
  align-items: center;
}

.card-price img {
  width: 12px;
  height: 18px;
  margin-right: 5px;
}

.card-time {
  color: hsl(215, 51%, 70%);
  font-size: 0.9em;
  display: flex;
  align-items: center;
  /* justify-content: center; */
}

.card-time img {
  width: 15px;
  height: 15px;
  margin-right: 5px;
}

.card-creator {
  display: flex;
  align-items: center;
  font-size: 0.9em;
  color: hsl(215, 51%, 70%);
}

.card-creator img {
  width: 30px;
  height: 30px;
  border: 2px solid hsl(0, 0%, 100%);
  border-radius: 50%;
  margin-right: 10px;
}

.card-creator span {
  color: hsl(0, 0%, 100%);
  transition: color 0.3s;
}

.card-creator span:hover {
  color: hsl(178, 100%, 50%);
}

.attribution {
  margin-top: 20px;
  font-size: 11px;
  text-align: center;
  color: hsl(215, 51%, 70%);
}

.attribution a {
  color: hsl(228, 45%, 44%);
}