@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@200;500;700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Manrope", sans-serif;
}
body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background-color: hsl(210, 46%, 95%);
  padding: 3rem;
}
/* main section */
main {
  display: grid;
  grid-template-columns: 4fr 8fr;
  width: 70%;
}

/* photo */
.photo {
  width: 350px;
  object-fit: cover;
  object-position: center;
  border-radius: 10px 0 0 10px;
}
/* content */
.content {
    border-radius: 0 10px 10px 0;
  padding: 0 3rem;
  background-color: hsl(0, 0%, 100%);
  
}
.header {
  margin: 1rem 0;
}
.header h2 {
  color: hsl(214, 17%, 51%);
  font-size: 1.5rem;
}
.body {
  margin: 1.4rem 0;
}
.body p {
  font-size: 0.8rem;
  color: hsl(214, 17%, 51%);
  line-height: 1.9;
}
.Footer1{
    position: relative
}
.footer {
  margin-top: 0.8rem 0;
  display: flex;
  justify-content: space-between;
 
  
}
.footer img {
  width: 30px;
  height: 30px;
  border-radius: 100%;
}
.profile {
  display: flex;
  align-items: center;
  gap: 10px;
}
.profile-name h3 {
  font-size: 0.8rem;
  color: hsl(217, 19%, 35%);
}
.profile-name p {
  font-size: 0.5rem;
}
.share{
    border-radius: 80%;
    background-color: hsl(210, 46%, 95%);
    cursor: pointer;
    height: 30px;
    width: 30px;
    padding: 4px 0 0 6px;
}
.share:hover{
    background-color: hsl(210, 46%, 95%);
    opacity: 0.5;
}
.share img {
  width: 13px;
  height: 13px;
  object-fit: cover;
  object-position: center

}

.attribution {
    margin-top: 1rem;
  font-size: 11px;
  text-align: center;
}
.attribution a {
  color: hsl(228, 45%, 44%);
}
/* ==========
   Responsive
   ===========
 */
 @media(max-width: 1300px){
    main{
        width: 80%;
    }
 }
  @media(max-width: 1123px){
    main{
        width: 90%;
    }
 }
 @media(max-width: 1009px){
    body{
        padding: 0 2rem;
    }
    main{
        width: 100%;
    }
 }
 @media(max-width: 886px){
   .content{
    padding: 0 1rem;
   }
 }
  @media(max-width: 822px){
    body{
        padding: 3rem ;
    }
   main{
    display: block;
    
   }
   .photo{
    vertical-align: bottom;
    width: 100%;
    height: 400px;
    border-radius: 10px 10px 0 0;
   
   }
   .content{
    
    padding: 2rem;
    border-radius: 0 0px 10px 10px;
   }
   .content .header{
    margin: 0
   }
   

 }

 @media(max-width: 566px){
   body{
    padding: 1rem;
   }
}

 .hidden{
    display: none;
 }
 .social-media{
    position: absolute;
    background-color: hsl(217, 19%, 35%);
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0.8rem 1rem;
    min-width: 40%;
    color: hsl(0, 0%, 100%);
    border-radius: 15px;
    top: -3rem;
    right: -4.3rem;
    text-align: center;
    z-index: 100;
    box-shadow: 1px 1px 3px hsl(214, 17%, 51%);
 }
 .social-media p{
    font-size: 12px;
    font-weight: lighter;
    
 }
 .social-media img{
    cursor: pointer;
    width: 15px;
    height: 15px;
 }