/*Global styles*/

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Manrope", sans-serif;
  

}
body{
    width: 100%;
    height: 100vh;
    display: grid;
    place-items: center;
    background-color: #ECF2F8;    
}

/* Card styles*/

.card{
    display: grid;
    grid-template-rows: 200px auto;
    width: 327px;
    height: auto;
    background-color: #fff;
    border-radius: 7px;
    overflow: hidden;
    



}
.card img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-top-right-radius: 7px;
    border-top-left-radius: 7px;
    
    
}

.card:last-child{
    align-self: end;
}

/*CSS for the content area*/
.content{
    display: grid;
    grid-template-rows: auto 1fr auto;
    padding-inline: 2rem;
    padding-top: 2rem;
}
.content h2{
    line-height: 24px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.2px;
    color: #48556A;
    margin-bottom: 1.5rem;
}

.content p{
    font-size: 13px;
    font-weight: 300;
    color:#6E8098;
    letter-spacing: 0.12px;
    line-height: 20px;
}

/*CSS for the contact area*/

.contact{
    display: grid;
    grid-template-columns: 50px 2fr 40px;
    padding-inline: 2rem;
    margin-block: 1rem;
    
}
.contact .avatar-image{
    
    width:40px;
    height:40px;
    border-radius: 50%;
    margin-right: 20px;
}
.contact h3{
    font-size: 13px;
    color: #48556A;
    font-weight: 700;
    letter-spacing: 0.122px;
}
.contact p{
    font-size: 13px;
    color: #9DAEC2;
}

.contact button{
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border-style: none;
    background-color: #ECF2F8;
    cursor: pointer;
}

.contact button img{
    height: 12px;
    width: 12px;
}



/* Share boksen */

.share{
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #48556A;
    color: #fff;
    height: 64px;
    width: 100%;
    margin-top: 1rem;
}

.share span{
    justify-self: self-end;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 5px;
    color: #9DAEC2;
}
.share svg{
    margin: 5px;
}

.hidden{
    display: none;
}





    @media (min-width: 768px) {
        main{
            grid-template-rows: auto;
        }
        
        .card {
            width: 730px;
            height: 280px;
            grid-template-columns: 350px 1fr;
            

        }
        .content{
            display: grid;
            grid-template-rows: 1fr 1fr 64px;
        }

        .card img{
            width: 100%;
            height: auto;   
            border-top-right-radius: 0;
            border-radius: 7px 0 0 7px;
        }
        .contact{
            margin-bottom: 1rem;
            grid-column: 2/3;
            grid-row: 3/4;
        }
        #share{
            position: absolute;
            width: 327px;
            right: 20%;
            top: 50%;
            border-radius: 7px;
        }
    }