* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: monospace;
  font-size: 1rem;
}

:root {
  --bg-color: #121212;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 2rem 1rem;
  background-color: var(--bg-color);
  color: #fff;
}
ul,
li {
  list-style: none;
}
.color-red {
  color: #ed4245;
}
.color-green {
  color: #57f287;
}
.container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 100ch;
}
header {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
main {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 1rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 4rem;
}
.logo i {
  margin-left: -6px;
}
.luna {
  font-size: 30pt;
  font-weight: 900;
}
.version {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.version,
.version span {
  font-size: 1.5rem !important;
  font-weight: 900;
  word-break: break-word;
}

#status {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
  opacity: 1;
  transform: scale(1);
}

#status li {
  background: rgba(0, 0, 0, 0.4);
  padding: 5px 10px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 6px; /* Espaço entre a bolinha e o texto */
}

/* Estilo da bolinha de status */
.bolinha {
  width: 10px;
  height: 10px;
  background-color: #22c55e; /* Verde (online) */
  border-radius: 50%;
  display: inline-block;
}

/* Animação de pulsação da bolinha */
.pulse-anim {
  animation: pulse 1.2s infinite ease-in-out;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}
/* 1. Definição do movimento de rotação */
@keyframes girar {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* 2. Aplicação na sua classe (adicionei o tempo de 1 segundo) */
.loading {
  animation: girar 1s infinite linear;
}
/* Estado de transição (fade out geral) */
.fade-out {
  opacity: 0;
  transform: scale(0.95);
}
