/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #fff;
  background: #09090a; /* Dark navy blue */
}

header {
  background: #09090a;
  color: #fff;
  padding: 1rem 0;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  font-family: 'Courier New', monospace;
  font-size: 1.5rem;
  font-weight: bold;
  color: #ffd700; /* Gold/yellow */
  max-width: 100%; /* Garante que não ultrapasse a largura da tela */
  overflow-wrap: break-word; /* Quebra palavras longas */
  white-space: normal; /* Permite que o texto quebre em várias linhas */
}

.nav-links {
  list-style: none;
  display: flex;
}

.nav-links li {
  margin-left: 20px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  transition: transform 0.3s, color 0.3s;
}

.nav-links a:hover {
  color: #ffd700; /* Gold/yellow */
  transform: translateY(-3px); /* Lift effect */
}

.hero {
  background: linear-gradient(to bottom, #000428, #1a1a2e); /* Dark gradient */
  color: #fff;
  height: 40vh; /* Altura reduzida */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero h1 {
  font-family: 'Orbitron', sans-serif; /* Futuristic font */
  font-size: 2.5rem; /* Smaller font size */
  margin-bottom: 10px;
  color: #ffd700; /* Gold/yellow */
}

.hero p {
  font-size: 1rem; /* Smaller font size */
  margin-bottom: 20px;
}

.about, .certifications, .links {
  padding: 50px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.5rem; /* Tamanho reduzido */
  font-family: 'Orbitron', sans-serif; /* Futuristic font */
  color: #ffd700; /* Gold/yellow */
}

.terminal {
  background: #1a1a2e; /* Dark navy blue */
  padding: 20px;
  border: 1px solid #ffd700; /* Gold/yellow border */
  border-radius: 5px;
  font-family: 'Courier New', monospace;
  color: #00ff00; /* Green text for terminal effect */
  margin-top: 20px;
  font-size: 0.9rem; /* Tamanho da fonte reduzido */
  max-width: 100%; /* Garante que não ultrapasse a largura da tela */
  overflow-wrap: break-word; /* Quebra palavras longas */
  white-space: normal; /* Permite que o texto quebre em várias linhas */
}

.certificate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.certifications {
  padding: 30px 20px; /* Reduzir o padding geral */
  max-width: 1200px;
  margin: 0 auto;
}

.certificate-list {
  list-style-type: disc; /* Adiciona bolinhas aos itens da lista */
  padding-left: 20px; /* Espaço para as bolinhas */
}

.certificate-item {
  margin-bottom: 10px; /* Espaço entre os itens */
}

.certificate-item h3 {
  font-size: 1rem; /* Tamanho da fonte reduzido */
  color: #00ff00; /* Gold/yellow */
  font-family: 'Courier New', monospace;
  margin-bottom: 5px; /* Espaço abaixo do título */
}

.certificate-item p {
  font-size: 0.8rem; /* Tamanho da fonte reduzido */
  color: #ccc; /* Cor de texto mais suave */
}

.links-container {
  display: flex;
  justify-content: center;
  gap: 10px; /* Espaçamento reduzido */
}

.links-container a {
  color: #ffd700; /* Gold/yellow */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s, transform 0.3s;
}

.links-container a:hover {
  color: #fff;
  transform: translateY(-3px); /* Lift effect */
}

footer {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 50px 0;
  margin-top: 10px;
  font-size: 0.9rem; /* Tamanho da fonte reduzido */
}

/* Media Queries para dispositivos móveis */
@media (max-width: 768px) {
  .logo {
    font-size: 1.2rem; /* Tamanho menor para mobile */
  }

  .hero h1 {
    font-size: 2rem; /* Tamanho menor para mobile */
  }

  .hero p {
    font-size: 0.9rem; /* Tamanho menor para mobile */
  }

  h2 {
    font-size: 1.2rem; /* Tamanho menor para mobile */
  }

  .terminal {
    font-size: 0.8rem; /* Tamanho menor para mobile */
    padding: 15px; /* Espaçamento menor para mobile */
  }

  .certificate-item h3 {
    font-size: 0.9rem; /* Tamanho menor para mobile */
  }

  .certificate-item p {
    font-size: 0.7rem; /* Tamanho menor para mobile */
  }

  .links-container {
    flex-direction: column; /* Links em coluna para mobile */
    gap: 5px; /* Espaçamento menor para mobile */
  }

  footer {
    padding: 30px 0; /* Espaçamento menor para mobile */
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1rem; /* Tamanho menor para mobile */
  }

  .hero h1 {
    font-size: 1.5rem; /* Tamanho menor para mobile */
  }

  .hero p {
    font-size: 0.8rem; /* Tamanho menor para mobile */
  }

  h2 {
    font-size: 1rem; /* Tamanho menor para mobile */
  }

  .terminal {
    font-size: 0.7rem; /* Tamanho menor para mobile */
    padding: 10px; /* Espaçamento menor para mobile */
  }

  .certificate-item h3 {
    font-size: 0.8rem; /* Tamanho menor para mobile */
  }

  .certificate-item p {
    font-size: 0.6rem; /* Tamanho menor para mobile */
  }

  .links-container a {
    font-size: 0.9rem; /* Tamanho menor para mobile */
  }

  footer {
    font-size: 0.8rem; /* Tamanho menor para mobile */
  }
}