@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}

html {
  box-sizing: border-box;
  line-height: 1.5;
  font-family: "Roboto", sans-serif;

  --text-color-normal: hsl(210, 10%, 72%);
  --text-color-richer: #fff;
  --text-color-highlight: #fff;
  --bg-color: #1a1a1a;
  --accent-blue: #7ab0d4;
  --accent-gold: #c8a84b;
  --border-color: #2e2e2e;
}

@media only screen and (min-width: 0px) {
  html { font-size: 14px; }
}
@media only screen and (min-width: 992px) {
  html { font-size: 14.5px; }
}
@media only screen and (min-width: 1200px) {
  html { font-size: 15px; }
}

@media (prefers-color-scheme: dark) {
  html {
    color: var(--text-color-normal);
  }
}

body {
  background-color: var(--bg-color);
  color: var(--text-color-normal);
  padding: 0;
  min-height: 100vh;
  width: 100%;
}

li, p {
  line-height: 1.8rem;
  font-weight: 300;
  text-align: justify;
}

/* ── LAYOUT ── */
.container_main {
  max-width: 820px;
  width: 100%;
  margin: 60px auto 80px auto;
  padding: 0 24px;
}

.header {
  text-align: center;
  margin-bottom: 32px;
}

.my_pic {
  width: 160px;
  height: 160px;
  margin: 0 auto 20px auto;
}

.pic_header {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 2px solid #3a3a3a;
}

.header h2 {
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--text-color-richer);
  letter-spacing: 0.01em;
}

.lang-btn {
  display: inline-block;
  margin-top: 16px;
  padding: 6px 16px;
  background: transparent;
  border: 1px solid #555;
  color: var(--text-color-normal);
  font-family: "Roboto", sans-serif;
  font-size: 0.82rem;
  font-weight: 300;
  cursor: pointer;
  border-radius: 3px;
  transition: border-color 0.2s, color 0.2s;
  letter-spacing: 0.06em;
}

.lang-btn:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.header-links {
  margin-top: 10px;
  font-size: 0.88rem;
  font-weight: 300;
}

.header-link {
  color: var(--text-color-normal);
  text-decoration: none;
  transition: color 0.15s;
}

.header-link:hover {
  color: var(--accent-gold);
  text-decoration: none;
}

.header-sep {
  margin: 0 8px;
  color: #444;
}

.about_me h2,
.Projects h1,
.Carrer h1,
.Academic h1,
.Curiosity h1,
.Curriculum h1 {
  font-size: 1.55rem;
  font-weight: 400;
  color: var(--text-color-richer);
  margin-top: 44px;
  margin-bottom: 16px;
}

/* ── LINKS ── */
a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: color 0.15s;
}

a:hover {
  color: var(--accent-gold);
  text-decoration: underline;
}

/* ── PROJECTS ── */
.project-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-top: 1px solid var(--border-color);
  padding: 14px 0 10px 0;
  gap: 16px;
}

.project-item:last-child {
  border-bottom: 1px solid var(--border-color);
}

.project-left {
  flex: 1;
}

.project-name {
  color: var(--accent-blue);
  font-size: 0.95rem;
  font-weight: 400;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.project-name::before {
  content: "•";
  color: #555;
}

.project-desc {
  color: var(--text-color-normal);
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.8rem;
  text-align: justify;
  margin: 0;
}

.project-status {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--accent-gold);
  white-space: nowrap;
  padding-top: 2px;
  min-width: 60px;
  text-align: right;
}

/* ── CAREER & ACADEMIC LISTS ── */
.Carrer ul,
.Academic ul,
.Curiosity ul {
  list-style: disc;
  padding-left: 20px;
}

.pic_criptainha {
  max-width: 320px;
  margin: 10px 0 14px 20px;
  border-radius: 4px;
  opacity: 0.85;
}

/* ── LANG TOGGLE ── */
[data-lang] {
  display: none;
}

[data-lang].active {
  display: block;
}
