
:root {
    --primary-color: #3498db;
    --secondary-color: #2ecc71;
    --background-color: #f0f2f5;
    --text-color: #333;
    --container-background: #ffffff;
    --button-hover-color: #2980b9;
    --toggle-bg: #ccc;
}

[data-theme="dark"] {
    --primary-color: #5dade2;
    --secondary-color: #58d68d;
    --background-color: #1a1a1a;
    --text-color: #f0f2f5;
    --container-background: #2d2d2d;
    --button-hover-color: #3498db;
    --toggle-bg: #444;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    transition: background-color 0.3s, color 0.3s;
}

.theme-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
}

#theme-button {
    background-color: var(--toggle-bg);
    color: var(--text-color);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: background-color 0.3s;
}

.container {
    background-color: var(--container-background);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

h1 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.numbers-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.number {
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: transform 0.3s ease-in-out;
}

.number:hover {
    transform: scale(1.1);
}

button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: var(--button-hover-color);
}

@media (max-width: 480px) {
    .container {
        padding: 1.5rem;
    }

    .number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    h1 {
        font-size: 1.5rem;
    }
}
