body.dark-mode {
    background: linear-gradient(135deg, #1e1e2f, #2d2d44);
    color: #fff;
}

body.dark-mode .section {
    background-color: #3a3a5a;
    color: #fff;
}

body.dark-mode .button {
    background-color: #4a4a6a;
    color: #fff;
}

body.dark-mode .button:hover {
    background-color: #5a5a7a;
}

.theme-toggle {
    background-color: #B1E6F3;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    margin-left: 20px;
}

.theme-toggle:hover {
    background-color: #d0d0d0;
}

body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #B1E6F3, #79B8F4);
    margin: 0;
    padding: 0;
}

header {
    background-color: #B1E6F3;
    color: #822121;
    padding: 20px;
    text-align: center;
    position: relative;
}

#datetime {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 16px;
    font-weight: bold;
    color: #822121;
}

.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}

.section {
    background-color: #79B8F4;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

h2 {
    margin-top: 0;
}

.button-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.button {
    display: block;
    padding: 10px;
    background-color: #B1E6F3;
    color: #333;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.button:hover {
    background-color: #d0d0d0;
    transform: translateY(-2px);
}

footer {
    background: linear-gradient(135deg, #273b9d, #1a2a6b);
    color: #fff;
    text-align: center;
    padding: 10px;
    position: fixed;
    width: 100%;
    bottom: 0;
}

@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }
}
