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

* {
  margin: 0;
  padding: 0;
  font: inherit;
}

img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding-inline: 24px;
  padding-block: 64px;
  background-color: #ecf2f8;
}

section {
  background-color: #fff;
  border-radius: 10px;
  max-width: 327px;
}
section > img {
  width: 100%;
  height: 200px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

article {
  display: flex;
  flex-direction: column;
  align-items: center;
}
article > h1 {
  margin-block-end: 24px;
  padding-inline: 30px;
  padding-block-start: 32px;
  font-family: "Manrope", sans-serif;
  font-size: 20px;
  font-weight: bold;
  line-height: 130%;
  letter-spacing: 0.25px;
  font-optical-sizing: auto;
  color: #48556a;
}
article > p {
  margin-block-end: 48px;
  padding-inline: 30px;
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 140%;
  letter-spacing: 0.12%;
  font-optical-sizing: auto;
  color: #6e8098;
}
article .author {
  display: flex;
  align-items: center;
  width: 100%;
  padding-inline: 30px;
  padding-block-end: 18px;
}
article .author > img {
  width: 40px;
  height: 40px;
  border-radius: 100%;
}
article .author .share-button {
  position: relative;
  width: 32px;
  height: 32px;
  background-color: #ecf2f8;
  border-radius: 100%;
}
article .author .share-button:hover {
  cursor: pointer;
}
article .author .share-button > img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
article .author .author-details {
  margin-inline-start: 16px;
  flex-grow: 1;
}
article .author .author-details > div:first-child {
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  font-weight: bold;
  line-height: 140%;
  letter-spacing: 0.12%;
  font-optical-sizing: auto;
  color: #48556a;
}
article .author .author-details > div:nth-child(2) {
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 140%;
  letter-spacing: 0.12%;
  font-optical-sizing: auto;
  color: #9daec2;
}
article .share-menu {
  position: relative;
  display: none;
  align-items: center;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  width: 100%;
  padding-block: 22px;
  background-color: #48556a;
}
article .share-menu > p:first-child {
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 140%;
  letter-spacing: 25%;
  font-optical-sizing: auto;
  color: #9daec2;
  margin-inline-start: 30px;
  margin-inline-end: 24px;
}
article .share-menu > div:first-of-type {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-grow: 1;
}
article .share-menu > .share-button {
  position: relative;
  width: 32px;
  height: 32px;
  margin-inline-end: 30px;
  background-color: #6e8098;
  border-radius: 100%;
}
article .share-menu > .share-button:hover {
  cursor: pointer;
}
article .share-menu > .share-button > img {
  position: absolute;
  filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(183deg) brightness(202%) contrast(101%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

footer {
  font-size: 12px;
  padding-block-start: 20px;
}

@media (min-width: 768px) {
  body {
    justify-content: center;
    padding-inline: 80px;
    padding-block: 227px;
  }
  section {
    display: flex;
    max-width: 608px;
  }
  section > img {
    width: 229px;
    height: auto;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 0;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
  }
  article {
    position: relative;
  }
  article > h1 {
    padding-block-start: 41px;
  }
  article > p {
    margin-block-end: 24px;
  }
  article .author {
    padding-block-end: 0;
    margin-block-end: 41px;
  }
  article > p,
  article > h1,
  article .author {
    padding-inline-start: 32px;
    padding-inline-end: 36px;
  }
  article > p > .share-button.active,
  article > h1 > .share-button.active,
  article .author > .share-button.active {
    background-color: #6e8098;
  }
  article > p > .share-button.active > img,
  article > h1 > .share-button.active > img,
  article .author > .share-button.active > img {
    filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(183deg) brightness(202%) contrast(101%);
  }
  article .share-menu {
    display: none;
    position: absolute;
    height: 55px;
    width: 248px;
    border-radius: 10px;
    bottom: 100px;
    right: -65px;
  }
  article .share-menu::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 120px;
    width: 20px;
    height: 20px;
    rotate: 45deg;
    background: linear-gradient(-45deg, #48556a 50%, rgba(128, 0, 128, 0) 50%);
  }
  article .share-menu .share-button {
    display: none;
  }
  footer {
    font-size: 16px;
  }
}
@media (min-width: 1024px) {
  body {
    padding: 150px;
  }
  section {
    max-width: 730px;
  }
  section > img {
    width: 285px;
  }
  article > p,
  article > h1,
  article .author {
    padding-inline: 40px;
  }
}/*# sourceMappingURL=style.css.map */