  * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
 }

 body {
     min-height: 100vh;
     background-color: #f5f5f5;
     display: flex;
     justify-content: center;
     align-items: center;
     padding: 20px;
 }

 .piano {
     position: relative;
     padding: 20px;
     background-color: #333;
     border-radius: 10px;
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
 }

 .white-keys {
     display: flex;
     gap: 2px;
 }

 .white-key {
     width: 50px;
     height: 250px;
     background-color: white;
     border-radius: 0 0 8px 8px;
     border: 1px solid #ccc;
     box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
     position: relative;
     z-index: 1;
     cursor: pointer;
     transition: background-color 0.1s;
 }

 .white-key:active {
     background-color: #eee;
 }

 .white-key .note-name {
     position: absolute;
     bottom: 10px;
     left: 50%;
     transform: translateX(-50%);
     font-family: Arial, sans-serif;
     font-size: 14px;
     color: #333;
 }

 .black-keys {
     position: absolute;
     top: 20px;
     display: flex;
     gap: 0;
 }

 .black-key {
     width: 30px;
     height: 160px;
     background-color: #333;
     border-radius: 0 0 6px 6px;
     box-shadow: 0 5px 5px rgba(0, 0, 0, 0.2);
     position: relative;
     z-index: 2;
     margin: 0 2px;
     cursor: pointer;
     transition: background-color 0.1s;
 }

 .black-key:active {
     background-color: #555;
 }

 .black-key .note-name {
     position: absolute;
     bottom: 10px;
     left: 50%;
     transform: translateX(-50%);
     font-family: Arial, sans-serif;
     font-size: 12px;
     color: white;
 }

 .black-key:nth-child(1) {
     margin-left: 35px;
 }

 .black-key:nth-child(2) {
     margin-left: 20px;
 }

 .black-key:nth-child(3) {
     margin-left: 73px;
 }

 .black-key:nth-child(4) {
     margin-left: 20px;
 }

 .black-key:nth-child(5) {
     margin-left: 20px;
 }

 .black-key:nth-child(6) {
     margin-left: 73px;
 }

 .black-key:nth-child(7) {
     margin-left: 20px;
 }

 .black-key:nth-child(8) {
     margin-left: 72px;
 }

 .black-key:nth-child(9) {
     margin-left: 20px;
 }

 .black-key:nth-child(10) {
     margin-left: 20px;
 }

 .black-key:nth-child(11) {
     margin-left: 72px;
 }

 .black-key:nth-child(12) {
     margin-left: 20px;
 }
