*{
    margin: 0;
    padding: 0;
}

html,body,section{
    height: 100%;
    background-color: hsl(210, 46%, 95%);
    font-family: "Outfit", sans-serif;
    font-optical-sizing: auto;


}

section{
    display: flex;
    align-items: center;
    justify-content: center;
}
.container{
    position: relative;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 720px;
    height: 300px;
}
.container .text{
    padding-left: 40px;
    padding-right: 40px;
}

.container h1{
    font-weight: 400;
}

.container p{
    color: grey;
    font-size: 13px;
    padding-top: 15px;
}

img{
    height: 300px;
    width: 300px;
    
}

.avatar {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 25px;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 10px;
}

.avatar img{
    height: 40px;
    width: 40px;
    border-radius: 50%;
}

.share {
    position: relative;
    height: 40px;
    width: 40px;
    background-color: rgba(128, 128, 128, 0.2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.share img{
    height: 20px;
    width: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.popupShare{
    position: absolute;
    background-color: rgb(87, 83, 83);
    display: flex;
    align-items: center;
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 10px;
    top: -30px;
    gap: 1rem;
    left: 250px;
    box-shadow: 2px 2px 5px;
}

.popupShare img{
    height: 20px;
    width: 20px;
}

.popupShare p{
    font-size: 18px;

    text-align: center;
    margin-bottom: 13px;

}

.popupShare::after {
  content: "";
  position: absolute;
  top: 100%; /* place it just below the box */
  right: 130px; /* adjust to line it up with share button */
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid hsl(217, 19%, 35%); /* match background */
}

.hidden {
  display: none;
}