@import "https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;600;700&display=swap";
body {
  background: #f5f5f5;
  font-family: "Rubik", sans-serif;
  margin: 0;
  padding: 0;
}

.doc_container.container-xl {
  max-width: 1350px;
}

@media (min-width: 1220px) and (max-width: 1400px) {
  .doc_container.container-xl {
    max-width: 100%;
  }
}

main {
  margin: 0px 0px;
  display: flex;
  justify-content: center;
}
.text-center {
  text-align: center;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.mb-30 {
  margin-bottom: 30px;
}

a {
  transition: all 0.3s;
}

mark {
  padding: 3px 10px;
  background: lavender;
  color: #111;
  border-radius: 2px;
  font-weight: 400;
}

.menu-button {
  width: 40px;
  height: 40px;
  display: none;
  align-items: center;
  justify-content: center;
  background: #c6d5f8;
  border: 1px solid #f5f5f5;
  position: fixed;
  top: 15px;
  left: 10px;
  border-radius: 3px;
  flex-direction: column;
  cursor: pointer;
}
.menu-close {
  left: auto;
  right: 15px;
}
.menu-button span {
  width: 20px;
  height: 2px;
  background: #333;
  display: block;
  margin: 2px auto;
}

.menu-close span:first-child {
  transform: rotate(45deg);
}
.menu-close span:last-child {
  transform: rotate(-45deg);
  margin-top: -3px;
}

.doc_header {
  padding: 25px 0;
  background: #fff;
  box-shadow: 0 3px 8px 0 rgba(116, 129, 141, 0.1);
  border-bottom: 1px solid #d4dadf;
}
.doc_header nav {
  padding: 0px 50px;
}
.doc_header nav ul {
  display: flex;
  align-items: center;
}
.doc_header nav ul li {
  margin-right: 30px;
}
.doc_header nav ul li a {
  font-size: 16px;
  color: #333;
}
.doc_header nav ul li a:hover {
  color: #496cf6;
}

.doc-sidebar {
  max-width: 250px;
  width: 100%;
  padding: 30px 0;
  background: #f5f5f5;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: scroll;
}

.doc-sidebar {
  transition: all 0.3s;
}

.doc_overlay {
  display: none;
}

@media (max-width: 991px) {
  .doc_header {
    position: sticky;
    top: 0;
  }

  .doc_header nav {
    display: none;
  }

  .search-option {
    display: none;
  }

  .doc_overlay {
    background: rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99;
    display: none;
  }
  .doc_overlay.open {
    display: block;
  }

  .menu-button {
    display: flex;
  }
  .doc-sidebar {
    transform: translateX(-280px);
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    padding-top: 60px;
    background: #fff;
  }
  .doc-sidebar.show {
    transform: translateX(0);
  }

  .sidenav {
    background: #fff;
  }
}

.sidenav ul {
  padding: 0;
  margin: 0;
}

.sidenav ul li {
  list-style: none;
  margin-bottom: 5px;
}

.sidenav ul li a {
  color: #333;
  font-size: 16px;
  padding: 8px 15px;
  border-radius: 0;
  text-decoration: none;
  display: block;
}

.sidenav ul li h6 {
  font-size: 16px;
  color: #333;
  padding: 8px 15px;
  margin: 0px;
  font-weight: 600;
}

.sidenav ul li a.active,
.sidenav ul li a:hover {
  background: rgba(72, 124, 255, 0.1);
  color: #496cf6;
}

.right-sidebar {
  padding-top: 30px;
  padding-bottom: 30px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: scroll;
}

.right-sidebar-menu-item {
  margin-bottom: 5px;
  font-size: 14px;
  color: #666;
  text-transform: uppercase;
}
.right-sidebar-menu-item i {
  margin-right: 10px;
  font-weight: 700;
}
.right-sidebar-menu-link {
  font-size: 14px;
  color: #666;
  text-transform: none;
}
.right-sidebar-menu-link:hover {
  color: #496cf6;
}
.right-sidebar-menu nav a {
  font-size: 14px;
  color: #666;
  text-transform: none;
  padding: 4px 8px;
}
/* .right-sidebar-menu nav a.active, */
.right-sidebar-menu nav a:hover {
  color: #496cf6;
}

.main-section {
  width: 100%;
  margin: 0 auto;
  background: #fff;
}

.doc-main-wrapper {
  padding: 30px 50px;
}

@media (max-width: 767px) {
  .doc_header nav {
    padding: 0px 30px;
  }
  .doc-main-wrapper {
    padding: 30px;
  }
}

h2 {
  margin: 0;
  margin-bottom: 15px;
  color: #1a1a1a;
  padding-bottom: 10px;
  border-bottom: 1px solid #f5f5f5;
}

h4 {
  margin: 0;
  margin-bottom: 5px;
  color: #1a1a1a;
  font-weight: 500;
}

p {
  font-size: 16px;
  font-weight: 300;
  color: #666;
}

strong {
  font-weight: 500;
  color: #1a1a1a;
}

.ticket {
  text-decoration: none;
  color: #333333;
  font-weight: 500;
  padding: 3px 10px;
  display: inline-block;
  position: relative;
}
.ticket::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  transition: all 0.3s;
  background: #496cf6;
  opacity: 0.15;
  border-radius: 3px;
}
.ticket:hover {
  color: #487cff;
}
.ticket:hover::after {
  width: 100%;
}

.preview-img {
  width: 100%;
  border-radius: 5px;
  overflow: hidden;
}

.preview-img img {
  width: 100%;
  border-radius: 5px;
  box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.1);
}

.box {
  margin-bottom: 30px;
}

.example-box {
  margin-bottom: 30px;
  padding: 30px;
  background: rgba(0, 0, 0, 0.02);
  border-radius: 5px;
  box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.1);
}

.code-box {
  padding: 15px;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
  color: #444;
  line-height: 1.5;
  max-height: 450px;
  overflow-y: scroll;
  border-left: 3px solid rgb(154, 154, 255);
  position: relative;
}
.code-box textarea {
  padding: 0;
  resize: none;
  width: 100%;
}
.copy-btn {
  position: absolute;
  top: 0;
  right: 0;
  border: 1px solid #496cf6;
  background: rgba(154, 154, 255, 0.1);
  border-radius: 5px;
  font-size: 10px;
  padding: 3px 5px;
}
.copy-btn:focus-within,
.copy-btn:hover {
  background: #496cf6;
  color: #fff;
}

.credit-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.credit-list li a {
  font-weight: 500;
  margin-bottom: 5px;
  text-decoration: none;
  line-height: 2;
  color: #333;
  transition: all 0.3s;
  padding: 0 15px;
}
.credit-list li a:hover {
  padding-left: 20px;
  color: #487cff;
}
.template-name {
  color: #496cf6;
}

.color-box {
  display: flex;
  flex-wrap: wrap;
}
.color-box li {
  width: 150px;
  height: 75px;
  margin: 5px;
  border-radius: 3px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.text-color-box li {
  padding: 5px;
}
