/* Font import */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&family=Space+Mono:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inconsolata:wght@400;700&display=swap');

:root {
  --text-color: #e6e6e6;
  --bg-color: #181824;
  --accent-color: #00bfff;      /* Azul neon para destaque */
  --muted-color: #7a7a8c;
  --border-color: #3ec6e0;      /* Azul claro para detalhes */
  --link-hover: #7fd7ff;        /* Azul neon mais claro para hover */
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inconsolata', monospace;
  font-size: 18px;
  line-height: 1.5;
  color: var(--text-color);
  background-color: var(--bg-color);
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

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

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

/* Language toggle */
.language-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: var(--accent-color);
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Inconsolata', monospace;
  font-weight: bold;
  z-index: 100;
}

.language-toggle[data-lang="en"]::after {
  content: 'EN';
}
.language-toggle[data-lang="pt-BR"]::after {
  content: 'PT-BR';
}

/* Layout */
.container {
  display: flex;
  flex-direction: row-reverse;
  gap: 40px;
  margin-top: 20px;
}

.main-content {
  flex: 1;
}

.sidebar {
  width: 250px;
  position: sticky;
  top: 20px;
  align-self: flex-start;
}

/* Only display the Portuguese content by default */
.content[lang="en"] {
  display: none;
}
.content[lang="pt-BR"] {
  display: block;
}

/* Header styles */
.header {
  margin-bottom: 30px;
}

h1 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 10px;
}

.subtitle {
  font-size: 20px;
  color: var(--text-color);
}

/* Bio section */
.bio {
  margin-bottom: 30px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 30px;
}

/* Career section */
.career h2 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}

.career-item {
  margin-bottom: 30px;
}

.career-item h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

/* Sidebar styles */
.profile-img {
  margin-bottom: 20px;
}

.profile-img img {
  width: 100%;
  border-radius: 50%;
}

.contact {
  margin-bottom: 25px;
}

.email-link {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 16px;
}

.icon {
  font-size: 20px;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.social-links a {
  display: block;
  font-size: 16px;
}

/* Footer */
.footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  font-size: 16px;
  color: var(--muted-color);
}

/* Responsive design */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    margin-bottom: 30px;
    position: static;
  }

  .profile-img img {
    width: 200px;
    margin: 0 auto;
    display: block;
  }

  .social-links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
  }

  .social-links a {
    margin-right: 10px;
  }

  .language-toggle {
    position: absolute;
  }
}

@media (max-width: 480px) {
  body {
    padding: 15px;
    font-size: 16px;
  }

  h1 {
    font-size: 28px;
  }

  .subtitle {
    font-size: 18px;
  }
}