body {
	background: #e3f2fd;
	margin: 0;
	background-image: url("../images/background.png");
	background-repeat: repeat;
	background-size: 512px 512px;
	background-position: center;
	font-family: Verdana, Geneva, Tahoma, sans-serif;
}

h1.title {
	text-align: center;
	padding: 20px;
}

.timeline {
	margin: 0 auto;
	max-width: 1100px;
	width: 1100px;
	padding: 25px;
	display: grid;
	grid-template-columns: 24% 3px 76%;
	font-family: "Fira Sans", sans-serif;
	color: #ffffff;
	top: 230px;
	left: 180px;
	position: absolute;
}

.timeline-component {
	margin: 0 20px 20px 20px;
}

.timeline-component-bg {
	padding: 0.2em;
	background: linear-gradient(to bottom, #90caf940, #64b5f640);
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.6);
	border-radius: 20px;
	border: 3px solid #092a5d;
	margin-bottom: 30px;
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	opacity: 80%;
	padding-left: 10px;
}

.timeline-component-bottom {
	margin-bottom: 0;
}

.timeline-middle {
	position: relative;
	background: #90caf9;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
}

.timeline-point {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 15px;
	height: 15px;
	background: #64b5f6;
	border: 1px solid #333;
	border-radius: 50%;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
}

.timeline-point-bottom {
	top: initial;
	bottom: 0;
}

.timeline-date {
	text-align: right;
	font-weight: bold;
	font-size: 1.2em;
	color: #e3f2fd;
	text-shadow: 0 0 6px rgba(0, 0, 0, 0.8);
}

.timeline-title {
	display: grid;
	margin: 0;
	padding: 0;
	width: 100%;
	height: 48px;
	grid-template-columns: 48px auto 40%;
	align-items: center;
	font-size: 1.15em;
	font-weight: bold;
	padding-left: 5px;
}

.timeline-title > :nth-child(1) {
	justify-self: start;
}

.timeline-title > :nth-child(2) {
	justify-self: start;
}

.timeline-title > :nth-child(3) {
	justify-self: end;
}

span.title-span {
	color: #092a5d;
	font-size: 1.2em;
	display: inline-flex;
	align-items: center;
	height: 48px;
	vertical-align: top;
	margin-top: 3px;
}

span.artist-span {
	color: #1e88e5;
	text-shadow: 0 0 6px rgba(255, 255, 255, 0.5);
	display: inline-block;
	text-align: right;
	height: 38px;
	vertical-align: top;
	margin-top: 14px;
	margin-right: 25px;
}

span.duration-span {
	color: #e3f2fd;
	text-shadow: 0 0 3px rgba(0, 0, 0, 0.9);
	display: inline-block;
	padding-left: 5px;
	padding-right: 10px;
	padding-bottom: 5px;
	font-size: 1.2em;
	font-weight: bolder;
}

span.performances-span {
	color: #e3f2fd;
	text-shadow: 0 0 3px rgba(0, 0, 0, 0.9);
	display: inline-block;
	padding-left: 20px;
	padding-bottom: 5px;
	font-size: 1em;
	font-weight: bolder;
}

button.midi-button {
	margin-right: 10px;
	margin-bottom: 4px;
	width: 140px;
	border-radius: 12px;
	height: 28px;
	outline: none;
	border: 2px solid #1f5210;
	background-color: #ccffbf;
	color: #1f5210;
	font-size: 1.1em;
	font-weight: bold;
}

button.midi-button:hover {
	outline: none;
	border-color: limegreen;
	cursor: pointer;
	color: #4ed22d;
}

span.title-separator {
	color: transparent;
	display: inline;
	margin: 0;
	padding: 0;
}

.timeline-entry-info {
	display: grid;
	margin: 0;
	padding: 0;
	width: 100%;
	grid-template-columns: 1fr 1fr 1fr;
	align-items: center;
}

.timeline-entry-info > :nth-child(1) {
	justify-self: start;
}

.timeline-entry-info > :nth-child(2) {
	justify-self: center;
}

.timeline-entry-info > :nth-child(3) {
	justify-self: end;
}

audio {
	width: 100%;
	opacity: 60%;
	border-radius: 30px;
	border: 3px solid #0d47a1;
}

/* Firefox-only override */
@-moz-document url-prefix() {
	audio {
		border-radius: 0;
	}
}

.timeline-component-bg:has(span.playing) {
	border: 3px solid #aa0000;
	box-shadow: 0 0 5px #800000;
}

.timeline-component-bg:has(span.playing) > .timeline-title > .title-span {
	color: #800000;
}

.page-header {
	position: fixed;
	z-index: 999;
	width: 100%;
	height: 130px;

	background: rgba(0, 0, 0, 0.3);

	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);

	border-bottom: 2px solid #0d47a1;
	border-top: 4px solid #800000;
}

.page-header::before {
	content: "";
	position: absolute;
	inset: 0;

	background-image: url("../images/keyboard.png");
	background-repeat: repeat-x;
	background-size: auto 100%;
	background-position: center;

	opacity: 0.5;
	z-index: -1;
}

.play-button.playing:hover {
	background-image: url("../images/stop_hover.png");
	cursor: pointer;
}

.play-button:hover {
	background-image: url("../images/play_hover.png");
	cursor: pointer;
}

.play-button {
	width: 32px;
	height: 32px;
	background-image: url("../images/play.png");
	background-repeat: no-repeat;
	background-size: 32px 32px;
	background-position: center;
	display: inline-block;
	margin-left: 10px;
}

.play-button.playing {
	background-image: url("../images/stop.png");
}

.top-bar {
	width: 100%;
	height: 64px;
	background: linear-gradient(to bottom, #1976d280, #0d47a180);
	position: fixed;
	z-index: 998;
	top: 130px;
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
	border: 2px solid #0d47a1;
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	display: flex;
	align-items: center;
}

.top-bar-title {
	font-size: 1.2em;
	display: inline-block;
	margin: 0;
	padding: 0;
	margin-left: 10px;
	width: 600px;
	font-weight: bold;
	color: #bae4fd;
	text-shadow: 0px 0px 5px #333;
}

audio.top-player {
	width: 300px;
	height: 40px;
	margin-left: 20px;
	border: 3px solid #0d47a1;
}

#search-textbox {
	border-radius: 14px;
	height: 28px;
	width: 240px;
	border: 3px solid #0d47a1;
	font-size: 1.1em;
	background-color: #bbdefb;
	padding: 4px;
	padding-left: 10px;
}

#search-textbox:focus {
	border: 3px solid #0d47a1;
	outline: none;
}
