:root {
  --VeryDarkGrayishBlue: hsl(217, 19%, 35%);
  --DesaturatedDarkBlue: hsl(214, 17%, 51%);
  --GrayishBlue: hsl(212, 23%, 69%);
  --LightGrayishBlue: hsl(210, 46%, 95%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body{
    font-size:62.5%;
      height: 100dvh;
}

.wrapper {
  max-width: 100%;
  font-family: "Poppins", sans-serif;

}

.section-two{
    padding: 2em;
     
}
img {

width: 100%;
  height: auto;
 
}


.section-one {
 
  width: 100%;
 

}

main h1{
    font-size: 2em;
    color: var(--VeryDarkGrayishBlue);
    font-weight: 600;
    padding-top: 1em;
}

.main-text{
        padding: 2em 0;
    font-size: 1.557em;
    color: var(--GrayishBlue);
}


.details{
  display:flex;
  position:relative;
      
}

.detail-text{
      padding-left: 3em;
}

.profile-image {
  border-radius:50%;
      width: 4em;
    height: 4em;
}

.details p {
      font-size: 1.6em;
    color: var(--DesaturatedDarkBlue);
    font-weight: 700;
}

.shareButton {
 
    border-radius: 50%;
    width: 3.5em;
    border: none;
    height: 3.5em;
}

.details .shareButton {
     margin-left: auto;
}

.shareButton img {

    width: 1.5em;
 
  
  
} 

.details span {
      font-size: 1.5em;
    color: var(--GrayishBlue);
    font-weight: 500;
}

.share-div{
     background: var(--VeryDarkGrayishBlue);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 1.3em;
    position:absolute;
    width:100%;
    display:none;
}

.share-img {
    width: 2em;
}

.share-image-wrapper img{
    margin: 1em;
}

.share-div span {
      font-size: 1.7em;
    color: var(--GrayishBlue);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.showDiv{
  display:flex;
}

.none{
  display:none;
}

@media screen and (min-width:78em) {




body {
  display: grid;
  place-items: center;
  height: 100dvh;
  background-color: var(--LightGrayishBlue);
  font-family: "Poppins", sans-serif;
}

.wrapper {
  display: grid;

  max-width: 900px; 
  background: white;
  border-radius: 1em;

}
main {
  display:grid;
   grid-template-columns: 1fr 1fr;
 
}

.section-two
{
  padding: 3em 4em 0em 4em;


}
.main-text{
font-size: 1.257em;
    color: var(--GrayishBlue);
    line-height: 1.7em;
}

.details{
  align-items: center ;
}

.details button{
      width: 2em;
        height: 2em;
}

.details button img {
  width:1em;
}

.share-div {
    background: var(--VeryDarkGrayishBlue);
    
    justify-content: space-around;
    align-items: center;
    padding: 1.1em;
    position: absolute;
    width: 70%;

    top: -9em;
    left: 27em;
    border-radius: 1.1em;
}

.shareDivCta{
  display:none;
}

}