:root{
--Very_Dark_Blue: hsl(217, 19%, 35%);
--Dark_Blue: hsl(214, 17%, 51%);
--Blue: hsl(212, 23%, 69%);
--Light_Blue: hsl(210, 46%, 95%);
}
*{
    font-family: "Manrope", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  body{
    font-size: 13px;
    background-color: var(--Light_Blue);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;

}
.container{
    background-color: white;
    width: 80%;
    max-width: 800px;
    min-height: 300px ;
    border-radius: 8px;
    display: flex;
    position: relative;
    margin: auto;
    align-items: stretch;

}
.container_img{
    width: 40%;
    height: auto;
    border-bottom-left-radius:8px;
    border-top-left-radius: 8px;
}
.text_container{
    position: relative;
    padding:20px 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;

}
.text_container h1{
    font-weight: 700;
    font-size: 18px;
    color: var(--Very_Dark_Blue);
    padding-bottom: 15px;
}
.text_container p{
    color: var(--Dark_Blue);
}
.author_container{
    display: flex;
    justify-content:space-between;
    align-items: center;
    
    margin-top: 20px;
}
.author{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.author img{
    border-radius: 50%;
    max-width: 40px;
    max-height: 40px;
}

.author h2{
    color: var(--Very_Dark_Blue);
}

.share-button{
background-color: var(--Light_Blue);
border-radius: 50%;
border: none;
width: 32px;
height: 32px;
cursor: pointer;
margin: 4px 3px 4px 0;
padding: 0;
transition: background-color 0.3s ease;
z-index: 10;
display: flex;
align-items: center;
justify-content: center;
}
.newStyle{
    background-color: var(--Dark_Blue);
}
.newStyle img{
    filter: brightness(0) invert(1);
}
.share-button img{
  width: 50%;
}
.popup_box {
    display: none;
    position: absolute;
    right: -65px;
    bottom: 95px;
    background-color: #555;
    color: #fff;
    border-radius: 6px;
    padding: 8px 0;
    z-index: 1;
  }
    /* Popup arrow */
.popup_box::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}
.icons{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}
  /* Toggle this class - hide and show the popup */
  .show {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 10px;
    animation: fadeIn 1s;
  }

  .share{
    font-size: 14px;
    letter-spacing: 4px;
    color: var(--Dark_Blue);
  }
/* Add animation (fade in the popup) */

  @keyframes fadeIn {
    from {opacity: 0;}
    to {opacity:1 ;}
  } 
  @media screen and (max-width:375px){
    .container{
      flex-direction: column;
      margin: auto;
      position:relative ;

  }
  .container_img{
    width: 100%;
    max-height: 350px;
    border-bottom-left-radius:0;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}
.text_container{
  padding: 20px;
}
.text_container h1{
  font-weight: 700;
  font-size: 16px;
  color: var(--Very_Dark_Blue);
  padding-bottom: 10px;
}
.author img{
  max-width: 35px;
  max-height: 35px;
  margin-right: 10px;
}

.author h2{
font-size: 14px;}

.popup_box {
  width: 100%;
  height: 70px;
  background-color: #555;
  color: #fff;
  display: none;
  border-radius: 6px;
  padding: 0 10px;
  z-index: 1;
  bottom: 0;
  left: 0;
  right: 0;
}
.popup_box::after {
display: none;}
.icons{
  gap: 8px;
  margin-left: 24px;
  display: flex;
  align-items: center;
  justify-content: start;
}
.show {
  display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 10px;
    animation: fadeIn 1s;
}
@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity:1 ;}
} 
  }

  