
body {
    font-family: Arial, sans-serif;
    text-align: center;
    /*padding-top: 50px;*/
    position: relative;
    overflow: hidden;
}

html, body {
    height: 100%;
    overflow-y: auto;
}

.gauge-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px; /* Adjust spacing */
    padding: 10px;
    width: 100%;
}

/* Gauge wrapper ensures proper layout */
.gauge-wrapper {
    text-align: center;
    flex: 1 1 30%;
    min-width: 180px;
    max-width: 300px;
}

.gauge-wrapper h3 {
    margin-bottom: -70px; /* Reduce space between title and gauge */
    line-height: 1.2; /* Keep title closer to gauge */
}

.gauge {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1; /* Keeps the gauge square */
    margin-top: -10px; /* Pull gauge upwards */
}

/* Fire Styling */
.fire {
    position: absolute;
    user-select: none;
}

@font-face {
    font-family: 'DSEG7Modern';
    src: url('fonts/DSEG7Modern-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

.seven-segment {
    font-family: 'DSEG7Modern', monospace;
    font-size: 120px;
    color: #FF0000;  /* Classic red LED color */
    background-color: #000;
    padding: 10px 20px;
    border-radius: 5px;
    display: inline-block;
    letter-spacing: 10px;
    line-height: 1;
}

@media (max-width: 768px) {
    .seven-segment {
        font-size: 80px;  /* Smaller font size for mobile */
        letter-spacing: 3px;  /* Reduce spacing on smaller screens */
        margin-top: -70px; /* Space between gauges */
    }
}

@media (max-width: 480px) {
    .seven-segment {
        font-size: 60px;  /* Even smaller font size for very small screens */
        letter-spacing: 2px;
        margin-top: -70px; /* Space between gauges */
    }
}

@media (max-width: 768px) {
    .gauge-container {
        flex-direction: column; /* Ensures proper stacking */
        align-items: center;
        justify-content: flex-start;
        width: 100%;
    }

    .gauge-wrapper {
        width: 100%; /* Ensures full width */
        max-width: 300px;
        margin-top: -70px; /* Space between gauges */
    }

    .gauge {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1; /* Keeps it square */
    }

    h1 {
        margin-bottom: 60px; /* Reduce space between title and gauge */
        line-height: 1.2; /* Keep title closer to gauge */
    }
        /* Hide specific gauges on mobile */
    #gauge-archive, 
    #gauge-waiting, 
    #gauge-parsing {
        display: none;
    }

    /* Hide the wrapper divs too, so there's no empty space */
    #gauge-archive-wrapper, 
    #gauge-waiting-wrapper, 
    #gauge-parsing-wrapper {
        display: none;
    }
}

#toggle-fire {
    margin: 10px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    background-color: #ff6600;
    color: white;
    border-radius: 5px;
    transition: background 0.3s;
}

#toggle-fire:hover {
    background-color: #cc5500;
}
