html {
  font-size: 10px;
  /* background: url('./background.jpg') bottom center;
  background-size: cover; */
}

body,html {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  background: url('./background.jpg') no-repeat;
  background-size: cover;
}
kbd
{
  background-color: transparent;
}
.keys {
  display: flex;
  flex: 1;
  padding-top: 20%;
  /* min-height: 100vh; */
  align-items: center;
  justify-content: center;
  /* background: url(./background.jpg) no-repeat;
  background-size: cover; */
}
.d-flex {
 padding-top: 5%;
}

.key {
  border: .2rem solid whitesmoke;
  border-radius: .5rem;
  margin: 1rem;
  font-size: 1.5rem;
  padding: 1rem .5rem;
  transition: all .07s ease;
  width: 10rem;
  text-align: center;
  color: white;
  background: rgba(0,0,0,0.4);
  text-shadow: 0 0 .5rem black;
}

.playing {
  transform: scale(1.1);
  border-color: #C57945;
  box-shadow: 0 0 1rem #C57945;
}

kbd {
  display: block;
  font-size: 4rem;
}

.sound {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: .1rem;
  color: #C57945;
  font-weight: 700;
}

@media only screen and (max-width: 600px) {
.keys {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    /* margin-top: 150px;
    margin-bottom: 150px; */
    min-height:0px;
}}

a {
  color: var(--accent-color);
  text-decoration: none;
  position: relative;
}

a:hover {
  text-decoration: underline;
}

input[type="checkbox"], input[type="radio"] {
  position: absolute;
  opacity: 0;
  display: none;
  cursor: none;
  background: none;
}

button {
  outline: none;
}

.disabled {
  display: none !important;
}

/* Recording */
#recording-window {
  display: flex;
  flex-flow: column;
  padding: clamp(1.75rem, 2.5vh, 10rem) clamp(1.25rem, 1vw, 4rem);
  width: clamp(27rem, 30vw, 65rem);
  background: var(--secondary-bkg-color);
  position: absolute;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 0.5rem;
  z-index: 5;
}

#recording-title {
  outline: none;
  border-color: transparent;
  border-radius: 0.5rem;
  color: var(--primary-text-color);
  background: var(--primary-bkg-color);
  padding: clamp(0.75rem, 1vh, 4rem) 0.75vw;
  font-size: 1.5rem;
  font-family: inherit;
}

#download-btn {
  text-align: center;
  color: #e0e0e0;
  font-family: inherit;
  cursor: pointer;
  background: transparent;
  outline: none;
  border: none;
  margin-top: 1vh;
  padding: 1vh 0;
  font-weight: 500;
  font-size: clamp(1.65rem, 1.2vw, 4rem);
}

#download-btn:hover {
  color: var(--accent-color);
}

.overlay {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(0,0,0,0.6);
  z-index: 3;
}
#record-btn + span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(5rem, 9.5vw, 25rem);
  height: clamp(4.6rem, 2vw, 20rem);
  cursor: pointer;
  border-radius: 0.3rem;
  outline: none;
}

.record-off {
  background: var(--accent-color);
  color: var(--primary-text-color);
  font-weight: 700;
  border: none;
}

.record-on {
  background: transparent;
  color: var(--accent-color);
  font-weight: 600;
  border: 0.3rem solid var(--accent-color);
}
* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

:root {
  --primary-bkg-color: #141414;
  --secondary-bkg-color: #262626;
  --primary-text-color: #fff;
  --secondary-text-color: #dadada;
  --accent-color: #EB002F;

  --piano-width: max(128rem, 84vw);
  --piano-height: calc(var(--piano-width) * 0.245);
}
/* Header */
.controls, .controls a {
  font-size: clamp(1.65rem, 1.15vw, 3rem);
  font-weight: 400;
  text-decoration: none;
  color: var(--primary-text-color);
}

.controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: clamp(4rem, 5vh, 15rem) clamp(3rem, 7vw, 20rem);
}