body {
    transition: all 200ms;
}

h1.title {
    font-size: 24px;
    font-weight: 600;
    color: #000000;
}
h1.card-title {
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 600;
    color: #000000;
}
a.random-test {
    max-width: 340px;
    width: 100%;
    padding: 20px 0;
    border-radius: 8px;
    background-color: #ff9f0a;
}
@media (max-width: 399px) {
    a.random-test {
        max-width: unset;
    }
}
a.random-test:hover {
    text-decoration: none;
    opacity: .7;
}
a.random-test h2 {
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    color: #ffffff;
    margin: 0;
}
a.card.exam-card {
    color: #000000;
    border-radius: 8px;
    background-color: #f2f2f6;
    border: none;
    height: 80px;
    padding: 14px;
}
a.card:hover {
    text-decoration: none;
    color: #000000;
}
a.card h3 {
    font-size: 14px;
    font-weight: 600;
    color: #000000;
}
a.card .card-subtitle {
    font-size: 12px;
    color: #000000;
}

.navbar {
    background-color: #ffffff;
}

.card-text-mobile p {
    color: #6c757d;
}

.media-body .card-text {
    opacity: 0.7;
}

.exam .card .card-header,
.gane .card .card-header {
    background-color: #ffffff;
}

.mobile-nav a h4 {
    color: #343a40;
}

.exam .card-body .chkb-list .checkbox,
.game .card-body .chkb-list .checkbox {
    border-radius: 10px;
    border: solid 1px #e5e5e5;
    cursor: pointer;
    padding: 12px;
    padding-left: 40px;
}

.exam .card-body .chkb-list.checked .checkbox,
.game .card-body .chkb-list.checked .checkbox {
    border: solid 1px #f5c376;
    background-color: rgba(255, 159, 10, 0.05);
}

.exam .card-body .chkb-list.checked .checkbox.chkb-parent input:checked ~ .checkmark,
.game .card-body .chkb-list.checked .checkbox.chkb-parent input:checked ~ .checkmark {
    border: solid 1px #f5c376;
    background-color: rgba(255, 159, 10, 0.05);
}

.exam .card-body .chkb-list.checked .checkbox.chkb-parent .checkmark:after,
.game .card-body .chkb-list.checked .checkbox.chkb-parent .checkmark:after{
    border-color: #f5c376;
}

.exam .card-body .chkb-list .checkbox:hover,
.game .card-body .chkb-list .checkbox:hover {
    border: solid 1px #f5c376;
    background-color: rgba(255, 159, 10, 0.05);
}

.exam .card-body .chkb-list .checkbox.checked-image.correct-answer,
.exam .card-body .chkb-list .checkbox.correct-answer{
    border-color: #34C759;
    background-color: #E0F6E6;
}

.dark-mode .exam .card-body .chkb-list .checkbox.checked-image.correct-answer,
.dark-mode .exam .card-body .chkb-list .checkbox.correct-answer {
    background-color: #27733b;
}

.exam .card-body .chkb-list .checkbox.checked-image.wrong-answer,
.exam .card-body .chkb-list .checkbox.wrong-answer {
    border-color: #FF3E33;
    background-color: #FFE1E0;
}

.dark-mode .exam .card-body .chkb-list .checkbox.checked-image.wrong-answer,
.dark-mode .exam .card-body .chkb-list .checkbox.wrong-answer {
    border-color: #FF3E33;
    background-color: #650e0a;
}

.exam .card .card-header .btn,
.game .card .card-header .btn {
    color: #fa9514;
}

.exam .card .card-header .btn:focus {
    box-shadow: none;
}

.exam .card .card-footer button,
.game .card .card-footer button,
.exam .card .card-footer .btn-orange {
    background-color: #fa9514;
    border-color: #fa9514;
    color: #ffffff;
}

.exam .card .card-footer button:hover,
.game .card .card-footer button:hover,
.exam .card .card-footer .btn-orange:hover {
    background-color: #c37209;
    border-color: #c37209;
}

.btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show>.btn-primary.dropdown-toggle {
    background-color: #fab44e;
    border-color: #fab44e;
    outline: none;
    box-shadow: none;
}

.btn.btn-primary:focus,
.btn-primary.focus, .btn-primary:focus,
.btn-primary:not(:disabled):not(.disabled).active:focus, .btn-primary:not(:disabled):not(.disabled):active:focus, .show>.btn-primary.dropdown-toggle:focus {
    outline: none;
    box-shadow: none;
}

.exam .card .card-footer button:focus,
.game .card .card-footer button:focus {
    outline: none;
    box-shadow: none;
}

.exam .card-body img,
.game .card-body img{
    border-radius: 15px;
}

.exam .card .card-body p.card-text,
.game .card .card-body p.card-text {
    font-size: 18px;
    font-weight: 600;
}

/* The container */
.chkb-parent {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
.chkb-parent input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto 0;
    left: 10px;
    background-color: transparent;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: solid 1px #e5e5e5;
    pointer-events: none;
}

/* On mouse-over, add a grey background color */
.chkb-parent:hover input ~ .checkmark {
    border: solid 1px #f5c376;
}

.chkb-parent input:checked ~ .checkmark {
    border-color: #000000;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.chkb-parent input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.chkb-parent .checkmark:after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #000000;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.exam .card-body .chkb-list.checked .checkbox.correct-answer.chkb-parent .checkmark:after,
.dark-mode .exam .card-body .chkb-list.checked .checkbox.correct-answer.chkb-parent .checkmark:after{
    border-color: #34C759;
}

.exam .card-body .chkb-list.checked .checkbox.correct-answer.chkb-parent input:checked ~ .checkmark,
.exam .card-body .chkb-list .checkbox.correct-answer.chkb-parent .checkmark,
.dark-mode .exam .card-body .chkb-list .checkbox.correct-answer.chkb-parent .checkmark,
.dark-mode .exam .card-body .chkb-list.checked .checkbox.correct-answer.chkb-parent input:checked ~ .checkmark{
    border-color: #34C759;
}

.wrong-answer.chkb-parent .checkmark,
.exam .card-body .chkb-list.checked .wrong-answer.chkb-parent .checkmark:after,
.dark-mode .exam .card-body .chkb-list.checked .wrong-answer.chkb-parent .checkmark:after{
    border-color: #FF3E33;
}

.exam .card-body .chkb-list.checked .wrong-answer.chkb-parent input:checked ~ .checkmark,
.exam .card-body .chkb-list.checked .wrong-answer.chkb-parent input ~ .checkmark,
.dark-mode .exam .card-body .chkb-list.checked .wrong-answer.chkb-parent input:checked ~ .checkmark {
    border-color: #FF3E33;
}

label.chkb-parent {
    font-size: 16px;
}

.alert-answer {
    position: absolute;
    z-index: 10;
    width: 200px;
    border-radius: 5px;
    left: 0;
    right: 0;
    top: 10px;
    margin: auto;
}

.alert-answer.correct-answer {
    color: #34C759;
    background-color: #E0F6E6;
}

.alert-answer.wrong-answer {
    background-color: #FFE1E0;
    color: #FF3E33;
}

.dark-mode .alert-answer.correct-answer {
    background-color: #278640;
}

.dark-mode .alert-answer.wrong-answer {
    background-color: #8f0700;
}

.alert-answer.correct-answer .wrong,
.alert-answer.wrong-answer .correct {
    display: none;
}

.alert-answer.wrong-answer .wrong,
.alert-answer.correct-answer .correct{
    display: table;
}

    /* DARK MODE */

.dark-mode .chkb-parent .checkmark:after,
.dark-mode .chkb-parent input:checked ~ .checkmark {
    border-color: #ffffff;
}


.dark-mode {
    background-color: #000000;
}

.dark-mode .card,
.dark-mode a.card{
    background-color: #1c1c1c;
}

.dark-mode .media-body .card-text {
    opacity: 0.8;
}

.dark-mode a.card h3,
.dark-mode a.card .card-subtitle,
.dark-mode h1.title,
.dark-mode .literature h5,
.dark-mode .literature p,
.dark-mode .literature .card h4,
.dark-mode .literature h1.card-text,
.dark-mode .literature ul li {
    color: #ffffff;
}

.dark-mode .navbar {
    background-color: #222831;
}

.dark-mode .navbar-light .navbar-nav .active>.nav-link {
    color: #ffffff;
}

.dark-mode .navbar-light .navbar-nav .nav-link {
    color: rgb(255, 255, 255, .8);
}

.dark-mode h1.card-title {
    color: #ffffff;
}

.dark-mode .card-text-mobile p {
    color: rgb(255, 255, 255, .9);
}

.dark-mode .modal-content {
    background-color: #000000;
}
.dark-mode .modal-content .close,
.dark-mode .modal-content p,
.dark-mode .modal-content h5,
.dark-mode .modal-content .checkbox {
    color: #ffffff;
}
.dark-mode .modal-header {
    border: none;
}

.dark-mode .section-title {
    color: #ffffff;
}

.dark-mode .game h5,
.dark-mode .game p,
.dark-mode .game table {
    color: #ffffff;
}

.dark-mode .game .card,
.dark-mode .exam .card,
.dark-mode .exam .card .card-footer,
.dark-mode .game .card .card-footer,
.dark-mode .exam .card .card-header,
.dark-mode .game .card .card-header,
.dark-mode .exam .card .c100:after {
    background-color: #000000;
}

.dark-mode .exam .card .card-header,
.dark-mode .game .card .card-header {
    border-color: #b5b5b5;
}

.dark-mode .exam .card .checkbox,
.dark-mode .game .card .checkbox,
.dark-mode .exam .card .card-text,
.dark-mode .game .card .card-text,
.dark-mode .exam .card .card-footer .question-answered,
.dark-mode .game .card .card-footer .small,
.dark-mode .exam .card .card-header .question-answered,
.dark-mode .game .card .card-header .small,
.dark-mode .exam .card .card-header .question-title,
.dark-mode .game .card .card-header .question-title,
.dark-mode .exam .card .card-header .question-subtitle,
.dark-mode .game .card .card-header .question-subtitle,
.dark-mode .exam .card h2,
.dark-mode .game .card h2,
.dark-mode label,
.dark-mode .game .text-points{
    color: #ffffff;
}

.dark-mode .dropdown-menu {
    background-color: #000000;
}

.dark-mode .dropdown-menu a,
.dark-mode .mobile-nav a h4,
.dark-mode .contact-title,
.dark-mode .help-form .small {
    color: #ffffff;
}

.dark-mode .dropdown-menu a:hover {
    color: #000000;
}

.dark-mode #top-ad {
    background-color: #000000;
}

.dark-mode .card-body {
    color: #ffffff;
}

.dark-mode .form-control {
    background-color: #495057;
    color: #ffffff;
}

.dark-mode .form-control::placeholder {
    color: #d4d4d4;
}

.dark-mode p {
    color: #ffffff;
}