@font-face {
	font-family: "Poppins";
	src: url("./fonts/Poppins/Poppins-Regular.ttf");
}

@font-face {
	font-family: "Poppins";
	src: url("./fonts/Poppins/Poppins-Bold.ttf");
	font-weight: bold;
}

@font-face {
	font-family: "Poppins";
	src: url("./fonts/Poppins/Poppins-Italic.ttf");
	font-style: italic;
}

@font-face {
	font-family: "Poppins";
	src: url("./fonts/Poppins/Poppins-BoldItalic.ttf");
	font-weight: bold;
	font-style: italic;
}

@font-face {
	font-family: "Style_Script";
	src: url("./fonts/Style_Script/StyleScript-Regular.ttf");
	font-style: italic;
}

body {
	background: #F5F5F5;
	color: #151515;
	margin: 0 auto;
}

html {
	scroll-behavior: smooth;
}

#table-of-contents {
	top: 4%;
	margin-top: 2%;
	position: sticky;
	width: 22%;
	float: left;
}

#table-of-contents h4 {
	padding-left: 35px;
	margin: 0;
}

#table-of-contents hr {
	margin-left: 35px;
	margin-right: 20%;
}

#table-of-contents ul {
	margin-top: 5px;
	list-style-type: none;
}

#table-of-contents a {
	color: blue;
}

#table-of-contents .currently-reading > a {
	font-weight: bold;
}

#table-of-contents ul li {
	font-size: 14px;
}

#table-of-contents ul > li:before {
	/* content: ">"; */
	margin-right: 10px;
}

#contents {
	width: 62%;
	float: left;
	margin-left: 2%;
}

.name {
	font-family: "Courier New";
	font-weight: bold;
}

p, li, button {
	font-size: 20px;
	line-height: 2;
}

p {
	text-indent: 50px;
}

.trivia {
	/* padding-left: 80px; */
	/* background-color: rgb(191, 237, 240); */
	border-radius: 10px;
	border: 1px solid grey;
	/* padding-top: 10px; */
}

.trivia li {
	/* min-height: 50px; */
	padding-top: 10px;
	padding-bottom: 5px;
	padding-right: 5px;
	/* padding-left: 50px; */
	/* margin-left: 10px; */
}

.animate-button, .trivia-answer button {
	border-radius: 10px;
	border: none;
	background-color: rgb(191, 237, 240);
	cursor: pointer;
}

* {
	font-family: "Poppins, Helvetica";
	text-align: justify;
}

h2 {
	font-size: 25px;
}

h3 {
	font-size: 20px;
}

#dark-mode-switch-container {
	top: 4%;
	margin-top: 2%;
	margin-right: 2%;
	position: sticky;
	width: 10%;
	float: right;
}

#dark-mode-label:hover {
	cursor: pointer;
}

#dark-mode-checkbox {
	display: none;
}

.dark-mode {
	background-color: rgb(45, 44, 44);
}

.dark-mode h1, .dark-mode h2, .dark-mode h3, .dark-mode h4, .dark-mode h5, .dark-mode p, .dark-mode figcaption, .dark-mode .note, .dark-mode li {
	color: rgb(225, 221, 221) !important;
}

.dark-mode .trivia-answer {
	background-color: white;
	color: white;
}

.dark-mode .trivia-answer:hover {
	color: rgb(243, 158, 221);
	background-color: rgb(45, 44, 44);
}

/* svg https://stackoverflow.com/a/53336754 */
.dark-mode object:not(#dark-mode-switch) {
	filter: invert(100%) sepia(99%) saturate(2%) hue-rotate(326deg) brightness(104%) contrast(100%);
}

.dark-mode a {
	color: lightblue !important;
}

.dark-mode .redacted {
	background-color: white !important;
	color: black !important;
}

.book-icon {
	filter: invert(1);
}

.book-icon ~ span {
	margin-left: 5px;
}

.dark-mode .info-icon {
	filter: invert(1);
}

.dark-mode .highlight {
	background-color: rgb(5, 19, 54);
}

blockquote {
	font-size: 18px;
	border-left: 5px solid #D7D7D7;
}

blockquote p {
	padding-left: 15px;
}

blockquote p :not(#massad-ramah) {
	text-indent: 0px;
}

.inflation {
	/*padding: 5px;*/
	background-color: #8EF20E;
	border-style: none;
	border-radius: 10px;
	cursor: pointer;
	/*padding: 8px 10px;*/
}

.note {
	display: inline-block;
	font-size: 20px;
	font-style: italic;
	padding: 5px;
	border-radius: 10px;
	/* line-height: 45px; */
	/* text-indent: 40px; */
	margin-left: 50px;
	padding: 20px;
}

.note p {
	text-indent: 0;
	margin: 0;
}

.note img, .note span {
	vertical-align: middle;
}

.highlight {
	background-color: rgb(249, 234, 106);
}

.gallery-button {
	background-color: #0D76AA;
	color: white;
	font-size: 15px;
	padding: 10px;
	border: none;
	border-radius: 10px;
	cursor: pointer;
}

.gallery-button img, .gallery-button span {
	vertical-align: middle;
}

.gallery-button img {
	fill: red;
}

figure {
	display: table;
	margin: 0;
}

figcaption {
	text-align: center;
	display: table-caption;
	caption-side: bottom;
	color: rgb(25, 25, 25);
	font-style: italic;
	font-size: 15px;
	margin-left: 10px;
	margin-right: 10px;;
}

figcaption i, figcaption .superscript {
	font-style: normal;
}

.image-left {
	display: flex;
	float: left;
	margin-right: 20px;
	margin-bottom: 10px;
	gap: 5px;
}

.image-right {
	display: flex;
	float: right;
	margin-left: 20px;
	margin-bottom: 10px;
	gap: 5px;
}

.image-full {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
}

.image-full figure {
	margin: 0;
	width: 48%;
}

#teva-room figure {
	margin: 0;
	width: 32%;
}

#kalfon-books figure {
	margin: 0;
	width: 32%;
}

.gallery {
	width: 100%;
	height: 100vh;
}

.superscript {
	text-decoration: none;
	font-size: 10px;
}

.superscript:hover {
	text-decoration: underline;
}

#history-animation {
	position: absolute;
}

.redacted {
	white-space: break-spaces;
	background-color: black;
	color: white;
}

.youtube-wrapper {
	position: relative;
	padding-bottom: 56.25%;
}

.youtube-wrapper iframe {
	position: absolute;
	width: 100%;
	height: 100%;
}
