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

html {
  /* font */
  font-family: "Outfit", serif;
  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-bold: 600;
  --font-size-regular: 0.8rem;
  /* colors */
  --dark-blue-bg: hsl(217, 54%, 11%);
  --dark-blue-card: hsl(216, 50%, 16%);
  --dark-blue-text: hsl(215, 32%, 27%);
  --light-blue-text: hsl(215, 51%, 70%);
  --cyan-text: hsl(178, 100%, 50%);
}

body {
  width: 100%;
  height: 100vh;
  display: grid;
  place-content: center;
  background-color: var(--dark-blue-bg);
}

li {
  list-style-type: none;
  color: var(--light-blue-text);
}

/* card styling */
.nft-card {
  height: 550px;
  width: 325px;
  background-color: var(--dark-blue-card);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 2px 5px 7px rgba(0, 0, 0, 0.2);
}

li h3 {
  color: white;
  font-weight: var(--font-weight-bold);
  cursor: pointer;
}

.card-content {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.main-img {
  width: 100%;
  height: auto;
  position: relative;
  cursor: pointer;
  display: grid;
}

.main-img img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  display: block;
}

.info {
  display: flex;
  height: auto;
  width: 100%;
  padding: 10px 0;
}

.left {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 5px;
}
.left p {
  color: var(--cyan-text);
  font-weight: var(--font-weight-bold);
}

.right {
  display: flex;
  width: 50%;
  margin-left: auto;
  align-items: center;
  gap: 5px;
}

.author {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 0;
  border-top: 1px solid var(--dark-blue-text);
}
.author img {
  height: 35px;
  border: 1px solid white;
  border-radius: 50%;
}
.author span {
  color: white;
  cursor: pointer;
}

.overlay-icon {
  position: absolute;
  transform: scale(0.15);
  opacity: 0;
  z-index: 10;
  transition: opacity 0.3s ease;
}

/* active states */
li h3:hover {
  color: var(--cyan-text);
}

.author span:hover {
  color: var(--cyan-text);
}

.main-img::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--cyan-text);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 10px;
}

.main-img:hover::after {
  opacity: 0.5;
}

.main-img:hover .overlay-icon {
  opacity: 1;
}/*# sourceMappingURL=style.css.map */