@font-face {
    font-family: 'Geologica';
    src: url('../fonts/Geologica-VariableFont_CRSV,SHRP,slnt,wght.ttf') format('truetype');
    font-weight: 100 900; 
    font-style: normal;
}
  
/* CSS Reboot Styles */
*,
*::before,
*::after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body,
ul,
ol,
p,
dl,
dd,
figure,
blockquote,
pre {
    margin: 0;
}

h1, h2, h3, h4, h5, h6 {
    font: inherit;
    margin: 0;
}

ul, ol {
    padding: 0;
    list-style: none;
}

.code-show ol {
    list-style: decimal;
    padding-left: 16px;
}

.code-show ul {
    list-style: initial;
    padding-left: 13px;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: fixed;
}

td,
th {
    padding: 0;
    text-align: left;
    font-weight: normal;
}

a {
    text-decoration: none;
}

a:active,
a:hover {
    outline: 0;
}

img,
audio,
canvas,
iframe,
svg,
video {
    max-width: 100%;
 /* Set responsive behaviour */
    height: auto;
    vertical-align: middle;
 /* Remove bottom spacing under element (line-height) */
}

iframe {
    border: none;
}

fieldset {
    margin: 0;
    padding: 0;
    border: none;
}

input,
textarea,
button,
optgroup,
select {
    margin: 0;
    font-family: inherit;
    vertical-align: middle;
}

textarea {
    resize: vertical;
}

/* Fast Tap enables no-delay taps (FastClick-esque) on supporting browsers */
a,
button,
input,
label,
select,
textarea {
    -ms-touch-action: manipulation;
    touch-action: manipulation;
}

/* Make fonts more sexy */
body,
input,
textarea,
button,
select {
    -webkit-font-smoothing: antialiased;
}



:root {
    --brand-color: #1A2C54;
    --brand-color-rgb: 26, 44, 84;
    --main-text-color: #141313;
    --main-bg-color: #fff;
    --main-white-color: #fff;
}

html {
    width: 100%;
    height: 100%;
    scroll-behavior: smooth;
    font-size: 16px;
}

*::-webkit-input-placeholder {
    opacity: 1;
}

*::-moz-placeholder {
    opacity: 1;
}

*:-ms-input-placeholder {
    opacity: 1;
}

*::-ms-input-placeholder {
    opacity: 1;
}

*::placeholder {
    opacity: 1;
}

body {
    width: 100%;
    height: auto;
    min-height: 100dvh;
    font-family: 'Geologica', Helvetica, Arial, sans-serif;
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.4;
    color: var(--main-text-color);
    background-color: var(--main-bg-color);
    position: relative;
}

.wrapper {
    width: 100%;
    height: 100%;
    min-height: 100dvh;
    overflow: hidden;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    z-index: 1;
    position: relative;
}

.header {
    -webkit-box-flex: 0;
    -ms-flex: 0 0;
    flex: 0 0;
}

.content {
    -webkit-box-flex: 1;
    -ms-flex: 1 0;
    flex: 1 0;
}

.footer {
    -webkit-box-flex: 0;
    -ms-flex: 0 0;
    flex: 0 0;
}

a {
    color: #000;
    text-decoration: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

input {
    border: 0;
    outline: 0;
    border-radius: 0;
}

button {
    padding: 0;
    border: 0;
    background-color: transparent;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
    color: var(--main-text-color);
}

img {
    width: 100%;
    height: auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.no-scroll {
    overflow: hidden;
}

/* firefox */
@supports (-moz-appearance: none) {
    .no-scroll {
        padding-right: 0;
    }
}

@media (hover: none) and (pointer: coarse) {
    .no-scroll {
        margin-right: 0;
    }
}

textarea:focus {
    outline: none;
}

.btn {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    white-space: nowrap;
    cursor: pointer;
}

.btn:hover {
    -webkit-filter: brightness(110%);
    filter: brightness(110%);
}

.btn:active {
    -webkit-transform: translateY(1px);
    -ms-transform: translateY(1px);
    transform: translateY(1px);
}

/* Selection color change */
/* Scrollbar change */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

* {
    scrollbar-width: thin;
    scrollbar-color: #888 transparent;
}

/* Header styles */
/* Media queries */
@media (min-width: 768px) {
    .br-tab {
        display: none;
    }

    .br-mob {
        display: none;
    }
}

@media (min-width: 480px) and (max-width: 768px) {
    .br-desc {
        display: none;
    }

    .br-mob {
        display: none;
    }
}

@media (max-width: 480px) {
    .br-desc {
        display: none;
    }

    .br-tab {
        display: none;
    }
}
/* STYLES */
.header {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background-color: var(--brand-color);
    height: 4.5rem;
    min-height: 4.5rem;
    padding: 0px 20px;
}

.header__logo {
    font-size: 24px;
    font-weight: 300;
    color: #fff;
}

.content {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.sidebar {
    width: 200px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    border-right: 1px solid var(--brand-color);
    padding: 30px 20px;
    will-change: transform;
    background-color: #02525D24;
    color: #fff;
    background-color: rgba(var(--brand-color-rgb), 0.05);
}

.main {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    padding: 3rem 3rem 4rem 3rem;
    width: calc(100% - 200px);
}

main {
    flex-grow: 1;
}

.main-header {
    font-size: 1.65rem;
    line-height: 1.25;
    margin-bottom: 1.8rem;
    font-weight: 500;
    color: var(--brand-color);
}

.sm-text {
    font-size: 1.6rem;
}

.sidebar__nav ul li {
    margin-bottom: 12px;
}

.sidebar__nav ul li a {
    font-weight: 300;
    font-size: 17px;
    color: var(--brand-color);
    transition-duration: .3s;
}

.code-list {
    width: 100%;
    max-width: 1500px;
    margin-top: 35px;
}

.code-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    align-items: stretch;
    -webkit-column-gap: 3rem;
    -moz-column-gap: 3rem;
    column-gap: 3rem;
    position: relative;
    margin-bottom: 3rem;
}

.code-item__more-info-link {
    position: absolute;
    bottom: .15rem;
    right: .3rem;
    white-space: nowrap;
    display: none;
    color: var(--brand-color);
}

.code-show:hover .code-item__more-info-link  {
    display: flex;
}

.code-snippets-wrap {
    width: calc(100% - (350px + 1.5rem));
    display: flex;
    align-items: flex-start;
    column-gap: 2rem;
    flex-grow: 1;
}

.code-show {
    width: 350px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    padding: 3.5rem 2rem;
    border: 1px solid #00000028;
    border-radius: 0;
    position: relative;
    overflow: hidden;
}


.code-box {
    position: relative;
    border-radius: 0.35rem;
    width: 50%;
    height: auto;
    -webkit-transition-duration: 0.25s;
    -o-transition-duration: 0.25s;
    transition-duration: 0.25s;
    overflow: hidden;
}

.code-box::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to top, #f7fafa 0%, rgba(255, 248, 248, 0) 100%);
    z-index: 1;
    pointer-events: none;
}

pre {
    background-color: #02525d08;
    padding: 1rem;
    padding-top: 2rem;
    padding-left: 0.5rem;
    font-size: 0.8rem;
    width: 100%;
    height: 100%;
}

.code-top {
    position: absolute;
    top: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: .3rem 1rem .3rem .8rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1607843137);
    z-index: 2;
    background-color: #02525d0f; 
    height: 2.5rem;
    background-color: rgba(var(--brand-color-rgb), 0.05);
}

:not(pre) > code[class*=language-], pre[class*=language-] {
    background-image: initial;
    margin-top: 0;
    margin-bottom: 0;
    border-left: none;
    opacity: 1;
    font-size: 0.9rem;
    background-color: rgba(var(--brand-color-rgb), 0.015);
}

pre[class*=language-] > code {
    padding-left: 0;
    padding-right: 0;
    background-image: initial;
    border-left: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    background-color: transparent;
    height: -webkit-max-content;
    height: -moz-max-content;
    height: max-content;
    padding-bottom: 20px;
}

pre[class*=language-]::after, pre[class*=language-]::before {
    display: none;
}

pre[class*=language-] {
    padding: 2.5rem 1rem 1.5rem 1rem;
}

.code-top-wrap {
    display: flex;
    align-items: center;
    column-gap: 15px;
}

:root {
  --burger-menu-color: #fff;
  --burger-menu-width: 26px;
  --burger-menu-height: 22px;
  --burger-top-plus: 8px;
  --burger-top-minus: -8px;
  --burger-line-height: 2px;
  --burger-line-round: 0;
}

.mobile-menu-toggle {
  width: var(--burger-menu-width);
  height: var(--burger-menu-height);
  position: relative;
  transition-duration: 1s;
  background-color: transparent;
  flex-shrink: 0;
  cursor: pointer;
  display: none;
}

.mobile-menu-toggle span {
  height: var(--burger-line-height);
  border-radius: var(--burger-line-round);
  background-color: var( --burger-menu-color);
  width: 100%;
  position: absolute;
  transition-duration: 0.25s;
  transition-delay: 0.25s;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.mobile-menu-toggle span::before {
  content: "";
  height: var(--burger-line-height);;
  border-radius: var(--burger-line-round);
  background-color: var( --burger-menu-color);
  left: 0px;
  position: absolute;
  top: var(--burger-top-minus);
  width: 100%;
  transition-duration: 0.25s;
  transition: transform 0.25s, top 0.25s 0.25s;
}

.mobile-menu-toggle span::after {
  content: "";
  height: var(--burger-line-height);;
  border-radius: var(--burger-line-round);
  background-color: var( --burger-menu-color);
  left: 0px;
  position: absolute;
  top: var(--burger-top-plus);
  width: 100%;
  transition-duration: 0.25s;
  transition: transform 0.25s, top 0.25s 0.25s;
}

.mobile-menu-toggle.open span {
  transition-duration: 0.1s;
  transition-delay: 0.25s;
  background: transparent;
}

.mobile-menu-toggle.open span:before {
  transition: top 0.25s, transform 0.25s 0.25s;
  top: 0px;
  transform: rotateZ(-45deg);
}

.mobile-menu-toggle.open span:after {
  transition: top 0.4s, transform 0.25s 0.25s;
  top: 0px;
  transform: rotateZ(45deg);
}



.footer {
    width: 100%;
    background-color: var(--brand-color);
    min-height: 4rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 0px 1dvw;
    color: var(--main-white-color);
}

.copyright {
    font-weight: 100;
}

pre[class*=language-] > code {
    scrollbar-width: thin;
    scrollbar-color: var(--brand-color) transparent;
}

pre[class*=language-] > code::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

pre[class*=language-] > code::-webkit-scrollbar-thumb {
    background-color: var(--brand-color);
    border-radius: 5px;
}

pre[class*=language-] > code::-webkit-scrollbar-track {
    background-color: transparent;
    border-radius: 5px;
}

/* code snippets */

.button-t1 .my-button {
    cursor: pointer;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 12px 36px;
    background-color: #DF230D;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.2;
    color: #fff;
}

.additional-item .button-t1 .my-button {
   transition-duration: .25s;
}

.additional-item .button-t1 .my-button:hover {
    filter: brightness(110%);
}

.button-t2 .my-button {
    cursor: pointer;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 12px 36px;
    background-color: #DF230D;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.2;
    color: #fff;
    border-radius: 8px;
}

.button-t3 .my-button {
    cursor: pointer;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 12px 36px;
    background-color: #DF230D;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.2;
    color: #fff;
    border-radius: 9999px;
}

.button-t4 .my-button {
    cursor: pointer;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 12px 36px;
    background-color: #DF230D;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.2;
    color: #fff;
    -webkit-clip-path: polygon(0 0, calc(100% - clamp(6px, 1.5vw, 14px)) 0, 100% clamp(6px, 1.5vw, 14px), 100% 100%, clamp(6px, 1.5vw, 14px) 100%, 0 calc(100% - clamp(6px, 1.5vw, 14px)));
    clip-path: polygon(0 0, calc(100% - clamp(6px, 1.5vw, 14px)) 0, 100% clamp(6px, 1.5vw, 14px), 100% 100%, clamp(6px, 1.5vw, 14px) 100%, 0 calc(100% - clamp(6px, 1.5vw, 14px)));
}

.button-t5 .my-button {
    cursor: pointer;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 12px 36px;
    background-color: #DF230D;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.2;
    color: #fff;
    -webkit-clip-path: polygon(clamp(6px, 1.5vw, 14px) 0, 100% 0, 100% calc(100% - clamp(6px, 1.5vw, 14px)), calc(100% - clamp(6px, 1.5vw, 14px)) 100%, 0 100%, 0 clamp(6px, 1.5vw, 14px));
    clip-path: polygon(clamp(6px, 1.5vw, 14px) 0, 100% 0, 100% calc(100% - clamp(6px, 1.5vw, 14px)), calc(100% - clamp(6px, 1.5vw, 14px)) 100%, 0 100%, 0 clamp(6px, 1.5vw, 14px));
}

.page-info {
    margin-top: 70px;
    margin-bottom: 70px;
    background-color: rgba(var(--brand-color-rgb), 0.03);
    padding: 2rem;
    border-radius: 0.35rem;
    position: relative;
}

.page-info::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 30%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(to right, transparent, #fff);
}

.page-info__content {
    width: 100%;
    max-width: 800px;
    padding-left: 0.25rem;
    z-index: 2;
    position: relative;
}

.page-info__content p {
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.page-info__content p:last-child {
    margin-bottom: 0;
}

.page-info__content ul {
    padding-left: 18px;
    max-width: 85%;
    margin-bottom: 1rem;
}

.page-info__content ol {
    margin-bottom: 1rem;
}

.page-info__content ul li {
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 0.4rem;
}

.page-info__content ul li:last-child {
    margin-bottom: 0;
}

.page-info__header {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.2;
    margin-top: 2.2rem;
    margin-bottom: 1.15rem;
}

.header-h2 {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.2;
    margin-top: 2.2rem;
    margin-bottom: 1.15rem;   
    color: var(--brand-color)
}

.page-info h2 {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.2;
    margin-top: 2.2rem;
    margin-bottom: 1.15rem;   
    color: var(--brand-color);
}

.page-info__content .wp-block-heading:first-child {
    margin-top: 0;
}

.flip-box {
    width: 100%;
    height: 80%;
    position: fixed;
    bottom: 0;
    left: 0;
    background-color: var(--brand-color);
    color: var(--main-white-color);
    z-index: 1000;
    transform: translateY(100%);
    transition-duration: .25s;
}

.open.flip-box {
    transform: translateY(0); 
}

.flip-box-toggle {
    position: absolute;
    top: -40px;
    right: 100px;
    background-color: var(--brand-color);
    height: 40px;
    width: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.3rem;
    border-top-right-radius: .5rem;
    border-top-left-radius: .5rem;
    cursor: pointer;

    visibility: hidden;
    pointer-events: none;
}


/* single page */ 

.single-box .code-show:hover {
    background-color: transparent;
    cursor: initial;
}

.single-box .code-box {
    max-height: initial !important;
}

.single-box pre[class*="language-"] {
    padding-bottom: 0;
}

.single-box .code-snippets-wrap {
    align-items: stretch;
}

.code-list--wide .code-show {
    width: 100%;
    margin-bottom: 2.5rem;
}

.code-list--wide .code-item {
    flex-wrap: wrap;
    gap: 1rem;
}

.code-list--wide .code-snippets-wrap {
    flex-wrap: wrap;
    height: auto;
    gap: 1rem;
}

.code-list--wide .code-snippets-wrap .code-box {
    max-width: calc(50% - .5rem);
    width: 100%;
}

.code-box pre code {
    max-height: 300px;
    transition: max-height 1s ease;
    overflow-y: hidden;
}


.cp-list-wrap .code-show {
    border: none;
}

.cp-list-wrap .code-item {
    column-gap: 1.5rem;
}

.cp-list-wrap .code-snippets-wrap {
    column-gap: 1.5rem;
}

.cp-list-wrap .code-show {
    padding-top: .5rem;
    align-items: flex-start;
    justify-content: flex-start;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
}

.copy-code-btn {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='currentColor' viewBox='0 0 16 16'%3E%3Cpath d='M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z'/%3E%3Cpath d='M9.5 1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h3zm-3-1A1.5 1.5 0 0 0 5 1.5v1A1.5 1.5 0 0 0 6.5 4h3A1.5 1.5 0 0 0 11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 18px;
  cursor: pointer;
}

.btn-copied.copy-code-btn {
      width: 20px;
      height: 20px;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='currentColor' viewBox='0 0 16 16'%3E%3Cpath d='M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z'/%3E%3C/svg%3E");
      background-size: contain;
}

.toggle-code-btn {
  width: 22px;
  height: 22px;
background-image: url("data:image/svg+xml,%3Csvg width='800px' height='800px' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12 3.25C12.4142 3.25 12.75 3.58579 12.75 4L12.75 18.1893L17.4697 13.4697C17.7626 13.1768 18.2374 13.1768 18.5303 13.4697C18.8232 13.7626 18.8232 14.2374 18.5303 14.5303L12.5303 20.5303C12.3897 20.671 12.1989 20.75 12 20.75C11.8011 20.75 11.6103 20.671 11.4697 20.5303L5.46967 14.5303C5.17678 14.2374 5.17678 13.7626 5.46967 13.4697C5.76256 13.1768 6.23744 13.1768 6.53033 13.4697L11.25 18.1893L11.25 4C11.25 3.58579 11.5858 3.25 12 3.25Z' fill='%23141313'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  background-size: 100%;
  border: none;
  cursor: pointer;
}

.toggle-code-btn.expanded {
  rotate: 180deg;
}

.wp-block-list {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

.wp-block-list li {
  position: relative;
  padding-left: 1.1em;
  margin-bottom: 0.75em;
}

.wp-block-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 0.25em;
  height: 0.25em;
  background-color: var(--brand-color);
  border-radius: 50%;
}

.code-box code {
    padding-top: 20px;
}




.fg {
    display: flex;
}

.code-list .code-show button {
  font-variation-settings: 'wght' 300;
}

.header__logo {
    display: flex;
    align-items: center;
    column-gap: 5px;
}

.typing-text {
  white-space: nowrap;
  overflow: hidden;
  display: inline-block;
  border-right: 2px solid transparent;
}

.typing-text::after {
  content: "_";
  animation: blink 0.6s infinite;
}

.typing-text.done::after {
    display: none;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.code-box--expanded.code-box::after {
    display: none;
}

.lil-text {
    margin-bottom: 1.3rem;
}

.code-title {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 1em;
    color: var(--brand-color);
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}




@media (max-width: 1500px) {
    .code-item {
        -webkit-column-gap: 1.5rem;
        -moz-column-gap: 1.5rem;
        column-gap: 1.5rem;
    }

    .code-show {
      width: 250px;
    }

    .code-snippets-wrap {
      width: calc(100% - (250px + 1.5rem));
    }

}

@media (max-width: 1300px) {
    code[class*=language-], pre[class*=language-] {
        font-size: 0.7rem;
    }

    .code-item {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        row-gap: 1.8rem;
    }

    .code-snippets-wrap {
        width: 100%;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
        -webkit-column-gap: 1.15rem;
        -moz-column-gap: 1.15rem;
        column-gap: 1.15rem;
    }

    .main {
        padding: 1.8rem 1.8rem 2.5rem 1.8rem;
    }

    .main-header {
        font-size: 1.35rem;
    }

    .code-list {
        margin-top: 0;
    }

    .code-box {
        max-height: -webkit-max-content !important;
        max-height: -moz-max-content !important;
        max-height: max-content !important;
    }

    .sidebar {
        width: 200px;
        border-right: 1px solid var(--brand-color);
        padding: 30px 20px;
    }

    .sidebar__nav ul li a {
        font-size: 16px;
    }

    .page-info__content p,
  .page-info__content ul li {
        font-size: 1rem;
    }

    .page-info__header {
        font-size: 1.35rem;
    }

    .page-info__content {
        max-width: 600px;
    }

    .code-show {
        width: 100%;
    }

    .cp-list-wrap .code-snippets-wrap {
        column-gap: 1rem;
    }
}

@media (max-width: 1000px) {

    .header {
        padding-left: 1.3rem;
        padding-right: 1.3rem;
        height: 3.5rem;
        min-height: 3.5rem;
    }

    .header__logo {
        font-size: 20px;
    }

}

@media (max-width: 900px) {
    .code-snippets-wrap {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        row-gap: 15px;
    }

    .code-box {
        width: 100%;
        max-width: 500px;
    }

    .code-top__title {
        font-size: 0.9rem;
    }

    .main-header {
        margin-bottom: 1.5rem;
    }

    .page-info__content p,
  .page-info__content ul li {
        font-size: 0.8rem;
    }

    .page-info__content ul li {
        margin-bottom: 0.15rem;
    }

    .page-info__header {
        font-size: 1.1rem;
        margin-top: 2rem;
        margin-bottom: 1rem;
    }

    .page-info__content p {
        margin-bottom: 0.8rem;
    }

    .page-info__content {
        max-width: 600px;
    }

    .page-info__content ul {
        padding-left: 12px;
    }

    .sidebar__nav ul li a {
        font-size: 17px;
    }

    .sidebar {
        padding: 20px 20px;
    }

    .main {
        padding: 1.4rem 1.8rem 2.5rem 1.5rem;
    }

    .page-info::after {
        display: none;
    }

    .code-list--wide .code-snippets-wrap .code-box {
        max-width: initial;
    }

    .code-list--list .code-item {
        row-gap: 2.5rem;
    }
}

@media (max-width: 700px) {
    .main-header {
        font-size: 1.35rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 600px) {

    .main {
        width: 100%;
    }

    .code-show {
        padding: 2rem 1.7rem;
    }

    .code-list {
        margin-top: 20px;
    }

    .code-list--wide .code-snippets-wrap .code-box {
        max-width: 100%;
    }

    .content {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .sidebar {
        position: absolute;
        left: 0;
        top: 56px;
        width: 90%;
        height: calc(100dvh - 56px);
        max-width: 250px;
        border: 1px solid #000;
        transform: translateX(-100%);
        z-index: 200;
        border: none;
        background-color: var(--main-white-color);
        border-right: 1.5px solid var(--brand-color);
        transition-duration: .2s;
        transition-timing-function: ease-in-out;
    }

    .mobile-menu-opened .sidebar {
        transform: translateX(0);
    }

    .sidebar::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(var(--brand-color-rgb), 0.05);
        z-index: 1;
    }

    .sidebar .sidebar__nav {
        z-index: 2;
        position: relative;
    }

    .header {
        padding-left: 20px;
        padding-right: 20px;
        height: 3.5rem;
        min-height: 3.5rem;
    }

    .main {
        padding: 1.8rem 1rem 2.5rem 1rem;
    }

    .header {
        padding: 0px 1rem;
    }

    .code-item {
        row-gap: 1.2rem;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .sidebar__nav ul li {
        margin-bottom: 10px;
    }

    .code-list {
        width: 100%;
    }

    .page-info h2 {
        font-size: 1.2rem;
    }

    .page-info__content p,
    .page-info__content ul,
    .page-info__content ol {
        margin-bottom: 0.5rem;
    }

    .main-header {
        font-size: 1.4rem;
        margin-bottom: 2rem;
    }

    .code-top {
        padding: .3rem 1rem .3rem 1rem;
    }

    .copy-code-btn,
    .btn-copied.copy-code-btn {
        width: 18px;
        height: 18px;
        background-size: contain;
    }

    code[class*="language-"], pre[class*="language-"] {
        font-size: 12px;
    }

    .page-info__content p, 
    .page-info__content ul li {
        font-size: 14px;
    }
    
    .code-show {
        padding: 0px 0px;
        border: none;
    }
    
    .page-info {
        padding: 2rem 1rem;
        margin-bottom: 0;
        width: calc(100% + 40px);
        left: -20px;
        position: relative;
    }

    .main {
        padding-bottom: 0;
    }

    .code-title {
        font-size: 1.1rem;
        line-height: 2;
        margin-bottom: 1.1rem;
        border-bottom: none;
        background: linear-gradient(to bottom, transparent 10%, #eff1f3 160%);
        padding-bottom: 0;
    }

}

@media (min-width: 2000px) {

    .sidebar__nav ul li {
        margin-bottom: 15px;
    }

}




/* cookie-message */

.cookie-notice {
  position: fixed;
  bottom: -100%;
  left: 0;
  right: 0;
  background: var(--brand-color);
  background-color: #fff;
  color: var(--brand-color);
  padding: 15px 20px;
  z-index: 9999;
  font-size: 14px;
  transition: bottom 2s ease;
  box-shadow: 0 -4px 7px rgba(0, 0, 0, 0.05);
}

.cookie-notice__content a {
  color: #fff;
}

.cookie-notice.show {
  bottom: 0;
}

.cookie-notice__content {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  column-gap: 40px;
  row-gap: 20px;
}

.cookie-notice__content a {
  text-decoration: underline;
}

.cookie-notice__content a:hover {
  text-decoration: none;
}

.cookie-notice__btn {
  background-color: var(--brand-color);
  color: #fff;
  border: none;
  padding: 8px 16px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 300;
  transition-duration: .3s;
}

.cookie-notice__btn:hover {
  opacity: .9;
}

@media (max-width: 500px) {

  .cookie-notice__content {
    font-size: 12px;
  }

}




.sidebar__nav ul li a::before {
  content: '';
  display: inline-flex;
  width: 0;
  height: 0;
  aspect-ratio: 1/1;
  background-color: var(--brand-color);
  top: -3px;
  position: relative;
  margin-right: 7px;
  transition-duration: .3s;
}

.sidebar__nav ul .current_page_item a::before {
  width: 4px;
  height: 4px;
}

.sidebar__nav ul li a:hover::before {
  width: 4px;
  height: 4px;
}

.code-show .pagination ul {
    list-style: none;
}

.code-show--minh {
    min-height: 400px;
}

@media (max-width: 600px) {

  .code-show--minh {
    min-height: 350px;
  }

  .code-list--wide .code-show {
    margin-bottom: 0;
  }

  .code-show {
    padding-top: 20px;
    padding-bottom: 20px;
    border: 1px solid aliceblue;
  }

}

.code-show .pp-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.breadcrumbs .breadcrumbs__list {
    list-style: none;
}

/* small notebooks */

@media (min-width: 600px) and (max-width: 1440px) and (max-height: 750px) {

    .header {
        height: 3.5rem;
        min-height: 3.5rem;
    }

    .header__logo {
        font-size: 20px;
    }

    .cookie-notice {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .cookie-notice__btn {
        padding-top: 6px;
        padding-bottom: 6px;
        font-size: 13px;
    }

    .sidebar {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .page-info h2 {
        font-size: 1.3rem;
    }

    .page-info__content p, .page-info__content ul li {
        font-size: .8rem;
    }


}


.code-show .header-nav {
    list-style: none;
}

  .code-show .sub-menu {
    list-style: none;
  }

@media (min-width: 500px) {

  .code-show .sub-menu {
    padding-left: 25px;
  }

}



.code-list--wide .code-show {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.header-nav .sub-menu li a::after {
    display: none;
}


.columns-box {
    width: 100%;
}

.custom-list {
    list-style: none !important;
}

.code-show .custom-list-marker {
  padding-left: 20px;
}

.code-show .custom-list-sq {
  list-style: none;
  padding-left: 0;
}

.code-show .custom-list-bg {
    padding-left: 0;
}


.footer .b-link {
    color: #fff;
    font-weight: 100;
    text-decoration: none;
    font-size: 13px;
}

.footer .b-link:hover {
    text-decoration: underline;
}
