@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Prompt:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900&display=swap');

:root {
    --main-color: rgb(75, 107, 211);
    --main-hover-color: rgb(48, 61, 105);
    --second-color: #1a1a1a;
    --third-color: #2c2c2c;
    --nav-text-color: #98999b;
    --nav-text-hover-color: #fffce4;
    --heading-color: #fffce4;
    --small-text-color: #c7c7c7;
    --very-small-text-color: #999999;
}

body{
    background-color: #121212;
    color: white;
    font-family: 'DM Sans', Arial;
    margin: 0;
    padding: 0;
}

.status-section {
    padding: 20px;
    margin: 0 auto;
    text-align: center;
    max-width: 1200px;
}

.status-section h1 {
    color: var(--heading-color);
    margin-bottom: 20px;
    font-family: 'DM Sans', Arial;
}

#status-container, #shards-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.status-box {
    background-color: var(--third-color);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.status-box h2 {
    color: var(--heading-color);
    margin-bottom: 10px;
    font-family: 'DM Sans', Arial;
}

.status-box p {
    color: var(--small-text-color);
    font-size: 1rem;
    line-height: 1.5;
    font-family: 'DM Sans', Arial;
}

.status-message {
    font-size: 1.5rem;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.status-online {
    background-color: #28a745;
    color: white;
}

.status-offline {
    background-color: #dc3545;
    color: white;
}

.shard {
    background-color: var(--second-color);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.shard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.shard-header h3 {
    color: var(--heading-color);
    font-size: 1rem;
    margin: 0;
}

.shard-header p {
    color: var(--small-text-color);
    font-size: 0.6rem;
    margin: 0;
}

.shard-details p {
    color: var(--small-text-color);
    font-size: 0.9rem;
    line-height: 1;
    font-family: 'DM Sans', Arial;
}

.loading {
    border: 16px solid #464646;
    border-top: 16px solid var(--main-color);
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    margin: 20px auto;
    display: none;
}

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

footer{
    margin-top: auto;
}
