*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: sans-serif;
    margin: 0;
    color: blue;
}

.wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    background-color: blueviolet;
    border-radius: 15px;
}

header h1 {
    text-align: center;
    text-transform: uppercase;
}

.post {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-flow: dense;
    gap: 8px;
    padding: 8px;
    border-radius: 16px;
    margin-bottom: 0.5rem;
    background-color: floralwhite;
}

.post-featured-image {
    margin: 0;
}

.post-featured-image img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    padding: 4px;
    background-color: limegreen;
    border: 25px solid green;
}

footer {
    gap: 4px;
    margin-bottom: 4px;
    text-align: end;
}
a:link {
    color: rgb(243, 202, 0);
}

a:visited {
    color: rgb(255, 0, 255);
}

a:hover {
    color: rgb(0, 251, 255);
}

a:active {
    color: rgb(136, 0, 255);
}

@media screen and (min-width: 768px) {
    .post {
        grid-template-columns: repeat(2, 2fr);
    }

    .post-content {
        border-top: 1px dashed rgb(0, 255, 34);
    }
    footer{
       grid-column: 2;
    }
}
