:root {
  --glass-bg: rgba(255, 255, 255, 0.18);
  --border-color: rgba(255, 255, 255, 0.3);
  --shadow: rgba(0, 0, 0, 0.15);
  --text-color: #ffffff;
  --accent-color: #ffa600;
  --transition-fast: 0.3s;
  --transition-slow: 1s;
}

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

body {
  font-family: 'Rubik', sans-serif;
  background: url(media/frutiger-aero_background.jpg) no-repeat center center fixed;
  background-size: cover;
  color: var(--text-color);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  padding: 1rem;
  text-align: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px var(--shadow);
  border-bottom: 1px solid var(--border-color);
}

header h1 {
  font-size: 3rem;
  color: white;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
  text-align: center;
}

header h1 a {
  text-decoration: none;
  color: inherit;
  transition: text-shadow var(--transition-fast);
}

header h1 a:hover {
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.5);
}

nav {
  margin-top: 1rem;
}

nav a {
  color: white;
  margin: 0 1rem;
  text-decoration: none;
  font-weight: 600;
  transition: text-shadow var(--transition-fast);
}

nav a:hover {
  text-shadow: 0 0 8px white;
}

main {
  padding: 2rem;
  max-width: 1100px;
  flex: 1;
}

section {
  border: 2px solid var(--border-color);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 2rem;
  border-radius: 1.75rem;
  box-shadow: 0 6px 20px var(--shadow);
  transition: transform var(--transition-fast) ease;
  margin-bottom: 2rem;
}

section:hover {
  transform: translateY(-10px);
  transition: transform var(--transition-slow) ease;
}

h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: white;
  border-bottom: 2px solid white;
  display: inline-block;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.about-left,
.about-right {
  flex: 1;
  min-width: 280px;
}

.languages {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.lang {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  font-weight: bold;
  font-size: 0.9rem;
  color: white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: all var(--transition-fast) ease;
  cursor: default;
}

.lang:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 18px rgba(255, 255, 255, 0.3);
}

.project-card {
  border-left: 5px solid rgba(255, 255, 255, 0.075);
  padding: 1rem 1.2rem;
  border-radius: 1rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  transition: all var(--transition-fast) ease;
  margin-bottom: 0.8rem;
  background: rgba(255, 255, 255, 0.02);
}

.project-card:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(255, 255, 255, 0.3);
}

.project-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.project-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.spotifyembed {
  transition: all var(--transition-fast) ease;
}

.spotifyembed:hover {
  transform: scale(1.05);
}

.notfound {
  text-align: center;
  padding: 2rem;
}

.notfound h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #ffffff;
  text-shadow: 0 0 14px rgba(255, 204, 0, 0.2);
}

.notfound p {
  margin-bottom: 1.25rem;
  color: #eee;
  font-size: 1.1rem;
}

.btn-home {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  color: white;
  text-decoration: none;
  font-weight: 700;
  transition: all var(--transition-fast) ease;
  cursor: pointer;
  font-size: 1rem;
}

.btn-home:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.12);
}

footer {
  text-align: center;
  padding: 2rem;
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-color);
  font-size: 0.9rem;
  margin-top: auto;
}

footer .social-icons {
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

footer .social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast) ease;
  text-decoration: none;
}

footer .social-icons a img {
  width: 32px;
  height: 32px;
  filter: brightness(1);
  transition: all var(--transition-fast) ease;
}

footer .social-icons a:hover img {
  filter: brightness(1) drop-shadow(0 0 4px var(--accent-color));
  transform: scale(1.3);
}

footer p {
  opacity: 0.8;
}

a {
  color: white;
  text-decoration: none;
}

a:hover {
  text-shadow: 0 0 4px white;
}

@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
  }

  header h1 {
    font-size: 2.2rem;
  }

  main {
    padding: 1.5rem;
  }

  .notfound h1 {
    font-size: 2.2rem;
  }

  nav a {
    margin: 0 0.5rem;
    font-size: 0.9rem;
  }

  section {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  header h1 {
    font-size: 1.8rem;
  }

  nav a {
    display: block;
    margin: 0.5rem 0;
  }

  main {
    padding: 1rem;
  }

  .notfound h1 {
    font-size: 1.8rem;
  }

  .notfound p {
    font-size: 1rem;
  }

  footer .social-icons {
    gap: 0.8rem;
  }

  footer .social-icons a img {
    width: 28px;
    height: 28px;
  }
}
