* {
  box-sizing: border-box;
}

:root {
  --cor1: #001542;
  --cor2: #085454;
  --cor3: #7A7A7A;
  --cor4: #FFFFFF;
  --cor5: #FFB30D;

  --fonte-padrao: 'Open Sans', 'Roboto', sans-serif;
  --fonte-destaque: 'Montserrat', sans-serif ,'Poppins', sans-serif, Arial;
}

.modal-regras {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.857);
}

.modal-regras-conteudo{
  background-color: rgb(27, 27, 27);
  margin: auto;
  margin-top: 250px;
  padding: 10px;
  width: 90%;
  height: auto;
  max-width: 500px;
  border-radius: 10px;
  font-family: sans-serif;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
  animation: aparecer .4s ease-out;
  max-height: 80vh;             /* Limita a altura visível */
  overflow-y: auto; /* Ativa rolagem vertical */
  animation-name: radio2;
  animation-duration: 8s;
  animation-iteration-count: infinite;
  animation-direction: alternate-reverse;
}

.revisao, .revisao2, .revisao3, .revisao4, .revisao5, .revisao6, .revisao7, .revisao8, .revisao9 {
  display: flex;
  margin: auto;
  margin-bottom: 20px;
  padding: 10px 30px;
  background-color: var(--cor1);
  color: #fff;
  border-radius: 5px;
  animation-name: radio;
  animation-duration: 8s;
  animation-iteration-count: infinite;
  animation-direction: alternate-reverse;
}

.revisao:hover, .revisao2:hover, .revisao3:hover, .revisao4:hover, .revisao5:hover, .revisao6:hover, .revisao7:hover, .revisao8:hover, .revisao9:hover {
  opacity: 0.9;
  cursor: pointer;
}

#revisar #tempoAtual, #revisar2 #tempoAtual2 {
  background-color: #2c2c2c;
  font-size: 18px;
  margin: 0;
  border-radius: 0px 0px 5px 5px;
}

.fechar {
  float: right;
  padding-right: 5px;
  font-size: 27px;
  font-weight: bold;
  cursor: pointer;
  color: #666;
}

#revisar {
  display: block;
  position: relative;
  width: 100%;
  margin: 10px auto;
}

#revisar p {
  margin-top: 30px;
  font-family: var(--fonte-padrao);
  font-weight: 600;
  text-align: center;
  padding: 10px;
  background-color: #085454;
  border-radius: 5px 5px 0px 0px;
  color: #ccc;
}

#revisar audio {
  width: 100%;
  margin: 10px 0;
}

#nomeMusic {
  background-color: black;
  color: #00FF00;
  font-family: 'Courier New', Courier, monospace;
  font-size: 18px;
  padding: 5px 10px;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  height: 24px; /* garante altura fixa */
  width: 100%;  /* ou defina um valor como 250px */
  box-sizing: border-box;
}

#nomeMusic::before {
  content: attr(data-text);
  position: absolute;
  white-space: nowrap;
  animation: scrollTexto 22s linear infinite;
  left: 100%;
}

@keyframes scrollTexto {
  0% {
    transform: translateX(280%);
  }
  100% {
    transform: translateX(-110%);
  }
}


#backMusic {
  max-width: 700px; 
  margin: auto;
  padding: 40px 0;
  overflow: hidden;
  background-color: black;
}

@media screen and (max-width: 400px) {
  #btnsR {
    width: 100%;
  }
}

/*=========== EFEITOS =============*/

@keyframes radio {
  0% {box-shadow: 4px 4px 5px #001542;}
  25% {box-shadow: 4px 4px 5px #085454;}
  50% {box-shadow: 4px 4px 5px #7A7A7A;}
  75% {box-shadow: 4px 4px 5px #f5ce7a;}
  100% {box-shadow: 4px 4px 5px #FFB30D;}
}

@keyframes radio2 {
  0% {box-shadow: 1px 1px 15px #fff;}
  25% {box-shadow: 1px 1px 15px #085454;}
  50% {box-shadow: 1px 1px 15px blue;}
  75% {box-shadow: 1px 1px 15px orange;}
  100% {box-shadow: 1px 1px 15px yellow;}
}

#btnsR {
  display: flex;
  margin: auto;
  justify-content: center;
}

#btnsR button {
  width: 60px;
  height: 60px;
  margin: 10px;
  border: none;
  border-radius: 10px;
  background-color: #1e90ff; /* Ciano forte */
  box-shadow: 0 0 12px #1e90ff, inset 0 0 4px #00f8ff;
  font-size: 24px;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}

#btnsR button:hover {
  box-shadow: 0 0 25px #1e90ff, inset 0 0 10px #1e90ff;
  transform: scale(1.1);
  cursor: pointer;
}

#btnsR button:active {
  box-shadow: 0 0 8px #1e90ff;
  transform: scale(0.95);
}

