*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: #111;
  color: #eee;
  font-family: Georgia, "Times New Roman", Times, serif;
  text-align: center;
}

main {
  width: min(720px, 100%);
}

h1 {
  margin: 0 0 36px;
  font-size: 32px;
  font-weight: 400;
}

.player {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.wave {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: transparent;
  cursor: pointer;
}

.wave canvas {
  display: block;
  width: 100%;
  height: 120px;
}

.play {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-top: 28px;
  padding: 0;
  border: 1px solid #888;
  border-radius: 50%;
  background: transparent;
  color: #eee;
  cursor: pointer;
}

.play svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.play .icon-play {
  margin-left: 3px;
}

.icon-pause,
.play.is-playing .icon-play {
  display: none;
}

.play.is-playing .icon-pause {
  display: block;
}

p {
  margin: 0;
}

a {
  color: #eee;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
