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

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: hsl(210, 46%, 95%);
    font-size: 13px;
    font-family: 'Manrope', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    color: hsl(217, 19%, 35%);
}
p {
    color: hsl(214, 17%, 51%);
    font-weight: 500;
    line-height: 1.4rem;
}

.wrapper {
    height: 100vh;
    width: 100%;
    margin: 0 auto;
    align-content: center;
}

.none {
    display: none !important;   
}


.article {
    max-width: 700px;
    margin: 0 auto;
    margin-top: 150px;
    display: flex;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 6px 6px 5px 0px rgba(20, 20, 20, 0.4) 
}

.article .article-content {
    padding: 2rem;
}

.col-1 {
    margin: 0;
    min-width: 200px;
    min-width: 200px;
    width: 100%;
    background-image: url(./images/drawers.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 10px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.col-2 {
    margin: 0;
    padding: 0;
}


.article .article-footer {
    display: flex;
    justify-content: space-between;
}

.article .article-footer .article-user {
    display: flex;
}

.article-user .user-avatar {
    border-radius: 100%;
    width: 3rem;
    height: 3rem;
}

.article-user .user-info {
    margin-left: 1rem;
}

.article-user .user-info h3 {
    margin-top: .5rem;
    margin-bottom: 0;
}
.article-user .user-info p {
    margin-top: .1rem;
    color: hsl(212, 23%, 69%);
}

.article-share {   
    align-self: center;
    position: relative;
}
.article-share .share-icon {
    margin: 0;
    padding: .4rem;
    text-align: center;
    position: relative;
    background-color: hsl(210, 46%, 95%);
    border-radius: 100%;
}
.article-share .share-icon.active {
    background-color: hsl(214, 17%, 51%);
}
.article-share .share-icon.active path {
    fill: #fff;
}

.links {
    position: absolute;
    background-color: hsl(217, 19%, 35%);
    display: flex;
    justify-content: space-between;
    margin: 0;
    padding: 0 1rem;
    width: 200px;
    right: -360%;
    bottom: 135%;
    align-items: center;
    -moz-border-radius: 10px;
      -webkit-border-radius: 10px;
      border-radius: 10px;
}
.links:before {
    content: "";
    position: absolute;
    left: 45%;
    top: 35px;
    width: 0;
    height: 0;
    border-top: 26px solid hsl(217, 19%, 35%);
    border-right: 13px solid transparent;
    border-left: 13px solid transparent;
    /* border-bottom: 26px solid red; */
}
.links li {
    list-style: none;
}
.links a {
    text-decoration: none;
}
.links p {
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 5px;
}


@media (max-width: 365px) {
    .article {
        flex-direction: column;
        margin: 1rem;
    }
    .article-footer .article-share {
        position: unset;
    }
    .article-footer .article-share .share-icon {
        z-index: 10;
    }
    .article .article-footer {
        position: relative;
    }


    .col-1 {
        width: 100%;
        height: 250px;
        border-radius: 10px;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }

    .article .article-content {
        padding: 1rem;
        padding-bottom: 0;
    }
    

    .links {
        max-width: 100%;
        width: 100%;
        height: 100%;
        left: -5%;
        bottom: 0%;
        border-radius: 10px;
        justify-content: flex-start;
    }
    .links:before {
        border-top: 0;
    }
    .links li {
        padding: .5rem;
    }
}