:where([class^="ri-"])::before { 
  content: "\f3c2"; 
}

@keyframes rgbText {
  0% { color: #ff0000; }
  33% { color: #00ff00; }
  66% { color: #0000ff; }
  100% { color: #ff0000; }
}

@keyframes float {
  0% { transform: translateY(0px) translateX(0px); }
  50% { transform: translateY(-20px) translateX(10px); }
  100% { transform: translateY(0px) translateX(0px); }
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background-color: #0a0a0a;
  color: #ffffff;
  font-family: 'Consolas', monospace;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.title {
  font-size: 4rem;
  font-weight: bold;
  animation: rgbText 3s infinite;
  margin: 2rem 0;
  text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

/* Main Content Layout */
.main-content {
  display: flex;
  gap: 2rem;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  align-items: flex-start;
  margin-left: 350px; /* Verschiebe nach rechts um Platz für Notice zu lassen */
}

.terminal {
  flex: 1;
  background-color: rgba(0, 0, 0, 0.8);
  border: 2px solid #ff0000;
  box-shadow: 0 0 10px #ff0000;
  border-radius: 5px;
  padding: 1.5rem;
  margin: 4rem 0;
  position: relative;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  z-index: 1000;
}

/* Music Player Styles */
.music-player {
  width: 350px;
  background: linear-gradient(135deg, #1e1e1e 0%, #2d2d2d 100%);
  border: 2px solid #ff0000;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
  overflow: hidden;
  margin-top: 4rem;
  font-family: 'Consolas', monospace;
}

.player-header {
  background: linear-gradient(90deg, #ff0000, #ff4444);
  padding: 1rem;
  text-align: center;
}

.player-header h3 {
  margin: 0;
  color: white;
  font-size: 1.2rem;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.player-content {
  padding: 1.5rem;
}

.current-track {
  margin-bottom: 1.5rem;
}

.track-info {
  margin-bottom: 1rem;
}

.track-title {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 0.3rem;
}

.track-artist {
  color: #cccccc;
  font-size: 0.9rem;
}

.track-progress {
  margin-bottom: 1rem;
}

.progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #ff0000, #ff4444);
  width: 0%;
  transition: width 0.1s ease;
}

.time-display {
  display: flex;
  justify-content: space-between;
  color: #cccccc;
  font-size: 0.8rem;
}

.player-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.control-btn {
  background: transparent;
  border: 2px solid #ff0000;
  color: #ffffff;
  padding: 0.8rem;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.2rem;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.control-btn:hover {
  background: #ff0000;
  transform: scale(1.1);
}

.play-btn {
  width: 60px;
  height: 60px;
  font-size: 1.5rem;
}

.volume-control {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #ffffff;
}

#volume-slider {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  outline: none;
  -webkit-appearance: none;
}

#volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  background: #ff0000;
  border-radius: 50%;
  cursor: pointer;
}

#volume-slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  background: #ff0000;
  border-radius: 50%;
  cursor: pointer;
  border: none;
}

.playlist {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.playlist-header {
  padding: 1rem;
  background: rgba(0, 0, 0, 0.3);
  color: #ffffff;
  font-weight: bold;
  font-size: 1rem;
}

.track-list {
  max-height: 200px;
  overflow-y: auto;
}

.track-item {
  padding: 0.8rem 1rem;
  color: #cccccc;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.track-item:hover {
  background: rgba(255, 0, 0, 0.1);
  color: #ffffff;
}

.track-item.active {
  background: rgba(255, 0, 0, 0.2);
  color: #ffffff;
  border-left: 3px solid #ff0000;
}

.track-item .track-number {
  color: #666666;
  font-size: 0.8rem;
  min-width: 20px;
}

.track-item .track-name {
  flex: 1;
  font-size: 0.9rem;
}

.track-item .track-duration {
  color: #666666;
  font-size: 0.8rem;
}

/* Scrollbar für Playlist */
.track-list::-webkit-scrollbar {
  width: 6px;
}

.track-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
}

.track-list::-webkit-scrollbar-thumb {
  background: #ff0000;
  border-radius: 3px;
}

.track-list::-webkit-scrollbar-thumb:hover {
  background: #ff4444;
}

/* Terminal */
.terminal-header {
  color: #ff0000;
  margin-bottom: 1rem;
  text-shadow: 0 0 5px #ff0000;
}

.terminal-input {
  background: transparent;
  border: none;
  color: #ffffff;
  width: 100%;
  font-family: 'Consolas', monospace;
  font-size: 1rem;
  outline: none;
}

/* Blinkender Cursor */
.cursor {
  animation: blink 1s infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Social-Links */
.social-links {
  display: flex;
  gap: 2rem;
  margin-top: auto;
  padding: 2rem;
}
.social-button {
  padding: 0.8rem 2rem;
  border: 2px solid #333;
  border-radius: 5px;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s;
  background: rgba(0, 0, 0, 0.5);
}
.social-button:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Obere linke Zone: Icons (größer) */
.top-left {
  position: absolute;
  top: 20px;
  left: 20px;
}
.skills {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.skills img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: brightness(0.8);
  transition: filter 0.3s ease;
}

.skills img:hover {
  filter: brightness(1.2);
}
.text-3xl {
  font-size: 2.5rem;
}

.tetris-cell {
  width: 30px;
  height: 30px;
  background: #111;
  transition: background-color 0.3s ease;
}

.tetris-cell.active {
  background: #4f46e5;
}

/* Obere rechte Zone: BruteForce Button */
.top-right {
  position: absolute;
  top: 20px;
  right: 20px;
}
#bruteforce-btn {
  padding: 0.5rem 1rem;
  border: 2px solid #ff0000;
  background: transparent;
  color: #fff;
  font-family: 'Consolas', monospace;
  cursor: pointer;
}

/* Contact Button */
#contact-btn {
  padding: 0.5rem 1rem;
  border: 2px solid #00ff00;
  background: transparent;
  color: #fff;
  font-family: 'Consolas', monospace;
  cursor: pointer;
  position: fixed;
  bottom: 70px;
  left: 20px;
  transition: background-color 0.3s ease;
  margin-bottom: 10px;
}

#contact-btn:hover {
  background-color: #007000;
}

/* About Button */
#about-btn {
  padding: 0.5rem 1rem;
  border: 2px solid #ff0000;
  background: transparent;
  color: #fff;
  font-family: 'Consolas', monospace;
  cursor: pointer;
  position: fixed;
  bottom: 20px;
  left: 20px;
  transition: background-color 0.3s ease;
}

#about-btn:hover {
  background-color: #700000;
}
/* Laser-Effekt */
#laser-effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  background: repeating-linear-gradient(
    45deg, 
    rgba(255, 0, 0, 0.5), 
    rgba(255, 0, 0, 0.5) 2px, 
    transparent 2px, 
    transparent 4px
  );
  animation: laserMove 1s linear infinite;
}
/* Notizzettel mit leichter Drehung (ca. 7°) */
#note {
  position: fixed;
  top: 100px;
  left: 20px;
  background: #ffff88;
  color: #000;
  padding: 10px;
  border: 1px solid #ccc;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
  width: 250px;
  font-family: 'Consolas', monospace;
  white-space: pre-line;
  transform: rotate(-1deg);
  z-index: 10;
  max-width: 280px; /* Begrenze die Breite */
}
#note .text {
  transform: rotate(-1deg);
  text-align: center;
}
.visitor-counter {
  background-color: rgba(0, 0, 0, 0.7);
  border: 2px solid #ff0000;
  border-radius: 5px;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
  font-family: 'Consolas', monospace;
}

.counter-icon {
  color: #ff0000;
  font-size: 1.2rem;
}

.counter-text {
  color: #ffffff;
}

#visitor-count {
  color: #00ff00;
  font-weight: bold;
  margin-left: 5px;
}
@keyframes laserMove {
  0% {
    background-position: 100% 100%;
  }
  100% {
    background-position: 0 0;
  }
}
