a {
  text-decoration: none;
}

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

ul {
  list-style: none;
}

body {
  font-family: "Outfit", sans-serif;
  font-size: 18px;
  background-color: hsl(217, 54%, 11%);
  color: hsl(0, 0%, 100%, 60%);
  padding: 1.25rem;
}

.container {
  background-color: #14253d;
  padding: 1.25rem;
  border-radius: 0.5rem;
}

@media (min-width: 500px) {
  .container {
    margin: 0 auto 1rem;
    width: 450px;
  }
}

.main-image {
  position: relative;
}

.main-image img {
  max-width: 100%;
  margin-bottom: 1rem;
  z-index: 1;
}

.view {
  position: absolute;
  top: 0;
  width: 100%;
  height: calc(100% - 20px);
  background-color: hsl(178, 100%, 50%, 60%);
  z-index: 99;
  opacity: 0;
  transition: 0.3s ease-in-out;
}

.main-image:hover .view {
  opacity: 1;
  cursor: pointer;
}

.view img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.info h2 {
  color: white;
  margin-bottom: 0.5rem;
  transition: 0.3s;
  cursor: pointer;
}

.info h2:hover {
  color: hsl(178, 100%, 50%);
}

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

.eth {
  color: hsl(178, 100%, 50%);
}

.eth,
.time {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.creator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.creator img {
  width: 3.5rem;
  border: 2px solid white;
  border-radius: 50%;
  margin-right: 1rem;
}

.creator span {
  color: white;
  cursor: pointer;
  transition: 0.3s;
}

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