@import url(./styles.css);
.sr-only {
  width: 0;
  height: 0;
  position: absolute;
  overflow: hidden;
}
main {
  display: grid;
  place-content: center;
  min-height: 100vh;
  background-color: var(--light-grayish-blue);
}
.card {
  box-shadow: rgba(17, 12, 46, 0.15) 0 3rem 6.25rem 0;
  width: 20.375rem;
  height: 31.875rem;
  border: 0.063rem solid transparent;
  position: relative;
  border-radius: 0.5rem;
  background-color: white;
}
/* HEADER */
.card-header {
  border-radius: 0.5rem 0.5rem 0 0;
  overflow: hidden;
  height: 12.5rem;
}
/* BODY */
.card-body {
  padding: 1.938rem;
}
.card-body h2 {
  margin-block-start: 0.125rem;
  font-size: 1rem;
  line-height: 1.5rem;
  letter-spacing: 0.006rem;
  font-weight: 700;
  color: var(--very-dark-grayish-blue);
}
.card-body p {
  margin-block-start: 0.875rem;
  font-size: 0.831rem;
  line-height: 1.25rem;
  color: var(--desaturated-dark-blue);
  font-weight: 500;
}
/* FOOTER */
.card-footer {
  padding: 0 1.75rem;
}
.card-footer--author {
  display: flex;
}

.card-footer--author .avatar {
  border-radius: 50%;
  width: 2.563rem;
  margin-inline-end: 1.063rem;
}
.card-footer--author h2 {
  letter-spacing: 0.038;
  line-height: 1.25rem;
  font-size: 0.75rem;
  color: var(--very-dark-grayish-blue);
  font-weight: 700;
}
.card-footer--author h2 span {
  font-size: 0.75rem;
  color: var(--grayish-blue);
  font-weight: 500;
}
.attribution {
  position: absolute;
  transform: translate(-50%, 50%);
  bottom: 5%;
  left: 50%;

  font-size: 1rem;
  text-align: center;
}
.attribution a {
  color: hsl(228, 45%, 44%);
}
ion-icon {
  filter: var(--primaryFilter);
  pointer-events: none;
}
ion-button {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: absolute;
  bottom: -0.313rem;
  transform: translate(0, -50%);
  right: 2rem;
  width: 2.188rem;
  height: 2.188rem;
  font-size: 1.125rem;
  border-radius: 50%;
  padding: 0.375rem;
  background-color: var(--light-grayish-blue);
}
.footer-share {
  display: flex;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3.75rem;
  align-items: center;
  padding: 1.25rem 1.75rem;
  border-radius: 0 0 0.5rem 0.563rem;
  background-color: var(--very-dark-grayish-blue);
}
.footer-share h2 {
  font-size: 0.813rem;
  color: var(--grayish-blue);
  margin-inline-end: 1.125rem;
  text-transform: uppercase;
  letter-spacing: 0.313rem;
  pointer-events: none;
}
.footer-share-icons {
  display: flex;
  gap: 1.125rem;
}
.footer-share .facebook {
  content: url(../images/icon-facebook.svg);
}
.footer-share .twitter {
  content: url(../images/icon-twitter.svg);
}
.footer-share .pinterest {
  content: url(../images/icon-pinterest.svg);
}
