@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

body {
  font-family: "Poppins", serif;
  padding: 0;
  margin: 0;
  background-color: hsl(210, 46%, 95%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.display-none {
  display: none;
}

.container {
  width: 730px;
  height: 290px;
  background-color: white;
  display: flex;
  border-radius: 10px;
  box-shadow: 0 40 40 -10 rgba(201, 213, 225, 0.5);
}

.left img {
  width: 300px;
  height: 290px;
  border-radius: 10px 0 0 10px;
}

.right {
  height: 290px;
  width: 500px;
  padding: 2.5rem;
}

h1 {
  margin-top: 5px;
  color: #48556a;
  font-size: 20px;
  font-weight: 700px;
  line-height: 28px;
  letter-spacing: 0.25px;
}

.right p {
  color: #6e8098;
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
}
.connections {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.author-details {
  display: flex;
  align-items: center;
}

.author-image img {
  width: 40px;
  border-radius: 50%;
  margin-right: 1rem;
}
.author-name {
  color: #48556a;
  font-size: 13px;
  font-weight: 70;
}

.author-name p {
  color: #6e8098;
  margin-top: -18px;
  font-weight: 400;
  font-size: 12px;
}

.share_buttn_container {
  height: 32px;
  width: 32px;
  background-color: #ecf2f8;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.share-shape-container {
  background-color: #48556a;
  border-radius: 7px;
  width: 248px;
  height: 60px;
  box-shadow: 0px 40px 40px -10px rgba(201, 213, 225, 0.5);
  position: absolute;
  left: 215px;
  top: -55px;
}
.share-shape-container::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #48556a;
}
.share-icons-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.7rem;
  column-gap: 20px;
}

.share-text-p {
  color: #9daec2;
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 5px;
}

/* 


Media Queries


*/

@media screen and (max-width: 390px) {
  .container {
    width: 375px;
    height: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .left img {
    width: 375px;
    height: 290px;
    border-radius: 10px 10px 0 0px;
  }

  .right {
    height: 600px;
    width: 375px;
  }

  h1 {
    color: #48556a;
    font-size: 18px;
    font-weight: 300px;
    line-height: 30px;
    letter-spacing: 0.25px;
    margin: 34px;
    margin-top: 1px;
  }

  .right p {
    color: #6e8098;
    font-size: 14.3px;
    font-weight: 400;
    line-height: 20px;
    margin: 34px;
    margin-top: -20px;
  }

  .connections {
    width: 375px;
    justify-content: space-evenly;
    margin-top: -24px;
  }

  .author-image img {
    width: 40px;
    border-radius: 50%;
    margin-right: 1rem;
  }

  .author-name {
    color: #48556a;
    font-size: 13px;
    font-weight: 70;
  }

  .author-name p {
    color: #6e8098;
    margin-top: -18px;
    font-weight: 400;
    font-size: 12px;
    margin-left: 1px;
  }

  .share_buttn_container {
    height: 32px;
    width: 32px;
    background-color: #ecf2f8;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
  }
  .share-shape-container {
    background-color: #48556a;
    border-radius: 0 0 10px 10px;
    width: 375px;
    height: 80px;
    box-shadow: 0px 40px 40px -10px rgba(201, 213, 225, 0.5);
    position: absolute;
    left: 0px;
    top: 9px;
  }

  .share-shape-container::after {
    display: none;
  }

  .share_buttn_container {
    position: relative;
    z-index: 1;
  }

  .for-media-query {
    width: 230px;
    align-items: center;
    position: relative;
  }

  .share-icons-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.7rem;
    column-gap: 20px;
    position: relative;
    bottom: -14px;
  }
  .share-text-p {
    color: #9daec2;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: 5px;
    position: relative;
    bottom: -27px;
    left: 20px;
  }
}
