:root{
--VeryDarkGrayishBlue: hsl(217, 19%, 35%);
--DesaturatedDarkBlue: hsl(214, 17%, 51%);
--ContainerBack: white;
--GrayishBlue: hsl(212, 23%, 69%);
--LightGrayishBlue: hsl(210, 46%, 95%);
--Manrope: "Manrope", sans-serif;

}


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body{
    font-family: var(--Manrope);
    background-color: var(--LightGrayishBlue);
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
}


.container{
    background-color: var(--ContainerBack);
    display: flex;
    width: 50rem;
    height: 19rem;
    border-radius: 10px;
    
}

.container_img{
    width: 40%;
    height: 100%;
    background-size: cover;
    border-radius: 10px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
}

.text_container{
    width: 60%;
    padding: 2.5rem;
}

.text_header{
    color: var(--VeryDarkGrayishBlue);
    font-size: 1.5rem;
    font-weight: 700;

}

.text_info{
    margin-top: 1rem;
    font-size: 13px;
    font-weight: 500;
    color: var(--DesaturatedDarkBlue);
}

.share_container{
    display: flex;
    margin-top: 1rem;
}


.share_container_info{
    width: 70%;
    margin-left: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.share_name{
font-weight: 700;
color: var(--VeryDarkGrayishBlue);
}

.share_date{
    color: var(--GrayishBlue);
}

.avatar_img{
    height: 3rem;
    border-radius: 100%;
}



.share_wrapper {
  position: relative;
  display: inline-block; 
  
}

.share_options_container {
  position: absolute;
  bottom: 140%; 
  left: 85%;
  transform: translateX(-50%);
  background: var(--VeryDarkGrayishBlue);
  border-radius: 0.4em;
  width: 15rem;
  height: 3rem;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  visibility: hidden;
  padding: 1rem;
}

.share_btn , .share_btn_mobile{
width: 2rem;
height: 2rem;
background-color: var(--LightGrayishBlue);
border: none;
border-radius: 100%;
margin: auto;
transition: 0.2s ease-in;
cursor: pointer;
position: relative;
}


.share_btn_mobile{
    display: none;
}


.share_btn:hover{
    transition: 0.2s ease-out;
    transform: scale(1.2,1.2);
}

.share_text{
    color: var(--GrayishBlue);
    text-transform: uppercase;
    letter-spacing: 0.4rem;
    font-size: 13px;
    font-weight: 500;
}

.share_options_container:after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 0;
	height: 0;
	border: 10px solid transparent;
	border-top-color: var(--VeryDarkGrayishBlue);
	border-bottom: 0;
	margin-left: -20px;
	margin-bottom: -10px;
}


 .active{
    visibility: visible;
}

.icon{
transition: 0.2s ease;
}
.icon:hover{
    cursor: pointer;
    transform: scale(1.2,1.2);
    transition: 0.2s ease;
}

.mobile_share_options{
    display: none;
}


@media only screen and (max-width: 765px) {
  
  .container_img{
    width: 100%;
    height: 40%;
    background-size: cover;
    border-radius: 10px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

.text_container{
    width: 100%;
    height: 60%;
    padding: 0rem;
    margin-top: 2rem;
}

.text_info , .text_header{
    padding: 0 2.5rem;
    margin-top: 1rem;
    margin-bottom: 2rem;
}
  
.container{
    background-color: var(--ContainerBack);
    display: flex;
    flex-direction: column;
    width: 26rem;
    height: fit-content;
    border-radius: 10px;
    
    }

.share_container{
    display: flex;
    margin: 0;
    padding: 1rem 2rem;
    height: 80px;

    }

.share_btn_mobile{

    width: 2.5rem;
    height: 2.5rem;
    margin: 0;

}

.share_options_container {
  padding: 1rem;
}

.mobile_share_options{
    width:  100%;
    min-height: 5rem;    padding: 1rem 2rem;
    display: none;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background-color: var(--VeryDarkGrayishBlue);
}

.mobile_share_options.active{
display: flex;
}

.share_container.active{
display: none;
}

.share_btn_mobile{
    display: block;
}

.share_btn{
    display: none;
}

.share_btn_mobile_active{
    width: 2.5rem;
height: 2.5rem;
background-color: var(--LightGrayishBlue);
border: none;
border-radius: 100%;
transition: 0.2s ease-in;
cursor: pointer;
position: relative;
}
    
}