@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@200;300;400;500&display=swap");
:root {
  --Soft-Blue: hsl(215, 51%, 70%);
  --Cyan: hsl(178, 100%, 50%);
  --Main-BG: hsl(217, 54%, 11%);
  --Card-BG: hsl(56, 51%, 16%);
  --Line: hsl(215, 32%, 27%);
  --White: hsl(0, 0%, 100%);

  --White: hsl(0, 0%, 100%);
  --Light-Grey: hsl(217, 12%, 63%);
  --Medium-Grey: hsl(216, 12%, 54%);
  --Dark-Blue: hsl(213, 19%, 18%);
  --Very-Dark-Blue: hsl(216, 12%, 8%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--Main-BG);
  font-family: "Outfit", sans-serif;
}

.container {
  background: var(--Dark-Blue);
  max-width: 20rem;
  max-height: 35rem;
  overflow: hidden;
  border-radius: 0.8rem;
  padding: 1.5rem;
  margin: 5rem auto;
  color: var(--Light-Grey);
  box-shadow: 0 0 0.2rem 0.5rem rgba(0, 0, 0, 0.1);
}

.img-overlay {
  width: 100%;
  height: 270px;
  background: var(--Cyan);
  border-radius: 0.3rem;
}

.img-overlay > .nft-image {
  width: 100%;
  border-radius: 0.3rem;
}

.img-overlay > .view-icon {
  position: absolute;
  margin: 100px -160px;
  display: none;
}

a {
  text-decoration: none;
  color: white;
}

.details {
  margin: 20px 0;
}

.details > h1 {
  font-size: 1.2rem;
}

.description {
  margin: 20px 0;
}

.additional-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.price,
.time {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.price p {
  color: var(--Cyan);
}

hr {
  font-size: 0.06rem;
  color: var(--Light-Grey);
}

.author {
  display: flex;
  margin: 1.2rem 0;
  gap: 1.5rem;
}

.author img {
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid white;
  border-radius: 50%;
}

.author p {
  margin: 0.3rem 0;
}

.img-overlay:is(:hover, :focus) > .view-icon {
  display: inline;
  cursor: pointer;
}

.nft-image:hover {
  opacity: 0.5;
  cursor: pointer;
}

h1 > a:hover {
  color: var(--Cyan);
}

.author span > a:hover {
  color: var(--Cyan);
}
