@font-face {
    font-family: 'Wonderly';
    src: url('../fonts/Wonderly.otf') format('opentype'),
         url('../fonts/Wonderly.woff') format('woff');
    font-weight: normal;
    font-style: normal;
  }

@font-face {
  font-family: 'Coolvetica';
  src: url('../fonts/Coolvetica\ Rg.otf') format('opentype'),
       url('../fonts/Coolvetica-Rg.woff') format('woff');
}

  .atma-light {
    font-family: "Atma", serif;
    font-weight: 300;
    font-style: normal;
  }
  
  .atma-regular {
    font-family: "Atma", serif;
    font-weight: 400;
    font-style: normal;
  }
  
  .atma-medium {
    font-family: "Atma", serif;
    font-weight: 500;
    font-style: normal;
  }
  
  .atma-semibold {
    font-family: "Atma", serif;
    font-weight: 600;
    font-style: normal;
  }
  
  .atma-bold {
    font-family: "Atma", serif;
    font-weight: 700;
    font-style: normal;
  }

  body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100vh;
    line-height: 1.5;
    align-items: center;
    justify-content: center;
    display: flex;
    overflow: hidden;
    background: #000;
}

h2 {
    font-family: 'Coolvetica', serif;
}

canvas {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Styling for the menu container */
.menu {
    position: absolute;
    top: 20px; /* Abstand von oben */
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8); /* Dunkler Hintergrund mit Transparenz */
    border: 2px solid rgba(255, 0, 0, 0.5); /* Leicht leuchtende blaue Umrandung */
    border-radius: 15px; /* Abgerundete Ecken */
    padding: 10px 20px; /* Innenabstand */
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.3); /* Blaue Leuchteffekte */
    z-index: 10; /* Stellt sicher, dass das Menü über dem Hintergrund liegt */
}

/* Styling for the list inside the menu */
.menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex; /* Elemente horizontal ausrichten */
    gap: 20px; /* Abstand zwischen den Elementen */
}

/* Styling for each menu item */
.menu ul li {
    font-size: 18px;
    font-family: 'Coolvetica', serif;
}

/* Styling for links */
.menu ul li a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8); /* Standard: Weiß mit leichter Transparenz */
    transition: color 0.3s ease, text-shadow 0.3s ease; /* Smooth hover effect */
}

/* Hover effect for links */
.menu ul li a:hover {
    color: rgb(255, 0, 0); /* Blau beim Hover */
    text-shadow: 0 0 8px rgba(255, 0, 0, 0.8); /* Leuchteffekt */
}

.menu button {
    background-color: #2d2e2d18; /* Grüne Hintergrundfarbe */
    color: white; /* Weiße Schriftfarbe */
    padding: 10px 20px; /* Innenabstand */
    border: none; /* Kein Rahmen */
    cursor: pointer; /* Zeiger-Cursor */
    font-size: 18px; /* Schriftgröße */
    font-family: 'Coolvetica', serif;
    border-radius: 5px; /* Abgerundete Ecken */
}

.menu button:hover {
    background-color: rgba(255, 0, 0, 0.3); /* Dunklere Grüntöne beim Hover */
}

.card {
    background-color: rgba(255, 255, 255, 0.856);
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border: 2px solid rgb(255, 0, 0); /* Leicht leuchtende blaue Umrandung */
    border-radius: 15px; /* Abgerundete Ecken */
    padding: 10px 20px; /* Innenabstand */
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
    text-align: center;
    width: 300px;
    transition: all 0.3s ease;
    z-index: 10;
  }
  
  .profile-pic img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
  }
  
  .name h2 {
    font-size: 24px;
    font-family: 'Coolvetica', serif;
    margin: 10px 0;
    color: black;
  }

  .name1 h2 {
    font-size: 24px;
    font-family: 'Coolvetica', serif;
    margin: 10px 0;
    color: rgb(255, 255, 255);
  }
  
  .text {
    font-size: 20px;
    font-weight: bold;
    font-family: 'Coolvetica', serif;
    color: black;
    margin-bottom: 20px;
  }
  
  .socials ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column; /* Elemente untereinander anordnen */
    gap: 10px; /* Abstand zwischen den Buttons */
  }
  
  .socials li {
    display: flex;
    justify-content: center; /* Zentrieren der Buttons */
  }
  
  .socials button {
    background-color: #2d2e2d18; /* Hintergrundfarbe */
    color: rgb(0, 0, 0); /* Schriftfarbe */
    padding: 10px 20px; /* Innenabstand */
    border: none; /* Kein Rahmen */
    cursor: pointer; /* Zeiger-Cursor */
    font-size: 18px; /* Schriftgröße */
    font-family: 'Coolvetica', serif;
    border-radius: 5px; /* Abgerundete Ecken */
    width: 100%; /* Die Buttons füllen die ganze Breite */
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .socials button i {
    margin-right: 10px;
  }
  
  .socials button:hover {
    background-color: rgb(255, 0, 0); /* Hover-Effekt */
  }

  .menu button {
    background-color: #2d2e2d18; /* Hintergrundfarbe */
    color: white; /* Schriftfarbe */
    padding: 10px 20px; /* Innenabstand */
    border: none; /* Kein Rahmen */
    cursor: pointer; /* Zeiger-Cursor */
    font-size: 18px; /* Schriftgröße */
    font-family: 'Coolvetica', serif;
    border-radius: 5px; /* Abgerundete Ecken */
    width: 100%; /* Die Buttons füllen die ganze Breite */
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .menu button i {
    margin-right: 10px;
  }
  
  .menu button:hover {
    background-color: rgba(255, 0, 0, 0.3); /* Hover-Effekt */
  }
  
  @keyframes color-change {
    0% { color: black; }
    50% { color: red; }
    100% { color: black; }
  }
  
  .card:hover {
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  }
  
  #role-text {
    animation: color-change 2s infinite;
  }

  .description {
    font-size: 16px;
    margin-bottom: 20px;    
  }

  /* Basis für die Klick-Animation */
/* Partikel-Basisstil */
.particle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: rgba(255, 0, 0, 0.8); /* Blau als Standardfarbe */
  border-radius: 50%; /* Runde Partikel */
  pointer-events: none; /* Klicks ignorieren */
  animation: particle-animation 1s ease-out forwards;
  z-index: 10;
}

/* Animation für die Partikelbewegung */
@keyframes particle-animation {
  0% {
      transform: translate(0, 0) scale(1);
      opacity: 1;
  }
  100% {
      transform: translate(var(--x), var(--y)) scale(0.5); /* Bewegung in eine Richtung */
      opacity: 0; /* Partikel verblassen */
  }
}

/* Styling für den Loading-Screen */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9); /* Dunkler Hintergrund */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000; /* Sicherstellen, dass es über allem liegt */
}

/* Animation: Rotierender Kreis */
.loading-animation {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(255, 255, 255, 0.3); /* Heller Rand */
  border-top: 5px solid #ff0000; /* Blaue Farbe */
  border-radius: 50%;
  animation: spin 1s linear infinite; /* Rotation */
}

/* Keyframes für die Rotation */
@keyframes spin {
  0% {
      transform: rotate(0deg);
  }
  100% {
      transform: rotate(360deg);
  }
}

/* Versteckter Hauptinhalt (wird durch JS sichtbar gemacht) */
#main-content {
  display: none; /* Standardmäßig ausgeblendet */
}

/* Hauptinhalt mit anfänglicher Transparenz */
#main-content {
  opacity: 0; /* Unsichtbar zu Beginn */
  transform: scale(0.95); /* Leicht verkleinert */
  transition: opacity 0.8s ease, transform 0.8s ease; /* Sanfter Übergang */
}

/* Sichtbarer Hauptinhalt */
#main-content.visible {
  opacity: 1; /* Sichtbar */
  transform: scale(1); /* Originalgröße */
}

/* Header mit Logo und Titel */
header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: #1e1e1e;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    width: 27px;
    height: 27px;
    border-radius: 50%;
    border: 2px solid red;
    object-fit: cover;
}

header h1 {
    font-family: 'Coolvetica', serif;
    font-size: 36px;
    color: #fff;
}

/* Features Section */
#features {
    margin-top: 100px;
    text-align: center;
    color: #fff;
    z-index: 100;
}

.feature-list {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
}

.feature {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    width: 200px;
}

.feature h3 {
    font-family: 'Coolvetica', serif;
    font-size: 24px;
    margin-bottom: 10px;
}

.feature p {
    font-family: 'Coolvetica', serif;
    font-size: 16px;
}

/* Footer */
footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: #1e1e1e;
    text-align: center;
    padding: 10px;
    color: #fff;
}

footer p {
    margin: 0;
    font-family: 'Coolvetica', serif;
    font-size: 14px;
}

/* Header Styling */
header {
  width: 100%;
  background-color: #1e1e1e;
  padding: 10px 40px; /* Erhöhte Padding für gleichmäßige Abstände */
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}

/* Logo Styling */
.logo-container {
  display: flex;
  align-items: center;
  margin-right: 20px; /* Abstand zur Navigation */
}

.logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

/* Navigation Menu */
nav {
  flex: 1;
  margin: 0 20px; /* Abstand zwischen Logo und Navigation */
}

.nav-menu {
  list-style: none;
  display: flex;
  justify-content: flex-start;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  position: relative;
}

.nav-menu a {
  text-decoration: none;
  color: #fff;
  font-family: 'Coolvetica', serif;
  font-size: 18px;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.nav-menu a:hover {
  color: #f05656;
  text-shadow: 0 0 8px rgba(255, 0, 0, 0.137);
}

/* Dropdown Menu */
.dropdown .dropbtn {
  cursor: pointer;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #2d2e2d18;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  padding: 10px;
  z-index: 1;
  border-radius: 5px;
}

.dropdown-content a {
  color: white;
  text-decoration: none;
  display: block;
  padding: 5px 10px;
  font-size: 16px;
  font-family: 'Coolvetica', serif;
}

.dropdown-content a:hover {
  background-color: rgba(255, 0, 0, 0.3);
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Login Area */
.login-area {
  margin-left: 20px; /* Abstand zur Navigation */
}

.login-area button {
  background-color: rgba(255, 0, 0, 0.322);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  font-family: 'Coolvetica', serif;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.login-area button:hover {
  background-color: #ff000031;
}
