@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@500;700&display=swap");
html {
  height: 100%;
  width: 100%;
}
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: "Manrope", sans-serif;
}

/* Desktop Style */
@media only screen and (min-width: 481px) {

.maincontainer {
  background-color: rgb(236, 242, 248);
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.postcard {
  width: 55%;
  height: 40%;
  background-color: white;
  border-radius: 10px;
  display: flex;
  flex-direction: row;
  align-items: center;
}
.mainimg {
  width: 50%;
  height: 100%;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}
.content {
  margin-left: 1.5rem;
  margin-right: 1.5rem;
}
.title {
  color: rgb(72, 85, 106);
  font-size: 1.15rem;
  font-weight: bold;
  margin-top: 2rem;
}
.description {
  color: rgb(109, 127, 151);
  font-size: 0.8rem;
}
.details {
  display: flex;
  /* justify-content: space-between; */
  align-items: center;
  width: 100%;
  margin-bottom: 1rem;
}
.author {
  color: rgb(97, 97, 97);
  font-size: 0.8rem;
  font-weight: bold;
}
.Avatar {
  width: 45px;
  height: 45px;
  border-radius: 50% !important;
  margin-right: 0.7rem;
}
.time {
  color: hsl(212, 23%, 69%);
  font-size: 0.7rem;
}
.share{
  display: flex;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  background-color: #e4e4e4;
  border-radius: 50%;
  margin-left: auto;
  position: relative;
}
.share-btn{
    width: .8rem;
    height: .8rem;
    align-self: center;
    justify-self: flex-end;
  }

  .shareactive{
    display: none;
  }
  .shareactive-desk{
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    bottom: 2rem;
    display: none;
  }
  .share-btn-active{
    width: .8rem;
    height: .8rem;
    align-self: center;
    justify-self: flex-end;
    display: none;
    }
  .share-rect{
    width: 12rem;
    height: 1rem;
    background-color: rgb(72, 85, 106);
    padding: 1rem;
    border-radius: 10px;
    display: flex;
    justify-content: space-around;
    align-items: center;
  }
  .share-arrow{
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 10px solid rgb(72, 85, 106);
  }
  .shtxt {
    color: hsl(214, 17%, 51%);
    letter-spacing: 0.08rem;
    font-size: .8rem;
  }
.active {
  display: flex !important;
}
.btn-active{
  background-color: #6d7f97 !important;
}

}


  /* Mobile Design */
  @media only screen and (max-width: 480px) {
    html {
      width: 100%;
      height: 100%;
    }
    body {
      width: 100%;
      height: 100%;
    }
    .maincontainer {
      height: 100vh;
      width: 100%;
      background-color: rgb(236, 242, 248);
      display: flex;
      justify-content: center;
      align-items: center;
    }
    .postcard {
      width: 90%;
      height: auto;
      background-color: white;
      border-radius: 20px;
      margin-top: 5rem;
      margin-bottom: 5rem;
    }
    .mainimg {
      width: 100%;
      border-top-left-radius: 10px;
      border-top-right-radius: 10px;
    }
    .content {
      margin: 1.5rem;
    }
  
    .title {
      color: rgb(72, 85, 106);
      font-size: 1.15rem;
      font-weight: bold;
    }
  
    .description {
      color: rgb(109, 127, 151);
    }
    .author {
      font-style: normal;
      /* font-size: .7rem; */
      font-weight: 700;
      color: rgb(97, 97, 97);
    }
    .Avatar {
      width: 60px;
      height: 60px;
      border-radius: 50% !important;
    }
    .details {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
    }
    .time {
      font-size: 0.9rem;
      font-weight: 500 !important;
      color: rgb(109, 127, 151);
    }
    .share {
      display: flex;
      justify-content: center;
      width: 2.5rem;
      height: 2.5rem;
      background-color: rgb(228, 228, 228);
      border-radius: 50%;
    }
    .share-btn,
    .share-btn-active {
      width: 1.2rem;
      height: 1.2rem;
      align-self: center;
    }
    .shareactive {
      width: 100%;
      height: 4rem;
      background-color: hsl(217, 19%, 35%);
      border-bottom-left-radius: 10px;
      border-bottom-right-radius: 10px;
      display: none;
      align-items: center;
      justify-content: space-around;
    }
    .sharebtnactive {
      display: flex;
      justify-content: center;
      width: 2rem;
      height: 2rem;
      background-color: #6d7f97;
      border-radius: 50%;
    }
    .shtxt {
      color: hsl(214, 17%, 51%);
      letter-spacing: 0.1rem;
    }
    .icongroup {
      display: flex;
      justify-content: space-between;
      width: 37%;
    }
    .icongroup > img {
      width: 1.6rem;
    }
    .shareactive-desk{
      display: none;
    }
  }