/* Google Font */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Public+Sans:ital,wght@0,100..900;1,100..900&display=swap");

:root {
  --navhight: 5rem;
  --body: #4d4d4d;
  --dark: #272727;
  --heading: #212529;
  --primary: #1f4b3f;
  --border: #e1e6ed;
}

body {
  font-size: 1rem;
  color: var(--body);
  line-height: 1.5;
  font-family: Public Sans, sans-serif;
  overflow-x: hidden;
}
a {
  color: var(--dark);
  text-decoration: none;
}

pre {
  max-height: 25rem;
  overflow: auto;
  width: 100%;
  white-space: pre-wrap;
}

section {
  margin: 7rem auto;
}

section:first-child {
  margin: 0 auto;
}

hr {
  margin: 2rem auto;
}

.heading,
.card-title,
.section-title,
.section-sub-title {
  font-weight: 600;
  color: var(--heading);
}

.section-title {
  font-size: 28px;
  margin-top: 60px;
  margin-bottom: 1rem;
}
.section-sub-title {
  font-size: 20px;
  margin-bottom: 1rem;
}

.aside-header {
  height: var(--navhight);
  display: flex;
  align-items: center;
  justify-content: start;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.header {
  height: var(--navhight);
  padding: 1.5rem;
  display: flex;
  align-items: center;
}

.aside-header .toggle_button {
  background: #fff;
  color: #000 !important;
  padding: 10px;
  margin-top: 5px;
  border: none;
}

.menu-aside {
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu-aside li a {
  display: block;
  color: var(--body);
  padding: 0.75rem 1.5rem;
  border-radius: 0.25rem;
  transition: all 0.3s ease-in-out;
}

.menu-aside li a.active,
.menu-aside li a:hover {
  color: var(--primary);
  background-color: #ececf1;
}
.main-content {
  padding: 24px;
  margin-left: auto;
  margin-right: auto;
}

.aside-content {
  overflow-y: auto;
  height: calc(100vh - 5rem);
  padding: 1.5rem;
}

ul.list-circle {
  list-style-type: circle;
}

.btn-getcode {
  padding: 3px 7px;
  font-size: 12px;
  background-color: orange;
  color: #fff;
  float: right;
}

.aside-wrap {
  background-color: #fff;
  border-right: 1px solid var(--border);
}

@media (min-width: 992px) {
  .aside-content {
    display: block !important;
  }
  .aside-wrap {
    position: -webkit-sticky;
    position: sticky;
    height: 100%;
    z-index: 1000;
    top: 0;
  }
  .main-content {
    padding: 32px;
    max-width: 992px;
  }
}
@media (min-width: 1400px) {
  .main-content {
    padding: 64px;
    max-width: 1200px;
  }
}
.single-featured {
  padding: 24px;
  text-align: left;
  border: 1px solid #e8e7ec;
}
.single-featured .fs-1 {
  font-size: 2.5rem !important;
}

::-webkit-scrollbar {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 1rem;
  transition: all 0.2s ease-in-out;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #8c959e;
  transition: all 0.2s ease-in-out;
}

::-webkit-scrollbar-thumb {
  background-color: var(--body);
  border-radius: 1rem;
  transition: all 0.2s ease-in-out;
}

::-webkit-scrollbar-track {
  background-color: #fff;
  border-radius: 1rem;
  transition: all 0.2s ease-in-out;
}
