Spaces:
Running
Running
body { | |
font-family: Arial, sans-serif; | |
background-color: #f4f4f4; | |
margin: 0; | |
padding: 0; | |
display: flex; | |
justify-content: center; | |
align-items: center; | |
height: 100vh; | |
} | |
.container { | |
background-color: #fff; | |
border-radius: 8px; | |
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); | |
width: 80%; | |
max-width: 1200px; | |
padding: 20px; | |
text-align: center; | |
} | |
h1, h2 { | |
color: #333; | |
margin-bottom: 20px; | |
} | |
.keys { | |
display: flex; | |
justify-content: center; | |
} | |
.key { | |
width: 50px; | |
height: 200px; | |
background-color: #fff; | |
border: 1px solid #000; | |
margin: 0 2px; | |
cursor: pointer; | |
transition: background-color 0.1s ease; | |
} | |
.key:hover { | |
background-color: #ddd; | |
} | |
.key.black { | |
width: 30px; | |
height: 120px; | |
background-color: #000; | |
margin: 0 -15px; | |
z-index: 1; | |
} | |
button { | |
padding: 10px 20px; | |
background-color: #007BFF; | |
color: #fff; | |
border: none; | |
border-radius: 4px; | |
cursor: pointer; | |
transition: background-color 0.3s ease; | |
margin: 5px; | |
} | |
button:hover { | |
background-color: #0056b3; | |
} | |
.recorder button, .file-audio button { | |
background-color: #dc3545; | |
} | |
.recorder button:hover, .file-audio button:hover { | |
background-color: #c82333; | |
} |