/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  background-color: #fdfdfd;
  color: #333;
  font-size: 1rem;
}

/* Layout */
.layout {
  display: flex;
  flex-direction: row;
  min-height: 100vh;
}

.sidebar {
  width: 250px;
  background-color: #f4f4f4;
  padding: 20px;
  font-family: 'Courier New', Courier, monospace;
  border-right: 2px solid #ccc;
}

.sidebar h2 {
  font-size: 1.2em;
  margin-bottom: 10px;
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar ul li {
  margin: 10px 0;
}

.sidebar ul li a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

.main-content {
  flex: 1;
  padding: 20px;
}

/* Header */
header {
  background-color: #fff;
  border-bottom: 1px solid #ddd;
  padding: 1rem 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

nav a:hover {
  color: #e67e22;
}

/* Tagline */
.tagline {
  background-color: #ffe5b4;
  padding: 2rem;
  text-align: center;
  font-size: 1.2rem;
  font-style: italic;
}

/* Main Content */
main {
  padding: 2rem;
}

.content {
  max-width: 800px;
  margin: auto;
}

/* Footer */
footer {
  background-color: #f4f4f4;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  color: #666;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .layout {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 2px solid #ccc;
  }

  .main-content {
    padding: 1rem;
  }

  nav ul {
    flex-direction: column;
    align-items: flex-start;
  }

  .logo {
    margin-bottom: 1rem;
  }

  .tagline {
    padding: 1rem;
    font-size: 1rem;
  }

  main {
    padding: 1rem;
  }

  .content {
    margin: 0;
  }
}
