html,
body {
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    overflow-x: hidden;

    font-family: 'Inter', sans-serif;

    background-color: rgb(8, 12, 22);
}



.graph-outter-container {
    display: flex;
    flex-wrap: wrap;

    justify-content: center;

    max-width: calc(100% - 40px);
    margin: 20px;
}

.graph-container {
    border: 1px solid rgb(27, 37, 54);

    width: calc(100% - 20px);

    margin: 10px;
    padding: 9px;

    border-radius: 10px;

    background-color: rgb(12, 19, 34);
}

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

    width: 100%;
    padding: 20px;

    background-color: rgb(14, 20, 38);
}

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

    color: white;

    margin: 0 0 20px 0;
}

.header {
    font-size: 20px;
    font-weight: 500;
}

.graph-time-select-container {
    display: flex;
    gap: 0.25rem;
    padding: 0.25rem;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(51, 65, 85, 0.5);
    border-radius: 10px;

    width: 280px;
}

.time-period-button {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #64748b;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.time-period-button-active {
    color: #0a0e1a;
    background: #2dd4bf;
    box-shadow: 0 4px 12px rgba(45, 212, 191, 0.3);
}

.countdown-container {
    font-size: 16px;

    display: flex;
    align-items: center;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
}

.red-background {
    background-color: rgb(235, 87, 87);
}
.red {
    color: rgb(235, 87, 87);
}

.green-background {
    background-color: rgb(80, 200, 120);
}
.green {
    color: rgb(80, 200, 120);
}

#server_status_text {
    margin: 0 10px 0 0;
}

@media(min-width: 1280px) {

    .header-container {
        flex-direction: row;
        justify-content: space-between;
    }

    .header-content {
        margin: 0;

        align-items: flex-start;
    }

    .header-container {
        justify-content: space-between;
    }

    .graph-time-select-container {
        margin-right: 60px;
    }


    .graph-outter-container {
        justify-content: flex-start;
    }

    .graph-container {
        padding: 10px;

        width: calc(50% - 42px);
    }

}

@media(min-width: 1920px) {
    .graph-container {

        width: calc(100% / 3 - 43px);
    }
}