body{
    box-sizing: border-box;
    min-height: 100vh;
    display: grid;
    place-items: center;
    background-color:  hsl(210, 46%, 95%);
    font-family: "Manrope";
}

main{
    max-width: 43.75rem;
    max-height: auto;
}

.article{
    display: flex;
    max-width: 60rem;
    border-radius: 1.25rem;
    max-height: auto;
    background-color: white;
}

.container img{
   object-fit: cover;
   width: 100%;
   height: 100%;
   border-top-left-radius: 1.25rem;
   border-bottom-left-radius: 1.25rem;
}

.content{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 30px;
}

p, h2{
    margin-top: 0;
}

h2, #name{    color: hsl(217, 19%, 35%);
    font-weight: 700;
}

p, #date{
    color:hsl(214, 17%, 51%);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5rem;
}

.avatar{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.left-side{
    display: flex;
    gap: 10px;
}

ul{
    list-style-type: none;
    margin: 0;
    padding: 0;
}

#avatar-michelle{
    border-radius: 50%;
    max-width: 15%;
    height: 50%;
}

#share-btn{
    border-radius: 50%;
    width: auto;
    height: 100%;
    border: none;
    color: hsl(212, 23%, 69%);
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.attribution { 
    font-size: 11px; 
    text-align: center; 
}
.attribution a { 
    color: hsl(228, 45%, 44%); 
}

.right-side{
    position: relative;
    height: 60%;
    width: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.menu{
    visibility: hidden;
    background-color: hsl(217, 19%, 35%);
    display: flex;
    gap: 1rem;
    height: 1.5em;
    padding: 1em;
    border-radius: 7%;
    position: absolute;
    z-index: 1;
    bottom: 125%;
}


.menu::after{
    position: absolute;
}

.menu.show {
    visibility: visible;
    -webkit-animation: fadeIn 1s;
    animation: fadeIn 1s
  }
  
  Add animation (fade in the popup) */
  @-webkit-keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
  }
  
  @keyframes fadeIn {
    from {opacity: 0;}
    to {opacity:1 ;}
  }

@media screen and (max-width: 28.12rem){
    .article{
        display: block;
        height: auto;
    }

    main{
        height: auto;
    }

    .menu{
        scale: 1.4;
        position: absolute;
        right: 7em;
        bottom: 0;
        height: 65%;
        justify-content: space-between;
    }
    
    .menu.show p {
        margin: 0;
    }
}