* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  font-family: sans-serif;
  line-height: 1.6;
  background: linear-gradient( rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) ), url('../images/background2.png') center center fixed;
  background-size: cover;
  color: #f0f0f0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header {
  background-color: #3a3a3a;
  padding: 1rem;
  display: flex;
  align-items: center;
  border-radius: 0 0 1rem 1rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

#logo {
  height: 40px;
  margin-right: 1rem;
}

nav a {
  margin-right: 1rem;
  text-decoration: none;
  color: #f0f0f0;
}

nav a:hover {
  text-decoration: underline;
}

main {
  flex: 1;
  max-width: 900px;
  margin: 2rem auto;
  background: #3a3a3a;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

main h1, main h2, main h3 {
  margin-top: 1.5rem;
}

main p {
  margin: 1rem 0;
}

main pre {
  background: #222;
  padding: 1rem;
  overflow-x: auto;
  color: #ddd;
}

main ul, main ol {
  margin: 1rem 0 1rem 2rem;
}

main a {
  color: #88c0d0;
  text-decoration: underline;
}

main a:hover {
  color: #a3d2e2;
}

footer {
  background-color: #3a3a3a;
  color: #f0f0f0;
  padding: 1rem;
  text-align: center;
  border-radius: 1rem 1rem 0 0;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.3);
  margin-top: auto;
}
