@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500&display=swap");
:root {
  --Soft-blue: hsl(215, 51%, 70%);
  --Cyan: hsl(178, 100%, 50%);
  --Very-dark-blue-main-BG: hsl(217, 54%, 11%);
  --Very-dark-blue-card-BG: hsl(216, 50%, 16%);
  --Very-dark-blue-line: hsl(215, 32%, 27%);
  --White: hsl(0, 0%, 100%);
}

* {
  font-family: "Outfit", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-size: 18px;
}

body {
  background-color: var(--Very-dark-blue-main-BG);
  display: grid;
  place-items: center;
  min-height: 100vh;
}

.container {
  width: 20rem;
  height: 100%;
  border-radius: 15px;
  padding: 1.25rem;
  margin: 3.125rem 0;
  background-color: var(--Very-dark-blue-card-BG);
  box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px,
    rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px,
    rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}

.container img,
.container .img {
  width: 100%;
  border-radius: 8px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
  position: relative;
}

.hover {
  cursor: pointer;
}

.container .hover .hover-effect {
  background-color: var(--Cyan);
  border-radius: 8px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 99%;
  opacity: 0;
  transition: opacity 0.5s;
}

.container .hover .hover-icon {
  background-image: url(images/icon-view.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 3em;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s;
}

.container .img:hover .hover-effect {
  opacity: 0.3;
}

.container .img:hover .hover-icon {
  opacity: 1;
}

.container .main-info,
.container .price {
  margin: 1rem 0 0.875rem 0.25rem;
}

.container .main-info h1 {
  color: white;
  font-size: 1.2em;
  padding-bottom: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
}

.container .main-info h1:hover {
  color: var(--Cyan);
}

.container .main-info p {
  color: var(--Soft-blue);
  font-weight: 300;
  padding-bottom: 0.75rem;
}

.container .price {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.container .price span:first-child {
  color: var(--Cyan);
  background-image: url(images/icon-ethereum.svg);
  background-repeat: no-repeat;
  background-size: 0.8125rem;
  padding-left: 1.25rem;
  flex: 50%;
}

.container .price span:last-child {
  color: var(--Soft-blue);
  background-image: url(images/icon-clock.svg);
  background-repeat: no-repeat;
  background-position: 35%;
  background-size: 1.25rem;
  flex: 50%;
  display: flex;
  justify-content: flex-end;
}

.container .main-info hr {
  border: 1px solid var(--Soft-blue);
  opacity: 0.2;
  margin: 1.875rem 0;
}

.container .profile {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.container .profile .profile-image {
  border-radius: 50%;
  border: 1px solid white;
  width: 2.5rem;
}

.container .profile span {
  margin-left: 0.9375rem;
}

.container .profile span:nth-child(2) {
  color: var(--Soft-blue);
}

.container .profile span:nth-child(3) {
  color: white;
  margin-left: 0.625rem;
  font-weight: 300;
  cursor: pointer;
}

.container .profile span:nth-child(3):hover {
  color: var(--Cyan);
}