/* to remove banner with logo: hide/remove .logobox, change --top-banner-height to 45px   */
/* to also remove blue banner: hide/remove .titlebox, change --top-banner-height to 0px */
:root {
	--top-banner-height: 125px;
  }

body{
	box-sizing: border-box;
	/* background-color: #F7941F;  TinkRworks orange */
	background-color: #f3f0ea;
	margin: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	font-family: Helvetica, sans-serif;
}

/* if removing logoBox, change top of .controls to calc(2vw+45px) and top of .piano to calc(17vw+45px)*/
.logoBox{
	position: absolute;
	top: 0;
	left: 0;
	width: 100vw;
	height: 80px;
	background-color: white;
	text-align:left;
	filter: drop-shadow(3px 3px 4px rgba(0,0,0,0.15));
}
.logoImage{
	width: 220px; /* 220x66 */
	margin-left:40px;
}

/* if removing logoBox and titleBox, change top of .controls to 2vw and top of .piano to 17vw */
.titleBox{
	background-color: #3B5486;
	color: white;
	font-family: "Roboto", sans-serif;
	font-size: 24px;
	line-height: 2;
	text-align: center;
	width: 100vw;  
	height: 45px;
	border-radius: 0px 0px 12px 12px;
	position: absolute;
	top:80px;  /* logo is 80px high*/
	left: 0px;  
	min-width: 700px;
  }

.piano{
	display: flex;
	position: absolute;
	top: calc(17vw + var(--top-banner-height)); 
}

.key{
	height: calc(var(--width) * 4);   /* change size proportionally*/
	width: var(--width);
	text-align: center;
	border-radius: 0 0 5% 5%;
}

/* for keys, height is 4*width */
.white{
	--width: 6vw;      /* resizes keys with browser window resize */
	background-color: white;
	border: 1px solid #333;
}

.black{
	--width: 3.6vw;   /* resizes keys with browser window resize */
	background-color: black;
	margin-left: calc(var(--width) / -2); /* -30px when width is 60*/
	margin-right: calc(var(--width) / -2); /* -30px when width is 60*/
	z-index: 2;
	color: white;
}

/* text on piano keys - make everything proportional to vw*/

.noteTextWhite{
	font-size:1vw;
	margin-top: 22vw;
}

.noteTextBlack{
	font-size:1vw;
	margin-top: 11.4vw;
}

/* controls above piano */
.controls{
	width: 45vw;
	position: absolute;		/* dependent on window size */ 
	top: calc(2vw + var(--top-banner-height)); 
	z-index: 5;
}

.noteBoxContainer{               
	display: block;
	width: 45vw;
	height: 3vw;
	line-height: 3vw;
	border: 1px solid #000;
	background-color: #FFF;
	padding: 1vw;
	font-size:1.5vw;
	font-weight: normal;
	overflow-x: scroll;
	overflow-y: hidden;
    white-space: nowrap;
}

.noteBox{		/* text in noteBox */
	width: fit-content;
}

/* Scrollbar */
.noteBoxContainer::-webkit-scrollbar {
	height: 0.75vw;
}
.noteBoxContainer::-webkit-scrollbar-track {
	background: #f1f1f1;
	border-radius: 1%;
}
.noteBoxContainer::-webkit-scrollbar-thumb {
	background: #888;
	width: 20px;
}
.noteBoxContainer::-webkit-scrollbar-thumb:hover {
	background: #555;
}


.speedOptionLabel{
	color: white;
}

.speedOption{
	font-size: 1.5vw;
}

.buttonContainer {
    display: grid;
    grid-template-columns: 21.5vw 5.5vw 5.5vw 5.5vw 5.5vw;
    grid-gap: 1vw;
    margin-top: 1vw;
}

.speedBlock{
	width: 19vw;
	height: 10vw;
	padding-top: 1vw;
	padding-left: 2vw;
	font-size: 1.5vw;
	background-image: url("speedBlockPlain.png");
	background-size: contain;
	background-repeat: no-repeat;
	white-space: nowrap;
}

.speedIcon{
	display: inline-block;
	width: 3vw;
	height: 3vw;
	background-image: url("snail.png");
	background-size: contain;
	background-repeat: no-repeat;
	vertical-align: top;
	margin-left: 1.5vw;
}

.playButton{
	display: inline-block;
	width: 5vw;
	height: 5vw;
	background-image: url("playButton.png");
	background-size: contain;
	background-repeat: no-repeat;
}

.stopButton{
	display: inline-block;
	width: 5vw;
	height: 5vw;
	background-image: url("stopButton.png");
	background-size: contain;
	background-repeat: no-repeat;
}

.clearButton{
	display: inline-block;
	width: 5vw;
	height: 5vw;
	background-image: url("clearButton.png");
	background-size: contain;
	background-repeat: no-repeat;
}



.restKey{
	height: 3.8vw;   /* change size proportionally*/
	width: 5vw;
	z-index: 5;
	text-align: center;
	border-radius: 5% 5% 5% 5%;
	background-color: white;
	border: 1px solid #333;
	padding-top: 1.7vw;
	font-size:1.5vw;
}






