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

body {
  height: 100vh;
  font-family: "Outfit", sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1;
}

.header1 {
  font-size: 1.3rem;
}

.flexbox-column {
  display: flex;
  flex-direction: column;
}

.main {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: hsl(217, 54%, 11%);
  height: 100vh;
  width: auto;
  overflow: hidden;
}

.card {
  background-color: hsl(216, 50%, 16%);
  width: 20rem;
  height: 34rem;
  border-radius: 1rem;
}

.card__img {
  position: relative;
  margin: 1rem auto;
  width: 85%;
  height: 0; /* to make same as width */
  padding-bottom: 85%; /* to make same as width */
  background-image: url(../images/image-equilibrium.jpg);
  background-size: 100%;
  border-radius: 0.5rem;
}

.card__img--filter {
  width: 100%;
  height: 0; /* to make same as width */
  padding-bottom: 100%; /*to make same as width  */
  border-radius: 0.5rem;
  background-image: linear-gradient(
    to right,
    hsla(178, 100%, 50%, 0.5),
    hsla(178, 100%, 50%, 0.5)
  );
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  z-index: 100;
}

.card__img--filter:hover {
  opacity: 1;
  cursor: pointer;
}

.card__img:hover {
  cursor: pointer;
}

.card__img:hover .card__icon {
  opacity: 1;
}

.card__icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.card__coin-info {
  margin-bottom: 1rem;
}

.card__creation {
  border-top: 1px solid hsla(215, 52%, 70%, 0.2);
}

.description {
  align-self: center;
  width: 85%;
}

.description__title {
  align-self: flex-start;
  margin: 1.5rem 0;
  color: hsl(0, 0%, 100%);
}

.description__detail {
  color: hsl(215, 51%, 70%);
  font-size: 1rem;
  margin-bottom: 1.3rem;
  line-height: 1.5;
}

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

.coin-info__detail {
  display: flex;
  text-align: center;
  gap: 0.3rem;
  color: hsl(215, 51%, 70%);
  font-size: 1rem;
}

.coin-info__detail--highlight {
  color: hsl(178, 100%, 50%);
  font-weight: 400;
}

.creation {
  width: 85%;
  padding-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: start;
  align-self: center;
}

.creation__img {
  height: 2rem;
  width: auto;
  margin-right: 0.8rem;
  border: 1px solid hsl(215, 51%, 70%);
  border-radius: 50%;
}

.creation__text {
  color: hsl(215, 51%, 70%);
  font-size: 0.9rem;
}

.creation__text--highlight {
  color: hsl(0, 0%, 100%);
  font-weight: 400;
}

.footer {
  margin: 2rem auto;
}
