/* Themes */
:root {
	--primary: #cb0000;
	--secondary: #FDFDFD;
	--third: #e2432d;
}

[data-theme="red-white"] {
	--primary: #cb0000;
	--secondary: #FDFDFD;
	--third: #e2432d;
}

body {
	background-color: #080808;
	color: var(--primary);
	font-family: "Roboto Mono", monospace;
	font-optical-sizing: auto;
	font-weight: normal;
	font-style: normal;
	font-size: 13px;
	margin: 0;
	padding: 0;
	background-image: url('img/bg.gif');
	background-repeat: repeat-x;
}

img {
	max-width: 100%;
}

a {
	color: var(--primary);
}

.page a {
	color: var(--secondary);
}

u, i {
    color: var(--secondary);
}

font b {
	color: var(--primary);
}

b {
	color: var(--secondary);
}

c {
	cursor: pointer;
}

/* Span background colours */
.bg_green {
	background-color: #adf182;
	color: black;
	padding: 0px 2px 0px 2px;
}
.bg_purple {
	background-color: #916cad;
	color: black;
	padding: 0px 2px 0px 2px;
}
.bg_orange {
	background-color: #dc7d68;
	color: black;
	padding: 0px 2px 0px 2px;
}

.sidebar {
    width: 255px;
    min-height: 90vh;
    border-right: 1px solid var(--primary);
    padding: 2rem 2rem;
    position: absolute;
    overflow: auto;
	font-size: 12px;
}

.post-list a {
	display: block;
	text-decoration: none;
}

.post-list a:before {
	content: "\00b7";
	margin-left: -12px;
	width: 14px;
	display: inline-block;
}

.title {
	font-size: 32px;
	font-weight: bold;
	letter-spacing: 4px;
}

.subtitle {
	margin-bottom: 24px;
	font-style: italic;
}

.subtitle c:nth-child(2) {
	color: red;
}

.subtitle c:nth-child(4) {
	color: #28A745;
}

.subtitle c:nth-child(6) {
	color: purple;
}

.profile img {
	border: 1px solid var(--primary);
	display: inline;
	float: left;
	margin-bottom: 12px;
	margin-right: 6px;
}

.profile .profile-desc {
	display: inline;
}

.profile {
	border: 1px solid var(--primary);
	padding: 12px;
	border-top: 8px solid var(--primary);
	min-height: 60px;
}

.menu a {
	border: 1px solid var(--primary);
	text-decoration: none;
	padding: 4px;
	display: inline-block;
	margin-bottom: 6px;
}

.menu a:hover {
	font-weight: bold;
	color: var(--secondary);
}

.sidebar a:hover {
	text-decoration: underline;
}

iframe {
	height: 100%;
	width: 100%;
	border: none;
}

.main {
    position: absolute;
    height: 100vh;
    width: calc(100% - 320px);
    margin-left: 320px;
    box-sizing: border-box;
}

.page {
	padding: 24px;
	padding-right: 40vw;
}

.page::before {
	content: "";
	position: fixed;
	inset: 0;
	background-image: url(../Img/rei.svg);
	background-position: center;
	background-repeat: no-repeat;
	background-size: 20%;
	opacity: 0.1;
	z-index: -1;
}

/* html, body {
    scrollbar-width: thin; 
} */

::-webkit-scrollbar {
	width: 10px;
}

::-webkit-scrollbar-track {
	background-color: #cb0000;
}

::-webkit-scrollbar-thumb {
	background-color: #161616;
}

::-webkit-scrollbar-thumb:hover {
	background-color: #080808;
}

h1 {
	font-variant: small-caps;
	border-bottom: 1px dashed;
}

h2 {
	color: #FDFDFD;
}

span {
    color: var(--secondary);
}

.purple {
	color: purple;
	cursor: pointer;
}

#hidden {
	background-color: var(--primary);
	color: var(--primary);
	cursor: default;
}

#hidden:hover {
	background-color: #080808;
	color: white;
}

/* .jumping-text {
	cursor: default;
}

.jumping-text span {
  display: inline-block;
  transition: transform 0.3s ease-out;
  color: var(--primary);
}

.jumping-text span:nth-child(1) { transition-delay: 0s; }
.jumping-text span:nth-child(2) { transition-delay: 0.05s; }
.jumping-text span:nth-child(3) { transition-delay: 0.1s; }
.jumping-text span:nth-child(4) { transition-delay: 0.15s; }
.jumping-text span:nth-child(5) { transition-delay: 0.2s; }
.jumping-text span:nth-child(6) { transition-delay: 0.25s; }
.jumping-text span:nth-child(7) { transition-delay: 0.3s; }
.jumping-text span:nth-child(8) { transition-delay: 0.35s; }
.jumping-text span:nth-child(9) { transition-delay: 0.4s; }
.jumping-text span:nth-child(10) { transition-delay: 0.45s; }

.jumping-text:hover span {
  transform: translateY(-5px);
}

.jumping-text span:hover {
  color: var(--secondary);
} */

.term-text, 
.term-text b {
  color: var(--primary);
}