@font-face {
	font-family: "Agency FB";
	src: local("./Agency_FB.ttf");
}
@font-face {
	font-family: "Agency FB";
	src: url("../Agency_FB.ttf");
}

@import url("https://fonts.googleapis.com/css2?family=Bai+Jamjuree:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;1,200;1,300;1,400;1,500;1,600;1,700&display=swap");
:root {
	--brand: #fff7ae;
	--bgGrey: #575757;
}

#body_parent {
	background-color: #121212;
}

.title-row {
	margin-top: 300px;
}

/* Range slider */

.sliderContainer {
	margin-top: 32px;
	margin-bottom: 32px;
}

.sliderLabel {
	color: white;
}

input[type="range"] {
	-webkit-appearance: none;
	width: 80%;
	height: 6px;
	background: #575757;
	border-radius: 5px;
	outline: none;
	transition: background 0.3s;
	position: relative;
}

input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 20px;
	height: 20px;
	background: #fff7ae;
	border-radius: 50%;
	cursor: pointer;
	position: relative;
	box-shadow: none;
}

input[type="range"]::-moz-range-thumb {
	width: 20px;
	height: 20px;
	background: #fff7ae;
	border-radius: 50%;
	cursor: pointer;
	box-shadow: none;
}

input[type="range"]::-moz-range-progress {
	background: #fff7ae;
	height: 6px;
	border-radius: 5px;
}

input[type="range"]::-ms-fill-lower {
	background: #fff7ae;
	border-radius: 5px;
}

datalist {
	display: flex;
	justify-content: space-between;
	color: white;
	width: 70%;
}

datalist option {
	font-size: 0.8rem;
}

.sliderticks {
	width: 80%;
	margin-top: -20px;
	display: flex;
	justify-content: space-between;
	padding: 0 10px;
	margin-bottom: 20px;
}

.sliderticks p {
	/* position: relative; */
	display: flex;
	justify-content: center;
	text-align: center;
	width: 1px;
	background: #d3d3d3;
	height: 10px;
	line-height: 40px;
	margin: 0 0 20px 0;
}

.title-row h1 {
	font-family: Agency FB;
	font-style: normal;
	font-weight: bold;
	letter-spacing: 2px;
	font-size: 48px;
	line-height: 96px;
	/* identical to box height */

	text-align: center;

	color: #fff7ae;
}

.title-row p {
	margin-top: 30px;
	font-family: Bai Jamjuree;
	font-style: normal;
	font-weight: normal;
	font-size: 20px;
	line-height: 30px;

	color: #ffffff;

	text-align: center;
}

.sub-atomic-particle-row,
.classical-model-row,
.real-life-row,
.experiment-row,
.conclusion-row,
.graph-row {
	margin-top: 200px;
	opacity: 0;
	transform: translateY(50px);
	transition: all 0.3s ease-out;
}

.conclusion-row {
	margin-bottom: 300px;
}

.sub-atomic-particle-row h1,
.classical-model-row h1,
.real-life-row h1,
.experiment-row h1,
.conclusion-row h1,
.graph-row h1 {
	font-family: Agency FB;
	font-style: normal;
	font-weight: normal;
	font-size: 36px;
	line-height: 72px;

	color: #fff7ae;
}

.sub-atomic-particle-row p,
.classical-model-row p,
.real-life-row p,
.experiment-row p,
.conclusion-row p,
.graph-row p {
	margin-top: 30px;
	font-family: Bai Jamjuree;
	font-style: normal;
	font-weight: normal;
	font-size: 18px;
	line-height: 27px;

	color: #ffffff;
}

.fade-in {
	opacity: 1;
	transform: translateY(0px);
}

#visualization {
	position: fixed;
	top: 0px;
	right: 0px;
	z-index: -100;
}

.axis line {
	stroke: #fff;
}

.axis path {
	fill: none;
	stroke: #fff;
}

.label {
	fill: #fff;
}

#d3-viz {
	/* background-color: white; */
	min-height: 400px;
}

label {
	/* margin-top: 30px; */
	font-family: Bai Jamjuree;
	font-style: normal;
	font-weight: normal;
	font-size: 20px;
	line-height: 30px;

	color: #ffffff;

	text-align: center;

	margin-left: 15px;
}

input[type="checkbox"] {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeSpeed;
	width: 20px;
	height: 20px;
	margin: 0;
	margin-right: 1px;
	display: block;
	float: left;
	position: relative;
	cursor: pointer;
}

input[type="checkbox"]:after {
	content: "";
	vertical-align: middle;
	text-align: center;
	line-height: 13px;
	position: absolute;
	cursor: pointer;
	height: 20px;
	width: 20px;
	left: 0;
	top: 0;
	font-size: 10px;
	/* -webkit-box-shadow: inset 0 1px 1px black, 0 1px 0 black;
  -moz-box-shadow: inset 0 1px 1px black, 0 1px 0 black;
  box-shadow: inset 0 1px 1px black, 0 1px 0 black; */
	border: #fff 1px solid;
	background: #181818;
}

/* input[type='checkbox']:hover:after,
input[type='checkbox']:checked:hover:after {
  background: white;
  content: '\2714';
  color: #fff;
} */

#te:hover:after,
#te:checked:hover:after {
	background: white;
	content: "\2714";
	color: #fff;
}

#ppr:hover:after,
#ppr:checked:hover:after {
	background: #ea9fa2;
	content: "\2714";
	color: #fff;
}

#eer:hover:after,
#eer:checked:hover:after {
	background: #6ecf7f;
	content: "\2714";
	color: #fff;
}

#be:hover:after,
#be:checked:hover:after {
	background: #fff7ae;
	content: "\2714";
	color: #fff;
}

input[type="checkbox"]:checked:after {
	background: white;
	content: "\2714";
	color: #fff;
}

#te:checked:after {
	background: #fff !important;
	color: black !important;
}

#ppr:checked:after {
	background: #ea9fa2 !important;
	color: black !important;
}

#eer:checked:after {
	background: #6ecf7f !important;
	color: black !important;
}

#be:checked:after {
	background: #fff7ae !important;
	color: black !important;
}

#back-icon {
	width: 36px;
	height: 36px;
	position: fixed;
	top: 10px;
	left: 10px;
	cursor: pointer;
}

.noselect {
	-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 */
}

.switch {
	position: relative;
	display: inline-block;
	width: 60px;
	height: 34px;
}

.switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	-webkit-transition: 0.4s;
	transition: 0.4s;
}

.slider:before {
	position: absolute;
	content: "";
	height: 26px;
	width: 26px;
	left: 4px;
	bottom: 4px;
	background-color: white;
	-webkit-transition: 0.4s;
	transition: 0.4s;
}

input:checked + .slider {
	background-color: #2196f3;
}

input:focus + .slider {
	box-shadow: 0 0 1px #2196f3;
}

input:checked + .slider:before {
	-webkit-transform: translateX(26px);
	-ms-transform: translateX(26px);
	transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
	border-radius: 34px;
}

.slider.round:before {
	border-radius: 50%;
}

.zoom {
	width: 500px;
}

.small {
	width: 500px;
	height: 500px;
	background-color: #121212;
}

.large {
	width: 2000px;
	height: 2000px;
	background-color: #121212;
}

.cursor-point {
	cursor: pointer;
}

.cursor-noselect {
	cursor: not-allowed;
}

/* Back button */
.backButton {
	background-color: #191919;
	border: 2px solid var(--brand);
	border-radius: 8px;
	color: var(--brand);
	padding: 12px 16px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-size: 16px;
}

.backButton a {
	color: var(--brand);
	text-decoration: none;
}

.backButton a:hover {
	color: var(--brand);
	text-decoration: none;
}

/* Buttons */
.button {
	background-color: var(--brand);
	border: none;
	border-radius: 8px;
	color: black;
	padding: 12px 16px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-size: 16px;
}
