/* General reset */
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background: #f4f4f8;
  color: #333;
  line-height: 1.6;
}

/* Centering main container */
#outer-container {
  display: flex;
  justify-content: center;
  padding: 20px;
}

#inner-container {
  max-width: 900px;
  width: 100%;
  background: #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  border-radius: 12px;
  overflow: hidden;
}

/* Header */
#header {
  background: linear-gradient(135deg, #6a82fb, #fc5c7d);
  color: #fff;
  padding: 2rem;
  text-align: center;
}

#header h1 a {
  color: #fff;
  text-decoration: none;
  font-size: 2.2rem;
}

#header p {
  font-size: 1rem;
  margin-top: 0.5rem;
  opacity: 0.9;
}

/* Nav */
#nav {
  background: #333;
  padding: 0.8rem;
}

#nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 20px;
}

#nav li {
  display: inline;
}

#nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

#nav a:hover {
  color: #6a82fb;
}

/* Content */
#content {
  padding: 2rem;
  background: #fafafa;
}

#content h2, 
#content h3 {
  color: #444;
  margin-top: 0;
}

/* Sidebar wrapper (nav + content) */
#wrapper {
  display: flex;
  flex-direction: column;
}

/* Footer */
#footer {
  background: #222;
  color: #bbb;
  text-align: center;
  padding: 1.2rem;
  font-size: 0.9rem;
}

#footer a {
  color: #fc5c7d;
  text-decoration: none;
}

#footer a:hover {
  text-decoration: underline;
}

/* Lists (for posts, categories, archive, etc.) */
ul#myUL {
  list-style-type: none;
  padding: 0;
}

ul#myUL li {
  padding: 8px;
  margin: 6px 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  transition: background 0.2s;
}

ul#myUL li:hover {
  background: #f0f0ff;
}

/* Buttons & inputs */
button#sortList {
  background: #6a82fb;
  border: none;
  padding: 0.5rem 1rem;
  color: #fff;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  margin-left: 10px;
}

button#sortList:hover {
  background: #554edc;
}

#myInput {
  padding: 0.5rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  width: 60%;
}

/* Next/Prev navigation */
#nextPrev {
  margin-top: 2rem;
  text-align: center;
}

#nextPrev a {
  color: #6a82fb;
  text-decoration: none;
  margin: 0 10px;
  font-weight: 500;
}

#nextPrev a:hover {
  text-decoration: underline;
}