body, html{
    margin: 0;
    box-sizing: border-box;
    background-color: hsl(213, 44%, 95%);
    font-family: "Manrope", sans-serif;
}

.main-wrapper{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.card{
    display: flex;
    width: 700px;
    height: 275px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.image-section{
    width: 300px;
    height: 275px;
}

.image-section img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px 0 0 10px;
}

.text-section{
    width: 500px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 30px 30px;
}

.text-section h1{
    font-size: 1.4rem;
    margin: 0;
}

.text-section p{
    font-size: 0.8rem;
    color: hsl(217, 19%, 35%);
    margin: 0;
    margin-bottom: 20px;
}

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

.author img{
    width: 35px;
    height: 35px;
    border-radius: 50%;
}

.divider{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.divider p{
    line-height: 0;
    margin: 0;
}

.share-button{
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 11;
}

.share-button svg{
    transform: scale(0.7);
}

.share-wrapper{
    margin-left: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    position: relative;
}

.share-box{
    display: hidden;
    background-color: hsl(219, 19%, 35%);
    border-radius: 10px;
    z-index: 10;
    width: 200px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;

    position: absolute;
    margin-bottom: 10px;
    bottom: 160%;
    left: -105px;
}

.triangle{
    display: hidden;
    z-index: 10;
    position: absolute;
    bottom: 100%;
    fill: hsl(219, 19%, 35%);
}

.triangle-active{
    display: block;
}

.share-box p{
    color: white;
    margin: 0;
    letter-spacing: 0.6rem;
    font-size: 0.7rem;
    font-weight: 200;
}

.share-box-active{
    display: flex;
}

.share-button-active{
    background-color: hsl(219, 19%, 35%);
    fill: white;
}

.share-button-active svg{
    fill: white;
}


@media(max-width:600px){

    *{
        box-sizing: border-box;
    }
    .main-wrapper{
        width: 100vw;
        height: 73vh;
        padding: 10px 10px;

        margin-top: 10vh;
    }

    .card{
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 100%;
        position: relative;
    }

    .text-section{
        width: 100%;
    }

    .image-section{
        width: 100%;
        height: 30vh;
    }

    .image-section img{
        border-radius: 10px 10px 0 0 ;
    }

}