/* General Font and Page Styling */
html, body {
  font-family: 'Roboto', sans-serif;
  background-color: #121212;
  color: #e0e0e0;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

/* Centered Main Content Wrapper */
.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header and Footer Styling */
header, footer {
  text-align: center;
  background-color: #1e1e1e;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  display: flex; /* Use Flexbox for vertical centering */
  align-items: center; /* Center text vertically */
  justify-content: center; /* Center text horizontally */
}

header {
  padding: 8px 0; /* Slightly larger padding for the header */
  height: 50px; /* Increase header height */
}

footer {
  padding: 5px 0; /* Smaller padding for footer */
  height: 30px; /* Footer remains shorter */
}

header:hover, footer:hover {
  padding: 10px 0; /* Adjust hover padding for slight expansion */
}

/* Centered and Narrow Main Content */
main {
  max-width: 800px;
  margin: 20px auto;
  padding: 20px;
  background-color: #181818;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  flex-grow: 1;
}

/* Headings */
h1, h2, h3 {
  color: #00ffea;
  text-shadow: 0 0 5px #00ffea;
}

/* Link Styling */
a {
  color: #00ffea;
  text-decoration: none;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

a:hover {
  text-decoration: underline;
  color: #ffffff;
  text-shadow: 0 0 5px #00ffea;
}

/* Code Block Styling */
pre, code {
  font-family: 'Courier New', Courier, monospace;
  color: #00ffea;
  background-color: #1e1e1e;
  font-size: 0.85em;
  border-radius: 4px;
  overflow-x: auto;
  padding: 10px;
  margin: 16px 0;
}

/* Inline Code Styling */
code {
  padding: 2px 4px;
}

/* Table Styling */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background-color: #222;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}

th, td {
  border: 1px solid #333;
  padding: 10px;
  text-align: left;
}

th {
  background-color: #333;
  font-weight: bold;
  color: #e0e0e0;
}

tr:nth-child(even) {
  background-color: #292929;
}

/* Blockquote Styling */
blockquote {
  border-left: 4px solid #00ffea;
  padding-left: 15px;
  color: #bbb;
  font-style: italic;
  margin: 15px 0;
  background-color: #1e1e1e;
  padding: 15px;
  border-radius: 5px;
}
