:root {
  --hover-color: var(--secondary-color);
  --pulse-color: rgba(52, 152, 219, 0.4);
}

.video-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
}

.pulse-button {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--primary-color);
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 0 0 0 var(--pulse-color);
  animation: pulse 2s infinite;
}

/* Play-Icon Style */
.pulse-button svg {
  width: 40px;
  height: 40px;
  fill: white;
  margin-left: 5px; /* Optische Korrektur für das Dreieck */
}

/* MouseOver Farbe */
.pulse-button:hover {
  background-color: var(--hover-color);
  transform: scale(1.1);
  animation: none; /* Stoppt Pulsieren bei Hover für besseren Fokus */
}

/* Puls-Animation */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 var(--pulse-color);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(52, 152, 219, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(52, 152, 219, 0);
  }
}

/* Overlay Styles */
.overlay {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
}

.overlay-content {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 800px;
}

.close {
  position: absolute;
  top: -40px;
  right: 0;
  color: white;
  font-size: 40px;
  cursor: pointer;
}