﻿.boxed, body {
    background-color: #fff
}

.custom-tabs, .pagination {
    display: flex;
    justify-content: center
}

.box, .boxed, .category-tile, .tile {
    box-shadow: 0 4px 8px rgba(0,0,0,.1)
}

.learn-btn:hover, .start-quiz-btn:hover {
    transition: background-color .5s
}

.box-caption, .logo-text, .quiz-title, .title {
    text-transform: uppercase
}

#cookieConsent a, .btn, .follower-button, .link, .logo-text, .oval-button, .quiz-card a, .rounded-text, .theme-toggle a, a, a:hover {
    text-decoration: none
}

.cta-banner {
    background: #ffecb3;
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
    border: 2px solid #ffc107;
    border-radius: 8px;
}

    .cta-banner h3 {
        font-size: 20px;
        color: #ff9800;
        margin: 0;
    }

    .cta-banner p {
        font-size: 16px;
        margin: 10px 0;
    }

    .cta-banner a {
        text-decoration: none;
        background: #00bcd4;
        color: #ffffff;
        padding: 10px 20px;
        border-radius: 5px;
        font-size: 16px;
        transition: background 0.3s;
    }

        .cta-banner a:hover {
            background: #008ba3;
        }

.tabs {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.tab {
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    border: 1px solid #00bcd4;
    border-radius: 5px;
    margin: 0 10px;
    background: #ffffff;
    color: #00bcd4;
    transition: 0.3s;
}

    .tab.active {
        background: #00bcd4;
        color: #ffffff;
    }

    .tab:hover {
        background: #00bcd4;
        color: #ffffff;
    }

.rewards-container {
    max-width: 800px;
    margin: auto;
    background: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 20px;
}

.rewards-header {
    text-align: center;
    margin-bottom: 20px;
}

    .rewards-header h1 {
        color: #4caf50;
        font-size: 2.5em;
    }

.tab-content {
    display: none;
    padding: 20px 0;
}

    .tab-content.active {
        display: block;
    }

.rewards-summary {
    text-align: center;
    padding: 10px 0;
    margin-bottom: 20px;
    border-top: 2px solid #eee;
    border-bottom: 2px solid #eee;
}

    .rewards-summary span {
        font-size: 1.5em;
        color: #333;
    }

.milestone-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

    .milestone-table th,
    .milestone-table td {
        padding: 12px 15px;
        text-align: left;
        border-bottom: 1px solid #ddd;
    }

    .milestone-table th {
        background-color: #4caf50;
        color: white;
    }


.rewards-description {
    text-align: center;
    margin-bottom: 20px;
}

    .rewards-description h2 {
        font-size: 22px;
        color: #00bcd4;
        margin-bottom: 10px;
    }

    .rewards-description p {
        font-size: 16px;
    }

.rewards-progress-container {
    margin: 20px 0;
}

    .rewards-progress-container h3 {
        margin-bottom: 10px;
    }

.rewards-progress-bar {
    width: 80%;
    justify-self: center;
    background-color: #eee;
    border-radius: 8px;
    overflow: hidden;
}

.rewards-progress {
    height: 20px;
    background-color: teal;
    width: 100%; /* Dynamically change this width based on user progress */
    line-height: 20px;
    color: white;
    text-align: center;
}

.rewards-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

    .rewards-table th, .rewards-table td {
        padding: 10px;
        text-align: center;
        border: 1px solid #ddd;
    }

    .rewards-table th {
        background-color: #00bcd4;
        color: white;
    }

    .rewards-table td {
        font-size: 14px;
        color: #555555;
    }

.terms p {
    font-size: 14px;
    line-height: 1.5;
}

.custom-badge {
    background-color: #0056b3;
    color: #ffffff;
    border: 1px solid #007bff;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

body {
    padding-top: 60px;
    padding-bottom: 20px;
    font-family: Roboto,-apple-system,BlinkMacSystemFont,system-ui,sans-serif;
    color: #000;
    transition: background-color .3s,color .3s;
    font-size: 14px
}

.boxed {
    width: 100%;
    margin: 10px auto;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden
}

.boxed-header {
    background-color: #f7f7f7;
    padding: 8px;
    font-weight: 700;
    color: #333;
    text-align: left
}

.boxed-content {
    padding: 8px;
    color: #555;
    line-height: 1.6;
    font-size: 12px;
    text-align: justify
}

.boxed-header + .boxed-content {
    border-top: 1px solid #ddd
}

.tile {
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    transition: transform .3s;
    height: 100%
}

    .category-tile:hover, .tile:hover {
        transform: translateY(-5px)
    }

.quiz-stats {
    background-color: #d1e8e2;
    color: #333
}

.top-performers {
    background-color: #a5d8ff;
    color: #333
}

.site-visitors {
    background-color: #f5d7e3;
    color: #333
}

.additional-stats {
    background-color: #eae8ff;
    color: #333
}

.carousel-container {
    position: relative;
    overflow-x: hidden
}

.category-tile {
    padding: 20px;
    background-color: #fff;
    border-radius: 15px;
    text-align: center;
    transition: transform .3s ease-in-out;
    margin-bottom: 30px
}

.category-icon {
    font-size: 30px;
    margin-bottom: 10px;
    color: #007bff
}

.question, .share-btn-icons {
    font-size: 18px;
    margin-bottom: 10px
}

.category-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333
}

.category-description {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px
}

.quiz-count {
    font-size: 18px;
    color: #333;
    font-weight: 700
}

.personalized {
    color: #066
}

.recently-added {
    color: #0057b8
}

.trending {
    color: #933
}

.kids-students {
    color: #8b5e3c
}

.it {
    color: #007a00
}

.sports {
    color: #0057b8
}

.gk {
    color: purple
}

.medical {
    color: #55a
}

.english-skills {
    color: #007a00
}

.arts-movies {
    color: #933
}

.custom-tabs {
    border-bottom: 2px solid #ccc;
    padding-bottom: 10px
}

    .custom-tabs .nav-item {
        margin-bottom: -2px
    }

    .custom-tabs .nav-link {
        color: #333;
        padding: 10px 20px;
        position: relative;
        cursor: pointer;
        border: none
    }

        .custom-tabs .nav-link.active, .custom-tabs .nav-link:hover {
            color: #0056b3
        }

            .custom-tabs .nav-link.active::after {
                content: "";
                position: absolute;
                bottom: -10px;
                left: 0;
                width: 100%;
                height: 3px;
                background-color: #0056b3
            }

.box {
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    background-color: #f8f9fa;
    position: relative
}

.box-caption {
    position: absolute;
    top: -16px;
    left: 20px;
    background-color: #fff;
    color: #333;
    padding: 6px 12px;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,.15);
    border: 1px solid #ddd;
    letter-spacing: .5px
}

.carousel {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    touch-action: pan-y
}

    .carousel::-webkit-scrollbar {
        display: none
    }

.title {
    font-size: 20px;
    margin-bottom: 20px;
    padding: 5px
}

.meta-info, .quiz-card .lastupdated {
    font-size: 12px
}

.trending-title {
    color: #933
}

.categories-title, .latest-title {
    color: green
}

.languages-title, .recommendation-title {
    color: #ff69b4
}

.subjects-title, .unfinished-title {
    color: #17a2b8
}

.answer-box {
    padding: 15px;
    margin: 10px 0;
    border-radius: 5px
}

.correct-answer {
    background-color: #d4edda;
    border: 2px solid #28a745;
    color: #155724
}

.wrong-answer {
    background-color: #f8d7da;
    border: 2px solid #dc3545;
    color: #721c24
}

.scroll-indicator {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    z-index: 1;
    cursor: pointer;
    width: 25px;
    text-align: center;
    vertical-align: middle
}

.previous {
    background-color: #f1f1f1;
    color: #000
}

.next {
    background-color: #04aa6d;
    color: #fff
}

.round {
    border-radius: 50%
}

.scroll-indicator:hover {
    color: rgba(0,0,0,.5)
}

.scroll-indicator-left {
    left: 0
}

.scroll-indicator-right {
    right: 0
}

.btn-container {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center
}

.btn {
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer
}

.learn-btn, .start-quiz-btn {
    border: none;
    transition: background-color .3s
}

    .start-quiz-btn, .start-quiz-btn:hover {
        background-color: #0056b3;
        color: #fff
    }

    .learn-btn, .learn-btn:hover {
        background-color: #5a6268;
        color: #fff
    }

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 10px
}

.options, .quiz-card {
    display: flex;
    flex-direction: column
}

.meta-info {
    color: #888
}

.quiz-title {
    font-size: 20px;
    margin-bottom: 5px;
    color: #000
}

.pagination {
    margin-top: 20px
}

.page-item {
    display: inline-block;
    margin-right: 5px
}

.page-link {
    color: #007bff;
    border: 1px solid #007bff;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer
}

    .page-link:hover {
        background-color: #007bff;
        color: #fff
    }

.quiz-card .lastupdated, .quiz-card .stats {
    margin-bottom: 5px;
    color: #3b3535;
    text-align: left
}

.quiz-card {
    border: 1px solid #ccc;
    border-radius: 8px;
    margin-bottom: 5px;
    padding: 15px
}

    .quiz-card a {
        color: #fff
    }

.quiz-thumbnail {
    position: relative;
    max-width: 400px;
    max-height: 150px;
    object-fit: cover;
    border-radius: 8px
}

.combined-thumbnail {
    display: grid;
    grid-template-columns: repeat(1,1fr);
    width: 100%;
    height: 100%
}

    .combined-thumbnail img {
        width: 100%;
        height: 150px;
        object-fit: cover;
        border-radius: 8px
    }

.quiz-header {
    font-size: 20px;
    color: #333
}

.quiz-description {
    color: #191970
}

.quiz-ranking {
    font-size: 16px;
    color: #007bff
}

.quiz-questions {
    font-size: 18px;
    color: #28a745
}

.overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-shadow: 2px 2px 2px rgba(0,0,0,.7)
}

.progress-bar-container {
    background-color: #ccc;
    height: 20px;
    border-radius: 10px;
    position: relative
}

.smallest-text {
    font-size: 12px;
    white-space: nowrap
}

.progress-indicator {
    background-color: #4caf50;
    height: 100%;
    border-radius: 5px;
    width: .75%;
    transition: width .5s ease-in-out
}

.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999
}

.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: 2s linear infinite spin
}

@keyframes spin {
    0% {
        transform: rotate(0)
    }

    100% {
        transform: rotate(360deg)
    }
}

a {
    color: #000;
    background-color: transparent;
    font-size: 12px
}

    a:hover {
        color: darkblue;
    }

.image-button {
    width: auto;
    height:auto;
    cursor: pointer
}

    .image-button:hover {
        opacity: .8
    }

.number-container {
    white-space: pre-wrap;
    overflow-x: auto;
    border: 1px solid #ccc;
    padding: 5px;
    max-width: 100%
}

.quiz-container, input, select, textarea {
    max-width: 800px
}

.number {
    display: inline-block;
    padding: 5px 10px;
    margin-right: 5px;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 5px
}

.theme-toggle button {
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    transition: background-color .3s;
    border-radius: 5px
}

.theme-toggle a {
    display: inline-block;
    padding: 10px 20px;
    font-weight: 700;
    border-radius: 5px;
    transition: background-color .3s
}

.side-menu ul, ul {
    padding: 0;
    margin: 0
}

#dark-theme-button {
    width: 270px;
    background-color: #333;
    color: #fff
}

    #dark-theme-button:hover {
        background-color: #555
    }

#light-theme-button {
    width: 270px;
    background-color: #f1f1f1;
    color: #333
}

    #light-theme-button:hover {
        background-color: #ddd
    }

.side-menu, .side-menu-stats {
    background-color: #f7f9f9;
    padding: 10px;
    border-radius: 5px
}

    .side-menu ul {
        list-style: none
    }

.result-table td, .result-table th {
    padding: 10px;
    border: 1px solid #ddd
}

.side-menu li {
    margin-bottom: 10px
}

.result-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    color: #333
}

    .result-table th {
        background-color: #007bff;
        color: #fff;
        font-weight: 700;
        text-align: left
    }

.search-container {
    position: relative;
    width: 400px;
    margin: 10px auto;
    border: none;
    padding-right: 5px
}

.search-icon-only {
    color: #333;
    cursor: pointer;
    border: none
}

    .search-icon-only::before, .search-icon::before {
        content: "\1F50D";
        border: none
    }

.search-icon {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    font-size: 24px;
    color: #333;
    cursor: pointer;
    border: none;
}

.search-input {
    width: 70%;
    height:48px;
    padding: 8px;
    border-radius: 5px;
    color: #000;
    background-color: #f0f0f0
}

.ovalicon {
    width: 60px;
    height: 60px;
    background-color: #007bff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px
}

.combatbox-header {
    background-color: #f7f9f9;
    padding: 5px;
    border-radius: 5px;
    margin-bottom: 5px;
    margin-top: 5px
}

    .combatbox-header .subheader {
        font-size: 16px;
        margin-bottom: 5px;
        text-align: left;
        color: #8b008b
    }

    .combatbox-header .stats {
        margin-bottom: 5px;
        text-align: center
    }

.badge-info {
    background-color: #17a2b8
}

.rounded-pill {
    border-radius: 50px
}

.rounded-pill-secondary {
    border-radius: 50px;
    background-color: transparent;
    color: #000
}

.combatbox {
    width: 98%;
    background-color: #f7f9f9;
    border: 1px solid #87cefa;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
    margin-bottom: 10px;
    margin-left: 10px;
    word-wrap: break-word
}

.round-badge {
    display: inline-block;
    background-color: #006400;
    color: #fff;
    border-radius: 50%;
    padding: 5px 10px;
    font-weight: 700;
    box-shadow: 0 2px 4px rgba(0,0,0,.3)
}

.less-than-fifty {
    background-color: red;
    color: #fff
}

.fifty-or-more {
    background-color: orange;
    color: #000
}

.link, .login-text, .rounded-text {
    border-radius: 25px;
    background-color: #3498db;
    transition: background-color .3s,color .3s;
    display: inline-block;
    text-align: center
}

.login-text {
    padding: 1px 3px;
    color: #fff
}

    .link:hover, .login-text:hover, .rounded-text:hover {
        background-color: #e74c3c;
        color: #fff;
        cursor: pointer;
        box-shadow: 0 0 10px rgba(0,0,0,.2)
    }

.link, .rounded-text {
    padding: 5px 20px;
    color: #fff;
    margin-bottom: 10px
}

.follower-button {
    display: inline-block;
    padding: 6px 20px;
    border: none;
    border-radius: 5px;
    background-color: #4caf50;
    color: #fff;
    text-align: center;
    font-weight: 700;
    cursor: pointer;
    transition: background-color .3s,transform .2s
}

.option, .optionResult {
    transition: background-color .3s
}

.follower-button:hover {
    background-color: #45a049;
    transform: scale(1.05)
}

.follower-section {
    display: flex;
    align-items: flex-end;
    margin-bottom: 20px
}

#cookieConsent, .popup-container {
    position: fixed;
    left: 0;
    display: none
}

.follower-count {
    font-weight: 700;
    margin-right: 5px
}

h1, h4 {
    text-align: center
}

.logo-container, h2 {
    text-align: left
}

.combatbox .title {
    font-size: 20px;
    margin-bottom: 5px;
    text-align: center
}

.combatbox .subheader {
    font-size: 16px;
    margin-bottom: 5px;
    text-align: left;
    color: #000
}

.combatbox .subheaderTags {
    margin-bottom: 5px;
    text-align: center;
    color: #000
}

.combatbox .subheaderbold {
    font-size: 16px;
    margin-bottom: 5px;
    text-align: left;
    color: #00f;
    font-weight: 700;
    text-decoration: underline
}

.combatbox .description {
    margin-bottom: 5px
}

.combatbox .stats {
    font-size: 12px;
    margin-bottom: 5px;
    text-align: center;
    color: gray
}

.popup-container {
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.5);
    z-index: 999;
    align-items: center;
    justify-content: center
}

.popup-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,.1)
}

.oval-button, .popup-button {
    padding: 10px 20px;
    cursor: pointer
}

.popup-buttons {
    margin-top: 20px
}

.popup-button {
    margin: 0 10px;
    border: none;
    border-radius: 5px
}

.rounded-text.yes {
    background-color: #4caf50;
    color: #fff
}

.rounded-text.no {
    background-color: #e74c3c;
    color: #fff
}

.oval-button {
    display: inline-block;
    background-color: #007bff;
    border: none;
    border-radius: 50%;
    text-align: center;
    font-size: 16px
}

    .oval-button:hover {
        background-color: #0056b3
    }

.logo-text {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px
}

.logoicon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none
}

.logo-name {
    font-family: Poppins,sans-serif;
    font-size: 20px;
    font-weight: 200;
    color: darkblue;
    letter-spacing: 3px
}

.bigcircleicon, .circleicon, .smallcircleicon {
    background-color: #007bff;
    border-radius: 50%;
    display: flex;
    font-size: 24px
}

.slogan {
    font-family: Roboto,sans-serif;
    color: #555;
    line-height: 1
}

.bigcircleicon {
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center
}

    .bigcircleicon:hover, .circleicon:hover, .smallcircleicon:hover {
        background-color: #0056b3;
        cursor: pointer
    }

.smallcircleicon {
    width: 20px;
    height: 20px;
    align-items: center;
    justify-content: center
}

.circleicon {
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center
}

#closeCookieConsent, .arrow, .optionResult, ul li {
    display: inline-block
}

.body-content {
    padding-left: 5px;
    padding-right: 5px
}

.quiz-container {
    margin: 5px auto;
    background-color: #f7f9f9;
    border-radius: 5px;
    box-shadow: 0 1px 2px rgba(0,0,0,.1);
    padding: 5px
}

.arrow {
    border: solid #000;
    border-width: 0 3px 3px 0;
    padding: 3px
}

.down {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg)
}

.optionResult {
    border: 1px solid #000;
    border-radius: 5px;
    text-align: left;
    position: relative;
    width: 100%;
    height: 40px
}

.bar, .qodlabel {
    position: absolute;
    text-align: left
}

.qodlabel {
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
    line-height: 40px;
    color: #000;
    padding-left: 10px
}

.bar {
    height: 40px;
    border-radius: 5px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 10px;
    z-index: 0
}

.option {
    margin: 5px 0;
    padding: 5px;
    border: 1px solid #000;
    border-radius: 5px;
    cursor: pointer;
    text-align: left
}

    .option.selected {
        background-color: #87ceeb;
        border-color: #007bff
    }

    .option.wrong {
        background-color: #8b0000;
        color: #fff
    }

    .option.correct {
        background-color: #006400;
        color: #fff
    }

    .option:hover {
        background-color: #87ceeb
    }

.navigate {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px
}

.correctanswer, .wronganswer {
    margin: 10px 0;
    padding: 10px;
    text-align: left;
    color: #fff;
    cursor: pointer
}

.correctanswer {
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #006400
}

.wronganswer {
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #8b0000
}

.circle, .circle-user, .footer {
    text-align: center
}

#cookieConsent {
    background-color: rgba(20,20,20,.8);
    min-height: 26px;
    color: #ccc;
    line-height: 26px;
    padding: 8px 0 8px 30px;
    bottom: 0;
    right: 0;
    z-index: 9999
}

    #cookieConsent a {
        color: #4b8ee7
    }

#closeCookieConsent {
    float: right;
    cursor: pointer;
    height: 20px;
    width: 20px;
    margin: -15px 0 0;
    font-weight: 700
}

#cookieConsent a.cookieConsentOK {
    background-color: black;
    display: inline-block;
    border-radius: 5px;
    padding: 0 20px;
    cursor: pointer;
    float: right;
    margin: 0 60px 0 10px;
    color:white;
}

.circle {
    width: 70px;
    height: 70px;
    border-radius: 35px;
    font-size: 25px;
    line-height: 65px
}

.circle-user {
    width: 35px;
    height: 35px;
    border-radius: 17px;
    font-size: 12px;
    line-height: 27px;
    border: none
}

ul {
    list-style-type: none
}

    ul li {
        margin-right: 10px
    }

.navbar {
    margin-bottom: 0;
    border-radius: 0
}

.errormsg, .notemsg, .successmsg {
    margin-top: 5px;
    margin-bottom: 5px
}

.row.content {
    height: 580px
}

.sidenav {
    padding-top: 10px;
    height: 100%
}

.footer {
    background-color: #f4f4f8;
    color: #333;
    padding: 10px 0
}

.errormsg, .notemsg {
    color:fuchsia;
}

.hintmsg {
    font-size: 12.5px
}

.successmsg {
    color: teal;
}

@media screen and (max-width:1290px) {
    .row.content, .sidenav {
        height: auto
    }

    .sidenav {
        padding: 10px
    }

    .jumbotron {
        margin-top: 20px
    }

    .body-content {
        padding: 0
    }

    .leftsidemenu {
        display: none
    }
}
