* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Roboto Mono", monospace !important;
  background-color: #f0e4e4;
}

canvas {
  border-width: 3px;
  border-style: solid;
}

p {
  font-family: "Roboto Mono", sans-serif;
  font-weight: bolder;
}

h1 {
  font-size: 30px;
}

h2 {
  font-size: 20px;
}

h3 {
  font-size: 18px;
}

/* Create equal columns, depending on the percentage (100/x) that floats next to each other */
.columnCima {
  float: left;
  width: 4%;
  padding-top: 10px;
  /* margin-top: 5px; */
}

/* Clear floats after the columns */
.rowCima:after {
  height: 100%;
  vertical-align: middle;
  content: "";
  display: table;
  clear: both;
}

/* Processing canvas and element */
#myContainer {
  background-color: #e2d6d6;
  margin: auto;
  width: 100%;
  text-align: center;
  padding-top: 1px;
  padding-bottom: 1px;
  margin-top: 1px;
  margin-bottom: 3px;
}

/* Create columns below canvas, depending on the percentage (100/x) that floats next to each other */
.column {
  float: left;
  width: 8%;
  padding: 1px;
  text-align: center;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

a:link,
a:visited {
  background-color: #f0e4e4;
  color: #000000;
  padding: 5px 5px;
  text-align: center;
  display: inline-block;
  outline: 0;
}

a:hover,
a:active {
  background-color: #f0e4e4;
  outline: 0;
  color: #88d8b0;
}

.changeLocation {
  color: #a8d30d;
  font-size: 30px;
}

.changeLocation:hover {
  color: #a8d30d;
  font-size: 30px;
}

#abreModal {
  width: 25px;
  height: 25px;
}

#abreModal:hover {
  width: 30px;
  height: 30px;
}

/* favicons */
.fa-question,
.fa-file-audio-o,
.fa-file-image-o,
.fa-download,
.fa-upload {
  color: #6b6969;
  font-size: 27px;
}

.fa-file-audio-o:hover,
.fa-file-image-o:hover {
  transition: 0.3s;
  color: #000000;
}

.fa-download:hover,
.fa-upload:hover {
  transition: 0.3s;
  font-size: 27px;
  color: #000000;
}

/* map favicon */
.fa-map-marker {
  color: #4d4a4a;
  font-size: 27px;
}

.fa-map-marker:hover {
  transition: 0.3s;
  color: #020202;
  font-size: 27px;
}

.fa-question:hover {
  transition: 0.3s;
  font-size: 27px;
  color: #000000;
}

/* record favicon */
.fa-circle {
  font-size: 27px;
  color: #8f6767;
  border: #00000099;
}

.fa-circle:hover {
  transition: 0.3s;
  font-size: 27px;
  color: #d30909;
  border: #00000099;
}

.aGravarSom {
  color: #d30909;
}

/* stop favicon */
.fa-square {
  font-size: 27px;
  color: #727070;
}

.fa-square:hover {
  transition: 0.3s;
  font-size: 27px;
  color: #000000;
}

/* play favicon */
.fa-play {
  font-size: 27px;
  color: #6d9652;
  border: #6d9652;
}

.fa-play:hover {
  transition: 0.3s;
  font-size: 27px;
  color: #9fe9af;
  border: #03611b;
}

/* play favicon */
.fa-floppy-o {
  font-size: 27px;
  color: #949692;
}

.fa-floppy-o:hover {
  transition: 0.3s;
  font-size: 27px;
  color: #000000;
}

/* play favicon */
.fa-info-circle {
  font-size: 32px;
  color: #393a39;
}

.fa-info-circle:hover {
  transition: 0.3s;
  font-size: 32px;
  color: #000000;
}

.aTocarSom {
  color: #9fe9af;
}

.hidden {
  display: none;
}

#tip {
  font-size: 15px;
  font-style: italic;
  font-weight: bolder;
  animation: myTipAnimation 3s infinite ease-out;
}

@keyframes myTipAnimation {
  0%,
  100% {
    color: rgb(255, 0, 21);
    font-weight: bolder;
  }

  30%,
  60% {
    color: black;
    font-weight: bold;
  }
}

.modal {
  position: absolute;
  font-size: 14px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  background-color: rgb(225, 233, 180);
  padding: 5rem;
  border-radius: 5px;
  box-shadow: 0 3rem 5rem rgba(0, 0, 0, 3);
  z-index: 10;
}

.close-modal {
  position: absolute;
  top: 1.2rem;
  right: 2rem;
  font-size: 5rem;
  color: #e28f8f;
  cursor: pointer;
  border: none;
  background: none;
}

.close-modal:hover {
  position: absolute;
  top: 1.2rem;
  right: 2rem;
  font-size: 5rem;
  color: #f03333;
  cursor: pointer;
  border: none;
  background: none;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
  z-index: 5;
}

.centerImage {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 70%;
}

.loader {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 150px;
  height: 150px;
  margin: -75px 0 0 -75px;
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #96ceb4;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.spot-edit-btn {
  color: #6b6969;
  font-size: 16px;
  margin-left: 2px;
  cursor: pointer;
}

.spot-edit-btn:hover {
  transition: 0.3s;
  color: #88d8b0;
}

.spot-edit-btn.spot-has-edits {
  color: #88d8b0;
}

.menuInferior h3 {
  font-size: 14px;
  line-height: 1.3;
}

.sound-editor {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(740px, 92vw);
  background: #1a1a1e;
  color: #f0e4e4;
  padding: 1.5rem 2rem 2rem;
  border-radius: 8px;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.45);
  z-index: 20;
  font-family: "Roboto Mono", monospace;
}

.sound-editor h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
  color: #88d8b0;
}

.editor-meta {
  font-size: 0.8rem;
  color: #9a9595;
  margin-bottom: 0.75rem;
}

.editor-hint {
  font-size: 0.75rem;
  color: #777;
  margin: 0.5rem 0 0.75rem;
}

#waveformCanvas {
  width: 100%;
  height: 120px;
  border-radius: 4px;
  cursor: ew-resize;
  display: block;
}

.editor-trim-row,
.editor-fade-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 0.75rem 0;
  font-size: 0.85rem;
}

.editor-trim-row input[type="number"] {
  width: 5.5rem;
  margin-left: 0.35rem;
  padding: 0.25rem 0.4rem;
  background: #2a2a30;
  border: 1px solid #444;
  color: #f0e4e4;
  border-radius: 3px;
  font-family: inherit;
}

.editor-fade-row input[type="range"] {
  vertical-align: middle;
  width: 120px;
  margin: 0 0.35rem;
}

.editor-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.editor-btn {
  padding: 0.45rem 1.1rem;
  border: 1px solid #555;
  background: #2a2a30;
  color: #f0e4e4;
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.85rem;
}

.editor-btn:hover {
  border-color: #88d8b0;
  color: #88d8b0;
}

.editor-btn-primary {
  background: #88d8b0;
  color: #1a1a1e;
  border-color: #88d8b0;
  font-weight: bold;
}

.editor-btn-primary:hover {
  background: #9fe9af;
  color: #000;
}

.close-sound-editor {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  font-size: 2rem;
  color: #888;
  cursor: pointer;
  border: none;
  background: none;
  line-height: 1;
}

.close-sound-editor:hover {
  color: #f03333;
}

#editorOverlay {
  z-index: 15;
}
