@charset "UTF-8";


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

html {
  scroll-behavior: smooth; 
font-size: 12pt;
	color: #e5e7eb;
}

/* Overlay */
.overlay {
  background: rgba(0,0,0,0.0);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeBg 0.3s ease forwards;
}

/* Karte */
.container {
  background: #111827;
  width: 90%;
  max-width: 700px;
  max-height: 80vh;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  position: relative;
  color: var(--text);
  display: flex;
  flex-direction: column;

  opacity: 0;
  transform: translateY(20px) scale(0.98);
  animation: fadeIn 0.3s ease forwards;
}

/* Inhalt */
.content {
  padding: 30px;
  overflow-y: auto;
}

/* Scrollbar (modern) */
.content::-webkit-scrollbar {
  width: 8px;
}

.content::-webkit-scrollbar-track {
  background: transparent;
}

.content::-webkit-scrollbar-thumb {
  background: #374151;
  border-radius: 10px;
}

.content::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* Firefox */
.content {
  scrollbar-width: thin;
  scrollbar-color: #374151 transparent;
}

/* X Button */
.closeBtn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 22px;
  cursor: pointer;
  color: var(--muted);
  transition: 0.2s;
}

.closeBtn:hover {
  color: var(--accent);
}

h1 {
  margin-bottom: 20px;
	  font-size: clamp(1.5rem, 5vw, 3rem);

}

p {
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 10px;

}

.section {
  margin-top: 20px;
}

.section strong {
  color: var(--text);
}

/* Animationen */
@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fadeBg {
  to {
    background: rgba(0,0,0,0.6);
  }
}

