code {
    background-color: #bdbdbd;
    color: var(--color);
    padding: 2px;
    border-radius: 6px;
    font-family: monospace;
}

img {
    max-width: 90%;
    margin: auto;
}

nav a {
    text-decoration: none;
}

a {
    color: var(--color);
}

.post_image:not(.blog_posts .post .post_image) {
    width: 100%;
    height: 40vh;
    border-radius: 5px;
    background-size: cover;
    background-position: center;
}

.blog_posts {
    display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 20px;
}

.blog_posts .post {
    display: flex;
    flex-direction: row;
    text-decoration: none;
    flex: 0 0 45%;
    margin: 10px;
    background-color: #00000033;
    border-radius: 5px;
    overflow: hidden;
    transition: 0.25s;
}

.blog_posts .post:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.blog_posts .post .post_image {
  width: 50%;
  background-size: cover;
  background-position: center;
}

.blog_posts .post .post_data {
  flex: 1;
  padding: 20px;
}

.post_header {
    border-bottom: 1px solid #212121;
}

.post_page {
    width: 60%;
    margin: auto;
}

@media screen and (max-width: 800px) {
    .blog_posts .post {
        flex: 0 0 90%;
        flex-direction: column;
    }

    .blog_posts .post .post_image {
      height: 150px;
      width: 100%;
      background-size: cover;
      background-position: center;
    }
    
    .post_page {
        width: 90%;
    }
}