/* Reset some defaults */
body, h1, h2, h3, p, ul {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Global body */
body {
  background-color: #ffffff;
  color: #222;
  line-height: 1.9;
  font-size: 18px;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center; /* Center the main content horizontally */
  align-items: flex-start; /* Align items at the top of the viewport */
  min-height: 100vh; /* Full viewport height */
  flex-direction: column; /* Ensure content flows vertically */
}

/* Header */
header.header {
  background-color: #1f2937;
  color: white;
  padding: 20px 0;
  width: 100%; /* Full background */
}

.header .header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px; /* Responsive padding */
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  box-sizing: border-box;
}

header.header .logo {
  font-size: 24px;
  font-weight: bold;
  text-decoration: none;
  color: #f7931e; /* cnpjltd logo cor */
}

header.header nav {
  display: flex; /* Ensures links are inline */
}

header.header nav a {
  color: white;
  margin-left: 20px;
  text-decoration: none;
  font-size: 18px;
}

header.header nav a:hover {
  text-decoration: underline;
}

/* Main container for content */
main {
  max-width: 1000px; /* Limit content width */
  width: 100%; /* Ensure it scales responsively */
  padding: 20px;
  margin-top: 40px;
  margin-left: auto; /* Center horizontally */
  margin-right: auto; /* Center horizontally */
  background: white;
  border-top: 2px solid #2e3192;
  border-bottom: 2px solid #2e3192;
  margin-bottom: 40px;
  box-sizing: border-box;
}

h1 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #b45309; /* brownish tone */
}

p, li, br {
  margin-bottom: 12px;
}

/* Text formatting for the page content */
p {
  font-size: 18px;
  color: #333; /* Slightly lighter color for readability */
}

/* Lists */
ul {
  padding-left: 24px;
}

ul li {
  margin-bottom: 10px;
  line-height: 1.6;
}

/* Footer */
footer {
  align-self: center;
  font-size: 16px;
  margin: 40px 0;
  color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
  header.header {
    flex-direction: column; /* Stack logo and nav vertically on smaller screens */
    align-items: flex-start;
  }

  header.header nav {
    flex-direction: column; /* Stack navigation links vertically on small screens */
    margin-top: 10px;
  }

  main {
    padding: 15px;
    margin-top: 20px;
  }
}
