body.dark-theme {
    --body-color: black;
    --text-color: #e1e1e1;
    --text-color-dark: white;
    --white-color: #121212;
    --light-color: #1A1A1A
}
.darkmode-switch {
    display: none;
}
:root {
    --primary-color: #367BF0;
    --body-color: #f9f9f9;
    --text-color: #636363;
    --text-color-dark: #242738;
    --white-color: #ffffff;
    --light-color: #f8f9fa;
    --font-family: "Noto Sans";
    --border-radius: 6px;
    --nav-height: 70px
}
[class^=ti-]::before, [class*=" ti-"]::before {
    content: ' • '
}

* {
    box-sizing: border-box;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    text-size-adjust: none
}

::-moz-selection {
    background: var(--primary-color);
    color: var(--white-color)
}

::selection {
    background: var(--primary-color);
    color: #fff
}

html, body {
    line-height: 1.5;
    font-family: var(--font-family), sans-serif;
    color: var(--text-color);
    background-color: var(--body-color);
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    font-size: 16px;
    height: 100%;
    min-width: 320px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}

input, select, textarea, button {
    font-family: inherit
}

p {
    color: var(--text-color);
    font-size: 15px
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-color-dark);
    font-weight: 700;
    line-height: 1.2;
    margin-top: 0
}

h1 {
    font-size: 45px
}

h2 {
    font-size: 32px
}

h3 {
    font-size: 26px
}

h4 {
    font-size: 20px
}

h5 {
    font-size: 18px
}

h6 {
    font-size: 14px
}

ul {
    margin: 0;
    padding-left: 0;
    font-size: 15px
}

ul {
    list-style-type: none;
    padding-left: 0;
    margin: 0
}

ul li {
    padding-left: 20px;
    position: relative
}

ul li::before {
    position: absolute;
    content: '';
    height: 8px;
    width: 8px;
    border-radius: 50%;
    background: var(--primary-color);
    filter: contrast(.2) brightness(1.7);
    left: 0;
    top: .8em;
    transform: translateY(-50%)
}

ol {
    padding-left: 20px;
    font-size: 15px
}

blockquote {
    color: var(--text-color-dark);
    padding: 5px 40px;
    border-left: 2px solid var(--primary-color);
    margin: 40px 0;
    background: rgba(127, 127, 127, 5%)
}

blockquote p {
    font-size: 18px
}

img {
    vertical-align: middle;
    border: 0
}

a, a:hover, a:focus {
    text-decoration: none;
    color: var(--primary-color)
}

a:hover, a:focus {
    color: var(--primary-color)
}

a, button, select {
    cursor: pointer
}

a:focus, button:focus, select:focus {
    outline: 0
}

hr {
    margin-top: 16px;
    margin-bottom: 16px;
    border: 0;
    border-top: 1px solid rgba(127, 127, 127, .2)
}

pre {
    display: block;
    margin: 10px 0;
    text-shadow: 0 0 .1px rgba(255, 255, 255, .5);
    background: 0 0 !important
}

code {
    margin-bottom: 0 !important;
    font-size: 100%;
    background: rgba(127, 127, 127, .15);
    padding: 2px 3px;
    border-radius: 5px;
    color: #cd5c81;
    font-family: monospace;
    vertical-align: middle
}

pre > code {
    display: block;
    overflow-x: auto;
    padding: 1em;
    background: #1a1a1a;
    color: #fff;
    line-height: 1.2
}

pre code::selection, pre code span::selection, pre code::-moz-selection, pre code span::-moz-selection {
    background: #4c4f5c
}

pre code::-webkit-scrollbar {
    height: 5px
}

pre code::-webkit-scrollbar-track {
    background: #000
}

pre code::-webkit-scrollbar-thumb {
    background: #888
}

table {
    text-align: left;
    width: 100%;
    max-width: 100%;
    border: 1px solid rgba(127, 127, 127, .2);
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 14px
}

thead {
    color: var(--primary-color);
    background: rgba(127, 127, 127, .075);
    font-weight: 700
}

tbody {
    background: 0 0
}

table td, table th {
    padding: 10px 6px;
    vertical-align: middle;
    border: 1px solid rgba(127, 127, 127, .2)
}

.shadow, .card {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 7%) !important;
    transition-duration: .3s;
    transition-property: box-shadow, transform
}

.shadow:hover, .shadow:focus, .card:hover, .card:focus {
    box-shadow: 0 14px 25px rgba(0, 0, 0, .1) !important
}

.card {
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column
}

a.card:hover {
    transform: translateY(-5px)
}

.container {
    max-width: 1600px;
    width: 90%;
    margin-left: auto;
    margin-right: auto
}

@media (max-width: 600px) {
    .container {
        width: calc(100% - 30px)
    }
}

.chevron-link::after {
    content: '›';
    display: inline-block;
    margin-left: .2em;
    transition: transform .15s linear;
    will-change: transform
}

.chevron-link:hover::after {
    transform: translateX(.1em)
}

.btn {
    display: inline-block;
    font-size: 14px;
    text-transform: uppercase;
    padding: 16px 44px;
    border-radius: var(--border-radius);
    font-weight: 700;
    border: 0;
    background: var(--primary-color);
    color: #fff !important;
    box-shadow: inset 0 -6px rgba(0, 0, 0, .2);
    text-align: center;
    transition: box-shadow .1s ease
}

.btn:hover {
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, .3)
}

.switch {
    height: 2.5em;
    width: 5em;
    padding: 0;
    position: relative;
    display: inline-block;
    cursor: pointer;
    font-size: 10px
}

.switch input {
    display: none
}

.switch input + span {
    display: block;
    height: 100%;
    width: 100%;
    border-radius: 999px;
    background: var(--primary-color);
    padding: .3em
}

.switch input + span::before {
    content: '';
    display: block;
    height: 1.9em;
    width: 1.9em;
    border-radius: 100%;
    background: #fff;
    transform: translateX(0);
    transition: transform .2s
}

.switch input:checked + span::before {
    transform: translateX(2.5em)
}

.darkmode-switch {
    font-size: 10px;
    letter-spacing: .2em;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 4px
}

.darkmode-switch .switch {
    vertical-align: bottom;
    margin: -4px 10px
}

.notices {
    margin: 32px 0;
    position: relative
}

.notices p {
    padding: 10px;
    border-radius: var(--border-radius)
}

.notices p::before {
    position: absolute;
    top: 3px;
    font-family: themify;
    font-weight: 900;
    content: "\e697";
    left: 10px;
    height: 18px;
    width: 18px;
    text-align: center;
    border-radius: 99px;
    border: 2px solid;
    font-size: 12px
}

.notices p::after {
    position: absolute;
    top: 2px;
    left: 2.5em
}

.notices.info p {
    border-top: 30px solid rgba(255, 210, 89, .15);
    background: rgba(255, 210, 89, .15)
}

.notices.info p::after {
    content: 'Info'
}

nav {
    height: var(--nav-height);
    position: relative;
    display: flex;
    justify-content: space-between;
    z-index: 1000
}

#logo {
    width: 220px;
    height: 100%;
    display: block;
    background-size: 100%;
    background-position: 50%;
    background-repeat: no-repeat;
    position: relative;
    z-index: 2;
    transition: none
}

#logo-bottom {
    width: 240px;
    height: 100%;
    display: block;
    background-size: 100%;
    background-position: 50%;
    background-repeat: no-repeat;
    position: relative;
    z-index: 2;
    transition: none
}

header nav.show-menu #logo {
    transition: 0s .17s filter, .2s .17s opacity;
    filter: none;
    opacity: 1
}

#navigation {
    display: flex;
    align-items: center
}

#navigation li {
    padding: 0;
    transition: transform .1s linear
}

#navigation li::before {
    display: none
}

#navigation a, #navigation li span {
    padding: 10px 13px;
    display: inline-block;
    height: 43px;
    border: 1px solid transparent;
    color: var(--text-color-dark);
    text-transform: uppercase;
    cursor: pointer
}

#navigation a:hover, #navigation a:focus {
    color: var(--primary-color)
}

#navigation i {
    display: inline-block;
    font-size: .8em;
    margin-left: .2em
}

@media (min-width: 1100px) {
    #navigation .dropdown-menu:hover {
        transform: translateY(-2px)
    }

    #navigation .dropdown-menu > span {
        border-radius: var(--border-radius) var(--border-radius) 0 0;
        position: relative;
        z-index: 2;
        border-bottom: 0;
        transition-property: box-shadow, border, background-color;
        transition-timing-function: ease;
        transition-duration: 0s
    }

    #navigation .dropdown-menu:hover > span {
        transition-duration: .3s;
        box-shadow: -4px -4px 15px -4px rgba(127, 127, 127, .2);
        border-color: rgba(0, 0, 0, .1);
        background: var(--white-color);
        color: var(--primary-color);
        text-shadow: none
    }

    body.dark-theme #navigation .dropdown-menu:hover > span {
        background: var(--body-color)
    }

    #navigation .dropdown-menu div {
        display: flex;
        visibility: hidden;
        opacity: 0;
        padding: 10px 0;
        position: absolute;
        top: 43px;
        flex-direction: column;
        white-space: pre;
        border-radius: 0 var(--border-radius) var(--border-radius);
        border: 1px solid rgba(0, 0, 0, .1);
        border-top: 0;
        box-shadow: 0 3px 15px rgba(127, 127, 127, .3);
        z-index: 1;
        transition: visibility 0s, opacity .3s ease;
        background: var(--white-color);
        min-width: 170%
    }

    body.dark-theme #navigation .dropdown-menu div {
        background: var(--body-color)
    }

    #navigation .dropdown-menu:last-child div {
        right: 0;
        border-radius: var(--border-radius) 0 var(--border-radius) var(--border-radius);
        text-align: right
    }

    #navigation .dropdown-menu:hover > span + div {
        visibility: visible;
        opacity: 1
    }
}

nav button {
    align-self: center;
    height: 27px;
    width: 27px;
    border: none;
    background: 0 0;
    color: inherit;
    padding: 0;
    margin-right: 20px;
    display: none;
    position: relative;
    z-index: 2;
    flex-direction: column;
    justify-content: space-around;
    align-items: stretch;
    filter: drop-shadow(var(--nav-text-shadow))
}

nav button > span {
    display: block;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
    transition: transform .6s
}

nav button > span:first-child {
    transform-origin: top left
}

nav.show-menu button > span:first-child {
    transform: rotate(45deg)
}

nav.show-menu button > span:nth-child(2) {
    transform: translateX(-200%) scaleX(0)
}

nav button > span:last-child {
    transform-origin: bottom left
}

nav.show-menu button > span:last-child {
    transform: rotate(-45deg)
}

@media (max-width: 1100px) {
    nav button {
        display: flex
    }

    #navigation {
        position: fixed;
        top: 0;
        bottom: 0;
        width: 100vw;
        left: 100%;
        background: var(--white-color);
        flex-direction: column;
        line-height: 3em;
        transition: left .2s ease;
        overflow: auto
    }

    #navigation::before, #navigation::after {
        content: '';
        display: block;
        margin: auto
    }

    nav.show-menu #navigation {
        left: 0
    }

    #navigation li {
        text-align: center;
        width: 100%
    }

    #navigation .dropdown-menu div {
        display: flex;
        flex-direction: column;
        overflow: hidden;
        background: var(--body-color);
        max-height: 0;
        transition: max-height .6s;
        box-shadow: inset 0 12px 5px -10px rgba(0, 0, 0, .075), inset 0 -12px 5px -10px rgba(0, 0, 0, 5%)
    }

    #navigation .dropdown-menu:hover div {
        max-height: 300px
    }

    #navigation .dropdown-menu div a {
        padding: 0
    }
}

header {
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 15px rgba(0, 0, 0, .1);
    background-color: var(--white-color);
    background-size: cover;
    background-position: 50%;
    background-repeat: no-repeat;
    position: relative
}

header::before {
    position: absolute;
    content: '';
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    opacity: .8
}

header.bg-cover {
    --nav-text-shadow: 0 0 20px rgba(0, 0, 0, .5)
}

header.bg-cover::before {
    background: var(--primary-color)
}

@media (min-width: 1100px) {
    header.bg-cover #navigation li > a, header.bg-cover #navigation li > span {
        color: #fff;
        text-shadow: 0 0 1px #fff, var(--nav-text-shadow)
    }
}

header.bg-cover #logo {
    filter: brightness(0) invert(1) drop-shadow(var(--nav-text-shadow))
}

header.bg-cover nav:not(.show-menu) button {
    color: #fff
}

main {
    --margins: 30px;
    --sidebar-width: 250px;
    display: flex;
    align-items: start;
    min-height: calc(100vh - 674px)
}

main > * {
    margin-top: var(--margins)
}

aside.card, article.card {
    display: block
}

aside {
    position: sticky;
    top: var(--margins);
    width: var(--sidebar-width);
    padding: 20px 10px
}

aside > a {
    position: absolute
}

aside > a::before {
    position: absolute;
    font-family: themify;
    content: "\e64a";
    font-size: 25px;
    color: inherit;
    z-index: 1;
    left: -3px;
    top: -3px;
    width: 35px;
    height: 35px;
    line-height: 35px;
    border-radius: 100%;
    background: var(--light-color);
    text-align: center
}

aside > ul > li::before {
    display: none
}

aside > ul > li > a {
    font-size: 20px;
    margin-left: 20px
}

aside li ul:not(:empty) {
    max-height: calc(100vh - 240px);
    overflow: auto;
    scrollbar-width: thin;
    scrollbar-color: #CCC transparent
}

aside li ul::-webkit-scrollbar {
    width: 3px
}

aside li ul::-webkit-scrollbar-track {
    background: 0 0
}

aside li ul::-webkit-scrollbar-thumb {
    background: #ccc
}

aside li li {
    margin: 1em 0;
    font-size: 13px
}

aside li li a {
    color: var(--text-color-dark);
    display: block;
    margin: 0
}

aside li li.active a {
    color: var(--primary-color)
}

aside li li.active::before {
    opacity: 1
}

main > section {
    width: calc(100% - var(--sidebar-width) - var(--margins));
    margin-left: var(--margins)
}

main > section:only-child {
    margin-left: auto;
    margin-right: auto
}

main > section > h1 i {
    margin-right: 8px
}

article {
    background: #fff;
    padding: 3em
}

@media (max-width: 1000px) {
    main {
        flex-wrap: wrap
    }

    aside, main > section {
        width: 100%;
        margin-left: 0
    }

    aside {
        position: relative;
        top: 0;
        order: 2
    }

    article {
        padding: 1.5em
    }
}

article > h2 {
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(127, 127, 127, .2)
}

#page-list {
    background: var(--light-color);
    padding: 1.5em;
    border-radius: var(--border-radius)
}

#page-list > li > a {
    display: none
}

#page-list li li {
    font-size: 16px;
    margin: 1.5em 0
}

#page-list li li a {
    color: var(--text-color-dark)
}

#page-list > li::before {
    display: none
}

#page-list > li li::before {
    content: '\e628';
    font-family: themify;
    left: -10px;
    background: 0 0;
    height: auto;
    width: auto;
    color: var(--primary-color);
    filter: none
}

#content {
    word-wrap: break-word
}

#content > * {
    margin-bottom: 1.3em
}

#content h1, #content h2, #content h3, #content h4, #content h5, #content h6 {
    margin-top: 1.3em
}

#content img, #content video {
    max-width: 100%;
    height: auto;
    margin: 0 auto 15px;
    display: block;
    text-align: center;
    max-height: 700px
}

#content table img {
    margin: 0
}

#post-meta {
    color: var(--text-color);
    font-style: italic;
    font-size: 14px
}

#pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between
}

#pagination * {
    line-height: 40px
}

#pagination a {
    display: flex
}

#pagination > div {
    flex-basis: 100%
}

#pagination i {
    font-size: 15px;
    margin-right: 8px
}

#pagination a:last-child:not(:only-child) i {
    margin-right: 0;
    margin-left: 8px
}

#pagination span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 250px;
    display: block
}

@media (max-width: 680px) {
    #pagination span {
        display: none
    }
}

#posts article, section#content {
    width: 90%;
    max-width: 800px;
    margin: auto
}

article p:empty, section#content p:empty, article p a:empty, section#content p a:empty {
    display: none !important
}

section#content {
    margin-top: 60px
}

section#content table, section#content table td, section#content table th {
    border: 0
}

section#content table thead {
    background: 0 0
}

section#content table thead {
    color: var(--text-color-dark)
}

.page-button {
    background: 0 0;
    border: 2px solid rgba(127, 127, 127, .15);
    box-shadow: inset 0 0 rgba(127, 127, 127, .15);
    color: var(--text-color);
    margin-top: 20px;
    font-weight: 700;
    transition-property: box-shadow;
    transition-duration: .4s;
    display: inline-block;
    line-height: 2.5;
    text-align: center;
    font-size: .9em
}

.page-button:hover {
    box-shadow: inset 0 60px rgba(127, 127, 127, .15);
    color: var(--text-color)
}

#posts .darkmode-switch {
    padding: 30px 0
}

#posts > h1 {
    text-align: center;
    margin: auto;
    margin-top: 60px;
    width: 90%
}

#posts main {
    max-width: 1800px;
    flex-wrap: wrap;
    justify-content: center;
    margin: auto
}

#posts article {
    line-height: 2;
    background: 0 0 !important;
    padding: 0
}

#posts main article {
    margin: 40px
}

@media (max-width: 900px) {
    #posts main article {
        margin: 40px 0
    }
}

#posts article h1 {
    font-weight: 400;
    line-height: 1.7;
    margin-bottom: 10px;
    font-size: 32px
}

@media (max-width: 500px) {
    #posts article h1 {
        font-size: 26px
    }
}

#posts article > img, #posts article > a > img {
    width: 100%;
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .2);
    margin-bottom: 40px;
    min-height: 280px
}

@media (max-width: 900px) {
    #posts article > img, #posts article > a > img {
        min-height: 100px
    }
}

#posts article time {
    color: var(--primary-color)
}

#posts article time i {
    margin-right: .4em
}

#posts article li::before {
    top: 1.05em
}

#posts article a.page-button {
    padding: 0 30px
}

#paginator {
    margin: auto;
    font-size: 1.2em;
    text-align: center;
    display: flex;
    max-width: 90%;
    justify-content: center;
    flex-wrap: wrap
}

#paginator li {
    padding: 0;
    margin: 2px
}

#paginator li::before {
    display: none
}

#paginator li a {
    width: 2.5em;
    box-sizing: content-box
}

#paginator li.current-page a {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: #fff
}

@media (max-width: 900px) {
    #paginator li a {
        width: 2em;
        line-height: 2em
    }
}

footer {
    background: #000;
    margin-top: 160px;
    font-size: 14px;
    padding: 20px 0
}

body.dark-theme footer {
    box-shadow: 0 30px 80px var(--primary-color)
}

footer, footer a, footer h4 {
    color: #fff
}

footer .container {
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    line-height: 2.2em;
    padding: 20px 0
}

footer .container div {
    flex: 1;
    max-width: 340px
}

footer .container div:nth-child(2) {
    width: 250px;
    box-sizing: content-box;
    flex: revert;
    padding-left: 180px
}

#footer-logo {
    max-width: 80%;
    display: block
}

footer h4 {
    margin: 1.2em 0
}

footer a {
    display: block
}

footer a svg {
    height: 20px;
    margin-right: 10px;
    vertical-align: sub
}

@media (max-width: 900px) {
    footer .container {
        justify-content: right
    }

    footer .container div, footer .container div:nth-child(2) {
        flex: unset;
        width: 170px;
        margin: 0 auto;
        padding-left: 50px;
        box-sizing: content-box
    }

    footer .container div:last-child {
        width: 100%;
        margin: 60px auto
    }
}

.hljs-title, .hljs-name {
    color: #ffc730
}

.hljs-comment, .hljs-meta, .hljs-meta .hljs-keyword {
    color: #49aee6
}

.hljs-number, .hljs-symbol, .hljs-literal, .hljs-deletion, .hljs-link {
    color: #bf2e5d
}

.hljs-string, .hljs-doctag, .hljs-addition, .hljs-regexp, .hljs-selector-attr, .hljs-selector-pseudo {
    color: #5ebdab
}

.hljs-attribute, .hljs-code, .hljs-selector-id {
    color: #d41919
}

.hljs-keyword, .hljs-selector-tag, .hljs-bullet, .hljs-tag {
    color: #367bf0
}

.hljs-subst, .hljs-variable, .hljs-template-tag, .hljs-template-variable {
    color: #8c42ab
}

.hljs-type, .hljs-built_in, .hljs-builtin-name, .hljs-quote, .hljs-section, .hljs-selector-class {
    color: #06C05F
}

.hljs-emphasis {
    font-style: italic
}

.hljs-strong {
    font-weight: 700
}

.hljs-prompt {
    color: #47d4b9;
    font-style: italic
}

.language-console {
    color: #ddd
}

.language-console .language-bash {
    color: #fff
}

#undercover-demo {
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .5);
    position: relative;
    overflow: hidden
}

[id^=undercover-demo__] {
    background-size: 100% 100%;
    position: absolute;
    box-shadow: 0 calc(var(--width) * .002) calc(var(--width) * .01) rgba(0, 0, 0, .3);
    transition: opacity .4s ease
}



#undercover-demo__menu--normal1, #undercover-demo__menu--normal2 {
    width: 41%;
    height: 87%;
    top: 3.8%;
    transition: opacity .2s ease
}



#undercover-demo__menu--undercover1, #undercover-demo__menu--undercover2 {
    width: 39%;
    height: 78%;
    bottom: 5.8%;
    transition: opacity .2s ease
}






#nethunter-demo {
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .5);
    position: relative;
    overflow: hidden
}

[id^=nethunter-demo__] {
    background-size: 100% 100%;
    position: absolute;
    box-shadow: 0 calc(var(--width) * .002) calc(var(--width) * .01) rgba(0, 0, 0, .3);
    transition: opacity .4s ease
}

figure#nethunter-demo {
    border-top-left-radius: 12% 5%;
    border-top-right-radius: 12% 5%;
    border-bottom-left-radius: 12% 5%;
    border-bottom-right-radius: 12% 5%
}

#winkex-demo {
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .5);
    position: relative;
    overflow: hidden
}

[id^=winkex-demo__] {
    background-size: 100% 100%;
    position: absolute;
    box-shadow: 0 calc(var(--width) * .002) calc(var(--width) * .01) rgba(0, 0, 0, .3);
    transition: opacity .4s ease
}
