/* Reset and basic styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    color: #000000;
    transition: background-color 0.5s, color 0.5s;
    margin: 0;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
    padding-top: 80px; /* Additional space for fixed header buttons */
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #ffffff;
    z-index: 10;
    border-bottom: 1px solid #ccc;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

.button-group {
    display: flex;
    gap: 20px;
}

.icon-button {
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    padding: 15px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    text-align: center;
    width: 50px;
    height: 50px;
}

.icon-button:hover {
    background-color: #0056b3;
}

.dropdown {
    position: relative;
}

.theme-container {
    position: fixed;
    top: 10px;
    right: 20px;
}

.download-container {
    position: fixed;
    top: 10px;
    left: 20px;
}

.theme-dropdown,
.download-dropdown {
    display: none;
    position: absolute;
    top: 60px;
    right: 0;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1;
    width: 150px;
}

.theme-dropdown.active,
.download-dropdown.active {
    display: block;
}

.theme-option,
.download-option {
    display: block;
    background-color: transparent;
    border: none;
    padding: 10px;
    text-align: left;
    width: 100%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.theme-option:hover,
.download-option:hover {
    background-color: #e0e0e0;
}

.theme-option:focus,
.download-option:focus {
    outline: none;
}

.form-container {
    margin-bottom: 20px;
}

#inputField,
#NumberField {
    width: 80%;
    padding: 10px;
    margin-bottom: 10px;
    border: 2px solid #007bff;
    border-radius: 4px;
    font-size: 16px;
    transition: border 0.3s;
}

#inputField:focus,
#NumberField:focus {
    border: 2px solid #0056b3;
    outline: none;
}

.submit-button {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    font-size: 16px;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: #0056b3;
}

.table-container {
    margin: 20px 0;
    overflow-x: auto;
}

.multiplication-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.multiplication-table th,
.multiplication-table td {
    padding: 10px;
    border: 1px solid #ccc;
    text-align: center;
}

.multiplication-chart {
    max-width: 100%;
    margin-top: 20px;
}

.credits {
    text-align: center;
    margin-top: 20px;
}

.credits .link {
    color: #007bff;
    text-decoration: none;
}

.credits .link:hover {
    text-decoration: underline;
}

/* Theme styles */
.theme-light {
    background-color: #ffffff;
    color: #000000;
}

.theme-dark {
    background-color: #333333;
    color: #ffffff;
}

.theme-neon {
    background-color: #0f0f0f;
    color: #39ff14;
}

.theme-ocean {
    background-color: #00a2ff;
    color: #000000;
}

.theme-sky {
    background-color: #87ceeb;
    color: #000000;
}

.theme-cotton-candy {
    background-color: #ffb6c1;
    color: #000000;
}

.theme-cherry {
    background-color: #8b0000;
    color: #ffffff;
}

.theme-black-white {
    background-color: #000000;
    color: #ffffff;
}

.theme-purple {
    background-color: #800080;
    color: #ffffff;
}

.theme-spring {
    background-color: #00ff7f;
    color: #006408;
}

/* Responsive styles */
@media (max-width: 768px) {
    .container {
        padding: 10px;
        padding-top: 120px;
    }
    
    .header {
        padding: 10px;
    }
    
    .icon-button {
        padding: 10px;
        font-size: 14px;
        width: 40px;
        height: 40px;
    }
    
    .theme-container,
    .download-container {
        top: 20px;
    }
    
    .theme-dropdown,
    .download-dropdown {
        top: 50px;
    }
    
    .logo {
        font-size: 20px;
    }
    
    #inputField,
    #NumberField {
        width: 100%;
    }
    
    .submit-button {
        width: 100%;
    }
}
.theme-retro {
    background: linear-gradient(135deg, #ff0066, #ffcc00, #00ff99, #0066ff);
    color: #00ff00; /* Bright green text */
    font-family: 'Press Start 2P', cursive; /* Retro font */
    text-shadow: 0 0 5px #ff00ff, 0 0 10px #ff00ff; /* Neon glow effect */
}
