.sidebar {
  display: flex;
  justify-content: center;
  width: 200px;
  height: 400px;
  margin-left: auto;
  margin-right:10px;
  margin-top: -390px;
  font-family: Times;
  color: #ba8fbe;
}

.sidebar:a {
  color: #ba8fbe;
  padding:2px;
}
.sidebar:a.hover{
  transform: rotate(-10deg);
}

.content {
  display: block;
  justify-content: center;
  background-color: #20172a;
  border-left: 1px solid #222;
  border-right: 1px solid #222;
  border-top: 1px solid #222;
  width: 800px;
  height: 100vh;
  margin: 0 auto;
}

.navbar {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.nav-link:hover {
  transform: rotate(-10deg);
}

main {
  max-width: 600px;
  height:400px;
  margin: auto;
  overflow-y: auto;
  overflow-x: hidden;
}

section {
  margin-bottom: 3rem;
}

/* Reset and base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: fixed #fafafa;
  background-image: url('/Media/bg.gif');
  background-repeat: repeat;
  color: #333;
  line-height: 1.6;
  padding: 0;
  margin: 0 0 0 0;
}

/* Header */
header {
  text-align: center;
  padding: 0;
  color: white;
}

header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.tagline {
  font-size: 8px;
  color: #aaa;
}


/* Blog Container */
.blog-container {
  max-width: 650px;
  margin-left: -5px;
  padding: 10px;
}

/* Blog Post */
.post {
  background: #000;
  padding: 5px;
  margin-bottom: 5px;
}

.post:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.post-title {
  font-size: 12px;
  margin-bottom: 5px;
  color: #9c6998;
}

.post-date {
  font-size: 13px;
  color: #653792;
  margin-bottom: 5px;
  margin-left: 10px;
}

.post-summary {
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.read-more {
  text-decoration: none;
  color: #653792;
  font-weight: bold;
  transition: color 0.2s ease;
}

.read-more:hover {
  color: #ddd;
}

/* Footer */
footer {
  text-align: center;
  font-size: 0.9rem;
  color: #653792;
}