@charset "UTF-8";
@font-face {
    font-family: Manrope;
    src: url(https://fonts.google.com/specimen/Manrope);
}

*{
    margin: 0px;
    padding: 0px;
}
body{
    background-color: hsl(210, 46%, 95%);
    width: 98vw;
    height: 97vh;
    font-family: Arial, Helvetica, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;

}  
#card{
    width: 800px;
    height: 350px;
    background-color: white;
    border-radius: 15px;
    
    display: flex;
    flex-flow: row nowrap;  
}
#img > img{
    width: 100%;
    height: 100%;
    object-fit: cover;  
    flex: 1 0 300px;
    border-radius: 15px 0px 0px 15px;
}
#content{
    padding: 35px;
    
    flex: 1 0 500px;
}
#content > h2{
    line-height: 32px;
    padding-bottom: 15px;
    font-size: 1.7em;
    color: hsl(217, 19%, 35%);
}
#content > p{
    line-height: 25px;
    font-size: 1.2em;
    color: hsl(214, 17%, 51%);
    padding-bottom: 20px;
}
#author{
    display: flex;
    flex-flow: row nowrap;
    padding-top: 15px;
    position: absolute;
}

#author > img{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    padding-right: 10px;

}

#author  p:nth-child(1){
    color: hsl(217, 19%, 35%);
    padding-bottom: 5px;
}
#autor p:nth-child(2){
    color: hsl(214, 17%, 51%9);;
}
#sharediv{
    height: 50px;
    width: 50px;
    display: flex;
    /* justify-self: right; */
    position: relative;
    left: 90%;
    top: 20px;

}
#sharebutton{
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    
    position: absolute;

}
#sharebutton > img{
    width: 20px;
}
#sharebutton.active{
    background-color: hsl(217, 19%, 35%);
    transition: background-color 0.3s ease;
    
}
#popup{
    position: relative;
    background-color: hsl(217, 19%, 35%);
    height: 70px;
    width: 300px;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.348) 2px 5px 10px;
    
    

    display: flex;
    bottom: 200%;
    right: 230%;
    align-items: center;

    visibility: hidden;
    opacity: 0;
    

}
#popup p{
    font-family: "Manrope", sans-serif;
    font-weight: 500;
    font-size: 1.2em;
    padding: 5px;
    padding-left: 30px;
    color: hsl(212, 23%, 69%);
    letter-spacing: 5px;
}
#popup img{
    width: 25px;
    height: 25px;
    padding: 10px;
}
#popup > a:nth-child(4){
    padding-right: 25px;
}

#popup::after{
    content: "";
    position: absolute;
   
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid hsl(217, 19%, 35%);;
}
#popup.show{
    display: flex;
    visibility: visible;   
    opacity: 1;
    
}