html,
body {
  margin: 0;
  padding: 0;
  font-family: "Roboto", sans-serif;
  background: #ffffff;
  color: #333333;
  line-height: 1.6;
  overflow-y: scroll;
}

a {
  color: #b63b3b;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 220px;
  height: 100vh;
  background: #f9f9f9;
  border-right: 1px solid #ddd;
  padding: 20px;
  box-sizing: border-box;
  overflow-y: auto;
}

.sidebar-header {
  margin-bottom: 30px;
}

.site-title {
  font-weight: 500;
  font-size: 1.2rem;
  color: #333333;
  margin-bottom: 20px;
}

.sidebar-nav a {
  display: block;
  padding: 8px 0;
  font-size: 0.95rem;
  color: #333333;
}

.sidebar-nav a img.sidebar-icon {
  width: fit-content;
  height: fit-content;
  margin-right: 10px;
  vertical-align: middle;
  transition: opacity 0.3s;
}

.sidebar-nav a i {
  margin-right: 8px;
  color: #b63b3b;
}

.sidebar-nav a:hover {
  background: #eee;
}

/* Content Area */
.content {
  margin-left: 220px;
  padding: 40px;
  max-width: 800px;
}

.content h1,
.content h2,
.content h3 {
  font-weight: 500;
  margin-top: 30px;
  margin-bottom: 15px;
}

.content h1 {
  font-size: 2rem;
  margin-top: 0;
}

.content h2 {
  font-size: 1.5rem;
  margin-top: 60px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 8px;
}

.content h3 {
  font-size: 1.2rem;
  margin-top: 40px;
  margin-bottom: 10px;
  color: #b63b3b;
}

.content p {
  font-size: 1rem;
  margin-bottom: 20px;
}

.content ul {
  list-style: disc;
  margin: 20px 0;
  margin-left: 20px;
  padding-left: 20px;
}

pre {
  background-color: #2d2d2d;
  padding: 1rem;
  border-radius: 8px;
  overflow-x: auto;
  margin-bottom: 20px;
  font-family: "Source Code Pro", monospace;
}

/* Code block line numbers */
.line-numbers .line-numbers-rows {
  border-right: 1px solid #444;
}

.site-motto {
  font-style: italic;
  text-align: center;
  padding: 10px;
  font-size: 1rem; /* adjust size as needed */
  color: #555;     /* subtle color */
}
/* Buttons */
.button-link {
  color: #b63b3b;
  text-decoration: none;
  font-weight: 400;
  border: 2px solid #b63b3b;
  padding: 10px 20px;
  border-radius: 4px;
  transition: background-color 0.3s, color 0.3s, transform 0.3s;
  display: inline-block;
  margin: 10px 5px 0 0;
}

.button-link:hover {
  background-color: #b63b3b;
  color: #fff;
  transform: scale(1.05);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px 0;
  border-radius: 4px;
}

/* Footer Styles */
.footer {
  text-align: center;
  margin: 60px 0 20px;
  color: #999999;
  font-size: 0.85rem;
  border-top: 1px solid #ddd;
  padding-top: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .sidebar {
    width: 100%;
    height: auto;
    border-right: none;
    border-bottom: 1px solid #ddd;
    position: relative;
  }

  .content {
    margin-left: 0;
    padding: 20px;
  }

  .sidebar-nav a {
    display: inline-block;
    margin-right: 20px;
    padding: 10px 0;
  }

  .sidebar-nav {
    white-space: nowrap;
    overflow-x: auto;
  }

  .content h1 {
    font-size: 1.5rem;
  }

  .content h2 {
    font-size: 1.2rem;
  }

  .content h3 {
    font-size: 1rem;
  }
}
