/** @format */

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', serif;
  color: #fff;
  font-weight: 400;
}

:root {
  --vemelho: #e1002d;
  --vemelho-2: #e01378;
  --cinza: #242424;
  --white: white;
  --amarelo: #ffbb00d5;
  --background-gradient: linear-gradient(90deg, rgba(77, 118, 163, 0.937) 0%, rgb(23, 201, 112) 100%, rgba(35, 70, 112, 1) 100%);
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: relative;
  isolation: isolate;
  background: no-repeat center center/ cover;
  transition: background-image 0.5s ease-in-out, filter 0.5s ease-in-out;
}

body::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--background-gradient);
  z-index: -1;
  transition: background 0.3s ease;
}

.logomarca_oficial {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.logo {
  position: absolute;
  box-sizing: border-box;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  z-index: 9;
  transition: transform 0.5s;
  top: 120px;
  background: url('/bg.png') no-repeat center center / cover;
}

.logo::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background: var(--logo-image) center / cover no-repeat;
  border-radius: 50%;
  z-index: 9;
  box-shadow: 0 0 0 12.26px #ffffff9a;
}

.logo.active {
  animation: rotate 5s linear infinite;
}

.logo.active::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  height: 150%;
  width: 150%;
  background: var(--logo-image) center / cover no-repeat;
  border-radius: 50%;
  filter: blur(35px);
  transform: translate(-50%, -50%) rotate(90deg);
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 110%;
  height: 100%;
  background: var(--trocar, url('/bg.png')) no-repeat center center / cover;
  z-index: -1;
  transition: background-image 0.5s ease-in-out, filter 0.5s ease-in-out;
}

#canvas {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: none;
  border: none;
  z-index: 5;
}

.controls {
  position: absolute;
  width: 100%;
  bottom: 50px;
  transition: width 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-height: 60px;
  z-index: 10;
}

.controle {
  display: flex;
  justify-content: space-around;
  width: 100%;
  max-width: 400px;
  position: relative;
}

@media (max-width: 768px) and (min-width: 481px) {
  .controle {
    max-width: 300px;
  }
  .logo {
    margin-top: 10%;
  }
}

@media (max-width: 360px) {
  .logo {
    margin-top: 10%;
    width: 150px;
    height: 150px;
  }
}

@media (min-width: 361px) and (max-width: 480px) {
  .logo {
    margin-top: 30%;
  }
}

.play-container {
  display: flex;
  justify-content: center;
}

.controle i {
  cursor: pointer;
}

#effectButton {
  transition: color 0.3s ease;
}

#effectButton:hover {
  color: #ffbb00d5;
}

.play-pause-button {
  width: 110px;
  height: 110px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  background: #fdffff77;
  backdrop-filter: blur(17px);
  --webkit-backdrop-filter: blur(17px);
  border-radius: 50%;
  transition: background-color 0.3s ease;
  position: absolute;
  left: 50%;
  top: -60px;
  transform: translateX(-50%);
  z-index: 1000;
  border: 5px solid #ffffffa8;
  transition: background-color 0.5s ease, border 0.5s ease;
}

.play-pause-button:hover {
  background: #fdffffa9;
  border: 5px solid #ffffffd3;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1);
    opacity: 1;
    color: #d2e100;
  }
}

#broadcastIcon {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

#broadcastIcon.active {
  animation: pulse 1s infinite;
}

.aoVivo {
  display: none;
  font-size: 12px;
  margin-top: 5px;
}

#broadcastIcon.active .aoVivo {
  display: block;
}

/* ==============
========= = PLAYER FIM  ========
================= */

.textos {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 99;
}

.digitando {
  display: inline-block;
}

.textos span {
  display: block;
  font-size: 17px;
}

.text {
  position: fixed;
  font-size: 20px;
  font-weight: 600;
  color: rgb(220, 173, 20);
  bottom: 250px;
  z-index: 999;
}

.Inauguracao {
  text-align: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1;
  background-color: #ffffff65;
  color: #000000;
  overflow: hidden;
  white-space: nowrap;
  font-weight: 500;
}

.inauguracao-text {
  display: inline-block;
  position: relative;
  animation: marquee 10s linear infinite;
  white-space: nowrap;
}

@keyframes marquee {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}

.fechar-mensagem {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  color: #fff;
  cursor: pointer;
  background: none;
  border: none;
}

.fechar-mensagem:hover {
  color: #fdcf1c;
}

#mensagemFechada {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 400px;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.952);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

#mensagemFechada::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  border-radius: 12px;
  z-index: -1;
}

#mensagemFechada::after {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  z-index: -1;
}

#mensagemFechada i {
  font-size: 50px;
  color: #fdcf1c;
}

.mensagem-atendimento {
  color: #fff;
  text-align: center;
  font-size: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 20px;
  border-radius: 12px;
  box-sizing: border-box;
  position: relative;
}

.mensagem-atendimento p {
  margin-bottom: 20px;
  line-height: 1.6;
}

.mensagem-atendimento button {
  display: block;
  margin: 0 auto;
  background-color: #25d366;
  color: #0a0a0a;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.mensagem-atendimento button:hover {
  background-color: #c49d03ef;
  transform: scale(1.05);
}

.mensagem-atendimento button:focus {
  outline: none;
  box-shadow: 0 0 0 3px #26c47180;
}

/* Estilos para a mensagem de bloqueio */
.proibido-mensagem {
  position: fixed;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  backdrop-filter: blur(17px);
  --webkit-backdrop-filter: blur(17px);
  border: 1px solid rgba(255, 255, 255, 0.219);
  color: #fff;
  padding: 20px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  z-index: 1000;
  display: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  animation: fadeOut 3s forwards;
}

/* Animação para sumir após 3 segundos */
@keyframes fadeOut {
  0% {
    opacity: 1;
  }

  80% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

.refresh-icon {
  position: fixed;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  transition: top 0.3s ease, width 0.3s ease, height 0.3s ease;
  z-index: 99;
  width: 0px;
  height: 0px;
  border-radius: 50px;
  background-color: #fdcf1c;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2px;
}

.refresh-icon.visible {
  top: 20px;
  width: 60px;
  height: 60px;
}

/* Estilos básicos para o modal */
.modalTool {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
}

.modalTool {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
}

/* Conteúdo do modal */

.modal-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background: rgb(37, 37, 37);
  border: 1px solid rgba(255, 255, 255, 0.219);
  padding-top: 20px;
  width: 100%;
  height: 100%;
  text-align: center;
  position: relative;
  transition: transform 0.9s ease, opacity 0.9s ease;
  transform: translateX(0);
}

.hide-modal {
  transform: translateX(-100%);
  opacity: 0;
}

/* Botão de fechamento */

.modal-content .close {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #c5c5c5;
  font-size: 30px;
  position: absolute;
  top: 20px;
  left: 20px;
  cursor: pointer;
  z-index: 999;
}

.modal-content .close,
.modal-content span {
  transition: color 0.3s ease;
}

.modal-content .close:hover,
.modal-content span:hover {
  color: #ffbb00;
}

.modal-content .close span {
  font-size: 15px;
}

.imagem-container {
  position: relative;
  width: 200px;
  height: 400px;
  border-radius: 30px;
  border: 10px solid #fffffffa;
  isolation: isolate;
  margin-bottom: 15px;
}

.imagem-container::before {
  content: '';
  position: absolute;
  width: 50px;
  height: 10px;
  background-color: #ffffff5d;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50px;
}

.modal-content .icon-i3-promessa-fm {
  position: fixed;
  font-size: 80px;
  color: #ffbb00;
  z-index: 999;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.mac {
  position: absolute;
  width: 25px;
  height: 25px;
  background-color: #ffffff5d;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
}

.button {
  position: relative;
}

.buttom-left::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 50px;
  background-color: #ffffff;
  top: 50px;
  left: -9px;
  transform: translateX(-50%);
  border-radius: 15px;
  z-index: -2;
}

.buttom-right::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 50px;
  background-color: #ffffff;
  top: 50px;
  right: -18px;
  transform: translateX(-50%);
  border-radius: 15px;
  z-index: -2;
}

.buttom-right::before {
  content: '';
  position: absolute;
  width: 10px;
  height: 50px;
  background-color: #ffffff;
  top: 110px;
  right: -18px;
  transform: translateX(-50%);
  border-radius: 15px;
  z-index: -2;
}

.imagem-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--background-gradient);
  z-index: -1;
}

/* Estilo das divs coloridas */
.color-box {
  width: 40px;
  height: 40px;
  margin: 5px;
  display: inline-block;
  cursor: pointer;
  border-radius: 8px;
}

.open-modal-btn.active {
  background: linear-gradient(to right, #ffbb00, #ffcf4b);
  box-shadow: 0.1px 8px 8px 2px #00000033 inset, 0.1px 8px 8px 2px rgba(0, 0, 0, 0.2);
}

.nossoSite {
  position: fixed;
  left: 10px;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  color: #fff;
  font-size: 15px;
  letter-spacing: 2px;
  text-decoration: none;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
  transition: color 0.3s ease;
}

.nossoSite:hover {
  color: var(--amarelo);
}
