/*
    Developer: Mohamed Aleskndrany
    Website: https://maleskndrany.com
    Email: contact@maleskndrany.com
*/

/* constants */

:root {
    --primary-color: #20acba;
    --secondary-color: #ffc258;
    --plyr-color-main: #2f96b4;
    --btn-color: #39d8c3;
    --text-color: #5e768b;
    --bg-color: #f7fbff;
    --plan-border-color: rgba(41, 152, 250, 0.15);
    --plan-border-color-vip: rgba(255, 125, 86, 0.15);
}

/* main rules */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Tajawal', 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #f5f8f8;
}

a {
    text-decoration: none;
    color: #101313;
    transition: color 0.3s ease-in-out;
}

a:hover {
    color: #20acba;
}

ul {
    list-style: none;
}

.text-primary {
    color: #20acba !important;
}

.btn-primary {
    background-color: #20acba !important;
    outline: none !important;
    border: none !important;
}

.btn-light-primary {
    background-color: rgba(32, 172, 186, 0.1) !important;
    color: #20acba !important;
}

.bg-primary {
    background-color: #20acba !important;
}

.c-pointer {
    cursor: pointer;
}

.glowy-text {
    color: cyan;
    background: linear-gradient(90deg, #8cf3f3, #40b6d9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.glowy-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    filter: blur(8px);
    z-index: -1;
}

.app-btn {
    cursor: pointer;
    display: flex;
    justify-content: center;
    padding: 0.6rem 1.4rem 0.4rem 1.4rem;
    background-color: #2f96b4;
    color: #FFF;
    font-size: 1.1rem;
    border-radius: 0.5rem;
    transition: opacity 0.3s ease-in-out;
}

.app-btn.glowy {
    background-image: linear-gradient(-60deg, #48c4d0 0%, #20acba 100%);

}

.app-btn:hover {
    opacity: 0.9;
    color: white;
}

.app-shadow {
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.02);
}

.app-radius {
    border-radius: 1rem;
}

.app-hover {
    transition: all 0.3s ease-in-out;
}

.app-hover:hover {
    transform: translateY(-0.5rem);
}

.disabled {
    cursor: not-allowed !important;
    opacity: 0.5 !important;
    user-select: none !important;
}

.app-disabled {
    cursor: not-allowed !important;
    user-select: none !important;
}

.alert-warning {
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid #ffeeba;
    border-radius: 0.25rem;
    background-color: #fff3cd;
    color: #856404;
    font-size: 1rem;
    line-height: 1.5;
}

.alert-danger {
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid #ffbaba;
    border-radius: 0.25rem;
    background-color: #ffcdcd;
    color: #850404;
    font-size: 1rem;
    line-height: 1.5;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    box-shadow: 0 0 0 30px white inset !important;
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}

.main-btn {
    margin-top: 0rem;
    padding: 0;
}

.main-btn a {
    display: block;
    text-align: center;
    padding: 1rem;
    font-size: 1.15rem;
    border-radius: 0.5rem;
    width: 100%;
    background: #20acba;
    color: #FFF;
    outline: none;
    border: none;
    cursor: pointer;
    transition: opacity 0.3s ease-in-out;
}

.main-btn a:hover {
    opacity: 0.9;
}

.mb-2 {
    margin-bottom: 2rem;
}

.pt-0 {
    padding-top: 0;
}


.app-content {
    position: relative;
    width: 100%;
    line-height: 1.8rem;
    font-family: 'Tajawal', 'Poppins', sans-serif !important;
}

.app-content *,
.app-content h1,
.app-content h2,
.app-content h3,
.app-content h4,
.app-content h5,
.app-content h6,
.app-content p,
.app-content span,
.app-content ul,
.app-content ol,
.app-content li {
    font-family: 'Tajawal', 'Poppins', sans-serif !important;
}

.app-content img {
    display: inline-block;
    border-radius: 10px;
    max-width: 100% !important;
    margin-bottom: 2rem;
}

.app-content h1 {
    font-size: 28px !important;
    font-weight: bold !important;
}

.app-content h2 {
    font-size: 26px !important;
    font-weight: bold !important;
}

.app-content h3 {
    font-size: 24px !important;
    font-weight: bold !important;
}

.app-content h4 {
    font-size: 22px !important;
    font-weight: bold !important;
}

.app-content h5 {
    font-size: 20px !important;
    font-weight: bold !important;
}

.app-content h6 {
    font-size: 19px !important;
    font-weight: bold !important;
}

.app-content p {
    line-height: 2rem;
    font-size: 19px !important;
}

.app-content span {
    line-height: 2rem;
    font-size: 19px !important;
}

.app-content ul,
.app-content ol {
    padding-right: 1em;
}

.payment-method label {
    padding: 0.25rem 0.5rem;
    border: 2px solid rgba(0, 0, 0, 0.1);
}

.payment-method label i {
    padding-top: 0.5rem;
}

.payment-method label i.empty {
    display: block;
}

.payment-method label i.selected {
    display: none;
}

.payment-method label.checked,
.payment-method input:checked + label {
    border: 2px solid #20acba;
}

.payment-method label.checked i.empty,
.payment-method input:checked + label i.empty {
    display: none;
}

.payment-method label.checked i.selected,
.payment-method input:checked + label i.selected {
    display: block;
}

.payment-method label img {
    display: block;
    height: 35px;
    width: 35px;
    object-fit: contain;
}

input:focus {
    outline: none !important;
    box-shadow: none !important;
    border-color: #dee2e6 !important;
}

.payment-info {
    display: none;
}

.instructions {
    user-select: text;
}

main {
    padding: 0 8%;
}

section {
    padding: 3rem 0;
}

.section-title {
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2rem;
    color: #20acba;
}

.section-title p {
    font-size: 1.1rem;
    margin-top: 0.25rem;
}

/* preloader */

.loader-container {
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    background-color: #FFF;
}

.loader {
    display: table;
    margin: 45vh auto 0;
}

.loader-dot {
    background-color: var(--primary-color);
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: inline-block;
    margin: 0.5rem;
    animation-name: dot, fade;
    animation-duration: 1.5s;
    animation-iteration-count: infinite;
    transform: scale(0);
}

.loader-dot:first-of-type {
    animation-delay: 0.1s;
}

.loader-dot:nth-of-type(2) {
    animation-delay: 0.3s;
}

.loader-dot:last-of-type {
    animation-delay: 0.5s;
}

@keyframes dot {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
    /* 100% {transform: scale(0);} */
}

@keyframes fade {
    0% {
        opacity: 0.7;
    }
    50% {
        opacity: 0.85;
    }
    100% {
        opacity: 1;
    }
}

/* end preloader */


/* header */

header {
    width: 100% !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 7%;
    background-color: #FFF;
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.02);
}

header .logo {
    height: 4rem;
}

header .logo img {
    height: 100%;
}

header nav,
header nav ul {
    display: flex;
    align-items: center;
}

header nav ul li a,
header nav ul li div div,
header .header-actions a.login-btn {
    padding: 0.5rem 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #383552;
    transition: color 0.3s ease-in-out;
}

header nav ul li a:hover,
header nav ul li a.active {
    color: #20acba;
}

header .app-dropdown {
    position: relative;
}

header .app-dropdown .app-dropdown-content {
    display: none;
    position: absolute;
    top: 100%; /* below the parent */
    right: 0;
    z-index: 99999999;
}

header .app-dropdown:hover > .app-dropdown-content {
    display: block;
}


header .header-actions a.login-btn {
    font-weight: 600;
    color: #0F1014;
    font-size: 1.05rem;
    transition: opacity 0.3s ease-in-out;
}


header .header-actions a.login-btn:hover {
    opacity: 0.8;
}

header .join-btn {
    display: inline-block;
    padding: 0.6rem 1.4rem 0.4rem 1.4rem;
    background-image: linear-gradient(-60deg, #48c4d0 0%, #20acba 100%);
    color: #FFF;
    font-size: 1.1rem;
    border-radius: 0.75rem;
    margin-right: 0.25rem;
    transition: opacity 0.3s ease-in-out;
}

header .join-btn:hover {
    opacity: 0.9;
}


header .menu-tab {
    display: none;
    font-size: 2.5rem;
    color: #20acba;
    z-index: 999;
    cursor: pointer;
}

header .menu-tab .uil-times {
    display: none;
}

header.scrolled {
    box-shadow: 8px 8px 10px rgb(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 99;
    animation-name: fadebottom;
    animation-duration: 0.5s;
    transform: translateY(0);
}

@keyframes fadebottom {
    from {
        transform: translateY(-4rem);
    }
    to {
        transform: translateY(0rem);
    }
}

.custom-textarea {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    box-sizing: border-box;
    resize: vertical;
}

.custom-textarea::placeholder {
    color: #6c757d;
    opacity: 1;
}


form {
    width: 100%;
    user-select: none;
}

form .form-field {
    margin: 2rem 0;
    position: relative;
}

form .form-field.invalid input {
    border-color: #c45555;
}

form .form-field.invalid label {
    color: #c45555;
}

form .form-field-error {
    margin-top: -1.5rem;
    font-size: 0.9rem;
    color: #c45555;
}

form .form-error {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #c45555;
}

form .form-field input,
form .form-field textarea,
form .form-field select {
    padding: 1rem;
    padding-right: 3rem;
    font-size: 1.25rem;
    border-radius: 0.5rem;
    border: 1px solid #888;
    width: 100%;
    background: #FFF;
    outline-color: #20acba;
}

form .form-field select {
    appearance: none;
}

form .form-field select:invalid {
    color: #777;
}

form .form-field select option:not(:first-of-type) {
    color: initial;
}

form .form-field label,
form .form-field i {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25rem;
    pointer-events: none;
    transition: all 0.2s ease-in-out;
    color: #777;
    display: flex;
}

form .form-field label {
    right: 3rem;
}

form .form-field i.prefix {
    right: 1rem;
}

form .form-field i.password-hide {
    display: none;
}

form .form-field i.suffix {
    left: 1rem;
    cursor: pointer;
    pointer-events: all;
}

form .form-field input::placeholder,
form .form-field textarea::placeholder {
    font-size: 1rem;
    color: #999;
}

form .form-field label {
    top: 0;
    right: 1.5rem;
    background-color: #FFF;
    padding: 0 0.5rem;
    font-size: 1rem;
}

form .form-field input:focus ~ label,
form .form-field textarea:focus ~ label,
form .form-field select:focus ~ label,
form .form-field textarea:focus ~ i,
form .form-field select:focus ~ i,
form .form-field input:focus ~ i {
    color: #20acba;
}

form .form-check {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    margin-top: -0.5rem;
    position: relative;
}

form .form-check input {
    width: 1.4rem;
    height: 1.4rem;
    outline: none;
    border: 2px solid #bebebe;
    border-radius: 0.4rem !important;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

form .form-check input:checked {
    background-color: #20acba;
    border-color: #20acba;
}

form .form-check label {
    cursor: pointer;
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

form .form-check i {
    position: absolute;
    font-size: 1.2rem;
    color: #FFF;
    top: 0.05rem;
    right: 0.1rem;
    pointer-events: none;
}

form .field-link {
    margin-top: -1.5rem;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

form .field-link a {
    font-weight: 500;
}

form .form-submit input {
    padding: 1rem;
    font-size: 1.25rem;
    border-radius: 0.5rem;
    width: 100%;
    background: #20acba;
    color: #FFF;
    outline: none;
    border: none;
    cursor: pointer;
    transition: opacity 0.3s ease-in-out;
}

form .form-submit input:hover {
    opacity: 0.9;
}

form .form-link {
    margin-top: 1.5rem;
    font-size: 1.2rem;
}

form .form-link a {
    font-weight: 500;
    margin-right: 0.25rem;
}

/* plyr */

.plyr__video-wrapper,
.plyr__poster,
.plyr--video {
    background-color: #FFF !important;
}

.plyr--full-ui {
    background-color: #000 !important;
}

/* courses */

.course .app-progress {
    width: 100%;
    display: flex;
    align-items: center;
    margin: 1rem 0;
}

.course .app-progress .app-progress-bar {
    flex-grow: 1;
    position: relative;
}

.course .app-progress .app-progress-bar .back {
    width: 100%;
    background-color: #eee;
    height: 0.75rem;
    border-radius: 2rem;
    margin: 0 !important;
}

.course .app-progress .app-progress-bar .bar {
    width: 60%;
    border-radius: 2rem;
    height: 0.75rem;
    background-color: #2f96b4;
    position: absolute;
    top: 0;
    z-index: 2;
    margin: 0 !important;
}

.course .app-progress span {
    font-size: 1.3rem;
    font-weight: 500;
    color: #2f96b4;
}

.courses .course,
.exams .exam {
    height: 100%;
    background-color: #FFF;
    border-radius: 1rem;
    transition: transform 0.3s ease-in-out;
    color: initial;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.02);
    position: relative;
}


.courses .course:hover,
.exams .exam:hover {
    transform: translateY(-0.5rem);
    color: initial;
}

.courses .course:hover > .details .title,
.exams .exam:hover > .details .title {
    color: #2f96b4;
}

.courses .course:hover > .image,
.exams .exam:hover > .image {
    opacity: 0.9;
}

.courses .course .image,
.exams .exam .image {
    border-top-right-radius: 1rem;
    border-top-left-radius: 1rem;
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
    transition: opacity 0.3s ease-in-out;
}

.courses .course .image img,
.exams .exam .image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.courses .course .details,
.exams .exam .details {
    padding: 1.5rem;
}

.courses .course .details .title,
.exams .exam .details .title {
    color: #383552;
    font-size: 1.3rem;
    /* text-align: center; */
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease-in-out;
}

.courses .course .details .description,
.exams .exam .details .description {
    color: #383552;
    /* text-align: center; */
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.courses .course .details .info,
.exams .exam .details .info {
    margin-top: 1rem;
    font-size: 1.15rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #8682ad;
}


/* course page */

.course-page .course-card,
.exam-page .exam-card {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.course-page .course-card .course-details,
.exam-page .exam-card .exam-details {
    width: 69%;
    background-color: #FFF;
    padding: 2rem;
    border-radius: 1rem;
}

.course-page .course-card .course-details .title,
.exam-page .exam-card .exam-details .title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #383552;
}

.course-page .course-card .course-details .intro-video,
.course-page .course-card .course-details .image,
.exam-page .exam-card .exam-details .image {
    border-radius: 1rem;
    overflow: hidden;
}

.course-page .course-card .course-details img,
.exam-page .exam-card .exam-details .image img {
    width: 100%;
    object-fit: cover;
}

.course-page .course-card .course-details h3,
.exam-page .exam-card .exam-details h3 {
    color: #383552;
    margin-top: 2rem;
}

.course-page .course-card .course-details .description,
.exam-page .exam-card .exam-details .description {
    font-size: 1.2rem;
    margin-top: 0.5rem;
    line-height: 2rem;
    color: #5e768b;
}

.course-page .course-skills,
.exam-page .exam-card .exam-details .exam-skills {
    display: flex;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.course-page .course-skills .skill,
.exam-page .exam-card .exam-details .exam-skills .skill {
    padding: 0.5rem 0.75rem;
    margin-left: 0.5rem;
    background-color: #5bdae21f;
    border-radius: 0.5rem;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: #354f52;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
    user-select: none;
}

/*
.course-page .course-card .course-details .course-skills .skill:hover,
.exam-page .exam-card .exam-details .exam-skills .skill:hover{
    color: #f8b238;
    background-color: rgba(248, 178, 56, 0.149);
} */

.course-page .course-card .course-info,
.exam-page .exam-card .exam-info {
    display: flex;
    flex-direction: column;
    width: 30%;
    background-color: #FFF;
    padding: 2rem;
    border-radius: 1rem;
    position: relative;
}

.course-page .course-card .course-info > div,
.exam-page .exam-card .exam-info > div {
    font-size: 1.2rem;
    margin-top: 2rem;
}

.course-page .course-card .course-info h2,
.exam-page .exam-card .exam-info h2 {
    color: #383552;
    font-size: 1.4rem;
}

.course-page .course-card .course-info div i,
.exam-page .exam-card .exam-info div i {
    margin-left: 0.5rem;
}

.course-page .course-card .course-info .course-field,
.exam-page .exam-card .exam-info .exam-field {
    margin-right: 2rem;
    margin-top: 0.25rem;
}

.course-page .course-card .course-info .join-course,
.exam-page .exam-card .exam-info .take-exam {
    margin-top: 0rem;
    padding: 0;
    margin-bottom: 2rem;
}

.course-page .course-card .course-info .join-course a,
.exam-page .exam-card .exam-info .take-exam a {
    display: block;
    text-align: center;
    padding: 1rem;
    font-size: 1.15rem;
    border-radius: 0.5rem;
    width: 100%;
    background: #20acba;
    color: #FFF;
    outline: none;
    border: none;
    cursor: pointer;
    transition: opacity 0.3s ease-in-out;
}

.course-page .course-card .course-info .join-course a:hover,
.exam-page .exam-card .exam-info .take-exam a:hover {
    opacity: 0.9;
}


@media only screen and (max-width: 1050px) {
    .course-page .course-card,
    .exam-page .exam-card {
        flex-direction: column;
    }

    .course-page .course-card .course-details,
    .exam-page .exam-card .exam-details {
        width: 100%;
        margin-bottom: 2rem;
    }

    .course-page .course-card .course-info,
    .exam-page .exam-card .exam-info {
        width: 100%;
    }

}


/* lesson page */

header.lesson,
header.exam {
    position: sticky;
    top: 0;
    z-index: 99;
    flex-wrap: wrap;
}

header .course-title,
header .exam-title {
    display: flex;
    align-items: center;
}

header .course-title .back-btn,
header .exam-title .back-btn {
    font-size: 1.6rem;
    width: 2.2rem;
    height: 2.2rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(91, 198, 226, 0.149);
    border-radius: 0.75rem;
    margin-left: 1rem;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

header .course-title .back-btn i,
header .exam-title .back-btn i {
    line-height: 1rem;
}

header .course-title .back-btn:hover,
header .exam-title .back-btn:hover {
    background-color: rgba(56, 248, 219, 0.15);
}

header .course-title .title,
header .exam-title .title {
    color: #355252;
    font-size: 1.3rem;
}

header.lesson .progress,
header.exam .progress {
    width: 40%;
    display: flex;
    align-items: center;
}

header.lesson .progress .progress-bar,
header.exam .progress .progress-bar {
    flex-grow: 1;
    margin-right: 1rem;
    position: relative;
}

header.lesson .progress .progress-bar .back,
header.exam .progress .progress-bar .back {
    width: 100%;
    background-color: #EEE;
    height: 1rem;
    border-radius: 2rem;
}

header.lesson .progress .progress-bar .bar,
header.exam .progress .progress-bar .bar {
    width: 60%;
    border-radius: 2rem;
    height: 1rem;
    background-color: #20acba;
    position: absolute;
    top: 0;
    z-index: 99;
}

header.lesson .progress span,
header.exam .progress span {
    font-size: 1.3rem;
    font-weight: 500;
    color: #20acba;
}

@media only screen and (max-width: 750px) {
    header.lesson .progress,
    header.exam .progress {
        width: 100%;
    }

    header .course-title,
    header .exam-title {
        margin-bottom: 1rem;
    }
}

.lesson-page {
    display: flex;
    justify-content: space-between;
    padding-top: 2rem;
    padding-bottom: 2rem;
    flex-wrap: wrap;
}

@media only screen and (max-width: 1250px) {
    .lesson-main {
        padding: 0 2% !important;
    }
}

.lesson-page .lesson-details {
    width: 69%;
    background-color: #FFF;
    padding: 2rem;
    border-radius: 1rem;
    min-height: calc(100vh - 9rem);
}

.lesson-page .lesson-details .title {
    font-size: 1.8rem;
    margin-top: 1.5rem;
    color: #383552;
}

.introduction-video,
.lesson-page .lesson-details .lesson-video {
    border-radius: 1rem;
    overflow: hidden;
}

.lesson-page .lesson-details .description {
    font-size: 1.2rem;
    margin-top: 0.8rem;
    color: #5e768b;
}


.lesson-page .lesson-details .next-btn {
    display: flex;
    margin-top: 2rem;
    justify-content: flex-end;
}

.lesson-page .lesson-details .next-btn a {
    display: block;
    padding: 0.6rem 1.4rem 0.4rem 1.4rem;
    background-image: linear-gradient(-60deg, #50c7d3 0%, #20acba 100%);
    color: #FFF;
    font-size: 1.3rem;
    border-radius: 0.75rem;
    margin-right: 0.25rem;
    transition: opacity 0.3s ease-in-out;
}

.lesson-page .lesson-details .next-btn a:hover {
    opacity: 0.9;
}

.lesson-page .course-lessons {
    display: flex;
    flex-direction: column;
    width: 30%;
    background-color: #FFF;
    border-radius: 1rem;
    overflow: hidden;
    position: sticky;
    top: 6.25rem;
    height: calc(100vh - 8.25rem);
}

.lesson-page .course-lessons .lessons {
    padding: 2rem 1rem;
    overflow-y: scroll;
    overflow-x: hidden;
    direction: ltr;
}

.lesson-page .lessons::-webkit-scrollbar {
    width: 6px;
}

/* Track */
.lesson-page .lessons::-webkit-scrollbar-track {
    background: #ffffff;
}

/* Handle */
.lesson-page .lessons::-webkit-scrollbar-thumb {
    background: #e7e7e7;
    border-radius: 1rem;
}

/* Handle on hover */
.lesson-page .lessons::-webkit-scrollbar-thumb:hover {
    background: rgba(107, 91, 226, 0.15);
}

.lesson-page .course-lessons .bottom-shadow {
    position: absolute;
    bottom: 0;
    background: linear-gradient(to top, #FFF, rgba(0, 0, 0, 0));
    width: 100%;
    height: 3rem;
    pointer-events: none;
}

.lesson-page .course-lessons .lesson {
    direction: rtl;
    width: 100%;
    display: flex;
    align-items: center;
    color: #383552;
    padding: 1.5rem 1.2rem;
    font-size: 1.1rem;
    border-radius: 1rem;
    margin-bottom: 0.5rem;
    background-color: rgba(107, 91, 226, 0.03);
    transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;
}


.lesson-page .course-lessons .lesson.finished,
.lesson-page .course-lessons .lesson.finished .icon,
.lesson-page .course-lessons .lesson.finished .lesson-duration {
    color: #20acba;
    font-weight: 500;
}

.lesson-page .course-lessons .lesson.active .icon,
.lesson-page .course-lessons .lesson.active .lesson-duration {
    color: #FFF;
    opacity: 0.8;
}

.lesson-page .course-lessons .lesson.active {
    background-color: #20acba;
    color: #FFF;
    transition: opacity 0.3s ease-in-out;
}

.lesson-page .course-lessons .lesson.active:hover {
    opacity: 0.9;
}

.lesson-page .course-lessons .lesson:not(.active):hover {
    background-color: rgba(107, 91, 226, 0.07);
}

.lesson-page .course-lessons .lesson .icon {
    font-size: 1.5rem;
    color: #b5b1d6;
}

.lesson-page .course-lessons .lesson .lesson-title {
    padding: 0 0.75rem;
    line-height: 2rem;
    flex-grow: 1;
}

.lesson-page .course-lessons .lesson .lesson-duration {
    color: #b5b1d6;
    white-space: nowrap;
}

@media only screen and (max-width: 1050px) {
    .lesson-page {
        flex-direction: column-reverse;
    }

    .lesson-page .course-lessons {
        width: 100%;
        position: relative;
        top: 0;
        height: auto;
    }

    .lesson-page .lesson-details {
        width: 100%;
        margin-bottom: 2rem;
    }
}


.app-content {
    position: relative;
    width: 100%;
    line-height: 1.8rem;
}

.app-content img {
    display: inline-block;
    border-radius: 10px;
    max-width: 100% !important;
    margin-bottom: 2rem;
}

.app-content h1 {
    font-size: 28px !important;
    font-weight: bold !important;
}

.app-content h2 {
    font-size: 26px !important;
    font-weight: bold !important;
}

.app-content h3 {
    font-size: 24px !important;
    font-weight: bold !important;
}

.app-content h4 {
    font-size: 22px !important;
    font-weight: bold !important;
}

.app-content h5 {
    font-size: 20px !important;
    font-weight: bold !important;
}

.app-content h6 {
    font-size: 19px !important;
    font-weight: bold !important;
}

.app-content p {
    line-height: 2rem;
    font-size: 19px !important;
}

.app-content .content {
    padding: 0 !important;
}

.app-content ul,
.app-content ol {
    padding-right: 1em;
}


/* exam page */
#timer {
    font-family: 'Roboto', 'Tajawal';
}

main.exam-page .questions {
    padding: 3rem 15%;
}

.questions .question {
    background-color: #FFF;
    padding: 2rem 3rem;
    margin: 2rem 0;
    border-radius: 1rem;
}

@media only screen and (max-width: 750px) {
    main.exam-page .questions {
        padding: 3rem 0%;
    }

    main.exam-page {
        padding: 0 2% !important;
    }

    .questions .question {
        padding: 2rem 1rem;
    }
}

.question .question-title {
    display: flex;
    font-size: 1.6rem;
    font-weight: 500;
}

.question .question-title .question-number {
    padding-left: 0.5rem;
}

.question .question-answers {
    padding-top: 2rem;
}

.question .answer input {
    display: none;
}

.question .answer label {
    padding: 1rem;
    font-size: 1.2rem;
    background-color: #f5f5f5;
    color: #444;
    border-radius: 0.5rem;
    margin: 1rem 0;
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
}

.question .answer label i.selected {
    display: none;
    color: #FFF;
}

.question .answer label i {
    padding-left: 0.5rem;
}

.question .answer input:checked ~ label {
    background-color: #a7abac;
    color: #FFF;
}

.question .answer label.correct {
    border: 4px solid #7cb39b !important;
}

.question .answer label.incorrect {
    border: 4px solid #af7878 !important;
}

.question .answer input:checked ~ label i.unselected {
    display: none;
}

.question .answer input:checked ~ label i.selected {
    display: inline-block;
}


/* exam result page */

main.exam-page {
    padding: 3rem 15%;
}

.exam-page .result {
    padding: 3rem;
    background-color: #FFF;
    border-radius: 1rem;
}

.exam-page .result .title {
    font-size: 2rem;
    text-align: center;
    font-weight: 700;
}

.exam-page .result .image,
.lesson-page .image {
    position: relative;
    text-align: center;
    overflow: hidden;
    border-radius: 1rem;
    max-width: 500px;
    margin: 0 auto 2rem;
    border: 2px solid #f8b238;
}

.exam-page .result .image img,
.lesson-page .image img {
    width: 100%;
}

.circle-big {
    position: relative;
    width: 250px;
    height: 250px;
    margin: 3rem auto;
}

.circle-big svg {
    width: 250px;
    height: 250px;
}

.circle-big .bg {
    fill: none;
    stroke-width: 20px;
    stroke: #eee;
}

.circle-big .progress {
    fill: none;
    stroke-width: 20px;
    stroke-linecap: round;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
    animation: big 1.5s ease-in-out;
}

.circle-big .text {
    position: absolute;
    width: 100%;
    top: 110px;
    font-size: 2rem;
    text-align: center;
    font-weight: 400;
    line-height: 22px;
}


/* jobs */
.job {
    width: 48% !important;
}

.take-exam.take-job .disabled {
    background-color: #9697bb !important;
    cursor: not-allowed !important;
    user-select: none !important;
}

@media only screen and (max-width: 1050px) {
    .job {
        width: 100% !important;
    }
}

/* profile */

.profile {
    margin: 3rem 15%;
    background-color: #FFF;
    border-radius: 1rem;
    padding-bottom: 2rem;
    position: relative;
}

@media only screen and (max-width: 750px) {
    .profile {
        margin: 3rem 0%;
    }
}

.dropbtn {
    background-color: #FFF;
    color: #0F1014;
    padding: 7px 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    border-radius: 0.5rem;
}

.dropdown {
    position: relative;
    display: inline-block;
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 190px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    left: 0;
    border-radius: 0.5rem;
    border-top: 5px solid #88c9d3;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    border-radius: 0.5rem;
}

.dropdown-content a:hover {
    background-color: #f1f1f1
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    background-color: #fcfcfc;
}

.profile .cover {
    position: relative;
    height: 8rem;
    overflow: hidden;
    background-color: #88c9d3;
    border-radius: 1rem 1rem 0 0;
}

.profile .cover img {
    object-fit: fill;
}

.profile-details {
    position: relative;
    top: -5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-details .image {
    height: 10rem;
    width: 10rem;
    overflow: hidden;
    background-color: #88c9d3;
    border-radius: 10rem;
    border: 5px solid #FFF;
    margin-bottom: 0.75rem;
}

.profile-details .image img {
    object-fit: cover;
    width: 100%;
}

.profile-details h1.name {
    margin-bottom: 0.5rem;
}

.profile-details p.brief {
    font-size: 1.2rem;
    padding: 0 1rem;
    text-align: center;
}

.profile-details .tags {
    margin-top: 0.5rem;
    display: flex;
    flex-wrap: wrap;
}

.profile-details .tags .tag {
    padding: 0 0.5rem;
    font-size: 1.2rem;
    color: #666666;
}

.profile-tabs {
    position: relative;
    top: -4rem;
    display: flex;
    padding: 0 1rem;
    border-bottom: 2px solid #eee;
    flex-wrap: wrap;
}

@media only screen and (max-width: 750px) {
    .profile-tabs {
        padding: 0;
    }
}

.profile-tabs .tab {
    margin: 0 0.75rem;
    padding: 0.75rem 0.25rem;
    font-size: 1.2rem;
    color: #999;
}

.profile-tabs .tab.active {
    color: #383552;
    border-bottom: 1px solid #383552;
    font-weight: 500;
}

.profile .details {
    position: relative;
    top: -2rem;
    padding: 0 2rem;
}

@media only screen and (max-width: 750px) {
    .profile .details {
        padding: 0 1rem;
    }
}

.profile .details .title {
    margin-bottom: 0.5rem;
}

.profile .details p {
    font-size: 1.2rem;
}

.profile .fields .skills {
    display: flex;
    margin-top: 1rem;
    flex-wrap: wrap;
    padding-right: 0.75rem;
}

.profile .fields .skills .skill {
    padding: 0.5rem 0.75rem;
    margin-left: 0.5rem;
    background-color: #5bdae21f;
    border-radius: 0.5rem;
    font-size: 1.2rem;
    color: #354f52;
    user-select: none;
    margin-bottom: 0.75rem;
}

.profile .fields .certificates {
    display: flex;
    margin-top: 1rem;
    flex-wrap: wrap;
    padding-right: 0.75rem;
    justify-content: space-between;
}

.profile .fields .certificates .certificate {
    width: 48%;
    padding: 0.5rem 0.75rem;
    margin-left: 0.5rem;
    border-radius: 0.5rem;
    font-size: 1.2rem;
    color: #383552;
    user-select: none;
    margin-bottom: 0.75rem;
    position: relative;
    border: 2px solid #f8b238;
}

.profile .fields .certificates .certificate img {
    width: 100%;
    object-fit: cover;
}

@media only screen and (max-width: 750px) {
    .profile .fields .certificates .certificate {
        width: 100%;
    }
}


/* profile-form */

main.profile-form-page {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 15%;
}


@media only screen and (max-width: 750px) {
    main.profile-form-page {
        padding: 3rem 2% !important;
    }
}

.profile-form {
    width: 100%;
    max-width: 700px;
    /* min-height: 50vh; */
    background-color: #FFF;
    box-shadow: 1px 1px 15px #f4f4f8;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
}

.profile-form h2.title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #342e61;
}

/* profile edit */


@media screen and (min-width: 1700px) {
    header {
        padding: 1rem 10%;
    }

    main {
        padding: 0 12%;
    }
}


@media screen and (max-width: 1300px) {
    header {
        padding: 1rem 4%;
    }

    main {
        padding: 0 5%;
    }

}


@media screen and (max-width: 1150px) {
    header nav {
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.96);
        flex-direction: column;
        justify-content: center;
        display: none;
        z-index: 999;
    }

    header nav ul,
    header nav .header-actions {
        flex-direction: column;
    }

    header nav ul li {
        padding: 0.75rem 0;
    }

    header nav .header-actions a {
        display: block;
        margin: 1rem 0;
    }

    header .menu-tab {
        display: block;
    }

    header .app-dropdown .app-dropdown-content ul{
        padding: 0 !important;
        margin: 0 !important;
    }
}

@media screen and (max-width: 800px) {
    main {
        padding: 0 2%;
    }
}

@media screen and (max-width: 650px) {

    header {
        padding: 1rem 5%;
    }

    main {
        padding: 0 2%;
    }

    form .form-link {
        font-size: 0.95rem;
    }


}

