@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap");
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Box sizing reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin and padding */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
  padding: 0;
}

/* Remove list styles */
ul[role=list],
ol[role=list],
ul,
ol {
  list-style: none;
}

/* Remove default anchor styles */
a {
  text-decoration: none;
  color: inherit;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  line-height: 1.5;
  font-family: sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Media defaults */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Form elements inherit fonts */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove animations/transitions for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
body {
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: hsl(217, 19%, 35%);
  background-color: hsl(210, 46%, 95%);
}

main {
  min-height: 100vh;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.card {
  width: 327px;
  background-color: white;
  border-radius: 10px;
}

.card-header {
  height: 200px;
  overflow: hidden;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}
.card-header .card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 0% 25%;
}

.card-content {
  padding: 2.25rem 2.0625rem 1.25rem 2rem;
}
.card-content .card-title {
  margin-bottom: 0.75rem;
  color: hsl(217, 19%, 35%);
  font-size: 1rem;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: 0.2px;
}
.card-content .card-description {
  color: hsl(214, 17%, 51%);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 20px;
}

.card-footer {
  padding: 0.75rem 2rem 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.card-footer .author-informations {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.card-footer .author-informations .author-avatar {
  width: 2.5rem;
  height: 2.5rem;
  overflow: hidden;
  border-radius: 50%;
}
.card-footer .author-informations .metadata {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1875rem;
}
.card-footer .author-informations .metadata .author-name {
  color: hsl(217, 19%, 35%);
  font-size: 0.8125rem;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
.card-footer .author-informations .metadata .author-date {
  color: hsl(212, 23%, 69%);
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}
.card-footer .share-panel {
  display: none;
}
.card-footer .share-button {
  width: 2rem;
  height: 2rem;
  padding: 0.5625rem 0.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  border: none;
  border-radius: 50%;
  background-color: hsl(210, 46%, 95%);
  color: hsl(214, 17%, 51%);
  transition: color 0.15s ease, background-color 0.15s ease;
  cursor: pointer;
}
.card-footer .share-button:hover {
  background-color: hsl(214, 17%, 51%);
  color: white;
}
.card-footer.active {
  padding: 1rem 2rem 1rem 2rem;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
  background-color: hsl(217, 19%, 35%);
}
.card-footer.active .author-informations {
  display: none;
}
.card-footer.active .share-panel {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.card-footer.active .share-panel .share-label {
  color: hsl(212, 23%, 69%);
  font-size: 0.8125rem;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 0.3125rem;
  text-transform: uppercase;
}
.card-footer.active .share-panel .social-share {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.card-footer.active .share-button {
  background-color: hsl(214, 17%, 51%);
  color: white;
}
.card-footer.active .share-button:hover {
  background-color: hsl(210, 46%, 95%);
  color: hsl(214, 17%, 51%);
}

@media (min-width: 48em) {
  .card {
    width: 730px;
    display: flex;
    flex-shrink: 0;
  }
  .card-header {
    width: 100%;
    height: 17.5rem;
    border-top-right-radius: 0;
    border-bottom-left-radius: 10px;
  }
  .card-content {
    padding: 2rem 2.5rem 1.25rem 2.5rem;
  }
  .card-content .card-title {
    font-size: 1.25rem;
    font-style: normal;
    line-height: 1.75rem;
    letter-spacing: 0.01563rem;
  }
  .card-content .card-description {
    font-size: 0.8125rem;
    font-style: normal;
    font-weight: 600;
    line-height: 1.25rem;
  }
  .card-footer {
    position: relative;
    padding: 0rem 2.5rem 2rem 2.5rem;
  }
  .card-footer .share-panel {
    position: absolute;
    right: -4.25rem;
    bottom: 6rem;
    padding: 1.125rem 2.25rem 1.0625rem 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.3125rem;
    border-radius: 0.625rem;
    background-color: hsl(217, 19%, 35%);
    box-shadow: 0px 20px 30px 0px rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
  }
  .card-footer .share-panel::after {
    width: 0;
    height: 0;
    border-left: 13px solid transparent;
    border-right: 13px solid transparent;
    border-top: 12px solid hsl(217, 19%, 35%);
    content: "";
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
  }
  .card-footer .share-panel .share-label {
    color: hsl(212, 23%, 69%);
    font-size: 0.8125rem;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.3125rem;
    text-transform: uppercase;
  }
  .card-footer .share-panel .social-share {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  .card-footer.active {
    padding: 0rem 2.5rem 2rem 2.5rem;
    background-color: white;
  }
  .card-footer.active .author-informations {
    display: flex;
  }
  .card-footer.active .share-panel {
    gap: 1.3125rem;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}
.attribution {
  position: absolute;
  bottom: 0;
  font-size: 11px;
  text-align: center;
}
.attribution a {
  color: hsl(228, 45%, 44%);
}

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