/* Typography
------------------------------------- */
/* Benzin Font Family*/
@font-face {
    font-family: "Benzin";
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url(assets/font/Benzin_Extra_Bold.ttf) format("truetype");
}

@font-face {
    font-family: "Benzin";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(assets/font/Benzin_Bold.ttf) format("truetype");
}

@font-face {
    font-family: "Benzin";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(assets/font/Benzin_Semibold.ttf) format("truetype");
}

@font-face {
    font-family: "Benzin";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(assets/font/Benzin_Medium.ttf) format("truetype");
}

@font-face {
    font-family: "Benzin";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(assets/font/Benzin_Regular.ttf) format("truetype");
}

/* Jeko Font Family */
@font-face {
    font-family: "Jeko";
    font-style: normal;
    font-weight: 100;
    font-display: swap;
    src: url(assets/font/FontsFree-Net-Jeko-Thin.ttf) format("truetype");
}

@font-face {
    font-family: "Jeko";
    font-style: normal;
    font-weight: 200;
    font-display: swap;
    src: url(assets/font/FontsFree-Net-Jeko-Extra-Light.ttf) format("truetype");
}

@font-face {
    font-family: "Jeko";
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url(assets/font/FontsFree-Net-Jeko-Light.ttf) format("truetype");
}

@font-face {
    font-family: "Jeko";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(assets/font/FontsFree-Net-Jeko-Regular.ttf) format("truetype");
}

@font-face {
    font-family: "Jeko";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(assets/font/FontsFree-Net-Jeko-Medium.ttf) format("truetype");
}

@font-face {
    font-family: "Jeko";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(assets/font/FontsFree-Net-Jeko-Semi-Bold.ttf) format("truetype");
}

@font-face {
    font-family: "Jeko";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(assets/font/FontsFree-Net-Jeko-Bold.ttf) format("truetype");
}

@font-face {
    font-family: "Jeko";
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url(assets/font/FontsFree-Net-Jeko-Extra-Bold.ttf) format("truetype");
}

@font-face {
    font-family: "Jeko";
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url(assets/font/FontsFree-Net-Jeko-Black.ttf) format("truetype");
}

/* Main Styling
------------------------------------- */

:root {
    --color-orange: #ba5a4d;
    --color-purple: #7800ff;
    --color-blue: #205ba8;
    --color-aqua: #3acbf0;
    --color-green: #008f00;
    --color-red: #ff0000;
    --color-beige: #FFE3B1;
    --color-hyperlink: #00AFF4;

    --background-color: #000;
    --background-color-dec: 255, 255, 255;
    --foreground-color: #141414;

    --text-color: #FFF;
    --color-navlink: #205ba8;
    --color-navlink: #205ba8;
}

/* @media (prefers-color-scheme: dark) {
  :root {
    --background-color: #555;
    --background-color-dec: 0, 0, 0;

    --foreground-color: #222;

    --text-color: #fff;
    --color-blue: #00f6ff;
    --color-green: #00ff00;
    --color-navlink: #fff;
  }
} */

html {
    scroll-behavior: smooth;
    scrollbar-color: var(--color-hyperlink) var(--background-color);
    text-rendering: optimizeLegibility;
}

::-webkit-scrollbar {
    height: 16px;
    width: 8px;
    background: var(--background-color);
}

::-webkit-scrollbar-thumb {
    background: var(--color-hyperlink);
    -webkit-border-radius: 1ex;
    border-radius: 1ex;
}

::-webkit-scrollbar-corner {
    background: rgb(0, 0, 0);
}

:target::before {
    content: "";
    display: block;
    height: 70px; /* fixed header height*/
    margin-top: -70px; /* negative fixed header height */
}

/* Main Content Areas
------------------------------------- */

body {
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
    font-family: "Jeko", sans-serif;
}

header {
    position: fixed;
    top: 0;
    z-index: 5;
    width: 100%;
    height: 64px;
    background-color: #000;
}

.toolbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    column-gap: 12px;
    margin: 0;
    padding: 4px 16px;
    position: relative;
    z-index: 0;
    height: 56px;
}

.categoryButtons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    column-gap: 12px;
    margin: 0;
    padding: 16px 80px;
    padding-top: 40px;
    position: relative;
    z-index: 0;
    height: 56px;
}

#logo-container {
    display: flex;
    height: 56px;
    margin: 0;
    column-gap: 12px;
    align-items: center;
}

#logo-icon {
    filter: brightness(100);
    height: 40px;
    width: auto;
}

#title {
    width: 100px;
    font-family: "Benzin", sans-serif;
    font-weight: normal;
    font-size: 1.25rem;
    line-height: 1.5;
    white-space: nowrap;
    color: #fff;
}

/* Search Bar */

#search-bar {
    background-color: #222;
    border-radius: 24px;
    padding: 0 24px;
    height: 48px;
    display: flex;
    margin-bottom: 0;
    width: 50%
}

#search-button {
    filter: invert(100);
    align-self: center;
    margin-top: 0;
    margin-right: auto;
    padding-right: 6px;
    height: 20px;
    width: 20px;
}

#search-button > svg {
    width: 20px;
    height: 20px;
}

#search-slot {
    display: flex;
    flex: 1 1 auto;
    position: relative;
    padding: 0;
    margin: 0;
    font-family: "Jeko", sans-serif;
    line-height: 1.5;
    letter-spacing: normal;
    text-align: left;
}

#search-input {
    align-self: center;
    flex: 1 1 auto;
    line-height: 20px;
    padding: 8px 0;
    max-width: 100%;
    min-width: 0;
    width: 100%;
    max-height: 32px;
    background-color: transparent;
    border-style: none;
    outline: none;
    border-radius: 0;
    caret-color: auto;
    color: #fff;
}

#settings-pane > svg {
    width: 24px;
    height: 24px;
    align-self: center;
    filter: invert(100);
}

/* sidenav */

#navbutton {
    position: fixed;
    bottom: 15px;
    left: 15px;
    width: 50px;
    height: 50px;
    border-radius: 15px;
    background-color: #000;
    z-index: 10;
}

#navbutton > svg {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -16px;
    margin-top: -16px;
    width: 32px;
    height: 32px;
    align-self: center;
    filter: invert(100);
}

#sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.3s;
    padding-top: 80px;
}

#sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;
    transition: 0.2s;
}

#sidenav a:hover {
    color: #f1f1f1;
}

#main {
    padding: 80px 10px 0 10px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    margin-bottom: 20px;
    padding: 10px 20px;
    background-color: var(--foreground-color);
    border: solid;
    border-radius: 5px;
    border-color: #FFF;
    align-content: center;
}

.loader {
    position: relative;
    width: 256px;
    height: 256px;
    border-radius: 50%;
    background: linear-gradient(45deg, transparent 40%, white);
    animation: move 0.5s linear infinite;
}
.loader::before {
    position: absolute;
    content: "";
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    background: #000;
    border-radius: 50%;
    z-index: 2;
}
.loader::after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(45deg, transparent 40%, red);
    filter: blur(20px);
}
@keyframes move {
    to {
        transform: rotate(360deg);
        filter: hue-rotate(360deg);
    }
}

.pathway-length {
    margin-top: 20px;
    padding: 10px;
    background-color: #FF6F30;
    border-radius: 20px;
    color: #FFF;
    font-family: 'Montserrat SemiBold';
}

.if-card {
    padding: 10px 20px;
    background-color: var(--foreground-color);
    border: solid;
    border-radius: 5px;
    border-color: #FFF;
}

.categoryCard {
    margin-bottom: 20px;
    padding: 10px 20px;
    background-color: var(--foreground-color);
    border: solid;
    border-radius: 5px;
    border-color: #FFF;
}

.categoryCard:hover {
    background-color: #343434;
}

.audio-player {
    margin-bottom: 5px;
}

.path-list {
    padding: 10px;
    list-style: none
}

.path-card {
    display: flex;
    flex: 0 1 300px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: calc(100% / 3);
    margin: 10px;
    color: var(--color-red);
    border: solid;
    border-radius: 5px;
}

.path-card-live {
    display: flex;
    flex: 0 1 300px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: calc(100% / 3);
    margin: 10px;
    color: var(--color-green);
    background-color: var(--foreground-color);
    border: solid;
    border-radius: 5px;
}

.talk-bubble {
    margin: 40px;
    display: flex;
    position: relative;
    width: 200px;
    height: auto;
    background-color: lightyellow;
}


.talk-bubble-vss {
    margin: 40px;
    display: flex;
    position: relative;
    height: auto;
    margin: 0 0 0 0;
    background-color: #3880F5;
}

.talk-bubble-lead {
    display: flex;
    position: relative;
    height: auto;
    background-color: #FFF;
    margin: auto 0 auto auto;
}

.border-vss {
    border: 8px solid #3880F5;
}

.border-lead {
    border: 8px solid #FFF;
}

.round {
    border-radius: 30px;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;

}

/* Right triangle placed top left flush. */
.tri-right.border.left-top:before {
    content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    left: -40px;
    right: auto;
    top: -8px;
    bottom: auto;
    border: 32px solid;
    border-color: #666 transparent transparent transparent;
}

.tri-right.left-top:after {
    content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    left: -20px;
    right: auto;
    top: 0px;
    bottom: auto;
    border: 22px solid;
    border-color: lightyellow transparent transparent transparent;
}

/* Right triangle, left side slightly down */
.tri-right.border.left-in:before {
    content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    left: -40px;
    right: auto;
    top: 30px;
    bottom: auto;
    border: 20px solid;
    border-color: #666 #666 transparent transparent;
}

.tri-right.left-in:after {
    content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    left: -20px;
    right: auto;
    top: 38px;
    bottom: auto;
    border: 12px solid;
    border-color: lightyellow lightyellow transparent transparent;
}

/*Right triangle, placed bottom left side slightly in*/
.tri-right.border.btm-left:before {
    content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    left: -8px;
    right: auto;
    top: auto;
    bottom: -40px;
    border: 32px solid;
    border-color: transparent transparent transparent #666;
}

.tri-right.btm-left:after {
    content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    left: 0px;
    right: auto;
    top: auto;
    bottom: -20px;
    border: 22px solid;
    border-color: transparent transparent transparent lightyellow;
}

/*Right triangle, placed bottom left side slightly in*/
.tri-right.border.btm-left-in:before {
    content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    left: 30px;
    right: auto;
    top: auto;
    bottom: -40px;
    border: 20px solid;
    border-color: #3880F5 transparent transparent #3880F5;
}

.tri-right.btm-left-in:after {
    content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    left: 38px;
    right: auto;
    top: auto;
    bottom: -20px;
    border: 12px solid;
    border-color: #3880F5 transparent transparent #3880F5;
}

/*Right triangle, placed bottom right side slightly in*/
.tri-right.border.btm-right-in:before {
    content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    left: auto;
    right: 30px;
    bottom: -40px;
    border: 20px solid;
    border-color: #FFF #FFF transparent transparent;
}

.tri-right.btm-right-in:after {
    content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    left: auto;
    right: 38px;
    bottom: -20px;
    border: 12px solid;
    border-color: #FFF #FFF transparent transparent;
}

/*
	left: -8px;
  right: auto;
  top: auto;
	bottom: -40px;
	border: 32px solid;
	border-color: transparent transparent transparent #666;
	left: 0px;
  right: auto;
  top: auto;
	bottom: -20px;
	border: 22px solid;
	border-color: transparent transparent transparent lightyellow;

/*Right triangle, placed bottom right side slightly in*/
.tri-right.border.btm-right:before {
    content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    left: auto;
    right: -8px;
    bottom: -40px;
    border: 20px solid;
    border-color: #666 #666 transparent transparent;
}

.tri-right.btm-right:after {
    content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    left: auto;
    right: 0px;
    bottom: -20px;
    border: 12px solid;
    border-color: lightyellow lightyellow transparent transparent;
}

/* Right triangle, right side slightly down*/
.tri-right.border.right-in:before {
    content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    left: auto;
    right: -40px;
    top: 30px;
    bottom: auto;
    border: 20px solid;
    border-color: #666 transparent transparent #666;
}

.tri-right.right-in:after {
    content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    left: auto;
    right: -20px;
    top: 38px;
    bottom: auto;
    border: 12px solid;
    border-color: lightyellow transparent transparent lightyellow;
}

/* Right triangle placed top right flush. */
.tri-right.border.right-top:before {
    content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    left: auto;
    right: -40px;
    top: -8px;
    bottom: auto;
    border: 32px solid;
    border-color: #666 transparent transparent transparent;
}

.tri-right.right-top:after {
    content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    left: auto;
    right: -20px;
    top: 0px;
    bottom: auto;
    border: 20px solid;
    border-color: lightyellow transparent transparent transparent;
}

/* talk bubble contents */
.talktext {
    padding: 1em;
    text-align: left;
    line-height: 1.5em;
}

.talktext p {
    /* remove webkit p margins */
    -webkit-margin-before: 0em;
    -webkit-margin-after: 0em;
}

@media (max-width: 650px) {
    .path-cards {
        flex-direction: column;
    }

    .path-card {
        max-width: 300px;
        width: 100%;
        margin: 0 auto;
        margin-bottom: 10px;
    }
}

/* Content Style and Typography
------------------------------------- */

h1,
h2,
h3,
h4,
h5 {
    font-family: "Benzin", serif;
    color: var(--text-color);
    padding: 10px;
}

h1 {
    font-weight: 700;
}

h2 {
    font-weight: 500;
}

p,
li {
    font-family: "Jeko", serif;
    color: var(--text-color);
    font-size: large;
}

a {
    text-decoration: none;
    color: var(--color-purple);
    font-weight: 600;
}

.red-text {
    color: var(--color-red);
}

.tip-text {
    color: var(--color-beige);
}

.green-text {
    color: var(--color-green);
}

.hyperlink {
    color: var(--color-hyperlink);
}

.boolean-list {
    list-style: none;
}

.spoken-phrase {
    color: var(--color-aqua);
}

.path-cards {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    margin-bottom: 20px;
}

@media print {
    header {
        position: relative;
    }

    main {
        padding: 20px 10px 0 10px;
    }

    #nav {
        display: none;
    }

    .card {
        margin-bottom: 10px;
        padding: 10px 10px;
    }

    #paths {
        display: none;
    }
}
