.swtich-sun {
  display: initial;
}
.switch-moon {
  display: none;
}
body .text-primary {
  color: #1099e5 !important;
}
body .form-check-input {
  background-color: #1099e5 !important;
  border-color: #1099e5 !important;
}
body .btn-primary {
  background: #1099e5;
  border-color: #1099e5;
  color: #fff !important;
}
body .btn-primary:hover {
  background: #0e74ab;
  border-color: #0e74ab;
}
body[data-bs-theme=dark] .switch-sun {
  display: none;
}
body[data-bs-theme=dark] .switch-moon {
  display: initial;
}
body {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  color: #404651;
}
.bg-top {
  background: rgba(255,255,255,0.533);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.1);
}
@media (min-width: 992px) {
  .sidebar-menu {
    max-height: calc(100vh - 61px);
    overflow-y: auto;
    top: 61px;
    position: sticky;
  }
}
main {
  font-weight: 300;
  line-height: 30px;
}
main > ul {
  padding-left: 20px;
}
main ul p {
  margin-bottom: 0;
}
main b,
main strong {
  font-weight: 500;
}
main h1,
main h2,
main h3 {
  line-height: 1.3;
}
main > * {
  color: #27343b;
}
main h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0;
  padding: 15px 0;
}
main h2 {
  font-size: 1.5rem;
  font-weight: 500;
  padding-top: 1.2rem;
  margin-bottom: 1rem;
}
main h3 {
  font-size: 1.3rem;
  font-weight: 400;
  padding-top: 0.8rem;
  margin-bottom: 1rem;
}
main a {
  color: #1099e5 !important;
  text-decoration: none;
}
main a:not(.btn):hover {
  text-decoration: underline;
}
main p {
  margin-bottom: 0.7rem;
}
main ul {
  line-height: 28px;
}
main .sourcecode {
  text-wrap: pretty;
  font-size: 0.8rem;
}
main blockquote {
  border-left: 4px solid #aaa;
  padding-left: 10px;
  line-height: 1.4;
}
main iframe {
  aspect-ratio: 16/9;
  width: 100% !important;
  max-width: 600px !important;
}
main #relatedPosts .card {
  height: 100%;
}
main #relatedPosts .card-text,
main #relatedPosts .card-title {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
header {
  z-index: 1030 !important;
}
.header-nav a {
  color: #27343b;
  font-weight: 500;
}
.header-nav a:hover {
  color: #1099e6;
}
.offcanvas-body {
  padding-top: 5px;
}
.in-side .title-side-in {
  font-size: 1.1rem;
  font-weight: 500;
  padding: 0 15px;
  margin: 25px 0 10px;
  display: block;
}
@media (max-width: 992px) {
  .in-side .title-side-in {
    padding: 0;
    margin-top: 10px;
  }
}
.in-side .btn-side-in {
  text-decoration: none;
  font-weight: 300;
  color: #3e4342;
  padding: 7px 15px;
  display: block;
  font-size: 0.95rem;
}
@media (max-width: 992px) {
  .in-side .btn-side-in {
    padding: 7px 0;
  }
}
@media (min-width: 992px) {
  .in-side .btn-side-in:hover {
    background: rgba(13,110,253,0.2);
    border-radius: 10px;
    color: #0d6efd;
  }
}
.in-side .btn-side-top {
  font-weight: 500;
  font-size: 0.97rem;
}
.sidespy ul {
  padding-top: 15px;
}
.sidespy a {
  text-decoration: none;
  padding: 7px 0;
  padding-left: 8px;
  display: block;
  color: #444;
  border-left: 3px solid #eee;
}
.sidespy a:hover {
  border-color: #888;
  background: #eee;
}
.sidespy .sidespy-link-title {
  font-size: 1rem;
  font-weight: 500;
}
.sidespy .sidespy-link-1 {
  font-size: 0.9rem;
  font-weight: normal;
}
.sidespy .sidespy-link-2 {
  font-size: 0.8rem;
  color: #555;
  font-weight: 300;
}
body[data-bs-theme=dark] {
  background: #11191e;
  color: #ccc;
}
body[data-bs-theme=dark] .bg-top {
  border-bottom: 1px solid rgba(255,255,255,0.05);
  background: rgba(17,25,30,0.667);
}
body[data-bs-theme=dark] .header-nav a {
  color: #bccfda;
}
body[data-bs-theme=dark] .header-nav a:hover {
  color: #fff;
}
body[data-bs-theme=dark] main * {
  color: #9cafbb;
}
body[data-bs-theme=dark] main h1,
body[data-bs-theme=dark] main h2,
body[data-bs-theme=dark] main h3 {
  color: #bccfda;
}
body[data-bs-theme=dark] .sidespy a {
  color: #bccfda;
  border-left: 3px solid #333;
}
body[data-bs-theme=dark] .sidespy a:hover {
  border-left: 3px solid #aaa;
  background: #333;
}
body[data-bs-theme=dark] .sidespy .sidespy-link-2 {
  color: #9cafbb;
}
body[data-bs-theme=dark] .btn-side-in {
  color: #aaa;
}
