/* Base styles */
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 15px;
  width: 100%;
  box-sizing: border-box;
}

/* Header styles */
header {
  text-align: left;
  padding: 50px 0 0;
}

header h1 {
  font-size: 4em;
  margin: 0;
  line-height: 1;
  font-weight: 300;
}

header h2 {
  font-size: 2em;
  font-weight: 300;
  margin: 5px 0 0 0;
  line-height: 1.2;
}

header h3 {
  color: #e74c3c;
  font-size: 1.5em;
  font-weight: 300;
  margin: 5px 0 0;
  line-height: 1.2;
}

/* Navigation styles */
nav {
  margin-top: 15px;
  margin-bottom: 10px;
  position: relative;
}

nav::before, nav::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
}

nav::before {
  bottom: 4px;
  background-color: #e74c3c;
}

nav::after {
  bottom: 2px;
  background-color: #3498db;
}

nav ul {
  list-style-type: none;
  padding: 0 0 8px 0;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 2px solid #34495e;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  text-decoration: none;
  color: #333;
  padding: 5px 0;
  display: inline-block;
  font-weight: 300;
  transition: color 0.3s ease;
}

/* nav ul li a:hover {
  color: #3498db;
} */

nav ul li a.active {
  color: #e74c3c;
  font-weight: 400;
}

/* Main content styles */
main {
  flex-grow: 1;
  padding-top: 10px;
  padding-bottom: 40px;
}

/* Main content header styles */
main h1, main h2, main h3, main h4, main h5, main h6 {
  color: #34495e; /* Same color as the footer */
  font-weight: 300; /* Keeping the thin font style */
}

main h2 {
  font-size: 2em;
  margin: 0px;
}

main img {
  max-width: 100%;
  height: auto;
}

/* Footer styles */
footer {
  background-color: #34495e;
  color: white;
  padding: 20px 0;
  width: 100%;
  margin-top: auto;
}

footer .footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}

footer .footer-section {
  flex: 1;
  margin-right: 20px;
}

footer .footer-section.sitemap {
  flex: 0 0 auto;
  margin-right: 0;
  text-align: right;
}

footer .social-icons a {
  color: white;
  text-decoration: none;
  margin-right: 10px;
}

footer .sitemap ul {
  list-style-type: none;
  padding: 0;
}

footer .sitemap ul li {
  margin-bottom: 0px;
}

footer .sitemap ul li a {
  color: white;
  text-decoration: none;
}

footer .copyright,
footer .github-link {
  text-align: center;
  margin-top: 20px;
}

footer .github-link a {
  color: white;
}

/* Specific section styles */
.announcements h3 {
  color: #e74c3c;
}

/* Announcement board styles */
.announcement-board {
  background-color: #f8f9fa;
  border-radius: 10px;
  padding: 20px;
  margin: 20px 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.announcement-board h2 {
  color: #e74c3c;
  margin: 0;
}

.announcement-board ul {
  /* list-style-type: none; */
  padding-left: 20px;
}

.announcement-board li {
  margin-bottom: 0px;
}

.announcement-board li:last-child {
  margin-bottom: 0;
}

/* Responsive design */
@media (max-width: 768px) {
  .container {
      padding: 0 10px;
  }

  header h1 {
      font-size: 3em;
  }

  header h2 {
      font-size: 1.5em;
  }

  header h3 {
      font-size: 1.2em;
  }

  nav ul {
      flex-direction: column;
      align-items: center;
  }
  
  nav ul li {
      margin: 5px 0;
  }
  
  footer .footer-content {
      flex-direction: column;
  }
  
  footer .footer-section,
  footer .footer-section.sitemap {
      margin-right: 0;
      margin-bottom: 20px;
      text-align: left;
  }
}