#blog-posts {
    & ul {
        list-style: none;
    }
    
    & .blog-card {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        background-color: white;
        margin-bottom: 2rem;
        border-radius: 25px;
        gap: 1rem;

        & .content {
            max-width: 800px;
            margin-block: auto;
        }

        & img {
            margin: auto;
            aspect-ratio: 1/1;
            height: 200px;
            width: 200px;
        }
    }

    & li {
        color: var(--base-300);
        padding-block: 2rem;

        & .date {
            font-size: 1.25rem;
        }

        & p {
            display: none;
            font-size: 1rem;
            font-weight: normal;
        }
    }

    & h3 {
        font-size: 1.5rem;
        font-weight: normal;
        padding-inline: 1rem;
    }

    & a {
        text-decoration: none;
        color: var(--base-300);

        &:hover {
            color: var(--brand);
        }
    }
}

.blog-post {
    & img {
        max-height: 100vh;
        height: 100%;
        width: 100%;
        object-fit: cover;
    }
}

@media only screen and (min-width: 1027.1px) {
    #blog-posts {
        & li p {
            display: block;
        }
    }

    #blog-posts .blog-card{
        flex-direction: row;
    }

    .blog-post li {
        margin-bottom: 1rem;
    }


}
