@charset "utf-8";
/* CSS Document */

* {
	margin: 0px;
}

:root {
	--settings-unchecked-bg: rgba(2,24,94,0.2);
	--settings-unchecked-border: 3px solid rgba(255,255,255,0.5);
	--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;
	color: #ffffff;
	font-family: Gill Sans, Gill Sans MT, Myriad Pro, DejaVu Sans Condensed, Helvetica, Arial," sans-serif";
	cursor: default;
	overflow-x: hidden;
}

body::-webkit-scrollbar {
	width: 12px;
}

body::-webkit-scrollbar-track {
	background-color: black;
}

body::-webkit-scrollbar-thumb {
	background-color: #000C27;
}

#header {
	height: 150px;
	width: 90%;
	position: relative;
    display: block;
	margin-top: 10px;
	margin-left: auto;
	margin-right: auto;
	background-color: black;
	border-bottom: 3px solid white;
	border-radius: 100px;
}

#logo {
	width: 50px;
	height: 50px;
	position: absolute;
	left: 50px;
	top: 80px;
}

#logo img, a {
	width: 100%;
	height: 100%;
}

#header h1 {
	font-size: 40px;
	color: white;
	text-align: center;
	margin-top: 0px;
}

#header h2 {
	font-size: 20px;
	color: #DF9443;
	text-align: center;
	margin-top: 10px;
}

#appsLink {
    width: auto;
    height: auto;
	position: absolute;
	right: 50px;
    top: 90px;
    font-size: 20px;;
    color: #DF9443;
}

/************************************/

#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: 80%;
	height: 300px;
	position: relative;
	float: left;
	margin-left: 10%;
	margin-top: 20vh;
}

#startBox h2 {
	width: 100%;
	height: auto;
	position: absolute;
	top: 30px;
	left: 0;
	text-align: center;
	font-size: 24px;
	color: white;
}

#startBox h3 {
	width: 80%;
	height: auto;
	position: absolute;
	left: 10%;
	top: 80px;
	font-size: 16px;
	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: 60px;
	min-height: 50px;
	position: absolute;
	left: 20%;
	top: 200px;
	border: 5px solid #5092e9;
	background-color: #111111;
	color: white;
	font-size: 20px;
	font-weight: bold;
	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:active {
	border-color: white;
	background-color: white;
	color: white;
	transition: 0s;
}

#startSettingsButton {
	width: auto;
	height: auto;
	position: absolute;
	left: 78%;
	top: 207px;
	font-size: 40px;
	color: #7F7F7F;
	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: 43%;
	height: 164px;
	position: absolute;
	left: 5%;
	top: 50px;
	background-image: radial-gradient(circle at top, #DF9443, #662211);
	border: none;
}

#playNote h2 {
	width: 95%;
	position: absolute;
	top: 55px;
	text-align: center;
	font-size: 40px;
	color: white;
}

#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:active::before {
	background-color: rgba(0, 0, 0, 1.0);
	transition: 0.2s;
}

#resultContainer {
	display: block;
	width: 43%;
	height: 160px;
	position: absolute;
	right: 5%;
	top: 50px;
	border: 2px solid grey;
}

#result {
	width: 70%;
	height: 40px;
	position: absolute;
	left: 0;
	top: 0;
	padding-top: 10px;
	text-align: center;
	font-size: 18px;
	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: 14px;
	color: #888888;
}

#resultDescription {
	width: 50%;
	height: 80px;
	position: absolute;
	top: 50px;
	left: 0;
	padding-top: 10px;
	padding-left: 10%;
	padding-right: 10%;
	text-align: center;
	font-size: 16px;
	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: 20px;
	color: #ffffff;
}

.resAnim {
	position: absolute;
	display: none;
	left: 50%;
	top: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	z-index: 2;
	-wekit-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: 120px;
	position: absolute;
	left: 5%;
	top: 280px;
	text-align: center;
}

.setInfo {
	display: block;
	width: 100%;
	height: 55%;
	position: relative;
	float: left;
	margin-left: auto;
	margin-right: auto;
	margin-top: 5px;
}

.setInfo i {
	position: absolute;
	width: auto;
	height: auto;
	left: 0;
	font-size: 30px;
	text-align: center;
	color: #7F7F7F;
	transition: 0.25s;
}

.closeSetInfo {
	display: none;
	position: absolute;
	width: fit-content;
	height: fit-content;
	right: 7%;
	top: 5vw;
	font-size: 30px;
	z-index: 5;
}

.closeSetInfo i {
	color: #7F7F7F;
}

.si {
	width: 100vw;
	min-height: 750px;
	position: absolute;
	left: 100vw;
	top: 0;
	padding-bottom: 30px;
	background-color: rgba(0,0,0,0.95);
	transition: 0.5s ease;
	z-index: 4;
}

#info h2 {
	width: 70%;
	height: 80px;
	position: relative;
	float: left;
	display: block;
	margin-top: 20px;
	margin-left: 15%;
	font-size: 24px;
}

#info h3 {
	width: 80%;
	height: auto;
	position: relative;
	float: left;
	display: block;
	margin-left: 10%;
	margin-bottom: 16px;
	font-size: 16px;
	color: #cccccc;
}

#infoSupport {
	width: 80%;
	height: auto;
	position: relative;
	float: left;
	margin-left: 10%;
	margin-top: 30px;
	margin-bottom: 60px;
}


#infoSupport h4 {
	width: 100%;
	height: auto;
	position: relative;
	float: left;
	margin-bottom: 30px;
	text-align: center;
	font-size: 14px;
	color: #999999;
}

#bmcWrapper {
	width: 100%;
	height: 60px;
	position: relative;
	float: left;
	cursor: default;
}

#venmo {
	width: 100%;
	height: 60px;
	position: relative;
	float: left;
	margin-top: 30px;
	background-color: transparent;
	border: 2px solid white;
	border-radius: 10px;
	cursor: default;
}

#venmo img {
	width: auto;
	height: 20px;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-top: 20px;
}

/******************************/
/* SETTINGS PAGE */
/******************************/

/***************/
/* Sound setting */

#soundContainer {
	width: 30%;
	height: 60vh;
	position: relative;
	float: left;
	margin-left: 5%;
	margin-top: 10vh;
	display: flex;
	flex-flow: column nowrap;
	justify-content: space-evenly;
}

#soundContainer label {
	width: 100%;
	position: absolute;
	left: 0;
	top: -20px;
	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: 20px;
	font-weight: normal;
	text-align: center;
	color: white;
}

#sound1 {
	background-color: var(--settings-checked-bg);
	border: var(--settings-checked-border);
	font-weight: bold;
	color: black;
}

/***************/
/* Scale setting */

#scale {
	display: none;
	width: 50%;
	height: 56vh;
	position: relative;
	float: left;
	margin-left: 5%;
	margin-top: 10vh;
}

#scale > label {
	width: 100%;
	position: absolute;
	left: 0;
	top: -50px;
	text-align: center;
	font-size: 24px;
	color: white;
}

.scaleGroups {
	position: relative;
	float: left;
	display: flex;
	flex-flow: row wrap;
	justify-content: space-around;
	align-items: flex-start;
	align-content: space-evenly;
}

#chromaticContainer {
	width: 100%;
	height: 10%;
}

#majorContainer {
	width: 40%;
	height: 40%;
}

#minorContainer {
	width: 60%;
	height: 40%;
}

#modeContainer {
	width: 50%;
	height: 40%;
}

#miscScaleContainer {
	width: 50%;
	height: 40%;
}

#customScaleContainer {
	width: 100%;
	height: 10%;
}

#scale > div > label {
	width: 100%;
	margin-top: -3px;
	text-align: center;
	font-size: 20px;
	color: white;
}

#scale button {
	appearance: none;
	width: 9vw;
	height: 5vh;
	margin-top: -3px;
	background-color: var(--settings-unchecked-bg);
	border: var(--settings-unchecked-border);
	border-width: 2px;
	font-size: 12px;
	font-weight: lighter;
	text-align: center;
	color: white;
	transition: 0.15s ease;
}

#chromatic {
	width: 18vw !important;
}

#custom {
	width: 18vw !important;
}

/***************/
/* Keys setting */

#keys {
	display: none;
	width: 80vw;
	height: 20vh;
	position: absolute;
	left: 0;
	bottom: 10vh;
	/* 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: 15px;
	font-weight: bold;
	text-align: center;
	color: white;
	transition: 0.15s ease;
}

.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: 60%;
	height: 50px;
	position: absolute;
	top: 390px;
	left: 20%;
	text-align: center;
}

#volume {
	appearance: none;
	-webkit-appearance: none;
	width: 100%;
	background: transparent;
}

#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: 14px;
	color: rgba(255,255,255,0.5);
}

#volumeContainer h3 {
	width: 100px;
	position: absolute;
	right: -120px;
	top: -14px;
	text-align: left;
	font-size: 14px;
	font-weight: 100;
	color: rgba(255,255,255,0.5);
}

/******************/

#pianoDisplay {
	display: grid;
	gap: 4px;
	width: 75%;
	height: 100px;
	position: absolute;
	top: 240px;
	left: 20%;
	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: 20px;
	font-weight: bold;
	padding-top: 30px;
	z-index: 3;
}

/***************/

#notes {
	display: flex;
	width: 90%;
	height: auto;
	position: absolute;
	left: 5%;
	top: 460px;
	justify-content: space-between;
	flex-flow: row wrap;
}

.note {
	width: 16%;
	height: 50px;
    margin-bottom: 10px;
	border-radius: 2px;
	background-color: #333333;
	transition: 0.2s;
}

.note h3 {
	font-size: 13px;
	color: white !important;
	font-weight: bold;
	padding-top: 3px;
	padding-bottom: 1px;
}

.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";
}