@charset "utf-8";
/* CSS Document */

* {
	color: #ffffff;
	font-family: Gill Sans, Gill Sans MT, Myriad Pro, DejaVu Sans Condensed, Helvetica, Arial," sans-serif";
}

*, *:before, *:after {
	margin: 0px;
	box-sizing: border-box;
}

:root {
	--settings-unchecked-bg: rgba(2,24,94,0.2);
	--settings-unchecked-border: 3px solid rgba(255,255,255,0.5);
	--settings-hover-bg: rgba(2,24,94,1.00) !important;
	--settings-hover-border: 5px solid rgba(2,24,94,1.00) !important;
	--settings-checked-bg: rgba(223,148,67,1.00);
	--settings-checked-border: 5px solid rgba(2,24,94,1.00);
}

html {
	scroll-behavior: smooth;
}

body {
	width: 100%;
	background-color: #000000;
	overflow-x: hidden;
}

body::-webkit-scrollbar {
	width: 12px;
}

body::-webkit-scrollbar-track {
	background-color: black;
}

body::-webkit-scrollbar-thumb {
	background-color: #000C27;
}

body::-webkit-scrollbar-thumb:hover {
	background-color: #D97000;
}

#header {
	height: 150px;
	width: 90%;
	position: relative;
	margin-top: 10px;
	margin-left: auto;
	margin-right: auto;
	background-color: black;
	border-bottom: 3px solid white;
	border-radius: 100px;
}

#logo {
	width: 100px;
	height: 100px;
	position: absolute;
	left: 7%;
	top: 30px;
}

#logo img, a {
	width: 100%;
	height: 100%;
}

#header h1 {
	font-size: 60px;
	color: white;
	text-align: center;
	margin-top: 0px;
}

@supports (-webkit-text-stroke: 2px white) {
	#header h1 {
		-webkit-text-fill-color: transparent;
		-webkit-text-stroke: 2px white;
	}
}

#header h2 {
	font-size: 30px;
	color: #DF9443;
	text-align: center;
	margin-top: 10px;
}

#appsLink {
	position: absolute;
	left: 86%;
	top: 50px;
	font-size: 28px;
	color: #df9943;
}

/************************************/

#main {
	width: 100%;
	height: 600px;
	position: relative;
}

#startScreen {
	width: 100vw;
	height: 100vh;
	position: fixed;
	left: 0;
	top: 0;
	background-color: rgba(0,0,0,0.95);
	z-index: 4;
	transition: 0.5s;
}

#startBox {
	width: 50%;
	height: 300px;
	position: relative;
	float: left;
	margin-left: 25%;
	margin-top: 20vh;
}

#startBox h2 {
	width: 100%;
	height: auto;
	position: absolute;
	top: 30px;
	left: 0;
	text-align: center;
	font-size: 28px;
	color: white;
}

#startBox h3 {
	width: 90%;
	height: auto;
	position: absolute;
	left: 5%;
	top: 85px;
	font-size: 18px;
	color: #cccccc;
}

#startLeft {
	width: 4px;
	position: absolute;
	left: 0;
	bottom: 0;
	background-color: #df9443;
	-webkit-animation: 0.2s ease-in 0.5s vertSlide forwards;
	-moz-animation: 0.2s ease-in 0.5s vertSlide forwards;
	-o-animation: 0.2s ease-in 0.5s vertSlide forwards;
	animation: 0.2s ease-in 0.5s vertSlide forwards;
}

#startTop {
	height: 4px;
	position: absolute;
	left: 0;
	top: 0;
	background-color: #df9443;
	-webkit-animation: 0.2s linear 0.7s horizSlide forwards;
	-moz-animation: 0.2s linear 0.7s horizSlide forwards;
	-o-animation: 0.2s linear 0.7s horizSlide forwards;
	animation: 0.2s linear 0.7s horizSlide forwards;
}

#startRight {
	width: 4px;
	position: absolute;
	right: 0;
	top: 0;
	background-color: #df9443;
	-webkit-animation: 0.1s linear 0.9s vertSlide forwards;
	-moz-animation: 0.1s linear 0.9s vertSlide forwards;
	-o-animation: 0.1s linear 0.9s vertSlide forwards;
	animation: 0.1s linear 0.9s vertSlide forwards;
}

#startBottom {
	height: 4px;
	position: absolute;
	right: 0;
	bottom: 0;
	background-color: #df9443;
	-webkit-animation: 0.4s ease-out 1s horizSlide forwards;
	-moz-animation: 0.4s ease-out 1s horizSlide forwards;
	-o-animation: 0.4s ease-out 1s horizSlide forwards;
	animation: 0.4s ease-out 1s horizSlide forwards;
}

@keyframes vertSlide {
	0% {
		height: 0;
	}
	100% {
		height: 100%;
	}
}

@-webkit-keyframes vertSlide {
	0% {
		height: 0;
	}
	100% {
		height: 100%;
	}
}

@-moz-keyframes vertSlide {
	0% {
		height: 0;
	}
	100% {
		height: 100%;
	}
}

@-o-keyframes vertSlide {
	0% {
		height: 0;
	}
	100% {
		height: 100%;
	}
}

@keyframes horizSlide {
	0% {
		width: 0;
	}
	100% {
		width: 100%;
	}
}

@-webkit-keyframes horizSlide {
	0% {
		width: 0;
	}
	100% {
		width: 100%;
	}
}

@-moz-keyframes horizSlide {
	0% {
		width: 0;
	}
	100% {
		width: 100%;
	}
}

@-o-keyframes horizSlide {
	0% {
		width: 0;
	}
	100% {
		width: 100%;
	}
}

#startButton {
	width: 40%;
	height: 20%;
	min-height: 50px;
	position: absolute;
	left: 20%;
	top: 190px;
	border: 5px solid #5092e9;
	background-color: #111111;
	color: white;
	font-size: 20px;
	font-weight: bold;
	cursor: pointer;
	transition: 0.2s;
	opacity: 0;
	-webkit-animation: 1s ease 1s startSettingsAnim forwards;
	-moz-animation: 1s ease 1s startSettingsAnim forwards;
	-o-animation: 1s ease 1s startSettingsAnim forwards;
	animation: 1s ease 1s startSettingsAnim forwards;
}

#startButton:hover {
	border-color: #111111;
	background-color: #5092e9;
	color: black;
}

#startButton:active {
	border-color: white;
	background-color: white;
	color: white;
	transition: 0s;
}

#startSettingsButton {
	width: auto;
	height: auto;
	position: absolute;
	left: 78%;
	top: 197px;
	font-size: 40px;
	color: #7F7F7F;
	cursor: pointer;
	opacity: 0;
	-webkit-animation: 1s ease 1s startSettingsAnim forwards;
	-moz-animation: 1s ease 1s startSettingsAnim forwards;
	-o-animation: 1s ease 1s startSettingsAnim forwards;
	animation: 1s ease 1s startSettingsAnim forwards;
}

@-webkit-keyframes startSettingsAnim {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

@-moz-keyframes startSettingsAnim {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

@-o-keyframes startSettingsAnim {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

@keyframes startSettingsAnim {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

/************************************/

#playNote {
	display: block;
	width: 35%;
	height: 160px;
	position: absolute;
	left: 10%;
	top: 50px;
	background-image: radial-gradient(circle at top, #DF9443, #662211);
	border: none;
	cursor: pointer;
}

#playNote h2 {
	width: 98%;
	position: absolute;
	top: 30px;
	text-align: center;
	font-size: 80px;
	color: transparent;
	-webkit-text-fill-color: transparent;
	-webkit-text-stroke: 2px #ffffff;
}

#playNote::before {
	width: 94%;
	height: 90%;
	position: absolute;
	right: 3%;
	top: 5%;
	content: "";
	background-color: transparent;
	border-radius: 2px;
	transition: 0.2s;
	transition-timing-function: ease;
}

#playNote:hover::before {
	background-color: rgba(0, 0, 0, 1.0);
	transition: 0.4s;
}

#resultContainer {
	display: block;
	width: 30%;
	height: 160px;
	position: absolute;
	left: 50%;
	top: 50px;
	border: 2px solid grey;
	cursor: default;
}

#result {
	width: 70%;
	height: 40px;
	position: absolute;
	left: 0;
	top: 0;
	padding-top: 10px;
	text-align: center;
	font-size: 30px;
	color: #ffffff;
}

#score {
	width: 30%;
	height: 40px;
	position: absolute;
	top: 0;
	left: 70%;
	padding-top: 10px;
	border-left: 1px solid rgba(255,255,255,0.20);
	text-align: center;
	font-size: 20px;
	color: #888888;
}

#resultDescription {
	width: 70%;
	height: 80px;
	position: absolute;
	top: 50px;
	left: 0;
	padding-top: 10px;
	padding-left: 10%;
	padding-right: 10%;
	text-align: center;
	font-size: 24px;
	color: #888888;
}

#scoreVal {
	width: 30%;
	height: 80px;
	position: absolute;
	top: 50px;
	left: 70%;
	padding-top: 30px;
	border-left: 1px solid rgba(255,255,255,0.20);
	text-align: center;
	font-size: 40px;
	color: #ffffff;
}

.resAnim {
	position: absolute;
	display: none;
	left: 50%;
	top: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	z-index: 2;
	-webkit-animation: 0.7s ease-out resultAnim;
	-moz-animation: 0.7s ease-out resultAnim;
	-o-animation: 0.7s ease-out resultAnim;
	animation: 0.7s ease-out resultAnim;
}

#resultCorrect {
	background-color: rgba(0, 255, 0, 0.5);
}

#resultIncorrect {
	background-color: rgba(255, 0, 0, 0.5);
}

@-webkit-keyframes resultAnim {
	from {
		width: 0;
		height: 0;
		opacity: 1;
	}

	50% {
		width: 100%;
		height: 100%;
	}

	to  {
		opacity: 0;
	}
}

@-moz-keyframes resultAnim {
	from {
		width: 0;
		height: 0;
		opacity: 1;
	}

	50% {
		width: 100%;
		height: 100%;
	}

	to  {
		opacity: 0;
	}
}

@-o-keyframes resultAnim {
	from {
		width: 0;
		height: 0;
		opacity: 1;
	}

	50% {
		width: 100%;
		height: 100%;
	}

	to  {
		opacity: 0;
	}
}

@keyframes resultAnim {
	from {
		width: 0;
		height: 0;
		opacity: 1;
	}

	50% {
		width: 100%;
		height: 100%;
	}

	to  {
		opacity: 0;
	}
}

/***************/

#settingsContainer {
	display: block;
	width: 10%;
	height: 160px;
	position: absolute;
	left: 84%;
	top: 50px;
	text-align: center;
}

.setInfo {
	display: block;
	width: 100%;
	height: 40%;
	position: relative;
	float: left;
	margin-left: auto;
	margin-right: auto;
	margin-top: 10px;
}

.setInfo i {
	position: absolute;
	width: auto;
	height: auto;
	left: 0;
	top: 10px;
	font-size: 40px;
	text-align: center;
	color: #7F7F7F;
	cursor: pointer;
	transition: 0.25s;
}

.closeSetInfo {
	display: none;
	position: absolute;
	width: fit-content;
	height: fit-content;
	right: 7vw;
	top: 4vw;
	font-size: 40px;
	z-index: 5;
}

.closeSetInfo i {
	color: #7F7F7F;
	cursor: pointer;
}

.si {
	width: 100vw;
	height: 750px;
	position: absolute;
	left: 100vw;
	top: 0;
	background-color: rgba(0,0,0,0.95);
	transition: 0.5s ease;
	z-index: 4;
}

/******************************/
/* INFO PAGE */
/******************************/

#info h2 {
	width: 70%;
	height: 80px;
	position: relative;
	float: left;
	display: block;
	margin-left: 15%;
	margin-top: 20px;
	font-size: 30px;
	color: white;
	text-align: center;
}

#info h3 {
	width: 70%;
	height: auto;
	position: relative;
	float: left;
	display: block;
	margin-left: 15%;
	margin-bottom: 16px;
	font-size: 18px;
	color: #cccccc;
	text-align: center;
}

#infoSupport {
	width: 80%;
	height: auto;
	position: relative;
	float: left;
	margin-left: 10%;
	margin-top: 30px;
	margin-bottom: 30px;
}


#infoSupport h4 {
	width: 100%;
	height: auto;
	position: relative;
	float: left;
	margin-bottom: 30px;
	text-align: center;
	font-size: 18px;
	color: #999999;
}

#bmcWrapper {
	width: 40%;
	height: 60px;
	position: relative;
	float: left;
	margin-left: 5%;
	transition: 0.4s;
}

#venmo {
	width: 40%;
	height: 60px;
	position: relative;
	float: right;
	margin-right: 5%;
	background-color: transparent;
	border: 2px solid white;
	border-radius: 10px;
	cursor: pointer;
	transition: 0.4s;
}

#bmcWrapper:hover {
	width: 42%;
}

#venmo:hover {
	width: 42%;
}

#venmo img {
	width: auto;
	height: 20px;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-top: 20px;
	transition: 0.4s;
}

#venmo:hover img {
	padding-left: 1.6vw;
}

/******************************/
/* SETTINGS PAGE */
/******************************/

/***************/
/* Sound setting */

#soundContainer {
	width: 20%;
	height: 600px;
	position: relative;
	float: left;
	margin-left: 5%;
	margin-top: 100px;
	display: flex;
	flex-flow: column nowrap;
	justify-content: space-evenly;
}

#soundContainer label {
	width: 100%;
	position: absolute;
	left: 0;
	top: -50px;
	text-align: center;
	font-size: 24px;
	color: white;
}

.soundOption {
	appearance: none;
	width: 100%;
	height: 20%;
	position: relative;
	float: left;
	margin-bottom: 5%;
	background-color: var(--settings-unchecked-bg);
	border: var(--settings-unchecked-border);
	font-size: 22px;
	font-weight: normal;
	text-align: center;
	color: white;
	cursor: pointer;
	transition: 0.15s ease;
}

#sound1 {
	background-color: var(--settings-checked-bg);
	border: var(--settings-checked-border);
	font-weight: bold;
	color: black;
}

.soundOption:hover {
	background-color: var(--settings-hover-bg);
	border: var(--settings-hover-border);
	font-size: 28px !important;
	color: white !important;
	transition: 0.15s ease !important;
}

/***************/
/* Scale setting */

#scale {
	display: none;
	width: 20%;
	height: 370px;
	position: absolute;
	left: 30%;
	top: 100px;
}

#scale > label {
	width: 100%;
	height: auto;
	display: block;
	position: absolute;
	top: -50px;
	font-size: 24px;
	font-weight: normal;
	text-align: center;
	color: white;
}

#scaleOutput {
	width: 90%;
	height: 60px;
	position: relative;
	float: left;
	margin-left: 5%;
	margin-bottom: 20px;
	border-bottom: 3px solid white;
	text-align: center;
	padding-top: 15px;
}

.scaleGroups, #chromatic, #custom {
	width: 90%;
	height: 36px;
	position: relative;
	float: left;
	margin-left: 5%;
	margin-top: 10px;
	background-color: var(--settings-unchecked-bg);
	border: var(--settings-unchecked-border);
	font-size: 16px;
	font-weight: normal;
	color: white;
	text-align: center;
	padding-top: 5px;
	transition: 0.3s;
	cursor: pointer;
}

.scaleGroups label {
	cursor: pointer;
}

#chromatic, #custom {
	padding-top: 0;
}

.scaleGroups i {
	position: absolute;
	right: 20px;
	top: 8px;
	cursor: pointer;
}

.scaleOption {
	display: none;
	width: 150%;
	height: 50px;
	position: relative;
	float: left;
	margin-left: 95%;
	transform: translateY(-26px);
	background-color: rgba(2,24,94,1);
	border: var(--settings-unchecked-border);
	font-size: 18px;
	cursor: pointer;
	z-index: 10;
}

.scaleGroups:hover .scaleOption {
	display: block;
}

/***************/
/* Keys setting */

#keys {
	display: none;
	width: 50%;
	height: 180px;
	position: absolute;
	left: 25%;
	top: 500px;
	/* display: grid; */
	grid-template-columns: repeat(16, 1fr);
	grid-template-rows: repeat(2, 1fr);
	gap: 5px;
}

#keys button {
	appearance: none;
	background-color: var(--settings-unchecked-bg);
	border: var(--settings-unchecked-border);
	font-size: 20px;
	font-weight: bold;
	text-align: center;
	color: white;
	transition: 0.15s ease;
}

#keys button:hover {
	background-color: var(--settings-hover-bg) !important;
	border: var(--settings-hover-border) !important;
	font-size: 20px !important;
	color: white !important;
	cursor: pointer !important;
	transition: 0.15s ease !important;
}

.keyOptionBlack {
	grid-row-start: 1;
}

.keyOptionWhite {
	grid-row-start: 2;
}

#CKey {
	grid-column: 2 / 4;
}

#DbKey {
	grid-column: 3 / 5;
}

#DKey {
	grid-column: 4 / 6;
}

#EbKey {
	grid-column: 5 / 7;
}

#EKey {
	grid-column: 6 / 8;
}

#FKey {
	grid-column: 8 / 10;
}

#GbKey {
	grid-column: 9 / 11;
}

#GKey {
	grid-column: 10 / 12;
}

#AbKey {
	grid-column: 11 / 13;
}

#AKey {
	grid-column: 12 / 14;
}

#BbKey {
	grid-column: 13 / 15;
}

#BKey {
	grid-column: 14 / 16;
}

/***************/

#volumeContainer {
	display: block;
	width: 35%;
	height: 50px;
	position: absolute;
	top: 300px;
	left: 5%;
	text-align: center;
}

#volume {
	appearance: none;
	-webkit-appearance: none;
	width: 100%;
	background: transparent;
	cursor: pointer;
}

#volume::-webkit-slider-runnable-track {
	height: 12px;
	border-radius: 5px;
	background-color: #cccccc;
}

#volume::-moz-range-slider {
	height: 12px;
	border-radius: 5px;
	background-color: #cccccc;
}

#volume::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	border: 2px solid black;
	width: 28px;
	height: 28px;
	margin-top: -8px;
	background-color: #df9443;
	border-radius: 2px;
}

#volume::-moz-range-thumb {
	border: 2px solid black;
	width: 28px;
	height: 28px;
	margin-top: -8px;
	background-color: #df9443;
	border-radius: 2px;
}

#volume:focus {
	outline: none;
}

#volume:focus::-webkit-slider-thumb {
	outline: 2px solid white;
	outline-offset: 3px;
}

#volume:focus::-moz-range-thumb {
	outline: 2px solid white;
	outline-offset: 3px;
}

#volumeVal {
	width: 100px;
	position: absolute;
	right: -120px;
	top: 12px;
	text-align: left;
	font-size: 18px;
	color: rgba(255,255,255,0.5);
}

#volumeContainer h3 {
	width: 100px;
	position: absolute;
	right: -120px;
	top: -18px;
	text-align: left;
	font-size: 18px;
	font-weight: 100;
	color: rgba(255,255,255,0.5);
}

/***************/

#pianoDisplay {
	display: grid;
	gap: 4px;
	width: 40%;
	height: 160px;
	position: absolute;
	top: 240px;
	left: 50%;
	grid-template-columns: repeat(28, 1fr);
	grid-template-rows: repeat(3, 1fr);
}

.resultDisplayWhite {
	background-color: white;
	grid-row: 1 / span 3;
	border-radius: 3px;
	transition: 0.2s;
}

.resultDisplayBlack {
	background-color: black;
	outline: 3px solid rgba(255, 255, 255, 0.5);
	outline-offset: -4px;
	grid-row: 1 / span 2;
	border-radius: 3px;
	transition: 0.2s;
	z-index: 2;
}

.resultDisplayWhite:active, .resultDisplayBlack:active {
	background-color: "green";
}

#CDisplay {
	grid-column: 1 / 5;
}

#DbDisplay {
	grid-column: 4 / 6;
}

#DDisplay {
	grid-column: 5 / 9;
}

#EbDisplay {
	grid-column: 8 / 10;
}

#EDisplay {
	grid-column: 9 / 13;
}

#FDisplay {
	grid-column: 13 / 17;
}

#GbDisplay {
	grid-column: 16 / 18;
}

#GDisplay {
	grid-column: 17 / 21;
}

#AbDisplay {
	grid-column: 20 / 22;
}

#ADisplay {
	grid-column: 21 / 25;
}

#BbDisplay {
	grid-column: 24 / 26;
}

#BDisplay {
	grid-column: 25 / 29;
}

#pianoOverlay {
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
	background-color: rgba(0, 0, 0, 0.9);
	text-align: center;
	font-size: 30px;
	font-weight: bold;
	padding-top: 50px;
	z-index: 3;
}

/***************/

#notes {
	display: flex;
	width: 90%;
	height: auto;
	position: absolute;
	left: 5%;
	top: 440px;
	justify-content: space-between;
	flex-flow: row nowrap;
}

.note {
	width: 7%;
	height: 70px;
	border-radius: 2px;
	background-color: #333333;
	transition: 0.2s;
	cursor: pointer;
}

.note h3 {
	font-size: 16px;
	color: white !important;
	font-weight: bold;
	padding-bottom: 6px;
}

.note h4 {
	font-size: 14px;
	color: #bbbbbb !important;
	font-weight: normal;
}

.note:hover {
	background-color: #bbbbbb;
	transition: 0.3s;
}

.note:hover > * {
	color: black !important;
}

.note:active {
	background-color: #df9443;
	border: 3px solid white;
}

.note:nth-child(1) {
	border: 3px solid rgba(255, 0, 0, 1.0);
}

.note:nth-child(2) {
	border: 3px solid rgba(255, 128, 0, 1.0);
}

.note:nth-child(3) {
	border: 3px solid rgba(255, 255, 0, 1.0);
}

.note:nth-child(4) {
	border: 3px solid rgba(128, 255, 0, 1.0);
}

.note:nth-child(5) {
	border: 3px solid rgba(0, 255, 0, 1.0);
}

.note:nth-child(6) {
	border: 3px solid rgba(0, 255, 128, 1.0);
}

.note:nth-child(7) {
	border: 3px solid rgba(0, 255, 255, 1.0);
}

.note:nth-child(8) {
	border: 3px solid rgba(0, 128, 255, 1.0);
}

.note:nth-child(9) {
	border: 3px solid rgba(0, 0, 255, 1.0);
}

.note:nth-child(10) {
	border: 3px solid rgba(128, 0, 255, 1.0);
}

.note:nth-child(11) {
	border: 3px solid rgba(255, 0, 255, 1.0);
}

.note:nth-child(12) {
	border: 3px solid rgba(255, 0, 128, 1.0);
}

/************************************/

#footer {
	width: 100%;
	height: 20px;
	z-index: 10;
	position: fixed;
	background-color: #000C27;
	bottom: 0px;
	left: 0px;
	padding-top: 5px;
	text-align: center;
	color: #CFCFCF;
	font-size: 14px;
	font-family: Gill Sans, Gill Sans MT, Myriad Pro, DejaVu Sans Condensed, Helvetica, Arial," sans-serif";
}