@import url("https://fonts.googleapis.com/css2?family=Oxygen:wght@700&display=swap");

* {
  margin: 0;
  padding: 0;
  font-family: "Oxygen";
}

nav {
  height: 100px;
  background-color: rgb(0, 85, 116);
  color: antiquewhite;
}

.nav-content {
  height: 100%;
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
}
.whole-piano-holder {
  margin-top: 50px;
  text-align: center;
}

.whole-piano {
  max-width: 700px;
  margin: auto;
  text-align: center;
  /* position: absolute; */
  /* left: calc(50vw - 350px); */
  background-image: url("whole_piano.png");
  background-size: contain;

  width: 700px;
  height: 75px;
  text-align: left;
}

.piano-range-input {
  width: 700px;
  height: 100%;
  /* padding-right: 101px; */
}

/* clear all default slider styles */
input[type="range"] {
  -webkit-appearance: none; /* Hides the slider so that custom slider can be made */
  background: transparent; /* Otherwise white in Chrome */
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
}

input[type="range"]:focus {
  outline: none; /* Removes the blue border. You should probably do some kind of focus styling for accessibility reasons though. */
}

input[type="range"]::-ms-track {
  /* width: 100%; */
  cursor: pointer;

  /* Hides the slider so custom styles can be added */
  background: transparent;
  border-color: transparent;
  color: transparent;
}

/* custom styles for thumb */

/* Special styling for WebKit/Blink */
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  border: 5px solid rgb(0, 85, 116);
  height: 85px;
  width: 156px;
  background: transparent;
  cursor: pointer;
  margin-top: -43px;
}

/* All the same stuff for Firefox */
input[type="range"]::-moz-range-thumb {
  border: 5px solid rgb(0, 85, 116);
  height: 85px;
  width: 156px;
  background: transparent;
  cursor: pointer;
}

/* All the same stuff for IE */
input[type="range"]::-ms-thumb {
  border: 5px solid rgb(0, 85, 116);
  height: 85px;
  width: 156px;
  background: transparent;
  cursor: pointer;
}

/* custom styles for track */

input[type="range"]::-webkit-slider-runnable-track {
  /* width: 100%; */
  height: 0px;
  cursor: pointer;
}

input[type="range"]::-moz-range-track {
  height: 0px;
  cursor: pointer;
}

input[type="range"]::-ms-track {
  height: 0px;
  cursor: pointer;
}

.whole-piano-slider {
  height: 75px;
  width: 152px;
  background-color: rgba(0, 74, 138, 0.317);
  box-sizing: border-box;
  border: 3px solid blue;
  position: relative;
  top: 0;
  left: calc(50vw - 350px);
  cursor: pointer;
}

.whole-piano-slider-drop-option {
  position: relative;
  width: 152px;
  height: 75px;
  top: -75px;
  left: calc(50vw + 195px);
  border: 1px solid black;
}

.whole-piano-slider-drop-option-2 {
  position: relative;
  width: 152px;
  height: 75px;
  top: -75px;
  left: calc(50vw + 185px);
  border: 1px solid black;
}

.piano-section {
  height: 370px;
  max-width: 700px;
  margin: auto;
  margin-top: 175px;
  /* display: flex; */
  /* background-color: burlywood; */
  /* position: absolute; */
}

.white-keys-section {
  height: 100%;
  width: 100%;
  position: relative;
  top: 0;
  left: 0;
  /* background-color: red; */
  display: flex;
}

.white-piano-key {
  width: 100%;
  height: 100%;
  border: 1px solid;
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 20px;
}

.black-keys-section {
  height: 280px;
  width: 77%;
  position: relative;
  top: -100%;
  left: 11.5%;
  /* background-color: blue; */
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.black-piano-key {
  width: 40px;
  height: 100%;
  background-color: black;
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 20px;
  color: antiquewhite;
  pointer-events: all;
}

.black-piano-key-placeholder {
  width: 40px;
}

/* #div1,
#div2 {
  float: left;
  width: 100px;
  height: 35px;
  margin: 10px;
  padding: 10px;
  border: 1px solid black;
} */
