@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --VeryDarkGrayishBlue: hsl(217, 19%, 35%);
    --DesaturatedDarkBlue: hsl(214, 17%, 51%);
    --GrayishBlue: hsl(212, 23%, 69%);
    --LightGrayishBlue: hsl(210, 46%, 95%);
    --White: hsl(0, 0%, 100%);
}
body {
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    background-color: var(--LightGrayishBlue);
}

.main-container {
    display: flex;
    background-color: var(--White);
    width: 730px;
    height: 280px;
    margin: 60px auto;
    border-radius: 10px;
}
.image {
    background-image: url(images/drawers.jpg);
    background-size: cover;
    width: 280px;
    height: 280px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}
.section-text {
    padding: 30px 50px 30px 38px;
}
.section-text .section-title {
    color: var(--VeryDarkGrayishBlue);
    padding-bottom: 15px;
}
.section-text .section-paragraph {
    color: var(--DesaturatedDarkBlue);
    padding-bottom: 30px;
}
.profile-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.profile-container .profile img {
    border-radius: 50%;
    height: 40px;
    margin-right: 15px;
}
.profile-container .profile {
    display: flex;
}
.profile-container .profile .profile-text .profile-name {
    color: var(--VeryDarkGrayishBlue);
    font-weight: 700;
    padding-bottom: 3px;
}
.profile-container .profile .profile-text .profile-date {
    color: var(--GrayishBlue);
}
.share, #share {
    padding: 8px;
    background-color: var(--LightGrayishBlue);
    border-radius: 50%;
    border: none;
    cursor: pointer;
}
.share:hover, #share:hover {
    background-color: var(--DesaturatedDarkBlue);
}
.share-after {
    display: none;
    justify-content: space-around;
    align-items: center;
    position: relative;
    background-color: var(--VeryDarkGrayishBlue);
    width: 250px;
    height: 55px;
    bottom: 120px;
    left: 222px;
    border-radius: 10px;
    padding: 10px;
}
.share-after p {
    color: var(--GrayishBlue);
    text-transform: uppercase;
    letter-spacing: 5px;
    padding-right: 10px;
}
.share-links {
    display: flex;
    align-items: center;
}
.share-link {
    padding: 0 8px 0 8px;
}
.share-after::after {
    content: "";
    position: absolute;
    top: 55px;
    border-width: 10px;
    border-style: solid;
    border-color: var(--VeryDarkGrayishBlue) transparent transparent transparent;
}
#share {
    display: none;
}

@media screen and (max-width: 865px) {
    .main-container {
        flex-direction: column;
        justify-content: flex-end;
        width: 330px;
        height: 480px;
    }
    .image {
        width: 330px;
        height: 200px;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
        border-bottom-left-radius: 0;
    }
    .section-title {
        font-size: 15px;
    }
    .share-after::after {
        content: none;
    }
    .share-after {
        width: 330px;
        bottom: 0;
        left: 0;
        margin: -40px;
        height: 80px;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
    }
    #share {
        display: flex;
    }
}