* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Manrope", sans-serif;
}

body {
    background-color: #ECF2F8;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.display-none {
    display: none;
}

.article-preview-container {
    display: flex;
    max-width: 850px;
    box-shadow: 0px 40px 40px -10px rgba(201, 213, 225, 0.50);
}


.article-img-container,
.article-content-container {
    flex: 1;

}

.drawers-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px 0px 0px 10px;
    display: block;
}

.article-content-container {
    background-color: #fff;
    border-radius: 0px 10px 10px 0px;
    height: auto;
    width: 500px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.main-heading {
    color: #48556A;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 28px;
    letter-spacing: .25px;
    padding-bottom: 1rem;
}

.preview-text {
    color: #6e8098;
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 20px;
    padding-bottom: .5rem;
}

.author-info {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.date-name-avatar-container {
    display: flex;
    align-items: center;
}

.author-avatar-img {
    border-radius: 50%;
    width: 40px;
    margin-right: 1rem;
}

.author-name {
    color: #48556A;
    font-size: 13px;
    font-weight: 700;
    line-height: 20px;
    margin-top: 1rem;
}

.share-btn-container {
    height: 40px;
    width: 40px;
    background-color: #ECF2F8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 11;

}

.share-shape-container {
    position: absolute;
    left: 250px;
    top: -75px;
    z-index: 2;
    background-color: #48556A;
    border-radius: 7px;
    width: 248px;
    height: 60px;
    box-shadow: 0px 40px 40px -10px rgba(201, 213, 225, 0.50);

}

.share-shape-container::after {
    content: "";
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid #48556A;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.share-icons-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1.2rem;
    column-gap: 20px;
}

.share-text-p {
    color: #9DAEC2;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: 5px;
}



/* Media Queries */

@media (max-width: 768px) {

    .article-preview-container {
        flex-direction: column;
        margin: 5rem 2rem;
    }

    .article-img-container {
        width: 100%;
    }

    .drawers-img {
        width: 100%;
        height: auto;
        border-radius: 10px 10px 0 0;
    }

    .article-content-container {
        width: 100%;
        border-radius: 0 0 10px 10px;
        padding-bottom: 0;
    }

    .share-shape-container {
        width: 100%;
        position: static;
        padding: 1rem;
        background-color: #48556A;
        border-radius: 10px;
        height: auto;
    }

    .share-shape-container.mobile-active {
        display: block;
    }

    .share-icons-container {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 20px;
        margin: 0;
    }



    .share-shape-container::after {
        display: none;
    }

    .date-name-avatar-container.display-none {
        display: none;
    }
}