html,
body {
margin: 0;
scroll-behavior: smooth;
}
.interim {
color: #999;
}
#result {
font-size: 2rem;
padding-right: 1em;
align-self: flex-end;
}
.speech {
margin: 0 auto;
margin-top: 64px;
padding: 32px;
display: flex;
transition: height 0.3s ease-out;
}
.speech > * {
flex: 1 0 45%;
}
.ui {
position: fixed;
background-color: white;
top: 0;
z-index: 100;
width: calc(100% - 64px);
display: flex;
padding: 8px 0;
margin: 0 32px;
}
.ui h1 {
margin: 0;
font-size: 2rem;
font-weight: normal;
margin-right: auto;
}
#save {
border: 1px solid currentColor;
border-radius: 2rem;
font-size: 1rem;
padding: 0.5em;
font-family: Arial, Helvetica, sans-serif;
background-color: transparent;
cursor: pointer;
margin-right: 1rem;
}
#save:hover {
color: green;
}
#reset {
border: none;
background-color: transparent;
font-family: Arial, Helvetica, sans-serif;
font-size: 1rem;
cursor: pointer;
}
#reset:hover {
color: red;
}