body {
    font-family: 'Roboto', sans-serif;
    background-color: #fff;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
}

.container {
    width: 100%;
    max-width: 400px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.header {
    background-color: #fff;
    text-align: center;
}

.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
}

.nav-icon {
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.url-text {
    font-size: 16px;
    font-weight: 500;
}

.share-icon {
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.header-task p {
    margin: 10px 0;
    font-size: 18px;
    font-weight: 500;
}


.balance-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px; 
    margin: 15px 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 
        -3px -3px 8px rgba(255, 255, 255, 0.7),
        3px 3px 8px rgba(0, 0, 0, 0.15);
}
.balance-section p {
    margin: 0;
    font-size: 16px;
}

.logo-image-container {
    text-align: center; 
}

.top-logo {
    max-width: 250px; 
    height: auto; 
    margin: 5px auto; 
    display: block;
}

.balance-box {
    background-color: #4CAF50;
    color: #fff;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: bold;
}


.task-instruction {
    padding: 15px 20px;
    text-align: center;
    border-bottom: 1px solid black;
}

.task-instruction p {
    color: black;
    margin: 0;
    font-size: 16px;
    font-weight: 500;
}

.single-image-container {
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.single-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    
    border-radius: 8px;
    object-fit: cover;
}


.button-group {
    display: flex;
    justify-content: space-around;
    padding: 20px;
}

.button {
    width: 45%;
    padding: 15px;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.button.correct {
    background-color: #4CAF50;
}

.button.incorrect {
    background-color: #F44336;
}


.footer {
    text-align: center;
    font-size: 14px;
    color: #555;
    padding: 15px 0;
    border-top: 1px solid #ddd;
}

.footer-links a {
    color: #555;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}


.hidden {
    display: none;
}
#quiz-container {
    transition: opacity 0.5s ease-in-out;
}

.quiz-content {
    opacity: 0;
    animation: fadeIn 0.5s forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}


.final-message {
    text-align: center;
    padding: 30px 20px;
}

.final-message h2 {
    font-size: 24px;
    color: #4CAF50;
    margin-bottom: 10px;
}

.final-message p {
    font-size: 16px;
    color: black;
    margin-bottom: 25px;
}

.final-button {
    background-color: #4CAF50;
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.final-button:hover {
    background-color: #45a049;
}

.popup-container {
    display: none; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
   
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    animation: fadeIn 0.3s ease-out;
    position: relative; 
}
#confetti-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    pointer-events: none;
    z-index: 2;
}
.popup-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
}

.popup-value {
    font-size: 32px;
    font-weight: bold;
    color: #4CAF50; 
    margin-bottom: 5px;
}

.popup-message {
    font-size: 16px;
    color: #555;
    margin: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}