:root {
    --font-family: Segoe UI,SegoeUI,Helvetica Neue,Helvetica,Arial,sans-serif;
    --header-height: 7vh;

    --theme-background-color: whitesmoke;
    --theme-header-background-color: darkcyan;
    --theme-header-color: white;
    --theme-border-color: black;
    --theme-hover-color: paleturquoise;
    --theme-focus-color: rgb(152, 208, 208);
    --theme-footer-background-color: #373737;
    --theme-footer-color: white;
    --theme-section-header-line-color: rgb(235, 235, 235);
    --theme-link-color: blue;
    --theme-link-hover-color: green;
    --theme-page-h1-background-color: aquamarine;
    --theme-page-h2-background-color: darkturquoise;
    --theme-note-color: red;
    --theme-vba-comment: green;
    --theme-vba-keyword: rgb(0, 0, 187);
    --theme-highlight-color: yellow;
    --theme-scrollbar-track-background: rgb(223, 223, 223);
    --theme-scrollbar-thumb-background: rgb(189, 189, 189);
    --theme-scrollbar-thumb-hover-background: rgb(168, 168, 168);
    --theme-scrollbar-button-background-color: rgb(223, 223, 223);

    --theme-dark-background-color: rgb(27, 27, 27);
    --theme-dark-header-background-color: rgb(0, 85, 85);
    --theme-dark-color: #b5b5b5;
    --theme-dark-color-2: #adadad;
    --theme-dark-header-color: #c8c8c8;
    --theme-dark-section-header-line-color: rgb(235, 235, 235);
    --theme-dark-header-background-color: rgb(0, 85, 85);
    --theme-dark-a-tag-color: rgb(49, 170, 158);
    --theme-dark-a-tag-hover-color: green;
    --theme-dark-page-h1-background-color: rgb(0, 114, 76);
    --theme-dark-page-h2-background-color: rgb(0, 142, 144);
    --theme-dark-vba-background-color: rgb(42, 42, 42);
    --theme-dark-vba-comment: rgb(80, 168, 139);
    --theme-dark-vba-keyword: rgb(40, 150, 150);
    --theme-dark-navigation-link-active-background-color: rgb(0, 155, 155);
    --theme-dark-scrollbar-track-background: gray;
    --theme-dark-scrollbar-thumb-background: rgb(88, 88, 88);
    --theme-dark-scrollbar-thumb-hover-background: rgb(88, 88, 88);
    --theme-dark-scrollbar-button-background-color: gray;
    --theme-dark-note-color: rgb(255, 104, 104);
    --theme-dark-footer-background-color: #141414;
    --theme-dark-highlight-color: #9443cc;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-padding-top: var(--header-height);
}

body {
    min-height: 100vh;
    background-color: var(--theme-background-color);
    font-family: var(--font-family);
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
    background-color: var(--theme-header-background-color);
    color: var(--theme-header-color);
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    padding: 0 1rem;
    z-index: 1;
}

#header-left {
    display: flex;
    align-items: center;
}

#header-site {
    display: none;
}

#header-site > a {
    height: 100%;
    display: flex;
    align-items: center;
}

#header-site > a > span {
    color: var(--theme-header-color);
    font-size: 2rem;
    font-weight: bold; 
}

#header-site > a:hover > span {
    color: var(--theme-hover-color);
}

#header-site > a > img {
    border: none;
    width: 4rem;
    margin-left: 1rem;
}

#header-right {
    display: flex;
    align-items: center;
}

#daynight {
    margin-left: auto;
    margin-right: 12px;
}

#daynight:hover {
    color: var(--theme-hover-color);
    border-color: var(--theme-hover-color);
}

#daynight:hover .sun {
    color: var(--theme-hover-color);
}

#daynight:hover .moon {
    color: var(--theme-hover-color);
}

#daynight:hover .toggler {
    background-color: var(--theme-hover-color);
}

#search > form {
    display: flex;
    align-items: center;
}

#search input {
    padding: 0.25rem;
    height: 30px;
}

#search-box {
    width: 200px;
    border: none;
}

#search-button {
    width: 30px;
    border: none;
    margin-left: 0.25rem;
    background-color: var(--theme-header-color);
    color: black;
    font-size: 1rem;
    -webkit-appearance: none;
}

#search-button:hover {
    background-color: var(--theme-hover-color);
}

#search-button:focus {
    background-color: var(--theme-focus-color);
}

#hamburger {
    margin-right: 1rem;
}

#welcome {
    font-size: 1.5rem;
}

footer {
    text-align: center;
    height: 5rem;
    padding: 0.8rem;
    background-color: var(--theme-footer-background-color);
    color: var(--theme-footer-color);
    display: flex;
    align-items: center;
    justify-content: space-around;
}

footer > div > p {
    margin: 0;
}

.footer-link:link {
    color: var(--theme-footer-color);
}

.footer-link:visited {
    color: var(--theme-footer-color);
}

.footer-link:hover {
    color: var(--theme-hover-color);
}

.footer-link:active {
    color: var(--theme-footer-color);
}

#middle {
    display: flex;
}

#navigation-sidebar {
    display: none;
    width: 20rem;
    padding-bottom: 1.5rem;
    overflow-y: scroll;
    height: calc(100vh - var(--header-height));
    position: fixed;
    top: var(--header-height);
    background-color: var(--theme-background-color);
    z-index: 1;
}

#navigation-sidebar.open {
    display: block;
}

#navigation-sidebar > nav > section {
    margin: 0.5rem 0;
}

#navigation-sidebar > nav > section > h2 {
    padding-left: 0.5rem;
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

#navigation-sidebar > nav > section > a {
    width: 100%;
    padding: 0.1rem 0;
    display: block;
    padding-left: 1rem;
}

#navigation-sidebar .active {
    background-color: var(--theme-hover-color);
}

main {
    min-height: 100vh;
    padding: 0.8rem;
    flex-grow: 1;
    margin-top: var(--header-height);
    width: 100%;
    max-width: 1042px;
}

#right {
    flex-grow: 1;
    margin-top: var(--header-height);
}

#page-navigator {
    display: none;
    position: fixed;
    padding: 0.5rem;
    margin: 0.5rem;
}

#page-navigator a {
    display: block;
    padding: 0.1rem;
}

ul {
    list-style-type: none;
}

a {
    text-decoration: none;
}

a:link {
    color: var(--theme-link-color);
}

a:visited {
    color: var(--theme-link-color);
}

a:hover {
    color: var(--theme-link-hover-color);
}

a:active {
    color: var(--theme-link-color);
}

img {
    display: block;
    max-width: 100%;
    margin: 1rem 0;
    border: 1px solid var(--theme-border-color);
}

p {
    margin: 0.3rem 0;
}

/* Bootstrap */

.hamburger {
    width: 25px;
    cursor: pointer;
}

.hamburger:hover > div {
    background-color: var(--theme-hover-color);;
}

.hamburger > div {
    height: 4px;
    background-color: var(--theme-header-color);
}

.hamburger > div:not(:last-of-type) {
    margin-bottom: 4px;
}

/*---------------Main Content----------*/
main h1 {
    background-color: var(--theme-page-h1-background-color);
    padding: 5px;
    margin-bottom: 3px;
    font-size: 2.2rem;
}

main h2 {
    background-color: var(--theme-page-h2-background-color);
    padding: 5px;
    margin-bottom: 7px;
}

main h3 {
    margin-bottom: 7px;
}

main h3:after {
    content: "";
    margin-top: 2px;
    border-bottom: 2px var(--theme-section-header-line-color);
    border-bottom-style: groove;
    display: block;
}

main h4 {
    margin-bottom: 3px;
}

main h4 + p{
    margin-top: 0px;
}

main section {
    margin-bottom: 20px;
}

main section > section:first-of-type {
    margin-top: 10px;
}

main section > section:last-of-type {
    margin-bottom: 10px;
}

/*---------------Notes------------------*/
.note {
    color: var(--theme-note-color);
}

/*---------------Highlight--------------*/
.highlight {
    /*font-family: inherit;*/
    background-color: var(--theme-highlight-color);
}


/*---------------Blog-------------------*/
#siteblog article h2 {
    background-color: inherit;
    font-size: 14pt;
    margin: 0;
    padding: 0;
}

#siteblog article p {
    background-color: inherit;
    margin: 0;
    padding: 0;
}

#siteblog article {
    border: 1px solid var(--theme-border-color);
    box-shadow: 1px 1px 1px gray;
    padding: 7px;
    display: grid;
    grid-template-columns: 100%;
    margin-top: 15px;
}

#siteblog .articleheader {
    grid-column: 1;
    grid-template-rows: 1;
}

#siteblog .articlecontent {
    grid-column: 1;
    grid-template-rows: 2;
}

#siteblog .articledate {
    grid-column: 1;
    grid-template-rows: 3;
}

#siteblog div {
    margin: 4px;
}

/*---------------Code Section----------*/
.codesection {
    border: 1px solid var(--theme-border-color);
    padding: 5px;
    margin-bottom: 7px;
    background-color: white;
    overflow-x: auto;
}

.codesection > pre > code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 10pt;
}

.codesection > pre > code span {
    font-family: 'Courier New', Courier, monospace;
    font-size: 10pt;
}

.vbacomment {
    color: var(--theme-vba-comment);
}

.vbakeyword {
    color: var(--theme-vba-keyword);
}

/*---------------Hlist------------------*/
.hlist {
    padding-left: 20px;
}

.hlist, .hlist ol {
    list-style-type: none;
}

.hlist ol {
    padding-left: 25px;
    /*border-left: 1px dotted black;*/
}

.htog {
    display: none;
}

.htog:checked + label > span::before {
    content: "\25BD";
    display: inline-block;
    margin-right: 3px;
    margin-left: -20px;
}

.htog + label > span::before {
    content: "\25B6";
    display: inline-block;
    margin-right: 3px;
    margin-left: -20px;
}

.htog:checked ~ ol {
    display: block;
}

.htog ~ ol {
    display: none;
}

.hlist li {
    position: relative;
    padding-top: 5px;
    padding-bottom: 2px;
    padding-left: 5px;
}

.hlist li:last-child {
    padding-bottom: 0px;
}

.hlist ol li::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -2.4em;
    border-left: 1px solid var(--theme-border-color);
}

.hlist li:last-child:before {
    bottom: auto;
    height: 1em;
}

.hlist ol .helm::before {
    position: absolute;
    top: 10px;
    left: -2.4em;
    content: "";
    width: 20px;
    border-bottom: 1px solid var(--theme-border-color);
    margin-top: 5px;
}

/*---------------Standard Table--------*/
.standardtable {
    /*table-layout: fixed;*/
    width: 100%; 
    margin: 10px 0px;
}

.standardtable th {
    font-weight: bold;
}

.standardtable th, 
.standardtable td {
    overflow-wrap: break-word;
}

.standardtable, 
.standardtable tr, 
.standardtable th, 
.standardtable td {
    border: 1px solid var(--theme-border-color);
    border-collapse: collapse;
    padding: 5px;
    text-align: left;
}

.standardtable caption {
    text-align: left;
    font-weight: bold;
    padding: 8px 0px;
    font-size: 15pt;
}


/*---------------Sideways Table--------*/
.sidewaystable {
    table-layout: fixed;
    width: 100%;
    margin-bottom: 25px;
}

.sidewaystable th {
    width: 150px;
}

.sidewaystable, .sidewaystable tr, .sidewaystable th, .sidewaystable td {
    border: 1px solid var(--theme-border-color);
    border-collapse: collapse;
    padding: 5px;
    text-align: left;
}

/*---------------Bullet List-----------*/
.bulletlist {
    list-style-type: disc;
    list-style-position: inside;
    margin-left: 15px;
    margin-bottom: 15px;
}


/*---------------Drop-down List--------*/
.dlist ol {
    list-style-type: none;
    border-left: 1px dotted var(--theme-border-color);
    padding-left: 20px;
    margin-left: 6px;
}

.dlist li {
    margin: 5px 0px;
}

.dtog:checked + label > span::before {
    content: "\25BD";
    display: inline-block;
    margin-right: 3px;
}

.dtog + label > span::before {
    content: "\25B6";
    display: inline-block;
    margin-right: 3px;
}

.dtog {
    display: none;
}

.dtog ~ ol {
    display: none;
}

.dtog:checked ~ ol {
    display: block;
}

/*---------------Day/Night Switch------*/
#daynight {
    height: 30px;
    width: 55px;
    border: solid var(--theme-header-color) 2px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.1rem;
}

#daynight > .sun {
    color: var(--theme-header-color);
    margin-left: 5px;
    margin-top: -1px;
}

#daynight > .moon {
    color: var(--theme-header-color);
    margin-right: 7px;
    margin-top: -1px;
}


/*---------------ToggleSwitch----------*/
.toggleswitch {
    position: relative;
    display: flex;
    align-items: baseline;
}

.toggleswitch > input{
    height: 0;
    width: 0;
    opacity: 0;
}

.toggleswitch > input + .toggler {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 2px;
    border-bottom-right-radius: 2px;
}

.toggleswitch > input:checked + .toggler {
    left: 0;
    right: auto;
    border-top-left-radius: 2px;
    border-bottom-left-radius: 2px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.toggler {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 50%;
    background-color: var(--theme-header-color);
}

/*--------------Scrollbar--------------*/
/* width */
::-webkit-scrollbar {
    width: 15px;
}
  
  /* Track */
::-webkit-scrollbar-track {
    background: var(--theme-scrollbar-track-background);
}
   
  /* Handle */
::-webkit-scrollbar-thumb {
    background: var(--theme-scrollbar-thumb-background);
}
  
  /* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: var(--theme-scrollbar-thumb-hover-background);
}

::-webkit-scrollbar-button {
    background-repeat: no-repeat;
    background-position: center;
}

/* Up */
::-webkit-scrollbar-button:single-button:vertical:decrement {
    /*background-image: url("data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" aria-hidden=\"true\" role=\"img\" width=\"0.63em\" height=\"1em\" preserveAspectRatio=\"xMidYMid meet\" viewBox=\"0 0 320 512\"><path d=\"M177 159.7l136 136c9.4 9.4 9.4 24.6 0 33.9l-22.6 22.6c-9.4 9.4-24.6 9.4-33.9 0L160 255.9l-96.4 96.4c-9.4 9.4-24.6 9.4-33.9 0L7 329.7c-9.4-9.4-9.4-24.6 0-33.9l136-136c9.4-9.5 24.6-9.5 34-.1z\" fill=\"rgb(90,90,90)\"/></svg>");*/
    background-image: url("data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" aria-hidden=\"true\" role=\"img\" width=\"1em\" height=\"1em\" preserveAspectRatio=\"xMidYMid meet\" viewBox=\"0 0 20 20\"><path fill=\"rgb(90,90,90)\" fill-rule=\"evenodd\" d=\"M14.707 12.707a1 1 0 0 1-1.414 0L10 9.414l-3.293 3.293a1 1 0 0 1-1.414-1.414l4-4a1 1 0 0 1 1.414 0l4 4a1 1 0 0 1 0 1.414Z\" clip-rule=\"evenodd\"/></svg>");
}

/* Down */
::-webkit-scrollbar-button:single-button:vertical:increment {
    /*background-image: url("data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" aria-hidden=\"true\" role=\"img\" width=\"0.63em\" height=\"1em\" preserveAspectRatio=\"xMidYMid meet\" viewBox=\"0 0 320 512\"><path d=\"M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4l96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.2 9.4-24.4 9.4-33.8 0z\" fill=\"rgb(90,90,90)\"/></svg>");*/
    background-image: url("data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" aria-hidden=\"true\" role=\"img\" width=\"1em\" height=\"1em\" preserveAspectRatio=\"xMidYMid meet\" viewBox=\"0 0 20 20\"><path fill=\"rgb(90,90,90)\" fill-rule=\"evenodd\" d=\"M5.293 7.293a1 1 0 0 1 1.414 0L10 10.586l3.293-3.293a1 1 0 1 1 1.414 1.414l-4 4a1 1 0 0 1-1.414 0l-4-4a1 1 0 0 1 0-1.414Z\" clip-rule=\"evenodd\"/></svg>");
}

/* Left */
::-webkit-scrollbar-button:single-button:horizontal:decrement {
    /*background-image: url("data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 256 512\"><path d=\"M31.7 239l136-136c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9L127.9 256l96.4 96.4c9.4 9.4 9.4 24.6 0 33.9L201.7 409c-9.4 9.4-24.6 9.4-33.9 0l-136-136c-9.5-9.4-9.5-24.6-.1-34z\"  fill=\"rgb(90,90,90)\"/></svg>");*/
    background-image: url("data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" aria-hidden=\"true\" role=\"img\" width=\"1em\" height=\"1em\" preserveAspectRatio=\"xMidYMid meet\" viewBox=\"0 0 20 20\"><path fill=\"rgb(90,90,90)\" fill-rule=\"evenodd\" d=\"M12.707 5.293a1 1 0 0 1 0 1.414L9.414 10l3.293 3.293a1 1 0 0 1-1.414 1.414l-4-4a1 1 0 0 1 0-1.414l4-4a1 1 0 0 1 1.414 0Z\" clip-rule=\"evenodd\"/></svg>");
}

/* Right */
::-webkit-scrollbar-button:single-button:horizontal:increment {
    /*background-image: url("data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 256 512\"><path d=\"M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z\"  fill=\"rgb(90,90,90)\"/></svg>");*/
    background-image: url("data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" aria-hidden=\"true\" role=\"img\" width=\"1em\" height=\"1em\" preserveAspectRatio=\"xMidYMid meet\" viewBox=\"0 0 20 20\"><path fill=\"rgb(90,90,90)\" fill-rule=\"evenodd\" d=\"M7.293 14.707a1 1 0 0 1 0-1.414L10.586 10L7.293 6.707a1 1 0 0 1 1.414-1.414l4 4a1 1 0 0 1 0 1.414l-4 4a1 1 0 0 1-1.414 0Z\" clip-rule=\"evenodd\"/></svg>");
}

/*---------------Disable Text Select---*/
.noselect:not(input[type="text"]) {
    -webkit-touch-callout: none; /* iOS Safari */
      -webkit-user-select: none; /* Safari */
       -khtml-user-select: none; /* Konqueror HTML */
         -moz-user-select: none; /* Old versions of Firefox */
          -ms-user-select: none; /* Internet Explorer/Edge */
              user-select: none; /* Non-prefixed version, currently
                                    supported by Chrome, Edge, Opera and Firefox */
  }


/* Dark mode */

.darkmode body {
    background-color: var(--theme-dark-background-color);
    color: var(--theme-dark-color);
}

.darkmode header {
    background-color: var(--theme-dark-header-background-color);
    color: var(--theme-dark-header-color);
}

.darkmode footer {
    background-color: var(--theme-dark-footer-background-color);
}

.darkmode a {
    color: var(--theme-dark-a-tag-color);
}

.darkmode a:hover {
    color: var(--theme-dark-a-tag-hover-color);
}

.darkmode img {
    border: 1px solid var(--theme-dark-color);
}

.darkmode table {
    border-color: var(--theme-dark-color);
}

.darkmode header {
    background-color: var(--theme-dark-header-background-color);
}

.darkmode #searchtext {
    color: black;
}

.darkmode #navigation-sidebar {
    background-color: var(--theme-dark-background-color);
}

.darkmode main h1 {
    background-color: var(--theme-dark-page-h1-background-color);
    color: var(--theme-dark-header-color);
}

.darkmode main h2 {
    background-color: var(--theme-dark-page-h2-background-color);
    color: var(--theme-dark-header-color);
}

.darkmode main h3:after {
    content: "";
    margin-top: 2px;
    border-bottom: 2px var(--theme-dark-header-color);
    border-bottom-style: groove;
    display: block;
}

.darkmode main h3 {
    color: var(--theme-dark-header-color);
}

.darkmode main h4 {
    color: var(--theme-dark-header-color);
}

.darkmode #navigation-sidebar h2 {
    color: var(--theme-dark-header-color);
}

.darkmode .note {
    color: var(--theme-dark-note-color);
}

.darkmode .highlight {
    /*background-color: #6200a5;*/
    background-color: var(--theme-dark-highlight-color);
}

.darkmode strong {
    color: var(--theme-dark-header-color);
}

.darkmode .codesection {
    border: 1px solid var(--theme-dark-color);
    background-color: var(--theme-dark-vba-background-color);
}

.darkmode .codesection > pre > code {
    color: var(--theme-dark-color);
}

.darkmode .vbacomment {
    /*color: aquamarine;*/
    color: var(--theme-dark-vba-comment);
}

.darkmode .vbakeyword {
    color: var(--theme-dark-vba-keyword);
}

.darkmode .standardtable, 
.darkmode .standardtable tr, 
.darkmode .standardtable th, 
.darkmode .standardtable td {
    border: 1px solid var(--theme-dark-color);
}

.darkmode .sidewaystable, 
.darkmode .sidewaystable tr, 
.darkmode .sidewaystable th, 
.darkmode .sidewaystable td {
    border: 1px solid var(--theme-dark-color);
}

.darkmode .hlist ol li::before {
    border-left: 1px solid var(--theme-dark-color);
}

.darkmode .hlist ol .helm::before {
    border-bottom: 1px solid var(--theme-dark-color);
}

.darkmode .dlist ol {
    border-left: 1px dotted var(--theme-dark-color);
}

.darkmode #navigation-sidebar .active {
    background-color: var(--theme-dark-navigation-link-active-background-color);
    color: var(--theme-dark-background-color);
}

/*---------------Dark Blog------------------*/
.darkmode #siteblog article {
    border-color: var(--theme-dark-color-2);
    box-shadow: 1px 1px 1px var(--theme-dark-color-2);
}

/*--------------Dark Scrollbar--------------*/
/* width */
.darkmode ::-webkit-scrollbar {
    width: 15px;
}
  
  /* Track */
.darkmode ::-webkit-scrollbar-track {
    background: var(--theme-dark-scrollbar-track-background);
}
   
  /* Handle */
.darkmode ::-webkit-scrollbar-thumb {
    background: var(--theme-dark-scrollbar-thumb-background);
}

  /* Handle on hover */
.darkmode ::-webkit-scrollbar-thumb:hover {
    background: var(--theme-dark-scrollbar-thumb-hover-background);
}

.darkmode ::-webkit-scrollbar-button {
    background-color: var(--theme-dark-scrollbar-button-background-color);
}

/* Up */
.darkmode ::-webkit-scrollbar-button:single-button:vertical:decrement {
    /*background-image: url("data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" aria-hidden=\"true\" role=\"img\" width=\"0.63em\" height=\"1em\" preserveAspectRatio=\"xMidYMid meet\" viewBox=\"0 0 320 512\"><path d=\"M177 159.7l136 136c9.4 9.4 9.4 24.6 0 33.9l-22.6 22.6c-9.4 9.4-24.6 9.4-33.9 0L160 255.9l-96.4 96.4c-9.4 9.4-24.6 9.4-33.9 0L7 329.7c-9.4-9.4-9.4-24.6 0-33.9l136-136c9.4-9.5 24.6-9.5 34-.1z\" fill=\"black\"/></svg>");*/
    background-image: url("data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" aria-hidden=\"true\" role=\"img\" width=\"1em\" height=\"1em\" preserveAspectRatio=\"xMidYMid meet\" viewBox=\"0 0 20 20\"><path fill=\"black\" fill-rule=\"evenodd\" d=\"M14.707 12.707a1 1 0 0 1-1.414 0L10 9.414l-3.293 3.293a1 1 0 0 1-1.414-1.414l4-4a1 1 0 0 1 1.414 0l4 4a1 1 0 0 1 0 1.414Z\" clip-rule=\"evenodd\"/></svg>");
}

/* Down */
.darkmode ::-webkit-scrollbar-button:single-button:vertical:increment {
    /*background-image: url("data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" aria-hidden=\"true\" role=\"img\" width=\"0.63em\" height=\"1em\" preserveAspectRatio=\"xMidYMid meet\" viewBox=\"0 0 320 512\"><path d=\"M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4l96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.2 9.4-24.4 9.4-33.8 0z\" fill=\"black\"/></svg>");*/
    background-image: url("data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" aria-hidden=\"true\" role=\"img\" width=\"1em\" height=\"1em\" preserveAspectRatio=\"xMidYMid meet\" viewBox=\"0 0 20 20\"><path fill=\"black\" fill-rule=\"evenodd\" d=\"M5.293 7.293a1 1 0 0 1 1.414 0L10 10.586l3.293-3.293a1 1 0 1 1 1.414 1.414l-4 4a1 1 0 0 1-1.414 0l-4-4a1 1 0 0 1 0-1.414Z\" clip-rule=\"evenodd\"/></svg>");
}

/* Left */
.darkmode ::-webkit-scrollbar-button:single-button:horizontal:decrement {
    /*background-image: url("data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 256 512\"><path d=\"M31.7 239l136-136c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9L127.9 256l96.4 96.4c9.4 9.4 9.4 24.6 0 33.9L201.7 409c-9.4 9.4-24.6 9.4-33.9 0l-136-136c-9.5-9.4-9.5-24.6-.1-34z\" fill=\"black\"/></svg>");*/
    background-image: url("data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" aria-hidden=\"true\" role=\"img\" width=\"1em\" height=\"1em\" preserveAspectRatio=\"xMidYMid meet\" viewBox=\"0 0 20 20\"><path fill=\"black\" fill-rule=\"evenodd\" d=\"M12.707 5.293a1 1 0 0 1 0 1.414L9.414 10l3.293 3.293a1 1 0 0 1-1.414 1.414l-4-4a1 1 0 0 1 0-1.414l4-4a1 1 0 0 1 1.414 0Z\" clip-rule=\"evenodd\"/></svg>");
}

/* Right */
.darkmode ::-webkit-scrollbar-button:single-button:horizontal:increment {
    /*background-image: url("data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 256 512\"><path d=\"M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z\" fill=\"black\"/></svg>");*/
    background-image: url("data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" aria-hidden=\"true\" role=\"img\" width=\"1em\" height=\"1em\" preserveAspectRatio=\"xMidYMid meet\" viewBox=\"0 0 20 20\"><path fill=\"black\" fill-rule=\"evenodd\" d=\"M7.293 14.707a1 1 0 0 1 0-1.414L10.586 10L7.293 6.707a1 1 0 0 1 1.414-1.414l4 4a1 1 0 0 1 0 1.414l-4 4a1 1 0 0 1-1.414 0Z\" clip-rule=\"evenodd\"/></svg>");
}

/* Media Queries */

@media screen and (min-width: 642px) {
    #header-site {
        display: flex;
        align-items: center;
    }
}

@media screen and (min-width: 1120px) {
    main {
        margin-left: 20rem;
    }

    footer {
        margin-left: 20rem;
    }

    #navigation-sidebar {
        display: block;
    }

    #hamburger {
        display: none;
    }
    /*
    #right {
        display: block;
    }
    */
}

@media screen and (min-width: 1700px) {
    #page-navigator {
        display: block;
    }
}