body {
  display: flex;
  min-height: 100vh;
  justify-content: center;
  align-items: center;
  font-size: 13px;
  font-family: "Manrope", sans-serif;
  background-color: hsl(210, 46%, 95%);
  color: hsl(217, 19%, 35%);
}

main {
  width: 70%;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  background-color: white;
  height: auto;
  max-width: 100em;
  border-radius: 10px;
}

.drawers-img {
  width: 40%;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 10px 0 0 10px;
}

.card-content {
  flex: 1;
  width: 70%;
  padding: 1em 3em;
}

.card-content > h1 {
  font-size: 20px;
}

.card-content p {
  font-weight: 200;
  color: hsl(217, 19%, 35%);
}

.avatar-img {
  border-radius: 50%;
  width: 3.5em;
  height: 3.5em;
}

.user-info-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 1em;
}

#share-button {
  background-color: hsl(210, 46%, 95%);
  border: none;
  padding: 1em;
  border-radius: 50%;
}

.social-links {
  display: none;
  position: absolute;
  right: -8em; /* Align with share button */
  bottom: 5em; /* Adjust as needed to appear above the button */
  background: hsl(217, 19%, 35%);
  color: hsl(212, 23%, 69%);
  border-radius: 10px;
  padding: 0 1em;
  gap: 1.5em;
  z-index: 10;
}

.social-links h3 {
  color: hsl(212, 23%, 69%);
  letter-spacing: 0.5em;
  line-height: 130%;
  font-size: 13px;
}

.social-links button {
  padding: 0.3em;
  border-radius: 50%;
  border: none;

  background-color: hsl(217, 19%, 35%);
}

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

.social-links::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 100%;
  width: 0;
  height: 0;
  border-width: 10px 10px 0 10px;
  border-style: solid;
  border-color: hsl(217, 19%, 35%) transparent transparent transparent;
}

@media screen and (max-width: 1050px) {
  main {
    width: 80%;
  }
}

@media screen and (max-width: 600px) {
  main {
    width: 80%;
    flex-direction: column;
    overflow: hidden;
  }

  .drawers-img {
    width: 100%;
    border-radius: 10px 10px 0 0;
  }

  .social-links::after {
    border: none;
  }

  .social-links {
    position: absolute;
    width: 150%;
    height: 0;
    right: -6em; /* Align with share button */
    bottom: -1em;
    border-radius: 10px 10px 0 0;
    justify-content: center;
    margin: 0;
    height: 100%;
  }
}
