/* =========================
   BASE
========================= */

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #eee;
  color: #222;
}

/* =========================
   HEADER
========================= */

header {
  text-align: center;
  padding: 70px 20px 50px 20px;
}

h1 {
  font-size: 2.4rem;
  letter-spacing: 0.02em;
  margin: 6px 0 10px 0;
  color: #0a4678;
  font-weight: 600;
}

.tagline {
  margin-top: 6px;
  color: #666;
  font-size: 1.1rem;
}

/* =========================
   LANGUAGE BAR
========================= */

.language-bar {
  background: #0a4678;
  color: #fff;
  font-size: 0.85rem;
}

.language-inner {
  max-width: 760px;
  margin: auto;
  padding: 6px 20px;
  text-align: right;
}

.language-inner a {
  color: #fff;
  text-decoration: none;
  margin-left: 10px;
  font-weight: 500;
}

.language-inner a:hover {
  text-decoration: underline;
}

/* =========================
   MAIN LAYOUT
========================= */

main {
  max-width: 760px;
  margin: auto;
  padding: 20px;
}

section {
  max-width: 720px;
  margin: 60px auto;
  padding: 0 20px;
}

.about,
.projects {
  text-align: justify;
  hyphens: manual;
  margin-bottom: 60px;
}


/* =========================
   LISTS
========================= */

ul, ol {
  padding-left: 1.2em;
}

li {
  text-align: left;
  list-style-position: outside;
}

/* =========================
   HEADINGS
========================= */

.about h2,
.projects h2 {
  margin-bottom: 18px;
  color: #0a4678;
}

.about p,
.projects p {
  letter-spacing: -0.02em;
  line-height: 1.7;
  margin: 0 0 16px 0;
  color: #333;
}

/* =========================
   LINKS / BUTTONS
========================= */

.links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 720px;
  margin: 40px auto;
}

.links a {
  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 42px;
  padding: 10px 16px;
  box-sizing: border-box;
  width: 100%;

  text-decoration: none;
  text-align: center;
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.3;

  background: #ddd;
  color: #0a4678;
  border: 1px solid #0a4678;
  border-radius: 8px;
}

.links a:hover {
  background: #0a4678;
  color: #fff;
}

@media (min-width: 700px) {
  .links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* =========================
   INLINE LINKS
========================= */

.about a,
.projects a,
footer a {
  color: #444;
  text-decoration: underline;
  text-decoration-color: rgba(10, 70, 120, 0.35);
  text-underline-offset: 2px;
}

.about a:hover,
.projects a:hover,
footer a:hover {
  color: #0a4678;
  text-decoration-color: rgba(10, 70, 120, 0.8);
}

/* =========================
   FOOTER
========================= */

.identifiers {
  margin-top: 14px;
  font-size: 0.85rem;
  color: #555;
}

footer {
  text-align: center;
  padding: 30px;
  color: #666;
}