@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap");
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  font-size: 62.5%;
}

:root {
  --white: #FFF;
  --grey-900: #48556A;
  --grey-500: #6E8098;
  --grey-400: #9DAEC2;
  --grey-200: #ECF2F8;
  --spacing-0: 0;
  --spacing-200: 1.6rem;
  --spacing-250: 1.8rem;
  --spacing-300: 2.4rem;
  --spacing-400: 3.2rem;
  --spacing-450: 3.8rem;
  --spacing-500: 4rem;
  --spacing-600: 4.8rem;
  --spacing-700: 5.6rem;
  --spacing-800: 6.4rem;
  --spacing-1300: 10.4rem;
  --spacing-2000: 16rem;
}

.card__content h1 {
  font-size: 2rem;
  font-weight: 700;
  font-family: "Manrope", sans-serif;
  font-style: normal;
  letter-spacing: 0.25px;
  line-height: 130%;
}

.date, .card__content p {
  font-size: 1.3rem;
  font-weight: 500;
  font-family: "Manrope", sans-serif;
  font-style: normal;
  letter-spacing: 0.12%;
  line-height: 140%;
}

.user__name {
  font-size: 1.3rem;
  font-weight: 700;
  font-family: "Manrope", sans-serif;
  font-style: normal;
  letter-spacing: 0.12%;
  line-height: 140%;
}

.share-toaster span {
  font-size: 1.3rem;
  font-weight: 500;
  font-family: "Manrope", sans-serif;
  font-style: normal;
  letter-spacing: 25%;
  line-height: 140%;
}

.user__name, .card__content h1 {
  color: #48556A;
}

.card__content p {
  color: #6E8098;
}

.share-toaster span, .date {
  color: #9DAEC2;
}

main {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: var(--grey-200);
}

.card {
  display: flex;
  flex-direction: row;
  gap: var(--spacing-500);
  justify-content: flex-start;
  align-items: center;
  min-height: 28rem;
  max-width: 73rem;
  width: 100%;
  background-color: var(--white);
  box-shadow: 0 40px 40px -10px rgba(201, 213, 225, 0.5019607843);
  border-radius: 1rem;
  margin-inline: 1.6rem;
  position: relative;
}
.card__image {
  display: inline-block;
  width: 28.5rem;
  height: 28rem;
}
.card__image img {
  border-radius: 1rem 0 0 1rem;
  width: 100%;
  height: 100%;
}
.card__content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-300);
  justify-content: flex-start;
  align-items: flex-start;
  max-width: 36.5rem;
  min-height: 22rem;
}
.card__footer {
  display: flex;
  flex-direction: row;
  gap: var(--spacing-2000);
  justify-content: center;
  align-items: center;
}

.user {
  display: flex;
  flex-direction: row;
  gap: var(--spacing-200);
  justify-content: center;
  align-items: center;
}
.user__avatar {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
}
.user__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.share-btn {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  border: none;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  cursor: pointer;
}

.share-toaster {
  display: none;
  max-width: 24.8rem;
  width: 100%;
  position: absolute;
  right: 0;
  transform: translateX(27%);
  bottom: 9rem;
}
.share-toaster .container {
  display: flex;
  flex-direction: row;
  gap: var(--spacing-300);
  justify-content: center;
  align-items: center;
  padding: var(--spacing-250) var(--spacing-450);
  background-color: var(--grey-900);
  border-radius: 1rem;
  position: relative;
}
.share-toaster .container::after {
  content: "";
  width: 2.4rem;
  height: 1.2rem;
  background-color: var(--grey-900);
  position: absolute;
  bottom: -1.1rem;
  clip-path: polygon(0% 0%, 50% 100%, 100% 0%);
}
.share-toaster span {
  text-transform: uppercase;
}
.share-toaster__links {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex-basis: 100%;
}

.mobile-share-btn {
  display: none;
}

@media only screen and (max-width: 56.25em) {
  .card {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-400);
    justify-content: flex-start;
    align-items: center;
    max-width: 32.7rem;
    min-height: 53.8rem;
    position: relative;
  }
  .card__image {
    max-width: inherit;
    width: 100%;
    max-height: 20rem;
  }
  .card__image img {
    border-radius: 1rem 1rem 0 0;
  }
  .card__content {
    min-height: 28.8rem;
    max-width: 26.7rem;
    gap: 0;
  }
  .card__content h1 {
    margin-bottom: var(--spacing-300);
  }
  .card__content p {
    margin-bottom: var(--spacing-600);
  }
  .card__footer {
    width: 100%;
    gap: var(--spacing-800);
  }
  .card__footer .share-toaster {
    max-width: 32.7rem;
    bottom: 0;
    left: 0;
    transform: translateX(0);
  }
  .card__footer .share-toaster .container {
    gap: 0;
    border-radius: 0 0 1rem 1rem;
  }
  .card__footer .share-toaster .container span {
    margin-right: var(--spacing-300);
  }
  .card__footer .share-toaster .container::after {
    display: none;
  }
  .share-toaster__links {
    margin-right: var(--spacing-800);
  }
  .mobile-share-btn {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 3.2rem;
    width: 3.2rem;
    flex-shrink: 0;
    border-radius: 50%;
    border: none;
    cursor: pointer;
  }
}

/*# sourceMappingURL=style.css.map */
