* {
  font-family: sans-serif;
}

sl-tab-group::part(nav) {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 0;
  margin: 0;
}

sl-tab-group::part(active-tab-indicator) {
  border-bottom: #2f912a !important;
  border-bottom: solid var(--track-width) #2f912a !important;
}

sl-tab::part(base) {
  flex: 0;
  text-align: center;
  padding: 10px 20px;
  font-size: 16px;
  color: #2f912a;
  background: transparent;
  border: none;
}

sl-tab[active]::part(base) {
  color: #2f912a;
  font-weight: bold;
}

h2 {
  text-align: center;
}

@media (max-aspect-ratio: 1) {
  sl-tab-group::part(nav) {
    flex-direction: column;
    gap: 10px;
  }

  sl-tab::part(base) {
    padding: 10px;
    font-size: 14px;
  }
}

/* animacion */
@keyframes slideFadeIn {
    0% {
      opacity: 0;
      transform: translateY(10px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .tab-wrapper {
    animation: slideFadeIn 300ms ease-out;
    overflow: hidden;  
  }