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

body {
   font-family: "Lucida Console", Courier, monospace;
    line-height: 1.6;
    color: #c8c8c8;
    background-color: #5e5e5e;
    
}

header {
    background-color: #f0f0f0;
    border-bottom: 1px solid #ddd;
    padding: 1rem 0;
}

nav {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}

nav h1 a {
    text-decoration: none;
    color: #4d4c4c;
    font-size: 1.5rem;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
}

nav ul li a {
    text-decoration: none;
    color: #393939;
    font-weight: 500;
}

nav ul li a:hover {
    color: #333;
}

main {
    max-width: 800px;
    margin: 2rem auto;
    background-color: #1b1b1b;
    border-radius: 3px;
    box-shadow: 0 4px 4px rgba(0,0,0,0.1);
    padding: 2rem;
}

h2 {
    margin-bottom: 1.5rem;
    color: #d6d6d6;
}

.post-preview, .post-listing {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.post-preview:last-child, .post-listing:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.post-preview h3, .post-listing h3 {
    margin-bottom: 0.5rem;
}

.post-preview h3 a, .post-listing h3 a {
    text-decoration: none;
    color: #a8a8a8;
}

.post-preview h3 a:hover, .post-listing h3 a:hover {
    color: #d8d7d7;
}

.date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.read-more {
    color: #929292;
    text-decoration: none;
    font-weight: 500;
}

.read-more:hover {
    text-decoration: underline;
}

p a {
      color: #d6d6d6;
 
}
.post-full h2 {
    margin-bottom: 0.5rem;
}

.content {
    margin-top: 1.5rem;
}

.content h1, .content h2, .content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.content p {
    margin-bottom: 1rem;
}

.content code {
    background-color: #252525;
    padding: 2px 4px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
}

.content pre {
    background-color: #252525;
    padding: 1rem;
    border-radius: 5px;
    overflow-x: auto;
    margin: 1rem 0;
}

.content blockquote {
    border-left: 4px solid #252525;
    padding-left: 1rem;
    margin: 1rem 0;
    color: #777777;
}

.post-navigation {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
}

.nav-prev, .nav-next {
    text-decoration: none;
    color: #818181;
    font-weight: 500;
    max-width: 45%;
}

.nav-prev:hover, .nav-next:hover {
    text-decoration: underline;
}

.nav-next {
    text-align: right;
}

footer {
    text-align: center;
    padding: 2rem;
    color: #666;
    font-size: 0.9rem;
}

/* Center all images in post content */
.content img {
    display: block;
    margin: 1rem auto;
    max-width: 100%;
    height: auto;
}

@media (max-width: 800px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .post-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-next {
        text-align: left;
    }

    /* this is a test*/
      main {
    padding: 2.5rem; /* 48px on all sides if base font-size = 16px */
    margin: 2rem 0.5rem 2rem 0.5rem; /* 2rem space on left and right sides */
  }
  /* end test */
}

#foot {
  color: rgb(223, 223, 223);  
}