@font-face {
    font-family: DepartureMono;
    src: url('DepartureMono-Regular.woff2') format('woff2')
}

body {
    margin: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle, #333, #000);
    color: white;
    font-family: DepartureMono, sans-serif;
}

.error {
    color: red;
    font-size: 1.5rem
}

.loading {
    color: #9ca3af;
    font-size: 1.5rem;
}

.items {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.services-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 55%;
    justify-content: center;
    align-items: center;
}

.nodes-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 55%;
    justify-content: center;
    align-items: center;
}

.item {
    padding: 0 8px;
}

.bracket {
    color: #4b5563;
}

.location {
    color: #4b5563;
}

.number {
    color: #9ca3af;
}

.status.online {
    color: #4caf50;
}

.status.offline {
    color: #f75454;
}

.status.degraded {
    color: #ff9800;
}

.status.rerouted {
    color: #2196f3;
}

.status.maintenance {
    color: #ffeb3b;
}

.status.unknown {
    color: gray;
}

@media (max-width: 768px) {
    .services-container {
        flex-direction: column;
        width: 100%;
    }

    .nodes-container {
        flex-direction: column;
        width: 100%;
    }
}