@import url('https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible+Mono:ital,wght@0,200..800;1,200..800&family=Fira+Sans:ital@1&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* display: flex;
  justify-content: center;
  align-items: center; */
}

:root {
  --text: rgba(75, 36, 8, 0.877);
  --white: #fefefe;
  --white-key-border: #ccc;
  --white-key-hover: #8dbde4;
  --black-key-color: #333;
  --black-key-hover: #555;
}


body {
  font-family: "Fira Sans", sans-serif;
  font-weight: 400;
  background-image: url('./Assets/images.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  text-align: center;
  color: var(--text);
  padding: 40px;
  height: 100vh;
  width: 100%;
}

h1 {
  margin: 20px;
  text-align: center;
}

.piano {
  position: relative;
  display: flex;
  justify-content: center;
  user-select: none;
  touch-action: none;
margin-top: 100px;
  width: 100%;
  /* overflow-x: auto;    */
}

.white-keys,
.black-keys {
  cursor: pointer;
  display: flex;
  /* z-index: 1; */
  position: absolute;
  /* gap: 20px; */
}
.black-keys{
  gap: 20px;
}
.white-key {
  width: 50px;
  height: 250px;
  background-color: var(--white);
  color: rgb(56, 42, 42);
  font-size: large;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  border: 1px solid black;
  border-radius: 10px;
  margin-right: 4px;
  font-weight: 800;
  padding-top: 80px;


}

.white-key:active {
  background: var(--white-key-hover);
}

.black-key {
  width: 35px;
  height: 140px;
  background: var(--black-key-color);
  border-radius: 5px;
  /* margin: 0px 5px; */
  position: relative;
  color: var(--white);
  font-weight: bold;
  /* z-index: 2; */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
}

