:root {
  --accent-color: #b8d1e1;
  --accent-line: #d0eafc;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Orbitron', Arial, sans-serif;
  /*font-family: Arial, sans-serif;*/
  background-color: #1A1A1A;
  color: #fff;
  line-height: 1.6;
}

/* Schriftart überschreiben */
.normal-text {
  font-family: Arial, sans-serif;
}

/* Navigation */
nav {
  background-color: transparent;
  border-bottom: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.logo a {
  font-size: 1.8em;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
}

.logo-img {
  height: 50px;
  width: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links li a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: var(--accent-color);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5em;
  cursor: pointer;
  color: #fff;
}

/* Header */
header {
  position: relative;
  background: url('../images/Background-plattform.webp') center/cover no-repeat;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  box-shadow: 0 15px 15px -8px rgba(0,0,0,0.5);
}

header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  z-index: 1;
}

.header-content {
  position: relative;
  z-index: 2;
  padding: 20px;
}

header h1 {
  font-size: 3em;
  margin-bottom: 10px;
  color: #fff;
}

header p {
  font-size: 1.6em;
  color: #fff;
}

.header-button {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  border: 2px solid #fff;
  background-color: transparent;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  transition: background-color 0.3s, color 0.3s, border 0.3s;
}

.header-button:hover {
  background-color: transparent;
  border: 2px solid #000;
  color: var(--accent-color);
}

/* Main Layout */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

section {
  margin-bottom: 80px;
  width: 100%;
  padding: 0 10px;
}

section h2 {
  font-size: 2em;
  margin-bottom: 20px;
  text-align: center;
  color: #fff;
}

.centered-note {
  text-align: center;
  margin-top: 20px;
  color: #ccc;
}


/* Projekte*/

.projekte-section {
  margin: 80px auto 60px auto;
  padding: 0 10px;
  max-width: 1200px;
  text-align: center;
}

.projekte-wrapper {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

.project-box {
  background: #23272d;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.11);
  padding: 38px 28px 30px 28px;
  width: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.18s, box-shadow 0.2s;
  border: 1px solid #2f363d;
}

.project-box:hover {
  transform: translateY(-8px) scale(1.025);
  box-shadow: 0 10px 24px rgba(100,200,255,0.10);
}

.project-box h3 {
  font-size: 1.3em;
  margin-bottom: 18px;
  color: #b8d1e1;
  letter-spacing: 0.03em;
}

.project-box p {
  color: #e6e6e6;
  margin-bottom: 25px;
  font-size: 1.06em;
  line-height: 1.5;
}

/* GitHub-Button */
.github-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  background: #181818;
  color: #fff;
  font-weight: bold;
  border-radius: 6px;
  border: none;
  font-size: 1em;
  text-decoration: none;
  margin-top: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.14);
  transition: background 0.2s, color 0.2s;
}
.github-btn i {
  font-size: 1.3em;
  margin-right: 8px;
}
.github-btn:hover,
.github-btn:focus {
  background: #24292f;
  color: #e7eef2;
}

/* Responsive für Mobilgeräte */
@media (max-width: 1050px) {
  .projekte-wrapper {
    flex-direction: column;
    align-items: center;
  }
  .project-box {
    width: 98%;
    max-width: 440px;
    margin-bottom: 28px;
  }
}

/* ========== Kontakt-Bereich ========== */
#contact {
  margin-bottom: 80px;
  width: 100%;
  padding: 0 10px;
  text-align: center;
}
#contact h2 {
  font-size: 2em;
  margin-bottom: 20px;
  color: #fff;
}
#contact p {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 20px;
}
.contact-button {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid #fff;
  background-color: transparent;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  transition: background-color 0.3s, border 0.3s, color 0.3s;
}
.contact-button:hover {
  background-color: var(--accent-color);
  border: 1px solid #000;
  color: #000;
}
#contact a.email-link:hover {
  color: #000;
}

/* Footer */
footer {
  width: 100%;
  background-color: #1A1A1A;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left {
  font-size: 0.9em;
  color: #fff;
}

.footer-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
}

.footer-links li a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  transition: color 0.3s;
}

.footer-links li a:hover {
  color: var(--accent-color);
}

/* Media Queries */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    background-color: #1A1A1A;
    position: absolute;
    top: 60px;
    left: 0;
    padding: 20px;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    margin: 5px 0;
  }

  header h1 {
    font-size: 2.2em;
  }

  header p {
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  header h1 {
    font-size: 1.6em;
    white-space: nowrap;
  }

  header p {
    font-size: 1em;
  }

  .footer-container {
    flex-direction: column;
    gap: 10px;
  }

  .footer-left,
  .footer-links {
    text-align: center;
  }
}
