:root{
  /* cores e pá */
  --background: #0b0f1a;
  --texto: #c9d1d9;
  --muted: #8a8a8a;

  --link: #7e22ce;
  --link-atual: #ffffff;
  --link-atual-bg: #7e22ce;
  --link-hover: #e879f9;

  /* configs */
  --container-width: 900px;
  --min-height: 100vh;
}

body{
  background-color: var(--background);
  color: var(--texto);
  font-family: Consolas, monospace;
  font-size: 1.2em;
  justify-content: center;
  text-align: center;
  width: var(--container-width);
  margin: 0 auto;
  min-height: var(--min-height);
}

header {
  cursor: default;
  justify-content: center;
  text-align: center;
  padding: 10px 0;
}

footer {
  cursor: default;
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  border-top: 2px solid var(--muted);
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover{
  background: var(--link-atual-bg);
  color: var(--link-atual);
}

nav {
  font-size: 1.2em;
  text-align: center;
  margin: 0 10px;
  text-decoration: none;
}

nav a{
  padding: 0 10px;
}

nav a.active {
  cursor: default;
  font-weight: bold;
  background-color: var(--link);
  color: var(--link-atual);
}

p {
  text-align: justify;
}

h2 {
  font-size: 1.2em;
  font-weight: 800;
  margin: 20px 0;
  letter-spacing: 0.5px;
  
}

h3 {
  font-size: 24px;
  font-weight: 700;
  margin: 15px 0;
  letter-spacing: 0.4px;
}

.foto-eu {
  float: left;
  width: 200px;
  max-width: 40%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 8%;
  border: 0px solid #ccc;
  margin: 0 20px 10px 0;
} 

.foto-construindo {
  width: 300px;
  max-width: 60%;
  aspect-ratio: auto;
  object-fit: cover;
  border: 0px solid #ccc;
  margin: 20px auto;
  display: block;
}

.textinho {
  font-size: 0.9em;
  font-style: italic;
  text-align: center;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--muted);
}

.banner-container{
  display: flex;
  justify-content: center;
  overflow-x: auto;
  padding: 8px 0;
}

.banner{
  padding: 40px 0;
  display: inline-block;
  margin: 0;
  white-space: pre;                                      
  font-size: clamp(12px, 1.4vw, 18px);
}

.artigo {
  padding: 5px 20px;
}

.autores {
  font-style: italic;
  font-size: 0.9em;
}

.titulo {
  font-weight: bold;
  font-size: 1.1em;
}

.periodico, .evento, .ano {
  font-size: 0.9em;
  font-weight: bold;
}

::selection {
  color: var(--background);
  background: var(--link);
}


@media (max-width: 1000px) {
  body {
      width: 90%;
  }
}

/* === remover barra de rolagem (mas manter scroll funcional) === */

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
  width: 0;
  height: 0;
}

/* Firefox */
html, body {
  scrollbar-width: none;
  -ms-overflow-style: none; /* para IE e Edge antigo */
}