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

body {
  background-color: #0d192b;
  width: 100vw;
  height: fit-content;
}

body #card {
  max-height: 100%;
  min-height: 0;
  width: 88%;
  max-width: 340px;
  background-color: #14253d;
  padding: 25px;
  border-radius: 1rem;
  /* Hack to center div without flexbox */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.6rem;
  box-shadow: 0 2rem 5px 1rem #00000020;
}

#panels-space {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

#panels-space .panel {
  min-width: 6.5rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

#main-image-frame {
  width: 100%;
  height: fit-content;
  position: relative;
}

#main-image-frame #main-image {
  max-width: 100%;
  border-radius: 0.5rem;
}

#main-image-frame #cover {
  width: 100%;
  aspect-ratio: 1;
  background-color: rgba(0, 255, 247, 0);
  border-radius: .5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* Hack to center div without flexbox */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: 0.3s ease;
  opacity: 0;
}

#main-image-frame #cover:hover {
  background-color: rgba(0, 255, 247, 0.5);
  opacity: 1;
}

.normal-text {
  font-family: "Outfit", sans-serif;
  font-weight: 300;
  color: #8bacda;
}

#title-text {
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  color: white;
  font-size: 1.3rem;
}

#body-text {
  font-size: 18px;
  line-height: 1.5rem;
}

p span {
  font-weight: 400;
  color: white;
}

#price {
  font-size: 18px;
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  color: #00fff7;
}

hr {
  width: 100%;
  color: #2f415b;
}

#avatar-info {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  height: 2rem;
}

#avatar-info img {
  max-height: 100%;
  border: 1px solid white;
  border-radius: 50%;
}

#avatar-info p {
  margin-left: 20px;
}
