:root {
  --primary-color: #185fb1;
  --secondary-color: #f0f4f8;
  --accent-color: #e0e0e0;
  --text-color: #2c3e50;
  --background-color: #ffffff;
  --highlight-color: #ecf0f1;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}


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

body {
  background-color: var(--secondary-color);
  color: var(--text-color);
  font-family: var(--font-family);
  line-height: 1.6;
  padding: 40px 20px;
}


.wrapper {
  max-width: 850px;
  margin: auto;
  background-color: var(--background-color);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px var(--shadow-color);
  animation: fadeIn 1s ease-in-out;
}

h1, h2, h3 {
  color: var(--text-color);
  margin-bottom: 20px;
  font-weight: 700;
}

h1 {
  font-size: 2.5rem;
  text-align: center;
  color: rgb(63, 59, 100);
  animation: slideInDown 0.8s ease-out;
}

h2 {
  font-size: 2rem;
  border-left: 5px solid transparent;
  border-image: linear-gradient(to bottom, #185fb1, #b2e4eb);
  border-image-slice: 1;
  padding-left: 15px;
  margin-top: 40px;
}

h3 {
  font-size: 1.5rem;
  margin-top: 30px;
}


p {
  margin-bottom: 20px;
  font-size: 1rem;
}


ul {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

.indent {
  margin-left: 80px;
}


li {
  margin-bottom: 10px;
}


a {
  color: #185fb1;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

a:hover {
  border-bottom: 2px solid var(--primary-color);
  background-color: white;
  padding: 6px 6px;
  border-radius: 6px;
  color: rgb(0, 0, 0);
  font-weight: bolder;
  box-shadow: 5px 3px 5px #9c9b9b;
}

code {
  background-color: var(--accent-color);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.95rem;
}

pre {
  background-color: var(--accent-color);
  padding: 20px;
  border-radius: 8px;
  overflow-x: auto;
  margin-bottom: 20px;
}

blockquote {
  border-left: 5px solid var(--primary-color);
  background-color: var(--highlight-color);
  padding: 20px;
  border-radius: 8px;
  margin: 30px 0;
  font-style: italic;
}

hr {
  border: none;
  border-top: 1px solid var(--accent-color);
  margin: 40px 0;
}

footer {
  text-align: center;
  font-size: 0.9rem;
  color: gray;
  margin-top: 40px;
}

img {
  display: block;
  margin: 40px auto 20px;
  max-width: 100%;
  height: auto;
}

hr {
    border-top: 0.5px solid rgb(204, 201, 201);
  }

#mainline {
    border:none;
    border: 0.5px solid #185fb1 ;
    border-image: linear-gradient(to right, #d0e6ff, #77d4f0, #0b0194);
    border-image-slice: 1;
    margin: 1.5rem 0;
    width: 100%;
  }


@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInDown {
  from { opacity: 0; transform: translateY(-50px); }
  to { opacity: 1; transform: translateY(0); }
}

.sidebar {
  margin-right: 3px;
  top: 1px;
  background-color: #f9f9f9;
  padding: 15px;
  border-radius: 5px;
  box-shadow: 0 0 10px #bbd3ee;
}

.container {
  letter-spacing: 0.045em; 
  flex: 2;
  padding: 20px;
}