Spaces:
Sleeping
Sleeping
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap'); | |
* { | |
margin: 0; | |
padding: 0; | |
font-family: 'Poppins', sans-serif; | |
} | |
body { | |
background-image: linear-gradient(120deg, #a1c4fd 0%, #c2e9fb 100%); | |
background-size: cover; | |
background-attachment: fixed; | |
background-repeat: no-repeat; | |
} | |
.main { | |
display: flex; | |
justify-content: center; | |
align-items: center; | |
height: 100vh; | |
} | |
.container { | |
background-color: rgba(255, 255, 255, 0.8); | |
text-align: center; | |
padding: 20px; | |
box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px; | |
border-radius: 20px; | |
width: 400px; | |
} | |
.button { | |
display: flex; | |
justify-content: center; | |
align-items: center; | |
flex-direction: column; | |
} | |
#recordButton { | |
margin-top: 20px; | |
padding: 20px; | |
width: 120px; | |
height: 120px; | |
border-radius: 50%; | |
cursor: pointer; | |
background-color: #4CAF50; /* Green for Start */ | |
color: white; | |
border: none; | |
font-size: 16px; | |
} | |
#recordButton.recording { | |
background-color: #f44336; /* Red for Stop */ | |
} | |
#recordButton:hover { | |
background-color: #45a049; | |
} | |
#transcribeButton { | |
margin-top: 20px; | |
padding: 10px 20px; | |
cursor: pointer; | |
background-color: #008CBA; /* Blue for Transcribe */ | |
color: white; | |
border: none; | |
border-radius: 4px; | |
font-size: 16px; | |
} | |
#transcribeButton:hover { | |
background-color: #005f6b; | |
} | |
#output { | |
margin-top: 20px; | |
border: 1px solid #ccc; | |
padding: 10px; | |
width: 80%; | |
margin-left: auto; | |
margin-right: auto; | |
min-height: 100px; | |
box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px; | |
} | |
#recordStatus { | |
margin-top: 10px; | |
font-size: 14px; | |
} | |
#transcribeContainer { | |
margin-top: 20px; | |
} | |