:root {
	--bg: #111;
	--fg: #daeee3;
	--muted: #414141;
}

@media (prefers-color-scheme: light) {
	:root {
		--bg: #fff;
		--fg: #000;
		--muted: #ccc;
	}
}

* {
	background-color: var(--bg);
	color: var(--fg);
}

.btn {
	background-color: var(--fg);
	padding: 5px 25px 5px 25px;
	border-radius: 5px;
	color: var(--bg);
	text-decoration: none;
	cursor: pointer;
}

.btn:hover {
	background-color: var(--bg);
	border: solid 1px var(--fg);
	padding: 5px 25px 5px 25px;
	border-radius: 5px;
	color: var(--fg);
	text-decoration: none;
}

button:hover {
	background-color: var(--bg);
	border: solid 1px var(--fg);
	padding: 5px 25px 5px 25px;
	border-radius: 5px;
	color: var(--fg);
	text-decoration: none;
}

button {
	background-color: var(--fg);
	padding: 5px 25px 5px 25px;
	border-radius: 5px;
	color: var(--bg);
	text-decoration: none;
}


.header {
	display: flex;
	justify-content: space-between;
	margin: 20px 50px 0px 50px;
}

.footer {
	position: fixed;
	height: 50px;
	bottom: 20px;
	left: 0px;
	right: 50px;
	margin-bottom: 0px;
}

.social-links {
	font-family: Font Awesome 5 Brands;
	font-style: normal;
	font-weight: normal;
	font-size: 36px;
	line-height: 41px;
	color: var(--fg);
}

body {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
	text-align: center;
	margin-bottom: 50px;
}

h1 {
	margin: 0 0 20px 0;
	font-size: 26pt;
}

input:focus {
	outline: none;
}

#startingPoint {
	padding: 5px 5px 5px 5px;
	border-radius: 20px;
	border: solid var(--fg) 1.5px;
	text-decoration: none;
	text-align: center;
}

/* The switch - the box around the slider */
.switch {
	position: relative;
	display: inline-block;
	width: 43px;
	height: 16px;
}

/* Hide default HTML checkbox */
.switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

/* The slider */
.slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: var(--muted);
	-webkit-transition: .4s;
	transition: .4s;
}

.slider:before {
	position: absolute;
	content: "";
	height: 12px;
	width: 12px;
	left: 2px;
	bottom: 2px;
	background-color: var(--bg);
	-webkit-transition: .4s;
	transition: .4s;
}

input:checked+.slider {
	background-color: var(--fg);
}

input:focus+.slider {
	box-shadow: 0 0 1px var(--fg);
}

input:checked+.slider:before {
	-webkit-transform: translateX(26px);
	-ms-transform: translateX(26px);
	transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
	border-radius: 15px;
}

.slider.round:before {
	border-radius: 50%;
}

.container {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 50%;
	transform: translateY(50%);
	-moz-transform: translateX(-50%) translateY(-50%);
	-webkit-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-60%);
}

#head-start-entry {
	opacity: .15;
}

#correct-entry {
	color: var(--fg);
}

#entry {
	border: none;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
	text-align: center;
	font-weight: bold;
	margin: 0 0 0 0;
	font-size: 26pt;
	width: 100%;
	--mask: linear-gradient(to left, 
		var(--bg) 0, var(--bg) 50%, 
		rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0) 0) 100% 50% / 100% 100% repeat-x;
	-webkit-mask: var(--mask);
	mask: var(--mask);
}

.fab {
	color: var(--fg);
	text-decoration: none;
	transform: scale(60%);
}

.social-links {
	text-align: right;
}

.player-wrapper {
	left: 0;
	width: 100%;
	height: 0;
	position: relative;
	padding-bottom: 30%;
	max-width: 50%;
}

.player {
	border: 0;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	position: absolute;
}

.parent {
	display: flex;
	margin: 200px;
	align-items: center;
	justify-content: center;
	gap: 50px;
}

.end-stat {
	text-align: center;
}

/* For Firefox */
input[type='number'] {
	-moz-appearance: textfield;
}

/* Webkit browsers like Safari and Chrome */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.detail-wrapper {
	margin: 5% 0 5% 0;
	display: inline-block;
	width: 30%;
	word-wrap: break-word;
}

#wrong {
	color: red;
}

/* The Modal (background) */
.modal {
	display: none;
	/* Hidden by default */
	position: fixed;
	/* Stay in place */
	z-index: 1;
	/* Sit on top */
	left: 0;
	top: 0;
	width: 100%;
	/* Full width */
	height: 100%;
	/* Full height */
	background-color: transparent;
}

/* Modal Content/Box */
.modal-content {
	border-radius: 20px;
	background-color: var(--bg);
	margin: 15% auto;
	/* 15% from the top and centered */
	padding: 20px;
	border: 1px solid var(--fg);
	width: 80%;
	/* Could be more or less, depending on screen size */
}

/* The question mark icon */
#modal-btn {
	cursor: pointer;
	color: var(--fg);
}

/* The Close Button */
.close {
	color: var(--muted);
	float: right;
	font-size: 28px;
	font-weight: bold;
}

.close:hover,
.close:focus {
	color: var(--fg);
	text-decoration: none;
	cursor: pointer;
}

/* pirecital styles */
#picontent {
	font-size: 70pt;
	align-content: center;
	transform: translateX(-3%) scaleX(110%);
}

.recital-container {
	transform: translateY(150%) translateX(8%);
	width: 85%;
	font-family: monospace;

}

#middle {
	color: var(--fg);
}

#before {
	--mask: linear-gradient(to left,
			var(--bg) 0, var(--bg) 10%,
			transparent 50%, transparent 0) 100% 50% / 100% 100% repeat-x;
	-webkit-mask: var(--mask);
	mask: var(--mask);
	opacity: 20%;
}

#after {
	--mask: linear-gradient(to left,
			var(--bg) 0, var(--bg) 10%,
			transparent 50%, transparent 0) 100% 50% / 100% 100% repeat-x;
	-webkit-mask: var(--mask);
	mask: var(--mask);
	opacity: 20%;
}