::selection {
  background-color: none;
  color: inherit;
}

body {
  background-color: #fff;
  margin: 0;
  padding: 0;
  height: 100%;
  position: relative;
}

.alert-screen {
  display: none;
}

.todo {
  width: 90%;
  margin: 0 auto;
}

.todo h1 {
  font-size: 1.6em;
  text-align: center;
  margin: 20px 0;
}

.todo h2 {
  font-size: 1.6em;
  text-align: center;
  margin: 20px 0;
}

.todo h3 {
  font-size: 1.4em;
  text-align: center;
  margin: 20px 0;
}

.todo h4 {
  font-size: 1.2em;
  color: #000;
  text-align: center;
  padding: 5px;
  margin: 30px 0;
}

.todo h5 {
  margin: 30px 0;
}

.alert-subtitle {
  padding-bottom: 0px;
  text-align: center;
  font-weight: 500;
}

.todo .navbar-collapse {
    flex-grow: 0;
}

.audio-capture {
  display: none;
}

.select-audio-device {
  margin-bottom: 40px;
}

.player-area {
  text-align: center;
  /* margin-top: 10px; */
  background-color: #fff;
}

.player-area img {
 width: 100px;
}

.player-area canvas {
  width: 90%; 
  height: 170px;
  margin: 20px;
}

.music-author {
  text-align: center;
  font-size: 0.7em;
  margin-top: 10px;
}

.soud-test-controls {
  width: 50%;
}

.player-area .play-icon, .player-area .pause-icon {
  font-size: 1.1em;
 }

 .frequency-test-area {
  background-color: #fff;
 }

 #frequencySlider {
  width: 100%;
  margin: 15px 0;
  padding: 30px 0;
  background-color: #fafdff;
}
#frequencyValue {
  font-weight: bold;
  color: #007bff;
}

.display-frequency {
  text-align: center;
}

.distortion-test-area {
  padding: 10px 20px;
  background-color: #fafdff;
}

.form-check-input {
  float: none !important;
  margin-left: 0 !important;
}

.tab-pane {
  padding: 0 20px;
}

.controls-btn {
  margin: 20px 0;
}
.frequency-chart {
  width: 100%; 
  height: 300px; 
  margin: 50px auto 100px;
}

.btn-outline-secondary {
  margin: 2px;
}

.logo h1 {
  font-size: 0;
  display:none;
}

.img-logo {
  width: 260px;
}

.badge-new {
  font-size: 0.4em;
  vertical-align: top;
} 

.alert-cookie {
  display: none;
  font-size: 0.8em;
  color: #fff;
  background-color: #343a40;
}

.alert-cookie a {
  color: #fff;
}

.alert-cookie .btn-close-cookies {
  color: #fff !important;
  background-color: #fff;
}


.audio-preview {
  padding: 10px;
  margin-bottom: 10px;
  background-color: #f7f7f7;
}

.alert-privacy {
  font-size: 0.90em;
  padding: 10px 30px 5px 30px;
}

.nav-tools {
  text-align: center;
  padding:10px;
  margin: 10px 0px 20px 0px;
}

.nav-tools a {
  display: inline;
  margin: 0px 20px;
}

.nav-tools img {
  max-width: 30px;
}

.nav-tools .txt-link {
  display: inline;
}

.nav-tools .badge-new {
  font-size: 0.5em;
  font-weight: 600;
  vertical-align: top;
}

.ads-body-top {
  text-align: center;
  display: block;
  max-height: 170px;
}

.ads-body-top-mobile {
  display: none;
}

.ads-body-bottom {
  text-align: center;
  display: block;
  margin-top: 20px;
}

.middle-ads {
  /* height:150px !important; */
  text-align: center;
  margin: 20px 10px;
}

.device-actions {
  padding: 15px 0;
}

.device-actions select {
  margin: 10px 0 40px 0;
}

.devices-permission-hint {
  margin-top: 15px;
  font-size: 0.9em;
}

#grant-access {
  display: none;
  margin-bottom: 20px;
  text-align: center;
}

#alert-mic-not-founded {
  display: none;
}

#alert-mic-error {
  display: none;
}

#btn-stop {
  display: none;
}

.audio-select span {
  font-size: 1em;
}

.about-test {
  color:#000;
  text-decoration: none;
  font-size: 1em;
  font-weight: 600;
}

.card-sound-test {
  border: none;
}

.grid-row {
  padding: 1rem;
  border-bottom: 1px solid #dee2e6;
  transition: background-color 0.2s;
}
.grid-row:hover {
  background-color: rgba(0,0,0,0.03);
}
.product-image {
  max-width: 100px;
  height: auto;
}
.price-link {
  text-decoration: none;
  font-size: 0.8em;
}
.modal-body {
  max-height: 70vh;
  overflow-y: auto;
}
.btn-amazon {
  background-color: #ffa41c;
  border-color: #ffa41c;
  color: #000;
}
.btn-amazon:hover {
  background-color: #db8534;
  border-color: #db8534;
  color: #000;
}
.grid-header {
  background-color: #212529;
  color: white;
  padding: 1rem;
  font-weight: bold;
}

#video {
  width: 100%;
  object-fit: contain;
}

#btn-capture {
  display: none;
  margin: 10px;
}

#gallery {
  overflow-x: auto; /* Adiciona uma barra de rolagem horizontal */
  white-space: nowrap; /* Impede que as miniaturas quebrem para a próxima linha */
  padding: 10px; /* Adiciona um espaço ao redor das miniaturas */
}

.captured-audio {
  padding: 10px;
  font-size: 0.8em;
}

.captured-audio h3 {
  font-size: 1.2em;
  margin: 0;
}

.image-container {
  display: inline-block;
  margin: 10px;
  text-align: center;
}

.image-container img {
  max-width: 100px;
  height: auto;
  display: block;
}

.tape-controls-play {
  border: none;
  /* background-color: transparent; */
}

.solucoes, .sobre, .politica {
  margin-bottom: 200px;
}

.solucoes .alert, .sobre .alert, .politica .alert {
  margin-top: 50px;
}

.top-products {
  overflow-x: auto; /* Adiciona uma barra de rolagem horizontal */
  white-space: nowrap; /* Impede que as miniaturas quebrem para a próxima linha */
  padding: 10px 0px; /* Adiciona um espaço ao redor das miniaturas */
  margin-bottom: 30px;
}

.top-products .nav-link {
color: #333;
}

.top-products .nav-link.active{
  font-weight: 600;
  text-decoration: underline 2px solid rgba(155, 146, 146, 0.3);
  }

.top-products a {
  text-decoration: none;
}

.top-products img {
  max-height: 150px;
  margin-bottom: 30px;
}

.top-products .img-amz {
  max-width: 110px;
  margin-bottom: 5px;
}

.top-products figcaption {
  text-transform: uppercase;
  /* vertical-align: text-bottom; */
}

.mais, .gamer, .kit {
  scroll-behavior: smooth;
}
.top-products figcaption {
  text-align: center;
  height: 50px;
}

.top-products th {
  min-width: 200px;
  text-wrap: wrap;
  text-align: center;
  padding: 5px 20px;
}

.top-products td {
  min-width: 200px;
  text-wrap: wrap;
  text-align: center;
  padding: 5px 20px;
}

.top-products tfoot {
  text-align: center;
}

.button-table {
  max-width: 3%;
}

.content-prods {
  position: relative;
}

.scroll-left-mais,
.scroll-left-gamer,
.scroll-left-kit,
.scroll-right-mais,
.scroll-right-gamer,
.scroll-right-kit {
  position: absolute;
  top: 30%;
  width: 30px;
  height: 20%;
  background-color: rgba(155, 152, 152, 0.2);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1.5em;
  /* z-index: 1; */
}

.scroll-left-mais:hover,
.scroll-left-gamer:hover,
.scroll-left-kit:hover,
.scroll-right-mais:hover,
.scroll-right-gamer:hover,
.scroll-right-kit:hover {
  background-color: rgba(155, 152, 152, 0.5);
}

.scroll-left-mais,
.scroll-left-gamer,
.scroll-left-kit {
  left: 0;
  border-top-right-radius: 50px;
  border-bottom-right-radius: 50px;
}

.scroll-right-mais,
.scroll-right-gamer,
.scroll-right-kit {
  right: 0;
  border-top-left-radius: 50px; 
  border-bottom-left-radius: 50px;
}

.limted-text {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3; /* Número de linhas a serem exibidas */
  -webkit-box-orient: vertical;
}

footer {
  /* position: fixed;
  left: 0;
  bottom: 0;
  width: 100%; */
  font-size: 0.85em;
  background-color: #000;
  text-align: center;
  color: #fff;
  margin-top: 100px;
  padding: 15px 0;
}

footer .nav {
  margin-bottom: 20px;
}

footer .nav-item a {
  color: #fff;
  text-decoration: none;
  font-size: 1.2em;
}

footer .nav-item a:hover {
  color: #fff;
  text-decoration: underline;
}


footer a {
  color: #fff;
  text-decoration: none;
}

footer a:hover {
  color: #fff;
  text-decoration: underline;
}

footer .links-sites {
  text-align: center;
  font-size: 1.2em;
  line-height: 200%;
}

footer .links-sites h5 {
  margin-top: 10px;
  font-size: 1em;
}

footer .donate {
  font-size: .95em;
}

footer .donate img {
  width: 100px;
}

footer .donate h5 {
  margin-top: 10px;
  font-size: 1.3em;
}

@media screen and (max-width: 767px) {
  .nav-tools .txt-link {
    display: none;
  }

  .nav-tools a {
    display: inline;
    margin: 0px 2px;
  }

  .img-logo {
    width: 160px;
  }

  .badge-new {
    font-size: 0.5em;
    font-weight: 600;
    vertical-align: top;
  }
  
  #grant-access img {
    width: 90%;
  }

  .top-menu {
    text-align: right;
  }

  .form-check-input {
    float: none !important;
    margin-left: 0 !important;
  }

  .soud-test-controls {
    width: 90%;
  }

  .audio-select span {
    font-size: 0.8em;
  }

  .player-area .play-icon, .player-area .pause-icon {
    font-size: 0.8em;
  }

  #frequencyResponseChart {
    width: 100%;
    height: 300px;
  }

  .tab-pane {
    padding: 0;
  }

  .ads-body-top {
    display: none;
  }

  .ads-body-top-mobile {
    text-align: center;
    display: block;
    margin: 20px 0;
  }

  .ads-body-bottom {
    display: none;
  }

  /* .product-image {
    max-width: 80px;
  } */
  .grid-row {
    padding: 0.5rem;
  }
  /* .alert-screen {
    display: block;
    font-size: 1.3em;
    color: red;
    background-color: rgb(226, 223, 223);
    padding: 20px;
    border-radius: 20px;
  } */
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
  .todo {
    width: 100%;
  }
  .keyboard {
    min-width: 1000px;
    margin-right: 40px;

  }
}

@media screen and (min-width: 1024px) and (max-width: 1279px){
  .keyboard {
    height: 320px;
    width: 890px;
    margin: 0 auto;
    background-color: #111;
    border-radius: 9px;
    padding: 20px;
    color: #eee;
  }

  .key {
    width: 35px;
    height: 35px;
    display: block;
    font-size: 0.8em;
    background-color: #333;
    text-align: left;
    padding-left: 8px;
    line-height: 1.3em;
    border-radius: 2px;

    float: left;
    margin-left: 6px;
    margin-top: 6px;
    cursor: pointer;
    transition: box-shadow 0.7s ease;
  }

  .especial-key {
    width: 35px;
    height: 35px;
    display: block;
    font-size: 0.6em;
    background-color: #333;
    text-align: left;
    padding-top: 5px;
    padding-left: 4px;
    line-height: 1.4em;
    border-radius: 2px;
    float: left;
    margin-left: 6px;
    margin-top: 6px;
    cursor: pointer;
    transition: box-shadow 0.7s ease;
  }

  .arrows-key {
    width: 35px;
    height: 35px;
    display: block;
    font-size: 1em;
    background-color: #333;
    text-align: center;
    line-height: 2;
    border-radius: 2px;
    float: left;
    margin-left: 6px;
    margin-top: 6px;
    cursor: pointer;
    transition: box-shadow 0.7s ease;
  }

  .numeric-key {
    width: 35px;
    height: 35px;
    display: block;
    font-size: 0.7em;
    background-color: #333;
    padding-top: 4px;
    text-align: center;
    line-height: 1.2;
    border-radius: 2px;
    float: left;
    margin-left: 4px;
    margin-top: 6px;
    cursor: pointer;
    transition: box-shadow 0.7s ease;
  }

  .function {
    font-size: 0.6em;
    line-height: 1.4;
    width: 35px;
    height: 35px;
    margin-bottom: 15px;
  }

  .backspace {
    width: 100px;
    font-size: 0.7em;
    line-height: 3;
  }

  .tab {
    width: 70px;
    line-height: 3;
    font-size: 0.7em;
  }

  .enter1 {
    width: 70px;
    font-size: 0.7em;
    line-height: 3;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }

  .enter2 {
    width: 50px;
    height: 41px;
    line-height: 40px;
    font-size: 13px;
    margin-top: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }

  .caps {
    width: 75px;
    font-size: 0.7em;
    line-height: 1.5;
  }

  .shift-left {
    width: 52px;
    line-height: 3;
    font-size: 0.7em;
  }

  .shift-right {
    width: 67px;
    line-height: 3;
    font-size: 0.7em;
  }

  .ctrl {
    width: 47px;
    line-height: 3;
    font-size: 0.7em;
  }

  .modify-keys {
    width: 32px;
    padding-left: 5px;
    line-height: 3;
    font-size: 0.7em;
  }

  .space {
    width: 256px;
  }

  .numeric-nl {
    font-size: 0.5em;
  }

  .numeric-zero {
    width: 75px;
  }
  .numeric-enter1 {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    line-height: 3;
    font-size: 0.6em;
  }

  .numeric-enter2 {
    height: 41px;
    border-top: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    margin-top: 0;
  }

  .key-active {
    color: #eee;
    background-color: red;
    line-height: 2.5;
    padding-left: 12px;
    margin-right: 20px;
  }

  .key-tested {
    color: #eee;
    background-color: green;
    line-height: 2.5;
    padding-left: 12px;
    margin-right: 20px;
  }
}

@media screen and (min-width: 1280px) and (max-width: 1365px) {
  .keyboard {
    width: 890px;
    height: 320px;
    margin: 0 auto;
    background-color: #111;
    border-radius: 9px;
    padding: 20px;
    color: #eee;
  }

  .key {
    width: 35px;
    height: 35px;
    display: block;
    font-size: 0.8em;
    background-color: #333;
    text-align: left;
    padding-left: 8px;
    line-height: 1.3em;
    border-radius: 2px;

    float: left;
    margin-left: 6px;
    margin-top: 6px;
    cursor: pointer;
    transition: box-shadow 0.7s ease;
  }

  .especial-key {
    width: 35px;
    height: 35px;
    display: block;
    font-size: 0.6em;
    background-color: #333;
    text-align: left;
    padding-top: 5px;
    padding-left: 4px;
    line-height: 1.4em;
    border-radius: 2px;
    float: left;
    margin-left: 6px;
    margin-top: 6px;
    cursor: pointer;
    transition: box-shadow 0.7s ease;
  }

  .arrows-key {
    width: 35px;
    height: 35px;
    display: block;
    font-size: 1em;
    background-color: #333;
    text-align: center;
    line-height: 2;
    border-radius: 2px;
    float: left;
    margin-left: 6px;
    margin-top: 6px;
    cursor: pointer;
    transition: box-shadow 0.7s ease;
  }

  .numeric-key {
    width: 35px;
    height: 35px;
    display: block;
    font-size: 0.7em;
    background-color: #333;
    padding-top: 4px;
    text-align: center;
    line-height: 1.2;
    border-radius: 2px;
    float: left;
    margin-left: 4px;
    margin-top: 6px;
    cursor: pointer;
    transition: box-shadow 0.7s ease;
  }

  .function {
    font-size: 0.6em;
    line-height: 1.4;
    width: 35px;
    height: 35px;
    margin-bottom: 15px;
  }

  .backspace {
    width: 100px;
    font-size: 0.7em;
    line-height: 3;
  }

  .tab {
    width: 70px;
    line-height: 3;
    font-size: 0.7em;
  }

  .enter1 {
    width: 70px;
    font-size: 0.7em;
    line-height: 3;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }

  .enter2 {
    width: 50px;
    height: 41px;
    line-height: 40px;
    font-size: 13px;
    margin-top: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }

  .caps {
    width: 75px;
    font-size: 0.7em;
    line-height: 1.5;
  }

  .shift-left {
    width: 52px;
    line-height: 3;
    font-size: 0.7em;
  }

  .shift-right {
    width: 67px;
    line-height: 3;
    font-size: 0.7em;
  }

  .ctrl {
    width: 47px;
    line-height: 3;
    font-size: 0.7em;
  }

  .modify-keys {
    width: 32px;
    padding-left: 5px;
    line-height: 3;
    font-size: 0.7em;
  }

  .space {
    width: 256px;
  }

  .numeric-nl {
    font-size: 0.5em;
  }

  .numeric-zero {
    width: 75px;
  }
  .numeric-enter1 {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    line-height: 3;
    font-size: 0.6em;
  }

  .numeric-enter2 {
    height: 41px;
    border-top: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    margin-top: 0;
  }

  .key-active {
    color: #eee;
    background-color: red;
    line-height: 2.5;
    padding-left: 12px;
    margin-right: 20px;
  }

  .key-tested {
    color: #eee;
    background-color: green;
    line-height: 2.5;
    padding-left: 12px;
    margin-right: 20px;
  }
}

@media screen and (min-width: 1366px){
  .keyboard {
    width: 1215px;
    margin: 0 auto;
    background-color: #111;
    border-radius: 9px;
    padding: 20px;
    color: #eee;
  }
}

/* .key:hover {
  box-shadow: 0px 0px 10px #14b524;
  z-index: 1000;
} */
