/* Base Styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background-color: #f9f9f9;
  color: #333;
}

a {
  color: mediumpurple;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Header */
header {
  background-color: mediumpurple;
  color: white;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo {
  font-weight: bold;
  font-size: 1.5rem;
}

header nav a {
  margin-left: 15px;
  color: white;
}

/* Main Content */
main {
  max-width: 900px;
  margin: 20px auto;
  padding: 0 20px;
}

h1, h2, h3, h4 {
  color: mediumpurple;
}

article {
  background: white;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Footer */
footer {
  background-color: #222;
  color: white;
  text-align: center;
  padding: 20px 10px;
}

footer a {
  color: mediumpurple;
  margin: 0 10px;
}

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

/* Buttons */
button, .get_started-button {
  background-color: mediumpurple;
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
}

button:hover, .get_started-button:hover {
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
  header nav {
    flex-direction: column;
  }

  header nav a {
    margin: 5px 0;
  }
}

/* Footer Links */
.footer-links {
  margin: 15px 0;
}

.footer-links a {
  color: mediumpurple;
  margin: 0 8px;
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover {
  text-decoration: underline;
}

.blog-home {
  padding: 20px;
  font-family: Arial, sans-serif;
}

.posts-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.post-item h2 a {
  text-decoration: none;
}

.post-item a:hover {
  text-decoration: underline;
}

.post-item p a {
  text-decoration: none;
  font-weight: bold;
}

.post-item p a:hover {
  text-decoration: underline;
  color: mediumpurple;
}

.content-wrapper {
  display: flex;
  gap: 30px;
}

.main-content {
  flex: 3;
}

.sidebar {
  flex: 1;
  background-color: #f7f7f7;
  padding: 20px;
  border-radius: 8px;
}

.sidebar h3 {
  margin-top: 0;
  font-size: 1.2rem;
}

.sidebar ul {
  list-style: none;
  padding-left: 0;
}

.sidebar ul li {
  margin-bottom: 10px;
}

.sidebar ul li a {
  text-decoration: none;
}

.sidebar ul li a:hover {
  text-decoration: underline;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

header, footer {
  background-color: mediumpurple;
  color: white;
  padding: 15px;
  text-align: center;
}

nav a {
  color: white;
  margin: 0 10px;
  text-decoration: none;
}

.content-wrapper {
  display: flex;
  gap: 20px;
  padding: 20px;
}

main {
  flex: 3;
}

aside.sidebar {
  flex: 1;
  background-color: #f3f3f3;
  padding: 15px;
  border-radius: 5px;
}

aside.sidebar input {
  width: 100%;
  padding: 5px;
  margin-bottom: 10px;
}

aside.sidebar ul {
  list-style: none;
  padding: 0;
}

aside.sidebar ul li {
  padding: 5px 0;
  border-bottom: 1px solid #ccc;
}