/* Space-themed CSS with white, grey, silver palette */
body {
  background-color: #f5f5f5;
  color: #333333;
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  background-image: url('https://images.unsplash.com/photo-1462331940025-496dfbfc7564?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
}

header {
  background: rgba(192, 192, 192, 0.8);
  padding: 50px 20px 30px;
  text-align: center;
  border-bottom: 2px solid #c0c0c0;
  position: relative;
}

header h1 {
  font-size: 3em;
  margin: 0;
  text-shadow: 0 0 10px #ffffff;
}

header h2 {
  margin-top: 10px;
}

/* Language switcher */
#lang-switcher {
  position: absolute;
  top: 15px;
  right: 20px;
}

#lang-switcher a {
  padding: 6px 12px;
  margin-left: 5px;
  background: rgba(160, 160, 160, 0.85);
  color: #ffffff;
  border-radius: 20px;
  text-decoration: none;
  font-size: 0.9em;
  transition: all 0.3s ease;
}

#lang-switcher a:hover {
  background: #c0c0c0;
  color: #333333;
  box-shadow: 0 0 10px #ffffff;
}

nav {
  text-align: center;
  margin: 20px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

nav a {
  display: inline-block;
  padding: 10px 20px;
  margin: 5px 10px;
  font-size: 1.1em;
  font-weight: bold;
  color: #ffffff;
  background: rgba(160, 160, 160, 0.85);
  border: 1px solid #c0c0c0;
  border-radius: 25px;
  text-decoration: none;
  box-shadow: 0 0 10px rgba(192, 192, 192, 0.6);
  transition: all 0.3s ease;
}

nav a:hover {
  background: #c0c0c0;
  color: #333333;
  box-shadow: 0 0 15px #ffffff;
  transform: translateY(-2px);
}

nav a:active {
  transform: translateY(1px);
  box-shadow: 0 0 8px #999999 inset;
}

section {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(192, 192, 192, 0.5);
}

h2 {
  color: #707070;
  text-shadow: 0 0 5px #c0c0c0;
}

h3 {
  color: #a9a9a9;
}

ul {
  list-style-type: none;
  padding: 0;
}

li {
  margin: 10px 0;
  padding-left: 20px;
  position: relative;
}

li:before {
  content: "▸";
  position: absolute;
  left: 0;
  color: #c0c0c0;
}

.timeline-entry {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  align-items: flex-start;
}

.timeline-date {
  font-weight: bold;
  color: #808080;
  min-width: 120px;
  margin-right: 20px;
}

.timeline-desc {
  flex: 1;
}

.job-desc {
  font-size: 0.9em;
  color: #555555;
  margin-top: 5px;
}

.section-intro {
  font-family: 'Verdana', sans-serif;
  font-size: 1.1em;
  color: #444444;
  margin-bottom: 15px;
}

footer {
  text-align: center;
  padding: 30px 20px;
  background: rgba(192, 192, 192, 0.8);
  border-top: 2px solid #c0c0c0;
  color: #333333;
}

#impressum {
  font-size: 0.9em;
  margin-bottom: 10px;
}

#impressum p {
  margin: 0;
}

@keyframes twinkle {
  0% { opacity: 0.5; }
  50% { opacity: 1; }
  100% { opacity: 0.5; }
}

.star {
  position: absolute;
  background: #ffffff;
  border-radius: 50%;
  animation: twinkle 2s infinite;
}

.star1 { width: 2px; height: 2px; top: 10%; left: 20%; animation-delay: 0s; }
.star2 { width: 3px; height: 3px; top: 30%; left: 50%; animation-delay: 0.5s; }
.star3 { width: 1px; height: 1px; top: 50%; left: 80%; animation-delay: 1s; }

/* Mobile responsiveness */
@media (max-width: 768px) {
  header h1 {
    font-size: 2em;
  }
  .timeline-entry {
    flex-direction: column;
    align-items: flex-start;
  }
  .timeline-date {
    margin-bottom: 5px;
    min-width: auto;
  }
  section {
    margin: 20px 10px;
    padding: 15px;
  }
  footer {
    padding: 20px 10px;
  }
}
@media (max-width: 480px) {
  header h1 {
    font-size: 1.6em;
  }
  header h2 {
    font-size: 1em;
  }
  nav a {
    font-size: 0.9em;
    padding: 6px 12px;
  }
}
