html {
    height: 100%
}

body {
    font-family: Arial, sans-serif;
    /* background-color: #f0f2f5; */
    margin: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;

    background: radial-gradient(circle at top, #63777F, #313B3F);
    color: white;
}

.header {
    width: 100%;
    max-width: 600px;
    text-align: center;
    margin-bottom: 30px;
}

.header img {
    vertical-align: text-bottom;
    width: 32px;
    margin-right: 5px;
}

.header h1 {
    /* color: #333; */
    font-size: 2em;

    display: inline-block;
    margin: 0;
}

.dashboard-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 600px;
}

.app-tile {
    /* background-color: #ffffff; */
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.2s;
    text-decoration: none;
    /* color: #333; */

    background-color: rgba(128, 128, 128, 0.4);
    border: 2px solid #808080;
    color: #222;
    cursor: pointer;
}

.app-tile:hover {
    transform: translateY(-5px);
}

.app-tile img {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
}

.app-tile .status-indicator {
    width: 10px;
    height: 10px;
    background-color: #28a745;
    /* Green for online */
    border-radius: 50%;
    margin-top: 5px;
    display: inline-block;
}

/* Example for offline status */
.app-tile.offline .status-indicator {
    background-color: #dc3545;
    /* Red for offline */
}

details {
    width: 100%;
    max-width: 600px;
}

details>summary {
    margin: 16px;
    cursor: pointer;
}

/* Animations */
.animate-opacity {
    animation: opac 0.8s
}

@keyframes opac {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}