body {
    transition: background-color 0.5s ease-in-out, color 0.5s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    font-family: monospace;
    color: #000;
    background-color: skyblue;
    user-select: none;
  }
  
  /* Abendmodus */
  body[theme=dark] {
    background-color: #4b2c5e; /* Abendliches Violett */
    color: #ffe4b5; /* Warme Schriftfarbe */
  }
  
  .theme-toggle-container {
    position: absolute;
    top: 20px;
    right: 20px;
  }
  
  /* Toggle Switch */
  #theme-toggle {
    visibility: hidden;
  }
  
  #theme-toggle + label {
    display: inline-block;
    cursor: pointer;
    height: 60px;
    width: 60px;
    border-radius: 50%;
    transition: all 0.3s ease-in-out;
  }
  
  #theme-toggle:not(:checked) + label {
    background-color: #ffd700; /* Sonne */
  }
  
  #theme-toggle:checked + label {
    background-color: transparent;
    box-shadow: inset -18px -16px 1px 1px #fff; /* Mond */
  }
  
  /* Intro Text */
  .intro-text {
    font-size: 1.6em;
    max-width: 600px;
    text-align: center;
  }
  
  /* Dynamische Farbanpassung */
  [class*=text-] {
    font-size: 1.2em;
    font-weight: 600;
    transition: color 500ms ease-in;
  }
  
  body[theme=dark] .text-sun {
    color: rgba(255, 255, 255, 0.2);
  }
  
  body[theme=dark] .text-moon {
    color: rgba(255, 255, 255, 1);
  }
  
  body[theme=light] .text-sun {
    color: #ffd700;
  }
  
  body[theme=light] .text-moon {
    color: rgba(255, 255, 255, 0.2);
  }

  #particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
  }  

  .tilt-box {
    width: 300px;
    height: 200px;
    background: #444;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
  }

  .hover-btn {
    background: #333;
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    transition: transform 0.3s;
  }
  
  .hover-btn:hover {
    transform: scale(1.1) rotate(2deg);
    background: #555;
  }
  
  
