#services h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #48e5c2;
}

#services h1 {
  text-align: center;
  margin-bottom: 20px;
  color: #48e5c2;
}

.service {
  background: #313552;
  padding: 15px;
  margin: 25px 0;
  border-radius: 5px;
  overflow: hidden;
  max-height: 105px;
  transition: max-height 0.5s ease, opacity 0.5s ease;
  opacity: 0.7;
  cursor: pointer;
  text-align: center;
  max-width: 800px;
}

@media screen and (max-width: 600px) {
  .service {
    max-height: 120px;
  }
}

.service h2 {
  color: #48e5c2;
  margin: 0;
}

.service p {
  color: #f4f4f9;
  margin-top: 10px;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.service.active {
  max-height: 800px;
  opacity: 1;
}

.service.active p {
  opacity: 1;
}

/* Code-Animation */
.code-icon {
  display: inline-flex;
  align-items: center;
  font-size: 1.5rem;
  color: #ffffff;
}

.slash {
  font-size: 1.5rem;
  animation: none;
  color: #48e5c2;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.service.active .slash {
  animation: blink 0.6s infinite;
}

/* Wrench */
.spinning-icon {
  display: inline-block;
  font-size: 1.5rem;
  color: #48e5c2;
  animation: none;
  color: white;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.service.active .spinning-icon {
  animation: spin 5s linear infinite;
}

/* Netzwerk-Charts Styling */
.network-chart {
  position: relative;
  width: 25px;
  height: 25px;
  margin: 0 auto;
}

.center-ring {
  position: absolute;
  top: 10%;
  left: 50%;
  width: 17px;
  height: 17px;
  background: white;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: none;

}

/* Knotenpunkte */
.connections .node {
  position: absolute;
  width: 6px; /* Angepasste Größe für kleinere Dimensionen */
  height: 6px;
  background: #48e5c2;
  border-radius: 50%;
  opacity: 0;
  transform: scale(0);
  transition: transform 0.5s ease, opacity 0.5s ease;
  z-index: 1; /* Über Verbindungslinien */
}

/* Verbindungslinien */
.connections .connection {
  position: absolute;
  height: 1px;
  background-color: white;
  opacity: 0; /* Unsichtbar bis zur Aktivierung */
  transform-origin: 0 0; /* Linie beginnt beim Startpunkt */
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Aktivierung bei aktiver Kachel */
.service.active .center-ring {

  width: 11px; /* Animierte Größe */
  height: 11px;
}

.service.active .connections .node {
  opacity: 1;

  transform: scale(1);
}
/* Aktivierung der Verbindungen */
.service.active .connections .connection {
  opacity: 1;
}
/* Animation für den zentralen Ring */
@keyframes pulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.7;
  }
}



/* Highlights für Anwendungsentwicklung */
.service-highlights {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 20px;
}

.highlight-item {
  background: #27293d;
  color: #f4f4f9;
  padding: 15px;
  border-radius: 8px;
  flex: 1;
  min-width: 200px;
  max-width: 300px;
  text-align: center;
}

.highlight-item h3 {
  color: #48e5c2;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.highlight-item p {
  font-size: 1rem;
  line-height: 1.4;
}


@media screen and (max-width: 900px) {
  .service-highlights {
    flex-direction: column;
    gap: 15px;
  }

  .highlight-item {
    max-width: 100%;
  }
}
