body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.dashboard {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 400px;
}

h1 {
    color: #333;
}

.sensor-data {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.card {
    background-color: #e0e0e0;
    padding: 20px;
    border-radius: 10px;
    width: 150px;
}

.card h2 {
    margin: 0;
    font-size: 18px;
    color: #555;
}

.card p {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin: 10px 0 0;
}

.controls {
    margin-top: 20px;
}

.controls h2 {
    margin-bottom: 10px;
    color: #333;
}

button {
    padding: 10px 20px;
    margin: 5px;
    border: none;
    border-radius: 5px;
    background-color: #007bff;
    color: white;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    background-color: #0056b3;
}

input[type="range"] {
    width: 100%;
    margin-top: 10px;
}

#brightnessValue {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}