body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: #842dab;
    color: white;
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.header-left, .header-right {
    flex: 1;
}

.header-center {
    flex: 2;
    text-align: center;
}

.logo {
    height: 90px;
}

h1 {
    margin: 0;
    font-size: 1.8rem;
}

h2 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: normal;
    opacity: 0.8;
}

.datetime {
    text-align: right;
    font-family: monospace;
    font-size: 1.1rem;
}

main {
    flex: 1;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.button-row {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.button {
    flex: 1;
    max-width: 250px;
    padding: 1.5rem 1rem;
    text-align: center;
    text-decoration: none;
    color: white;
    font-weight: bold;
    border-radius: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 10px rgba(0,0,0,0.15);
}

/* Button colors - Rearranged by color group */
/* Bluish */
.button1 { background-color: #3498db; }  /* Smokeping */
.button2 { background-color: #2980b9; }  /* Adjusted to deeper blue */
.button3 { background-color: #5dade2; }  /* New soft blue */
.button4 { background-color: #1f618d; }  /* New deep blue */

/* Greenish */
.button5 { background-color: #2ecc71; }  /* Xymon */
.button6 { background-color: #27ae60; }  /* Darker green */
.button7 { background-color: #1abc9c; }  /* Spare (teal-green) */
.button8 { background-color: #58d68d; }  /* New soft green */

/* Purpleish */
.button9  { background-color: #9b59b6; }  /* PiHole */
.button10 { background-color: #8e44ad; }  /* Darker purple */
.button11 { background-color: #bb8fce; }  /* New soft purple */
.button12 { background-color: #6c3483; }  /* New deep purple */

/* Redish (New!) */
.button13 { background-color: #e74c3c; }  /* Bright red (original Cacti color) */
.button14 { background-color: #c0392b; }  /* Darker red */
.button15 { background-color: #ff6b6b; }  /* Soft coral-red */
.button16 { background-color: #d63031; }  /* Deep crimson */

footer {
    text-align: center;
    padding: 1rem;
    background-color: #842dab;
    color: white;
    margin-top: auto;
}

footer a {
    color: #3498db;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .header-left, .header-center, .header-right {
        margin-bottom: 1rem;
    }
    
    .header-right {
        text-align: center;
    }
    
    .button-row {
        flex-direction: column;
        align-items: center;
    }
    
    .button {
        width: 100%;
        max-width: none;
    }
}
