* {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
}

body {
   font-family: Arial, sans-serif;
   line-height: 1.6;
   color: #333;
   background-color: #fafafa;
   display: flex;
   flex-direction: column;
   min-height: 100vh;
}

#post-list {
   list-style: none;
   padding-left: 0;
}

#post-list a,
#post-list a:visited,
#post-list a:active,
#post-list a:focus {
   color: #1e1e1e;
   text-decoration: none;
   transition: color 0.3s ease;
}

#post-list a:hover {
   color: #555;
   text-decoration: underline;
}


nav {
   color: #1e1e1e;
   padding: 0.8rem 1.5rem;
}

.nav-container {
   display: flex;
   justify-content: space-between;
   align-items: center;
   flex-wrap: wrap;
}

.nav-links {
   list-style: none;
   display: flex;
   gap: 1rem;
   flex-wrap: wrap;
}

.nav-links a,
a.logo {
   color: #1e1e1e !important;
   text-decoration: none !important;
   transition: color 0.2s ease;
}

.nav-links a:hover,
a.logo:hover {
   color: #ddd !important;
}

.nav-links a:visited,
.nav-links a:active,
.nav-links a:focus,
a.logo:visited,
a.logo:active,
a.logo:focus {
   color: #1e1e1e !important;
   text-decoration: none !important;
}

main {
   flex: 1;
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;
   padding: 2rem;
   text-align: center;
}

main h1 {
   font-size: 2.5rem;
   margin-bottom: 2rem;
}

main pre {
   max-width: 600px;
   width: 90%;
   margin: 0 auto 2rem auto;
   white-space: pre-wrap;
   word-wrap: break-word;
   font-size: 1.1rem;
   line-height: 1.8;
}

main pre::first-letter,
main p::first-letter {
   font-size: inherit;
   font-weight: inherit;
}

footer {
   text-align: center;
   padding: 1rem;
   font-size: 0.9rem;
   color: #666;
   margin-top: auto;
}

@media (max-width: 768px) {
   nav {
      padding: 0.5rem 1rem;
   }

   .nav-links {
      gap: 0.5rem;
   }

   main h1 {
      font-size: 2rem;
   }

   main pre {
      font-size: 1rem;
      max-width: 90%;
   }
}