:root {
    --grey-200: #ECF2F8;
    --grey-400: #9DAEC2;
    --grey-500: #6E8098;
    --grey-900: #48556A;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--grey-200);
    min-height: 100vh;
}

h1, p {
    padding: 0px;
    margin: 0px;
    font-family:Arial, Helvetica, sans-serif;
}

h1 {
    font-size: 1.25rem;
    line-height: 130%;
    letter-spacing: 0.25px;
    font-weight: 800;
    color: var(--grey-900);
}

p {
    font-size: 0.8rem;
    line-height: 140%;
    font-weight: 400;
    color: var(--grey-500);
}

button {
    background: none;
    border: none;
    padding: 0;
    border-radius: 100%;
    height: 32px;
    width: 32px;
    cursor: pointer;
    background-color: var(--grey-200);
    margin-top: 10px;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

img {
    padding: 0;
    margin: 0;
    display: block;
}

.wrapper-top {
    max-width: 730px;
    display: flex;
    box-sizing: border-box;
    margin: auto;
    box-shadow: 4px 4px 15px var(--grey-400);
    border-radius: 10px;
}

.wrapper-content {
    background-color: white;
    display: flex;
    flex-direction: column;
    padding: 30px 40px;
    border-radius: 0px 10px 10px 0px;
    gap: 1.5rem;
}

.wrapper-author {
    height: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.wrapper-link {
    position: relative;
}

.author-info {
    margin-right: auto;
    margin-left: 1rem;
    display: block;
}

#author-name {
    color: var(--grey-900);
}

#date {
    color: var(--grey-400);
}

#img-drawer {
    display: flex;
    flex-wrap: nowrap;
}

#img-drawer img {
    width: 100%;
    border-radius: 10px 0px 0px 10px;
}

#img-author {
    height: 40px;
    border-radius: 100%;
}

#img-share {
    margin: auto;
    color: var(--grey-500);
}

.share-link {
    position: absolute;
    z-index: 10;
    background-color: var(--grey-900);
    transform: translate(-43%, -190%);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    border-radius: 10px;
    padding: 16px 38px;
    box-shadow: 2px 2px 10px var(--grey-400);
}

.share-link-triangle {
    position: absolute;
    z-index: 10;
    transform: translate(30%, -490%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid var(--grey-900); /* color of the triangle */
}

.share {
    letter-spacing: 4px;
}

@media (max-width: 365px) {
    .wrapper-top {
      flex-direction: column;
    }
    #img-drawer {
        width: 100%;
        border-radius: 0px;
        margin: auto;
    }
    .share-link {
        background-color: var(--grey-900);
        display: flex;
        flex-direction: row;
        align-items: center;
        transform: translate(-75%, -190%);
        gap: 1.5rem;
        border-radius: 10px;
        padding: 16px 38px;
        box-shadow: 2px 2px 10px var(--grey-400);
        min-width: max-content;
    }
}