* {
  font-family: Arial, Helvetica, sans-serif;
  color: white;
}

body {
  margin: 0;
  padding: 0;
  /* background-color: #1A1A1A; */
  background-color: #0e0e0e;
  /* padding-bottom: 50px; */
}

#matrix {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

h1 {
  text-align: center;
}

#header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: start; /* distribui logo e botão */
  margin-bottom: 15px;
  gap: 25px;
}

#header img {
  margin-top: 15px;
  margin-left: 15px;
  width: 175px;
}

main {
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}

.iframe-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* Dimensões responsivas com limites */
  width: 90%;
  height: 75vh; /* Ocupa 85% da altura da tela para deixar margem */

  /* Efeito Visual "Matrix" */
  border: 2px solid #00ff41; /* Borda verde neon vibrante */
  border-radius: 12px;
  overflow: hidden; /* Garante que o iframe não vaze as bordas arredondadas */

  /* Sombra e Efeito Glow */
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.4),
    /* Sombra interna sutil */ 0 0 60px rgba(0, 255, 65, 0.15); /* Efeito de brilho externo (Glow) */
  background-color: black;
  margin: 5px;
  transition: all 0.3s ease-in-out;
}

/* Efeito de destaque ao passar o mouse */
.iframe-wrapper:hover {
  box-shadow: 0 0 30px rgba(0, 255, 65, 0.6), 0 0 80px rgba(0, 255, 65, 0.3);
}

.iframe-content {
  width: 100%;
  position: relative; /* necessário para posicionamento absoluto dos filhos */
  height: 80px; /* ou o que você quiser */
  display: flex;
  align-items: center;
  justify-content: center; /* centraliza o h2 no meio da div */
  background-color: #0e0e0e; /* fundo opcional */
}

.iframe-content h2 {
  position: absolute;
  left: 50%;
  transform: translateX(-50%); /* centraliza horizontalmente */
  color: #00ff41;
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.4);
  margin: 0;
}

.iframe-content a {
  position: absolute;
  right: 15px; /* distância da borda direita */
  padding: 10px;
  background-color: #00ff41;
  border-radius: 5px;
  color: black;
  text-decoration: none;
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.4);
}

/* ---------------------------------- */
/* 3. Estilização do Iframe Interno   */
/* ---------------------------------- */

.iframe-wrapper iframe {
  border-radius: 5px;
  width: 100%;
  height: 100%;
  border: none; /* Remove a borda padrão do iframe */
  display: block;
}

@media (max-width: 768px) {
  #header {
    gap: 10px;
    align-items: center;
    justify-content: space-evenly;
    font-size: 0.7rem;
  }

  #header img {
    width: 125px;
  }

  main {
    flex-direction: column;
  }

  .iframe-wrapper {
    height: 50vh;
  }
}
