@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@500;700&display=swap");
* {
  font-family: "Manrope", sans-serif;
  color: #48556a;
  font-size: 10px; }
  * h2 {
    font-size: 2em;
    margin: 0;
    font-weight: 700; }
  * p,
  * strong {
    font-weight: 500;
    font-size: 1.3em;
    color: #6d7f97; }
  * .info-text p {
    margin: 0; }
  * .info-text strong {
    font-weight: 700;
    color: #48556a; }
  @media screen and (min-width: 780px) {
    * {
      font-size: 10px; } }
  @media screen and (min-width: 1200px) {
    * {
      font-size: 12px; } }
  @media screen and (min-width: 1440px) {
    * {
      font-size: 14px; } }

body {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: #ecf2f8;
  height: 100vh;
  overflow: hidden; }

.article {
  background-color: white;
  border-radius: 1em;
  height: 28em;
  width: 73em;
  overflow: hidden;
  box-shadow: 0 2.5em 5em -1.2em #9eafc2 !important;
  display: grid;
  grid-template-columns: [picture] 28em [gutter] 4em [preview-text] auto [end] 4em [end-gutter];
  grid-template-rows: repeat(7, 4em); }
  .article .picture {
    grid-area: 1 / picture / 8 / gutter; }
    .article .picture img {
      height: 100%;
      width: 100%; }
  .article .preview-header {
    grid-area: 2 / preview-text / 4 / end; }
  .article .preview-text {
    grid-area: 4 / preview-text / 6 / end; }
  .article .preview-info {
    grid-area: 6 / preview-text / 7 / end;
    display: flex;
    justify-content: flex-start;
    align-items: center; }
    .article .preview-info .info-picture {
      height: 100%;
      width: 4em;
      margin-right: 2em; }
      .article .preview-info .info-picture img {
        height: 100%;
        border-radius: 50%; }
    .article .preview-info .info-text {
      flex-grow: 1; }
    .article .preview-info .share {
      display: block;
      height: 3.5em;
      width: 3.5em;
      background-image: url("/images/icon-share.svg");
      background-repeat: no-repeat;
      background-size: 50%;
      background-position: center 44%;
      background-color: #ecf2f8;
      border-radius: 50%;
      transition: all 0.2s ease-in-out; }
      .article .preview-info .share:hover {
        cursor: pointer; }
    .article .preview-info #share {
      display: none; }
      .article .preview-info #share:checked ~ label {
        background-color: #6d7f97;
        background-blend-mode: SCREEN; }
      .article .preview-info #share:checked ~ .share-buttons {
        opacity: 1;
        transition: 0.3s cubic-bezier(0.48, 0.52, 0.62, 1.25);
        transform: translateY(-12em) translateX(-9.2em); }
    .article .preview-info .share-buttons {
      position: absolute;
      display: flex;
      align-items: center;
      padding: 2em 3em;
      background-color: #48556a;
      border-radius: 1em;
      box-shadow: 0 2.5em 2em -2em #9eafc2 !important;
      opacity: 0;
      transition: cubic-bezier(0.48, 0.52, 0.62, 1.25) 0.3s;
      transform: translateY(-10em) translateX(-9.2em); }
      .article .preview-info .share-buttons:after {
        content: "";
        position: absolute;
        display: block;
        bottom: -1.4em;
        right: 50%;
        margin-right: -1em;
        width: 0;
        height: 0;
        width: 0;
        height: 0;
        border-width: 1.5em 1.5em 0;
        border-style: solid;
        border-color: #48556a transparent; }
      .article .preview-info .share-buttons * {
        margin-right: 1em; }
      .article .preview-info .share-buttons :last-child {
        margin: 0; }
      .article .preview-info .share-buttons p {
        margin: 0 1em 0 0;
        color: #9eafc2;
        text-transform: uppercase;
        letter-spacing: 0.3em;
        font-weight: 500;
        font-size: 1.5em; }
      .article .preview-info .share-buttons span {
        height: 2em;
        width: 2em;
        display: inline-block;
        background-position: center;
        background-size: contain;
        background-repeat: no-repeat; }
      .article .preview-info .share-buttons .fb span {
        background-image: url("/images/icon-facebook.svg"); }
      .article .preview-info .share-buttons .twt span {
        background-image: url("/images/icon-twitter.svg"); }
      .article .preview-info .share-buttons .pin span {
        background-image: url("/images/icon-pinterest.svg"); }
  @media screen and (max-width: 779px) {
    .article {
      width: 33em;
      height: 50em;
      grid-template-columns: [padding-start] 3em [content-start] auto [content-end] 3em [padding-end];
      grid-template-rows: repeat(10, 5em); }
      .article .picture {
        grid-area: 1 / padding-start / 5 / padding-end;
        overflow: hidden; }
        .article .picture img {
          height: auto; }
      .article .preview-header {
        grid-area: 5 / content-start / 7 / content-end;
        font-size: 1.7em;
        align-self: center;
        margin-top: 2em; }
      .article .preview-text {
        grid-area: 7 / content-start / 9 / content-end;
        font-size: 1.4em; }
      .article .preview-info {
        grid-area: 9 / content-start / 11 / content-end;
        align-self: center; }
        .article .preview-info .info-picture img {
          height: 4em; }
      .article .share-container .share {
        background-color: #ecf2f8;
        background-blend-mode: unset; } }
