h1,
h2,
h3,
h4,
h5 {
  font-family: 'Ubuntu', 'Trebuchet MS', sans-serif;
}

:root {
  --primary-color: #00bcd4;
  /* A nice cyan */
  --secondary-color: #ff9800;
  /* A complimentary orange for accents */
  --text-color: #333;
  --bg-color: #f4f7f6;
  --card-bg: #ffffff;
  --header-bg: #fff;
  --link-color: #008394;
  --font-main: 'Ubuntu', sans-serif;
  --max-width: 900px;
  --radius: 8px;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 8px 15px rgba(0, 0, 0, 0.15);
}

@media (prefers-color-scheme: dark) {
  :root {
    --text-color: #e0e0e0;
    --bg-color: #121212;
    --card-bg: #1e1e1e;
    --header-bg: #1e1e1e;
    --link-color: #4dd0e1;
  }
}

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

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  font-size: 16px;
  font-family: sans-serif;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background-color: var(--header-bg);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  padding: 20px 0;
  margin-bottom: 40px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

h1 {
  font-size: 2em;
  margin: 0;
}

h1 a {
  text-decoration: none;
  font-weight: bold;
}

.translation {
  color: #aaa;
}

/* Typography */
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--text-color);
  border-bottom: 2px solid var(--primary-color);
  display: inline-block;
  padding-bottom: 5px;
}

p {
  margin-bottom: 15px;
  line-height: 1.4em;
}

a {
  color: #055580;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  text-decoration: underline;
}

/* Sections */
section {
  margin-bottom: 60px;
}

/* Profile */
.profile-header {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  margin-bottom: 30px;
}

.photo {
  border-radius: 50%;
  width: 150px;
  height: 150px;
  object-fit: cover;
  box-shadow: var(--shadow);
  border: 4px solid var(--card-bg);
}

.intro {
  flex: 1;
  color: grey;
}

@media (max-width: 600px) {
  .profile-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}



/* Links Grid */
.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.link-card {
  background-color: var(--card-bg);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  color: var(--text-color);
}

.link-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  text-decoration: none;
  color: var(--text-color);
}

.link-card .icon {
  width: 32px;
  height: 32px;
}

.link-details h3 {
  margin: 0;
  font-size: 1.1rem;
}

.link-details p {
  margin: 5px 0 0;
  font-size: 0.9rem;
  color: #666;
  line-height: 1.2;
}

@media (prefers-color-scheme: dark) {
  .link-details p {
    color: #bbb;
  }
}

/* Footer */
footer {
  text-align: center;
  margin-top: 60px;
  padding: 20px 0;
  color: #888;
  font-size: 0.9em;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}