/* fonts */
@import url("/media/stylesheet_bravura.css");
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Josefin+Slab:ital,wght@0,100..700;1,100..700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap")

/* layout */
body {
	font-family: "Poppins", san serif;
}

div {
	font-family: "Poppins", san serif;
	margin:auto;
   margin-top:10px;
   width:75%;   
}

h1 {
  	text-align:center;
  	font-family: "Josefin Slab", san serif;
	font-variant: small-caps;
}
h2,h3 {
	font-family: "Josefin Slab", san serif;
}

/* display */
#display_container{
  	text-align:center;
}

#DisplayTerm {
	padding: 10px;
   background-color: AntiqueWhite;
}

#display{
	position:relative;
	font-family:bravura;
	font-size:42px;
	width:3em;
	height:2.5em;
}

/* answers */
.term_answer {
	font-family: "Poppins", san serif;
	background-color: white;
	cursor: pointer;
	border-radius: 5px;
	padding: 5px;
	box-shadow: 0 0 2px 0 Gray;
}
.term_answer:hover {
	box-shadow: 0 0 2px 0 Gray, 0 3px 10px 0 LightBlue;
}

.AnswerButtons {
	margin:5px;
   padding:4px;
}

/* Notes
-------------------------------------------------------------- */
.NoteButtons {
	margin: 5px;
	padding:0px 10px;
	font-family:bravura;
	font-size:16px;
}

.notes {
	font-family:bravura;
}

/* Staff
-------------------------------------------------------------- */
.staff{
	text-align:left;
	position:relative;
	font-family:bravura;
	font-size:42px;
	width:4em;
	height:2.5em;
}

/* score box
-------------------------------------------------------------- */
.score {
	text-align:right;
   width:3em;
   display:inline-block;
   }
        
/* =progress bar
-------------------------------------------------------------- */
#myProgress {
width: 100%;
background-color: AliceBlue;
}
#progressBar {
	width: 0px;
	height: 10px;
	background-color: #04AA6D;
	/* text-align: center; /* To center it horizontally (if you want) */
	line-height: 10px; /* To center it vertically */
	color: white;
}
#controls {
	padding:10px;
	border-top-style: groove;
	border-bottom-style: groove;
}

/* =time signatures
-------------------------------------------------------------- */
#ts_display {
  	font-family:bravura;
	font-size:30px;
	height:2em;
}

/* piano keyboard
-------------------------------------------------------------- */
.wrapper {
  margin: 0;
  /* display: flex; */
  align-items: center;
  justify-content: center;
  padding: 15px;
  border-radius: 20px;
  background: #141414;
}
.piano-keys {
  display: flex;
  list-style: none;
  margin-top: 20px;
}
.piano-keys .key {
  cursor: pointer;
  user-select: none;
  position: relative;
  text-transform: uppercase;
}
.piano-keys .black {
  z-index: 2;
  width: 30px;
  height: 100px;
  margin: 0 -15px 0 -15px;
  border-radius: 0 0 5px 5px;
  background: linear-gradient(#333, #000);
}
.piano-keys .black.active {
  box-shadow: inset -5px -10px 10px rgba(255,255,255,0.1);
  background:linear-gradient(to bottom, #000, #434343);
}
.piano-keys .white {
  height: 180px;
  width: 36px;
  border-radius: 8px;
  border: 1px solid #000;
  background: linear-gradient(#fff 96%, #eee 4%);
}
.piano-keys .white.active {
  box-shadow: inset -5px 5px 20px rgba(0,0,0,0.2);
  background:linear-gradient(to bottom, #fff 0%, #eee 100%);
}
.piano-keys .key span {
  position: absolute;
  bottom: 20px;
  width: 100%;
  color: #A2A2A2;
  font-size: 1.13rem;
  text-align: center;
}
.piano-keys .key.hide span {
  display: none;
}
.piano-keys .black span {
  bottom: 13px;
  color: #888888;
}