@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
* {
  box-sizing: border-box;
}

html {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #2E748F, #153A49);
  font-size: 10px;
}

body {
  color: #555555;
}

.recorder {
  position: relative;
}

.waveform {
  position: relative;
  padding: 4rem 0;
}
.waveform__canvas {
  width: 100%;
  height: 12.5rem;
}

.toolbar {
  text-align: center;
}

.button {
  transition: background 0.4s ease-in-out, color 0.4s ease-in-out;
  position: relative;
  display: inline-block;
  width: 5rem;
  height: 5rem;
  margin: 0 0.5rem;
  padding: 0;
  background: #ffffff;
  border-radius: 50%;
  border: none;
  outline: none;
  color: rgba(0, 0, 0, 0.5);
  font-size: 4rem;
  cursor: pointer;
}
.button--record::before {
  animation: spin 4s linear infinite;
  transition: opacity 0.4s ease-in-out;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5rem;
  height: 5rem;
  margin: -0.4rem;
  padding: -0.4rem;
  background: transparent;
  opacity: 0;
  border-radius: 50%;
  border: 0.4rem solid rgba(237, 106, 95, 0.9);
  border-top-color: rgba(46, 116, 143, 0);
}
.button--record.button--active {
  background: #ED6A5F;
  color: #ffffff;
}
.button--record.button--active::before {
  opacity: 1;
}
.button--play.button--active {
  background: #49F1D5;
  color: #ffffff;
}
.button--disabled {
  opacity: 0.2;
  pointer-events: none;
  cursor: not-allowed;
}

.audio {
  width: 0;
  height: 0;
  opacity: 0;
  visibility: 0;
}

.message {
  transition: opacity 0.4s ease-in-out;
  padding: 1rem 2rem;
  background: #ED6A5F;
  opacity: 0;
  font-size: 1.6rem;
  font-family: Helvetica, Arial, sans-serif;
  color: #ffffff;
  line-height: 1.5;
}
.message--visible {
  opacity: 1;
}

.piano-roll-container {
  max-width: 100%;
  overflow: auto;
}

.piano-roll {
  width: 1540px;
  margin: 20px auto 0 auto;
  position: relative;
  height: 100px;
}

.tuts-white {
  background-color: #FFFFFF;
  border-right: 1px solid #DDDDDD;
  box-sizing: border-box;
  position: absolute;
  height: 100px;
}

.tuts-white.note-on {
  background-color: rgb(188, 253, 37);
}

.tuts-black {
  background-color: #111111;
  border-right: 1px solid #DDDDDD;
  box-sizing: border-box;
  position: absolute;
  height: 50px;
}

.tuts-black.note-on {
  background-color: rgb(243, 150, 11);
}

.player-wrapper {
  padding-top: 20px;
  position: relative;
  width: 270px;
  margin: auto;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  border: 1px solid #888;
  width: 80%;
  max-width: 400px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  color: #333;
  font-family: Helvetica, Arial, sans-serif;
  position: relative;
}

.modal-header {
  margin-bottom: 0.5rem;
  padding: 16px 20px 12px 20px;
  border-bottom: 1px solid #dddddd;
}
.modal-header h2 {
  margin: 0;
}

.modal-body {
  padding: 20px;
}

.close-button,
.close-button-privacy {
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  position: absolute;
  right: 15px;
  top: 5px;
  float: right;
}
.close-button:hover, .close-button:focus,
.close-button-privacy:hover,
.close-button-privacy:focus {
  color: #000;
  text-decoration: none;
}

.close-button:hover, .close-button:focus {
  color: #838383;
  text-decoration: none;
}

.settings-group {
  margin-bottom: 15px;
}
.settings-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  font-size: 1.4rem;
}
.settings-group input {
  width: 100%;
  padding: 8px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1.4rem;
}

.footer {
  text-align: center;
  padding: 20px 0;
  margin-top: 20px;
}
.footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 1.2rem;
  font-family: Helvetica, Arial, sans-serif;
}
.footer a:hover {
  text-decoration: underline;
}

.close-button-privacy {
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  position: absolute;
  right: 10px;
  top: 0;
}
.close-button-privacy:hover, .close-button-privacy:focus {
  color: #000;
  text-decoration: none;
}/*# sourceMappingURL=css.css.map */