﻿/*body {
    body

{
    font-family: sans-serif;
    background: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container {
    background: white;
    padding: 30px;
    border-radius: 10px;
    width: 500px;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
}

#question-text {
    font-size: 20px;
    margin-bottom: 20px;
}

.choice-btn {
    display: block;
    padding: 10px;
    margin: 10px 0;
    width: 100%;
    font-size: 16px;
    cursor: pointer;
    border: 1px solid #ccc;
    background: #eee;
    transition: 0.3s;
}

    .choice-btn.correct {
        background-color: green;
        color: white;
    }

    .choice-btn.incorrect {
        background-color: red;
        color: white;
    }

#next-btn {
    margin-top: 20px;
    padding: 10px 20px;
}

.hidden {
    display: none;
}

#progress {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
}

}*/
#countdown-timer {
    font-size: 1rem;
    font-weight: bold;
    color: #ff3333;
    margin-bottom: 10px;
    text-align: center;
  }

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: sans-serif;
    background: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    min-height: 100vh;
}
.top-bar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
}
#intro-section {
    text-align: center;
    padding: 20px;
  }
  
  #intro-section h2 {
    font-size: 2rem;
    margin-bottom: 10px;
  }
  
  #intro-section p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
  }
  #intro-section h3 {
    margin-bottom: 20px;
}

/* USER id desighned*/
#user-id-display {
    background-color: #f0f0f0;
    padding: 10px 15px;
    margin: 15px 0;
    border-left: 5px solid #4CAF50;
    font-family: monospace;
    font-size: 16px;
    color: #333;
    border-radius: 4px;
  }
  /* Initially blur the quiz content */
#quiz-box {
    filter: blur(3px);
    pointer-events: none;
    user-select: none;
    transition: filter 0.3s ease;
  }
  
  /* Class to remove blur and enable interaction */
  .show-quiz #quiz-box {
    filter: none;
    pointer-events: auto;
    user-select: auto;
  }
  #topic-select {
    padding: 10px;
    font-size: 1rem;
    margin-top: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    width: 100%;
    max-width: 300px;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
    background-color: #fff;
    cursor: pointer;
}

#intro-section label[for="topic-select"] {
    display: block;
    font-size: 1rem;
    margin-top: 20px;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}
  #start-quiz-btn {
    padding: 10px 20px;
    font-size: 1rem;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
  }

#donate-btn {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: background-color 0.3s;
}

    #donate-btn:hover {
        background-color: #218838;
    }
.container {
    background: white;
    padding: 30px;
    border-radius: 10px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
}

.question-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
  }
  
  #company-name {
    font-size: 0.8rem;
    color: #888;
    margin-left: 10px;
  }
#question-text {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.choice-btn {
    display: block;
    padding: 12px;
    margin: 10px 0;
    width: 100%;
    font-size: 1rem;
    cursor: pointer;
    border: 1px solid #ccc;
    background: #eee;
    border-radius: 6px;
    transition: 0.3s ease;
}

    .choice-btn.correct {
        background-color: green;
        color: white;
    }

    .choice-btn.incorrect {
        background-color: red;
        color: white;
    }

#next-btn {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    background-color: #007bff;
    color: white;
    border-radius: 6px;
}
#reset-quiz-btn {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    background-color: #007bff;
    color: white;
    border-radius: 6px;

}

    #next-btn:hover {
        background-color: #0056b3;
    }
#restart-btn {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    background-color: #007bff;
    color: white;
    border-radius: 6px;
}

.hidden {
    display: none;
}

#progress {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #666;
    text-align: center;
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .container {
        padding: 20px;
    }

    #question-text {
        font-size: 1rem;
    }

    .choice-btn {
        font-size: 0.95rem;
        padding: 10px;
    }

    #next-btn {
        font-size: 0.95rem;
    }
}
/*donate html css*/
.donation-container {
    text-align: center;
    margin-top: 50px;
  }
  
  .donation-container h2 {
    font-size: 2em;
  }
  
  .donation-container p {
    font-size: 1.2em;
  }
  .correct {
    background-color: #a8e6a1;
  }
  .incorrect {
    background-color: #f7a8a8;
  }
  #explanation {
    margin-top: 20px;
    padding: 10px;
    background-color: #e6f7ff;
    border-left: 4px solid #1890ff;
    font-style: italic;
  }
  .disabled {
    pointer-events: none;
    opacity: 0.6;
  }

  #external-links a {
    text-decoration: none;
    color: black;
    
    padding: 10px 10px;
    border-radius: 5px;
    margin: 10px;
    display: inline-block;
    font-weight: bold;
  }
  
  #external-links a:hover {
    background-color:lightgrey;
  }