/* Custom background and content styling */
body {
  background-image: url('/images/background.png');
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
  min-height: 100vh;
  position: relative;
  margin: 0;
  padding: 0;
}

body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.2); /* Dark overlay for better text readability */
  z-index: -1;
}

/* Logo styling */
header .logo {
  height: 90px;
  width: auto;
  border: none;
  background: none;
}

header .main {
  display: flex;
  align-items: center;
}

header .logo-link {
  display: inline-block;
  margin-right: 15px;
  text-decoration: none;
  border: none !important;
}

header .logo-link:hover {
  background-color: transparent !important;
}

header .site-title-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  height: 60px; /* Match the logo height for vertical centering */
}

header .site-title {
  display: flex;
  align-items: center;
  height: 100%;
}

.main-content {
  min-height: 100vh;
  padding: 1rem;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

/* Adjust header and footer to match the dark theme */
header, footer {
  color: #ffffff;
  border-color: #555 !important; /* Darker border for better visibility */
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
}

header {
  border-bottom: 1px solid #555 !important;
  padding-bottom: 1rem !important;
  margin-bottom: 1.5rem !important;
}

h1, h2, h3, h4, h5, h6 {
  color: #ffffff;
}

p, a, time, .meta {
  color: #e0e0e0 !important;
}

a {
  border-bottom: 3px solid #EE2A35 !important; /* Accent color that works well on dark backgrounds */
}

a:hover, a:focus {
  background-color: #EE2A35 !important;
  color: #000000 !important;
}

/* Centered content area with max width of 1000px and small margins */
.content {
  max-width: 1000px; /* Maximum width as requested */
  margin: 2rem auto; /* Center the content with small margin */
  background-color: rgba(32, 33, 36, 0.9); /* Dark semi-transparent background */
  color: #ffffff; /* White text for readability */
  backdrop-filter: blur(10px); /* Glass-like effect */
  border-radius: 15px;
  padding: 2.5rem; /* Slight padding */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1); /* Subtle border */
  width: 100%;
}

/* Responsive design for smaller screens */
@media (max-width: 1020px) {
  .content {
    margin: 1rem auto;
    padding: 1.5rem;
  }
  
  header, footer {
    margin: 0 auto;
  }
}