:root{
--VeryDarkGrayishBlue: hsl(217, 19%, 35%);
 --DesaturatedDarkBlue: hsl(214, 17%, 51%);
 --GrayishBlue: hsl(212, 23%, 69%);
--LightGrayishBlue: hsl(210, 46%, 95%);

} 

.attribution { 
    font-size: 11px;
     text-align: center;
     }
.attribution a { 
        color: hsl(228, 45%, 44%);
     }
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: var(--LightGrayishBlue);
    flex-direction: column;
}
.wrapper{
    width: 90%;
    height: 37rem;
    border-radius: 0.5rem;
    background-color: white;
    box-shadow: 2px 0 5px rgba(0,0,0,0.2);
    font-family: sans-serif;
    display:flex ;
    flex-direction: column;
    gap: 1.2rem;
   
}
.wrapper_2{
   height: 18rem;
   width: 100%;
   border-radius: 0.5rem 0.5rem 0 0;
   background-color: red;
   background: url("images/drawers.jpg");
   background-size: cover;
   background-position: center;
}
h3{
   margin-left: 1rem;
    color: var(--VeryDarkGrayishBlue);
}
.wrapper p{
    font-weight: 300;
    letter-spacing: 0.5px;
    color: var(--GrayishBlue);
    font-size: 13px;
    margin-left: 1rem;
    line-height: 20px;
}
.wrapper_3{
    width: 100%;
    height: 5rem;
    padding: 1rem;
    justify-content: center;
    align-items: center;
    display: flex;
}
.wrapper_4{
    width: 100%;
    height: 4.5rem;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    
}
.imgWrapper{
    border-radius: 50%;
    height: 3.5rem;
    width: 3.5em;
    background: url("images/avatar-michelle.jpg");
    background-position: center;
    background-size: cover;
    transition: 0.5s all ease-in;
    background-clip: border-box;
    cursor: pointer;
}
.wrapper_4 span{
    line-height: 1.5rem;
    font-size: 14px;
}
.share{
   height: 2.5rem;
   width: 2.5rem;
   display: flex;
   justify-content: center;
   align-items: center;
   background-color: var(--LightGrayishBlue);
   border-radius: 50%;
   transition: 0.5s all ease-in-out;
   cursor: pointer;  
}
.share img{
    scale: 1.2;
}
/* Js element styling*/
.wrapper_black{
    width: 100%;
    height: 4rem;
    background-color: var(--DesaturatedDarkBlue);
    border-radius: 0 0 0.5em 0.5rem;
    display: flex;
    display: none;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;

}
.wrapper_black .p1{
    font-size: 18px;
    letter-spacing: 1px;
}
.Action{
    height: 2.2rem;
   width: 2.2rem;
   display: flex;
   justify-content: center;
   align-items: center;
   background-color: var(--LightGrayishBlue);
   border-radius: 50%;
   transition: 0.5s all ease-in-out;
   cursor: pointer;  
   margin-left: 1rem;
}
.p2{
    display: none;
}
/*Tablet version*/
@media(min-width:600px){
    .wrapper{
        display: flex;
        flex-direction: row;
         height: 25rem;
         gap: 0;
        width: 90%;
    }
    .wrapper_2{
       border-radius : 0.5rem 0 0 0.5rem;
       height: 100%;
       width: 50rem;
    }
    .wrapper_1{
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    h3{
        padding: 1rem;
        font-size: 25px;
    }
    .wrapper_1 p{
        font-size: 14px;
    }
    .wrapper_3{
        padding: 1.5rem;
        margin-top: 0.5rem;
    }
    .share{
        margin-left: 10%;
    }
    #Neo{
      height: 3rem;
      width: 10rem;
      box-shadow: 5px 0 10px rgba(0,0,0,0.2);
      position: absolute;
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 0.5rem;
      display: none;
     left: 70%;
      top: 51%;
      background-color: var(--VeryDarkGrayishBlue);
      border-radius: 0.5rem;
    }
    .p2{
        display: flex;
    }
    
}

@media(min-width:992px){
    .wrapper{
        display: flex;
        flex-direction: row;
         height: 25rem;
         gap: 0;
        width: 70%;
    }
}
@media(min-width:1200px){
    .wrapper{
        width: 55%;
    }
    #Neo{
        left: 60%;
        top: 47%;
    }
}