/* Math Mini Games - Responsive Styles with Enhanced Contrast */

/* Multitasking Game Button Colors - Force Override */
.multitask-true-btn {
    background-color: #28a745 !important;
    background: #28a745 !important;
    color: white !important;
    border: none !important;
}

.multitask-false-btn {
    background-color: #dc3545 !important;
    background: #dc3545 !important;
    color: white !important;
    border: none !important;
}

.multitask-true-btn:hover {
    background-color: #218838 !important;
    background: #218838 !important;
}

.multitask-false-btn:hover {
    background-color: #c82333 !important;
    background: #c82333 !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: #ffffff;
    min-height: 100vh;
    color: #000000;
    margin-left: 180px;
    margin-right: 180px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
}

/* Ad Sidebars for Monetization */
.ad-sidebar {
    position: fixed;
    top: 0;
    width: 160px;
    height: 100vh;
    background: #f8f9fa;
    border: 2px solid #000000;
    padding: 10px;
    z-index: 1000;
    overflow-y: auto;
}

.ad-left {
    left: 10px;
}

.ad-right {
    right: 10px;
}

.ad-placeholder {
    width: 100%;
    height: 600px;
    background: linear-gradient(45deg, #e9ecef 25%, transparent 25%), 
                linear-gradient(-45deg, #e9ecef 25%, transparent 25%), 
                linear-gradient(45deg, transparent 75%, #e9ecef 75%), 
                linear-gradient(-45deg, transparent 75%, #e9ecef 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    border: 2px dashed #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    font-size: 12px;
}

/* Hide ads on mobile */
@media (max-width: 1200px) {
    .ad-sidebar {
        display: none;
    }
    
    body {
        margin-left: 0;
        margin-right: 0;
    }
}

header {
    text-align: center;
    margin-bottom: 30px;
    background: #ffffff;
    padding: 20px;
    border-radius: 15px;
    border: 3px solid #000000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

header h1 {
    color: #1a1a1a;
    font-size: 2.5em;
    margin-bottom: 15px;
    text-shadow: none;
    font-weight: bold;
}

.timer-display, .score-display {
    display: flex !important;
    justify-content: center;
    gap: 30px;
    margin-top: 10px;
    visibility: visible !important;
    opacity: 1 !important;
}

.score-display {
    min-height: 40px;
    align-items: center;
}

.timer-display span, .score-display span {
    color: #1a1a1a;
    font-weight: bold;
    font-size: 1.1em;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 15px;
    border-radius: 8px;
    text-shadow: none;
    border: 2px solid rgba(33, 37, 41, 0.1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Screen Management */
.screen {
    display: none;
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    color: #212529;
    border: 2px solid rgba(33, 37, 41, 0.1);
}

.screen.active {
    display: block;
    animation: fadeIn 0.5s ease-in;
}

.screen h2 {
    color: #2c3e50;
    font-weight: bold;
    margin-bottom: 20px;
}

.screen p {
    color: #34495e;
    line-height: 1.6;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Main Menu */
.game-buttons {
    display: grid;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.game-btn {
    background: linear-gradient(135deg, #007bff, #0056b3);
    border: 2px solid #0056b3;
    border-radius: 15px;
    padding: 25px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.2);
}

.game-btn:hover {
    background: linear-gradient(135deg, #0056b3, #003d82);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

.game-btn h3 {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: #ffffff;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.game-btn p {
    font-size: 1em;
    opacity: 0.95;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* Game Headers */
.game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
}

.back-btn {
    background: #6c757d;
    color: #ffffff;
    border: 2px solid #495057;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
    transition: background 0.3s ease;
    font-weight: bold;
}

.back-btn:hover {
    background: #495057;
    border-color: #343a40;
}

.game-header h2 {
    color: #2c3e50;
    font-size: 1.8em;
    font-weight: bold;
}

.game-score {
    font-weight: bold;
    color: #34495e;
    font-size: 1.1em;
}

/* Game Content */
/* Unified Game Container */
.game-container {
    background: #ffffff;
    border: 3px solid #000000;
    border-radius: 15px;
    padding: 30px;
    margin: 20px 0;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.game-timer {
    width: 100%;
    height: 20px;
    background: #e0e0e0;
    border: 2px solid #000000;
    border-radius: 10px;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
}

.timer-bar {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #8BC34A);
    border-radius: 8px;
    transition: width 0.1s linear;
    width: 100%;
}

#countdown {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
    color: #000000;
    font-size: 16px;
    z-index: 10;
}

.game-question {
    font-size: 28px;
    font-weight: bold;
    margin: 30px 0;
    color: #000000;
    line-height: 1.4;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-score-info {
    margin: 20px 0;
    padding: 15px;
    background: #f0f8ff;
    border: 2px solid #000000;
    border-radius: 10px;
    font-weight: bold;
    color: #000000;
}

.feedback {
    margin: 20px 0;
    padding: 15px;
    border-radius: 10px;
    font-weight: bold;
    min-height: 40px;
    border: 2px solid transparent;
}

.feedback.correct {
    background: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}

.feedback.incorrect {
    background: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

/* Keep original styles for backwards compatibility */
.equation-container, .sequence-container, .fraction-container {
    text-align: center;
}

.equation, .sequence, .fraction {
    font-size: 2.2em;
    margin: 30px 0;
    padding: 25px;
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border-radius: 12px;
    border-left: 5px solid #3498db;
    border: 2px solid #e9ecef;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2c3e50;
    font-weight: bold;
}

/* Blanks and Choices */
.blank {
    display: inline-block;
    min-width: 60px;
    min-height: 45px;
    background: #ffffff;
    border: 3px dashed #007bff;
    border-radius: 8px;
    margin: 0 8px;
    text-align: center;
    line-height: 39px;
    cursor: pointer;
    transition: all 0.3s ease;
    vertical-align: middle;
    color: #1a1a1a;
    font-weight: bold;
    font-size: 1.1em;
}

.blank:hover {
    background: #e3f2fd;
    border-color: #0056b3;
    color: #003d82;
}

.blank.selected {
    background: #007bff;
    color: #ffffff;
    border-style: solid;
    animation: pulse 1s infinite;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.blank.filled {
    background: #28a745;
    color: #ffffff;
    border-color: #28a745;
    border-style: solid;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.blank.filled.incorrect {
    background: #dc3545;
    color: #ffffff;
    border-color: #dc3545;
    border-style: solid;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.blank.revealed {
    background: #ffc107;
    color: #1a1a1a;
    border-color: #ffc107;
    font-weight: bold;
    text-shadow: none;
    animation: highlight 1s ease-in-out;
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1); 
        border-color: #007bff;
    }
    50% { 
        transform: scale(1.05); 
        border-color: #0056b3;
        box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
    }
}

@keyframes highlight {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
    20%, 80% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(1.1); }
}

@keyframes successPulse {
    0% { 
        opacity: 0; 
        transform: translate(-50%, -50%) scale(0.5); 
    }
    20% { 
        opacity: 1; 
        transform: translate(-50%, -50%) scale(1.1); 
    }
    40% { 
        transform: translate(-50%, -50%) scale(0.95); 
    }
    60% { 
        transform: translate(-50%, -50%) scale(1.05); 
    }
    80% { 
        opacity: 1; 
        transform: translate(-50%, -50%) scale(1); 
    }
    100% { 
        opacity: 0; 
        transform: translate(-50%, -50%) scale(1.2); 
    }
}

@keyframes errorShake {
    0% { 
        opacity: 0; 
        transform: translate(-50%, -50%) scale(0.8); 
    }
    10% { 
        opacity: 1; 
        transform: translate(-50%, -50%) scale(1.1) translateX(-5px); 
    }
    20% { 
        transform: translate(-50%, -50%) scale(1) translateX(5px); 
    }
    30% { 
        transform: translate(-50%, -50%) scale(1) translateX(-3px); 
    }
    40% { 
        transform: translate(-50%, -50%) scale(1) translateX(3px); 
    }
    50% { 
        transform: translate(-50%, -50%) scale(1) translateX(-1px); 
    }
    60% { 
        transform: translate(-50%, -50%) scale(1) translateX(1px); 
    }
    70%, 80% { 
        opacity: 1; 
        transform: translate(-50%, -50%) scale(1); 
    }
    100% { 
        opacity: 0; 
        transform: translate(-50%, -50%) scale(0.9); 
    }
}

@keyframes fadeInSuccess {
    0% { 
        opacity: 0; 
        transform: scale(0.5); 
    }
    50% { 
        opacity: 1; 
        transform: scale(1.2); 
    }
    100% { 
        opacity: 1; 
        transform: scale(1); 
    }
}

@keyframes fadeInError {
    0% { 
        opacity: 0; 
        transform: scale(0.5) translateX(0px); 
    }
    25% { 
        opacity: 1; 
        transform: scale(1.1) translateX(-3px); 
    }
    50% { 
        transform: scale(1.1) translateX(3px); 
    }
    75% { 
        transform: scale(1.1) translateX(-1px); 
    }
    100% { 
        opacity: 1; 
        transform: scale(1) translateX(0px); 
    }
}

.inline-feedback {
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Quick Mental Math Game Styles */
.mental-container {
    text-align: center;
}

.mental-timer {
    background: #f8f9fa;
    border-radius: 25px;
    height: 50px;
    margin: 20px auto;
    max-width: 400px;
    position: relative;
    overflow: hidden;
    border: 3px solid #dee2e6;
}

.timer-bar {
    height: 100%;
    background: #28a745;
    border-radius: 22px;
    transition: width 0.1s linear, background-color 0.3s ease;
    position: relative;
}

.mental-countdown {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5em;
    font-weight: bold;
    color: #2c3e50;
    text-shadow: 0 2px 4px rgba(255,255,255,0.9);
    z-index: 10;
    background: rgba(255,255,255,0.9);
    padding: 4px 10px;
    border-radius: 6px;
    border: 2px solid rgba(52, 152, 219, 0.3);
}

.mental-equation {
    font-size: 2.5em;
    margin: 30px 0;
    padding: 30px;
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    color: #2c3e50;
    border-radius: 15px;
    border: 3px solid #3498db;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.8);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    font-weight: bold;
}

.mental-choice {
    background: linear-gradient(135deg, #28a745, #34ce57);
    color: #ffffff;
    font-size: 1.5em;
    padding: 20px 30px;
    min-width: 80px;
    font-weight: bold;
    transition: all 0.2s ease;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    border: 2px solid #1e7e34;
}

.mental-choice:hover {
    background: linear-gradient(135deg, #1e7e34, #28a745);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    border-color: #155724;
}

.mental-score-info {
    margin-top: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: #1a5f2e;
}

.mental-score-info span {
    background: rgba(40, 167, 69, 0.15);
    color: #1a5f2e;
    padding: 8px 15px;
    border-radius: 20px;
    border: 2px solid #28a745;
    font-weight: bold;
}

/* Responsive design for mental math */
@media (max-width: 768px) {
    .mental-equation {
        font-size: 2em;
        padding: 20px;
    }
    
    .mental-choice {
        font-size: 1.3em;
        padding: 15px 20px;
        min-width: 60px;
    }
    
    .mental-timer {
        max-width: 300px;
        height: 40px;
    }
    
    .mental-countdown {
        font-size: 1.2em;
    }
}

@media (max-width: 480px) {
    .mental-equation {
        font-size: 1.6em;
        padding: 15px;
    }
    
    .mental-choice {
        font-size: 1.1em;
        padding: 12px 15px;
    }
}

/* Multi-Tasking Game Styles */
.multitask-container {
    text-align: center;
}

.multitask-instructions {
    background: #ffffff;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-weight: bold;
    color: #212529;
    border: 2px solid #ced4da;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.equations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.equation-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
    transition: all 0.3s ease;
    border: 3px solid #ced4da;
}

.equation-card.correct {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    border-color: #28a745;
    transform: scale(1.02);
}

.equation-card.incorrect {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    border-color: #dc3545;
    transform: scale(0.98);
}

.equation-card.timeout {
    background: linear-gradient(135deg, #e2e3e5, #d6d8db);
    border-color: #6c757d;
    opacity: 0.8;
}

.card-timer {
    height: 8px;
    background: #28a745;
    border-radius: 4px;
    margin-bottom: 15px;
    transition: width 0.1s linear, background-color 0.3s ease;
    width: 100%;
}

.equation-text {
    font-size: 1.8em;
    font-weight: bold;
    margin: 15px 0;
    color: #1a1a1a;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.equation-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 15px 0;
}

.true-btn, .false-btn {
    padding: 12px 24px;
    border: 2px solid transparent;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 80px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.true-btn {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: #ffffff;
    border-color: #1e7e34;
}

.true-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #218838, #1bb389);
    transform: translateY(-2px);
    border-color: #1c7430;
}

.false-btn {
    background: linear-gradient(135deg, #dc3545, #fd7e14);
    color: #ffffff;
    border-color: #c82333;
}

.false-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #c82333, #e8680c);
    transform: translateY(-2px);
    border-color: #bd2130;
}

.true-btn:disabled, .false-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.equation-status {
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #1a1a1a;
}

/* Responsive design for multi-tasking */
@media (max-width: 768px) {
    .equations-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .equation-text {
        font-size: 1.5em;
        min-height: 50px;
    }
    
    .true-btn, .false-btn {
        padding: 10px 20px;
        font-size: 1em;
        min-width: 70px;
    }
    
    .equation-card {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .equation-text {
        font-size: 1.3em;
        min-height: 45px;
    }
    
    .true-btn, .false-btn {
        padding: 8px 16px;
        font-size: 0.9em;
        min-width: 60px;
    }
    
    .multitask-instructions {
        padding: 10px;
        font-size: 0.9em;
    }
}

.choices {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

.choice {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #ffffff;
    border: 2px solid #0056b3;
    border-radius: 10px;
    padding: 15px 20px;
    font-size: 1.3em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 123, 255, 0.2);
    min-width: 60px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.choice:hover {
    background: linear-gradient(135deg, #0056b3, #003d82);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
    border-color: #003d82;
}

.choice.selected {
    background: #007bff;
    color: #ffffff;
    border-color: #0056b3;
    animation: pulse 1s infinite;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
}

.choice.used {
    background: #495057;
    color: #ffffff;
    cursor: not-allowed;
    opacity: 0.7;
    border-color: #343a40;
}

.choice.used:hover {
    transform: none;
    background: #495057;
    border-color: #343a40;
}

/* Continue Prompt Styling */
.continue-prompt {
    animation: pulse 2s infinite;
}

.continue-prompt kbd {
    background: #f8f9fa;
    border: 1px solid #ced4da;
    border-radius: 3px;
    padding: 2px 6px;
    font-family: monospace;
    font-size: 0.9em;
    color: #495057;
}

/* Game Controls */
.game-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.game-controls button {
    background: #20c997;
    color: #ffffff;
    border: 2px solid #1dd1a1;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.game-controls button:hover {
    background: #1dd1a1;
    border-color: #1ac29a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Game Over Screen */
.final-score {
    text-align: center;
    margin: 30px 0;
    font-size: 1.3em;
}

.final-score p {
    margin: 15px 0;
    color: #1a1a1a;
    font-weight: bold;
}

.restart-btn, .menu-btn {
    background: #28a745;
    color: #ffffff;
    border: 2px solid #1e7e34;
    padding: 15px 30px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    margin: 10px;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.restart-btn:hover, .menu-btn:hover {
    background: #218838;
    border-color: #1c7430;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.menu-btn {
    background: #6c757d;
    border-color: #5a6268;
}

.menu-btn:hover {
    background: #5a6268;
    border-color: #495057;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    header h1 {
        font-size: 2em;
    }
    
    .timer-display, .score-display {
        flex-direction: column;
        gap: 10px;
    }
    
    .equation, .sequence, .fraction {
        font-size: 1.6em;
        padding: 20px;
    }
    
    .blank {
        min-width: 50px;
        min-height: 40px;
        line-height: 36px;
    }
    
    .choice {
        padding: 12px 15px;
        font-size: 1.1em;
    }
    
    .game-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .game-controls {
        flex-direction: column;
        align-items: center;
    }
    
    .game-controls button {
        width: 200px;
    }
}

@media (max-width: 480px) {
    .screen {
        padding: 20px;
    }
    
    .equation, .sequence, .fraction {
        font-size: 1.3em;
        padding: 15px;
    }
    
    .choices {
        gap: 10px;
    }
    
    .choice {
        padding: 10px 12px;
        font-size: 1em;
        min-width: 50px;
    }
}

/* Word Problems Specific Styles */
.word-problem-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 10px;
    min-height: 250px;
}

#word-problem-display {
    background: #ffffff;
    border: 3px solid #000000;
    border-radius: 15px;
    padding: 20px;
    font-size: 1.3em;
    line-height: 1.6;
    color: #000000;
    text-align: center;
    max-width: 600px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#word-problem-display .blank {
    background: #f0f8ff;
    border: 2px solid #4169e1;
    border-radius: 8px;
    padding: 8px 15px;
    font-weight: bold;
    color: #000000;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    min-width: 50px;
    text-align: center;
    vertical-align: middle;
    line-height: 1.2;
    font-size: 1em;
    margin: 0 4px;
}

#word-problem-display .blank:hover {
    background: #e6f3ff;
    border-color: #1e90ff;
} 

#word-problem-display .blank.selected {
    background: #ffd700;
    border-color: #ffa500;
    color: #000000;
}

#word-problem-display .blank.filled {
    background: #90ee90;
    border-color: #228b22;
    color: #000000;
}