:root {
  /* Primary Colors */
  --Soft-blue: hsl(215, 51%, 70%);
  --Cyan: hsl(178, 100%, 50%);
  
  /* Neutral Colors */
  --Very-dark-blue-main: hsl(217, 54%, 11%);
  --Very-dark-blue-card: hsl(216, 50%, 16%);
  --Very-dark-blue-line: hsl(215, 32%, 27%);
  --White: hsl(0, 0%, 100%);
}

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

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--Very-dark-blue-main);
  color: var(--Soft-blue);
  font-size: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 1.5rem;
}

a {
  text-decoration: none;
  transition: color 0.3s ease;
}

.card {
  background-color: var(--Very-dark-blue-card);
  padding: 1.5rem;
  border-radius: 15px;
  max-width: 350px;
  width: 100%;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.card-image-container {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  margin-bottom: 1.5rem;
}

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

/* Active State: Image Overlay */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: hsla(178, 100%, 50%, 0.5); /* Cyan with opacity */
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card-image-container:hover .overlay {
  opacity: 1;
}

.card-content {
  margin-bottom: 1.5rem;
}

.title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.title a {
  color: var(--White);
}

/* Active State: Title Hover */
.title a:hover {
  color: var(--Cyan);
}

.description {
  font-weight: 300;
  line-height: 1.4;
  margin-bottom: 1.5rem;
}

.stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price {
  color: var(--Cyan);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.time {
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-footer {
  display: flex;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--Very-dark-blue-line);
}

.avatar {
  width: 32px;
  height: 32px;
  border: 1px solid var(--White);
  border-radius: 50%;
  margin-right: 1rem;
}

.card-footer p {
  font-weight: 300;
}

.creator {
  color: var(--White);
}

/* Active State: Creator Name Hover */
.creator:hover {
  color: var(--Cyan);
}

.attribution {
  font-size: 11px;
  text-align: center;
  color: var(--Soft-blue);
  margin-top: 2rem;
}

.attribution a {
  color: var(--Cyan);
}