/* Reset basics */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #f6f6f6; /* Light grayish background */
  color: #222; /* Dark gray text */
  font-family: Consolas, "Courier New", monospace; /* Consolas font */
  font-size: 16px; /* Slightly larger font for readability */
  line-height: 1.6;
  display: flex;
  justify-content: center;
  padding: 2rem 1rem;
}

#page {
  max-width: 800px; /* A bit wider for better readability */
  width: 100%;
}

header h1 {
  font-weight: 400; /* Regular font weight */
  font-size: 2.5rem; /* Larger heading */
  margin-bottom: 0.5rem;
  text-align: center;
  position: relative;
}

header h1::after {
  content: "";
  position: absolute;
  bottom: -10px; /* Larger space from text */
  left: 0;
  width: 100%;
  height: 3px; /* Thicker line */
  background-color: #222; /* Dark gray line */
}

header nav {
  margin-bottom: 1.5rem;
}

.menu {
  list-style: none;
  display: flex;
  justify-content: center; /* center menu horizontally */
  gap: 2rem; /* space between menu items */
  font-size: 1rem;
}

.menu li a {
  text-decoration: none;
  color: #222; /* Dark gray text for links */
  font-weight: 400; /* Regular weight */
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.menu li a:hover {
  border-bottom: 2px solid #222; /* Underline on hover */
}

header p {
  color: #666;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

#about-me {
  margin-bottom: 1.5rem; /* Reduced margin-bottom */
  padding-bottom: 0.5rem; /* Reduced padding */
  text-align: left;
}

#about-me h2 {
  font-size: 1.5rem; /* Slightly larger subheading */
  font-weight: 400; /* Regular weight */
  margin-bottom: 0.5rem; /* Slightly larger space */
  text-align: left;
  position: relative;
}

#about-me h2::after {
  content: "";
  position: absolute;
  bottom: -10px; /* Larger space from text */
  left: 0;
  width: 100%;
  height: 3px; /* Thicker line */
  background-color: #222; /* Dark gray line */
}

#about-me p {
  font-size: 1rem; /* Standard text size */
  color: #222; /* Dark gray text */
  text-align: left;
  margin-top: 0;
  margin-bottom: 1.5rem;
}

#description p {
  font-size: 1rem; /* Standard text size */
  margin-bottom: 1.5rem;
  color: #222; /* Dark gray text */
  text-align: left;
}

#articles h2 {
  font-weight: 400; /* Regular weight */
  font-size: 1.5rem; /* Slightly larger subheading */
  margin-bottom: 1rem;
  text-align: left;
  position: relative;
}

#articles h2::after {
  content: "";
  position: absolute;
  bottom: -10px; /* Larger space from text */
  left: 0;
  width: 100%;
  height: 3px; /* Thicker line */
  background-color: #222; /* Dark gray line */
}

#articles ul {
  list-style: none;
}

#articles li {
  margin-bottom: 1rem; /* Increased spacing for readability */
  font-size: 1rem; /* Standard text size */
}

#articles time {
  color: #999; /* Lighter gray for dates */
  margin-right: 0.5rem;
  font-family: monospace;
}

#articles a {
  text-decoration: none;
  color: #222; /* Dark gray for links */
  font-weight: 400; /* Regular weight */
}

#articles a:hover {
  text-decoration: underline; /* Underline on hover */
}

.title-container {
  display: flex;
  align-items: center;
  justify-content: center; /* center horizontally */
  gap: 12px; /* space between image and text */
  margin-bottom: 0.5rem;
  position: relative;
}

.title-container::after {
  content: "";
  position: absolute;
  bottom: -10px; /* matches your original underline spacing */
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #222;
}

.title-logo {
  height: 50px; /* adjust size */
  width: auto;
}

.title-container h1 {
  font-weight: 400;
  font-size: 2.5rem;
  margin: 0;
}

