* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #fafafa;
    color: #262626;
    padding: 20px 0;
}

header {
    text-align: center;
    margin-bottom: 25px;
}

header h1 {
    margin-bottom: 15px;
}

main {
    width: 100%;
    max-width: 935px;
    padding: 0 16px;
    margin-right: auto;
    margin-left: auto;
}

article {
    background: #ffffff;
    border: 1px solid #dbdbdb;
    border-radius: 3px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

a {
    color: #353535;
    text-decoration: underline dotted;
    transition: 0.2s;
}

a:hover:not(.active) {
    color: #808080;
    text-decoration: underline;
}

.social {
    line-height: 45px;
}

.social a {
    color: #1a1a1a;
    background-color: #eeeeee;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    padding: 10px 20px;
    margin: 5px;
    transition: 0.1s;
}

.social a:hover:not(.active) {
    color: #212121;
    background-color: #dddddd;
    text-decoration: none;
}

.image {
    width: 100%;
    display: flex;
    align-items: center;
    background: black;
    justify-content: center;
}

.image img {
    width: 100%;
    max-width: 200px;
    display: block;
    object-fit: cover;
}

.message {
    padding: 16px;
    display: flex;
    flex-direction: column;
}

.time {
    font-size: 10px;
    color: #8e8e8e;
    text-transform: uppercase;
    margin-top: 20px;
    letter-spacing: 0.2px;
}

footer {
    text-align: center;
}

@media (min-width: 736px) {
    article { flex-direction: row; }

    .image {
        width: 33%;
        height: auto;
    }

    .image img { height: 100%; }

    .message {
        width: 67%;
        height: 100%;
        border-left: 1px solid #dbdbdb;
        padding: 24px;
    }
}
