
.container {
    margin-top: var(--header-height);
    background-color: var(--bg-secondary);
}

h1 {
    display: block;
    text-align: center;
    width: 100%;
    margin: 3rem auto;
    font-size: 3em;
    font-weight: 800;
    color: var(--bg-primary);
    text-decoration: underline;
    padding: 1rem 0;
}

.container .wrapper strong {
    font-weight: 600;
    font-size: 1.4em;
    padding: 10px 10px 10px 0;
}

.container .wrapper>p {
    background-color: var(--bg-primary);
    padding: 3rem;
    width: 92%;
    font-size: 1.3em;
    margin: 0 auto;
    border-radius: 8px;

}

.blog {
    padding: 2rem;
    min-height: calc(100vh - var(--header-height));
    border-radius: 8px;
}

.post-container {
    /* display: grid;
    grid-template-columns: repeat(2, 1fr); */
    
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.post {
    border: 2px solid var(--cta);
    /* grid-template-columns: 100%;
    grid-template-rows: 20% 12% 20%; */
    padding: 2rem 1.5rem;
    gap: 1rem 0;
    background-color: var(--bg-primary);
    margin: 1rem;
    border-radius: 6px;
    align-items: center;
    width: calc(50% - 2rem);
}

.post img {
    max-height: 250px;
    border-bottom: 1px solid var(--bg-secondary);
    margin-bottom: 2rem;
    padding: 1rem;
}
.post .date {
    display: grid;
    margin: 5px 0;
    text-decoration: underline;
    opacity: 0.6;
}
.post p {
    font-size: 1.2em;
    text-align: left;
    width: 100%;
}
.post h3 {
    text-decoration: underline;
    font-size: 1.2em;
    font-weight: 700;
    text-align: left;
}

.post a {
    text-align: center;
}


@media only screen and (max-width: 1150px) {
    .post-container {
        flex-direction: column;
    }

    .post {
        margin: 2rem auto;
        width: 100%;
        
    }

    .container .wrapper .post p {
        font-size: 1.1em;
        padding: 0;
        margin: 0;
    }

    .container .wrapper>p {
        padding: 4rem 1rem;
        font-size: 1.2em;
    }

}

/* @media only screen and (min-width: 1000px and max-width: 1100px) {
    .wrapper {
        background-color: red;
    }
} */