/* Estilo principal */
body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  background-color: #000000;
  font-family: 'Arial', sans-serif;
}

.container {
  display: flex;
  align-items: center;
  background: linear-gradient(145deg, #ec00cc18, #0000003d);
  border-radius: 15px;
  padding: 20px;
  width: 800px;
  position: relative;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
}

.image-container {
  margin-right: 50px;
}

img {
  max-width: 200px;
  height: auto;
  border-radius: 15px;
}

.content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.message {
  color: #ffffff;
  font-weight: bold;
  margin-bottom: 10px;
  font-family: "Amita", serif;
  font-weight: 500;
  font-style: normal;
}

.keypad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.keypad button {
  font-size: 20px;
  padding: 15px;
  cursor: pointer;
  background-color: #c20389d7;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(240, 240, 240, 0.705);
}

.error-message {
  color: red;
  margin-top: 10px;
  font-weight: bold;
  display: none;
}

#password {
  margin-bottom: 10px;
  font-size: 18px;
  text-align: center;
  padding: 10px;
  width: 60%;
  max-width: 250px;
  border: 2px solid #ffffffda;
  border-radius: 8px;
  background-color: #c9008d15;
}

#search-container {
  text-align: center;
  color: rgba(255, 255, 255, 0.171);
  display: none;
}

.search-box {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ffffff21;
  border-radius: 25px;
  padding: 10px 20px;
  width: 60%;
  max-width: 400px;
  margin: 0 auto;
}

#search-bar, #final-search-bar {
  width: 90%;
  border: none;
  padding: 10px;
  font-size: 18px;
  border-radius: 25px;
  background-color: #0a0a0a7e;
  color: #ffffff;
  text-align: center;
  font-family: 'Arial', sans-serif;
}

#search-button {
  background: transparent;
  border: none;
  cursor: pointer;
}

#search-icon {
  width: 30px;
  height: auto;
}

.icon-button:hover {
  transform: scale(1.08);
}

.final-container {
  text-align: center;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.image-links {
  display: flex;
  justify-content: space-around;
  margin-top: 30px;
}

.image-links a {
  padding: 10px;
}

.image-links img {
  transition: transform 0.2s ease-in-out;
}

.image-links img:hover {
  transform: scale(1.2);
}

#bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

#jack {
  position: absolute;
  top: 110px;
  left: 18%;
  transform: translateX(-50%);
  width: 800px;
  height: auto;
  backdrop-filter: blur(15px);
}

/* Janela de texto, álbum e texto com imagem */
.window {
  display: none;
  background: linear-gradient(145deg, #ec00d818, #0000003d);
  border-radius: 15px;
  padding: 20px;
  width: 800px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 800px;
  font-size: 18px;
  color: #ffffff;
  text-shadow: 0 0 5px rgb(0, 0, 0), 0 0 10px rgb(0, 0, 0);
  animation: glow 2s ease-in-out infinite alternate;
}



/* Novo estilo para o botão Voltar */
button {
  font-size: 18px;
  background-color: #ec00a5;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

button:hover {
  background-color: #ca00d1;
  transform: scale(1.1);
}

.album-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  text-align: center;
}

.album-grid img {
  width: 100%;
  border-radius: 10px;
}

.album-title {
  grid-column: span 3;
  font-weight: bold;
  font-size: 24px;
  margin-bottom: 20px;
}

.text-window, .album-window, .text-with-image-window {
  display: none;
}

.text-window p, .album-window p, .text-with-image-window p {
  font-size: 20px;
  margin: 20px 0;
}

.text-with-image-window img {
  max-width: 200px;
  margin-left: 20px;
}

.text-with-image-window {
  display: flex;
  align-items: center;
}

/* Espaçamento entre as imagens no contêiner final */
.image-links {
  display: flex;
  justify-content: space-around;
  margin-top: 30px;
}

.image-links a {
  padding: 10px;
}

.image-links img {
  transition: transform 0.2s ease-in-out;
}

.image-links img:hover {
  transform: scale(1.2);
}


/* Remover botão de fechar */
.window .close-btn {
  display: none;
}

/* Centralização e ajustes da lista */
.page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; /* Alinha os itens ao topo */
  text-align: center;
  margin: 0 auto;
  padding: 20px;
  width: 100%; /* Garante que o conteúdo se adapte à largura da tela */
  max-width: 800px; /* Limita a largura máxima */
  overflow-y: auto; /* Permite rolar a lista se for muito grande */
  height: 70vh; /* Garante que a altura do contêiner ocupe toda a tela */
  box-sizing: border-box; /* Inclui o padding na contagem do tamanho total */
}

/* Ajuste nos itens da lista */
.page p {
  margin: 0 auto;
  font-size: 18px; /* Ajusta o tamanho da fonte */
  color: #ffffff;
  line-height: 1.5; /* Melhora a legibilidade */
  word-wrap: break-word; /* Garante que o texto não ultrapasse os limites */
}

/* Garantir que a lista não fique fora da tela */
.page::-webkit-scrollbar {
  width: 5px; /* Largura da barra de rolagem */
}

.page::-webkit-scrollbar-thumb {
  background: #e400ec; /* Cor da barra de rolagem */
  border-radius: 10px;
}

button#next-page-btn {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #c500ec;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

button#next-page-btn:hover {
  background-color: #d100d1;
  transform: scale(1.1);
}
 
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #000;
  overflow: hidden;
  height: 100vh;
}

#particle-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* Para as partículas não interferirem nos cliques */
}

.particle {
  position: absolute;
  border-radius: 50%;
  background-color: rgba(236, 0, 185, 0.8);
  box-shadow: 0 0 5px rgb(133, 0, 122), 0 0 10px rgba(255, 255, 255, 0.5);
  animation: fly 6s linear infinite, shine 1.5s alternate infinite;
}

@keyframes fly {
  0% {
      transform: translate(0, 0);
      opacity: 0.8;
  }
  100% {
      transform: translate(var(--x), var(--y));
      opacity: 0;
  }
}

@keyframes shine {
  0% {
      box-shadow: 0 0 5px rgba(255, 255, 255, 0.6), 0 0 10px rgba(255, 255, 255, 0.5);
  }
  100% {
      box-shadow: 0 0 15px rgba(255, 255, 255, 0.8), 0 0 30px rgba(255, 255, 255, 0.6);
  }
}
/* Estilo geral da página */
body {
  margin: 0;
  padding: 0;
  background-color: #000;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Contêiner fixo no canto superior esquerdo para controles */
.controls-container {
  position: fixed;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  animation: pulse 3s infinite; /* Aplica o efeito de movimento */
}

/* Contêiner de Botões e Imagem */
.controls {
  display: flex;
  align-items: center;
  gap: 15px;
  animation: pulse 3s infinite; /* Aplica o efeito de movimento */
}

/* Estilo para os botões com classe 'petiti' */
.petiti {
  font-size: 10px; /* Diminui o tamanho da fonte */
  background-color: #ec00a5;
  color: #fff;
  padding: 15px 20px; /* Menos padding para diminuir o tamanho */
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
  width: 30px; /* Diminui a largura dos botões */
  animation: pulse 3s infinite; /* Aplica o efeito de movimento */
}

.petiti:hover {
  background-color: #ca00d1;
  transform: scale(1.1);
  animation: pulse 3s infinite; /* Aplica o efeito de movimento */
}

.pepe img {
  width: 80px; /* Diminui o tamanho da imagem */
  height: 80px; /* Diminui a altura da imagem */
  border-radius: 8px;
  box-shadow: 0 0 8px 2px #fd00b1; /* Efeito de glow */
  animation: pulse 3s infinite; /* Aplica o efeito de movimento */
}



/* Barra de Progresso */
.progress-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  width: 100%;
  animation: pulse 3s infinite; /* Aplica o efeito de movimento */
}

@keyframes pulse {
  0% {
      transform: scale(1);
  }
  50% {
      transform: scale(1.03);
  }
  100% {
      transform: scale(1);
  }
}

#progress-bar {
  width: 320px; /* Diminui o tamanho da barra de progresso */
  height: 4px;
  background-color: #ddd;
  border-radius: 5px;
  appearance: none;
  cursor: pointer;
  box-shadow: 0 0 8px 2px #fa7ad3b2; /* Efeito de glow */
  animation: pulse 3s infinite; /* Aplica o efeito de movimento */
}

#progress-bar::-webkit-slider-thumb {
  width: 16px; /* Diminui o tamanho do controle da barra */
  height: 16px;
  border-radius: 50%;
  background-color: #ec00a5;
  appearance: none;
  cursor: pointer;
  box-shadow: 0 0 8px 2px #fa7ad3b2; /* Efeito de glow */
  animation: pulse 3s infinite; /* Aplica o efeito de movimento */
}

#progress-bar::-moz-range-thumb {
  width: 16px; /* Diminui o tamanho do controle da barra */
  height: 16px;
  border-radius: 50%;
  background-color: #ec00a5;
  cursor: pointer;
  box-shadow: 0 0 8px 2px #fa7ad3b2; /* Efeito de glow */
  animation: pulse 3s infinite; /* Aplica o efeito de movimento */
}

