body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
}

.container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 20px;
}

.column {
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 30%; /* Adjusted width for columns */
    margin: 10px 0;
}

.column h2 {
    text-align: center;
}

.alert-button {
    display: block;
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    background-color: #d81616;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: left;
}

.alert-button:hover {
    background-color: #b41616;
}

.image-display {
    text-align: center;
    margin: 20px 0;
}

.image-display img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.alarm-toggle {
    text-align: center;
    margin: 20px 0;
}

.event-log {
    background-color: black;
    color: white;
    padding: 10px;
    height: 150px;
    overflow-y: scroll;
    border-radius: 5px;
    margin: 20px 0;
}

.current-time {
    text-align: center;
    font-size: 24px;
    margin: 20px 0;
}

.event-log p {
    margin: 5px 0;
}

/* Media queries for responsiveness */
@media (max-width: 1200px) {
    .column {
        width: 45%; /* Adjusted width for larger tablets and small laptops */
    }
}

@media (max-width: 768px) {
    .column {
        width: 90%; /* Adjusted width for tablets and large phones */
    }

    .current-time {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .column {
        width: 100%; /* Adjusted width for small phones */
    }

    .alert-button {
        padding: 8px;
        font-size: 14px;
    }

    .current-time {
        font-size: 18px;
    }

    .event-log {
        height: 100px;
    }
}
