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

/* constants */

:root {
    --primary-color: #5a5add;
    --secondary-color: #ffc258;
    --plyr-color-main: #20acba;
    --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;
}

h3, h4, h5, h6 {
    font-weight: 500;
}

body:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/back.svg');
    background-size: contain;
    background-position: top;
    opacity: 0.13;
    z-index: -1;
}


body.page {
    background-color: #fcfdff !important;
}

body.white {
    background-color: #FFFFFF !important;
}

a {
    text-decoration: none;
    color: #101313;
    transition: color 0.3s ease-in-out;
    transition-property: color, fill;
    outline: none;
    box-shadow: none;
}

a:hover {
    color: #20acba;
    fill: #20acba;
}

ul {
    list-style: none;
}

.c-pointer {
    cursor: pointer;
}

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

.fw-bold {
    font-weight: 700 !important;
}

.text-white {
    color: #FFF !important;
}

.lh-base {
    line-height: 1.5 !important;
}


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

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

.app-radius-top {
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}

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

/* header style */
.navbar-toggler {
    direction: ltr;
}

.navbar-toggler span {
    display: block;
    height: 3px;
    background-color: #7c828d;
    border-radius: 5px;
}

.navbar-toggler span:first-of-type {
    width: 20px;
}

.navbar-toggler span:nth-of-type(2) {
    width: 25px;
    margin: 5px 0;
}

.navbar-toggler span:last-of-type {
    width: 15px;
}

.logout-popup {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 103;
}


header .header-content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

header.scrolled {
    box-shadow: 5px 5px 5px rgb(0, 0, 0, 0.03);
    position: sticky;
    top: 0;
    z-index: 99;
    animation-name: fadebottom;
    animation-duration: 0.5s;
    transform: translateY(0);
    background-color: #fff;
}

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

header .logo {
    height: 4.2rem;
    margin-left: 1rem;
}

header .logo img {
    height: 100%;
}

header nav,
header nav ul {
    display: flex;
    align-items: center;
    flex-grow: 1;
    justify-content: center;
}

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

header nav ul li a:hover,
header nav ul li > div:hover,
header nav ul li > div.active,
header nav ul li a.active {
    color: #2f96b4;
}

header .app-dropdown .app-dropdown-content {
    display: none;
    z-index: 200;
}

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

header .header-actions a.login-btn {
    font-weight: 600;
    color: #1b1a21;
    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;
    text-align: center;
    background-color: #2f96b4;
    color: #fff;
    font-size: 1.2rem;
    border-radius: 0.5rem;
    margin-right: 0.25rem;
    transition: opacity 0.3s ease-in-out;
}

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

header .menu-tab {
    font-size: 2.5rem;
    color: #2f96b4;
    z-index: 999;
    cursor: pointer;
}


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

@media only screen and (min-width: 1200px) {
    .menu-tab {
        display: none !important;
    }

    header nav {
        display: flex !important;
    }
}

@media screen and (max-width: 1200px) {
    header nav {
        position: fixed;
        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 .header-actions {
        border-top: 2px solid #eee;
    }

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

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

    .menu-tab {
        display: flex !important;
        align-items: center;
        justify-content: center;
        position: absolute;
        left: 0;
    }

    .menu-tab i {
        padding-left: 1.75rem;
        padding-top: 1rem;
    }

    .menu-tab .navbar-toggler {
        padding-left: 2.5rem;
    }

    header nav,
    header nav ul {
        flex-grow: 0;
    }
}

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

@media screen and (max-width: 650px) {
    header .header-content {
        padding: 1rem 5%;
    }

    header .logo {
        height: 4rem;
    }
}

/* end header */

/* Arabic style */
html[dir='rtl'] .me-3 {
    margin-right: 0 !important;
    margin-left: 1rem !important;
}

@media only screen and (min-width: 767px) {
    html[dir='rtl'] .text-sm-start {
        text-align: right !important;
    }
}

@media only screen and (max-width: 767px) {
    html[dir='rtl'] .text-sm-start {
        text-align: center !important;
    }
}


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

section {
    min-height: 100vh;
    padding: 3rem 8%;
}

section:first-of-type {
    min-height: calc(100vh - 6.2rem);
}

/* Pages transition */
.fade-enter-active,
.fade-leave-active {
    transition: opacity 0.2s ease-in-out;
}

.fade-enter,
.fade-leave-to {
    opacity: 0;
}

/* End of the pages transition */

/* intro section */
.intro {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: calc(100vh - 6.2rem);
    padding-top: 0rem;
    padding-bottom: 6rem;
}

.intro .intro-text {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.intro .intro-text h1 {
    font-size: 5rem;
    font-weight: bold;
    color: #222c2f;
    margin-top: 1rem;
}

.intro .intro-text h1 span {
    color: #2f96b4;
}

.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.3rem;
    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: #fff !important;
}

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

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

.app-heavy-shadow {
    box-shadow: 1px 1px 15px #f4f4f8;
}

.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;
}

.intro .intro-text h4 {
    color: #2f96b4;
    font-size: 1.8rem;
    margin-top: 0.5rem;
    font-weight: 700;
}

.intro .intro-text p {
    font-size: 1.3rem;
    /* text-align: justify; */
    font-family: 'Tajawal', sans-serif;
    color: #777777;
}

.intro .intro-text p.desc {
    font-size: 1.15rem;
    margin-top: 1.5rem;
}

/* .intro .intro-text img {
  width: 100%;
  display: block;
  margin-right: auto;
  margin-top: 1rem;
} */

.intro .intro-text .intro-actions {
    display: flex;
    align-items: center;
}

.intro .intro-text .intro-actions .join-btn {
    padding: 0.6rem 1.4rem;
    background-color: #2f96b4;
    color: #FFF;
    font-size: 1.3rem;
    border-radius: 0.5rem;
    margin-left: 1rem;
    transition: opacity 0.3s ease-in-out;
}

.intro .intro-text .intro-actions .join-btn:hover {
    opacity: 0.95;
}

.intro .intro-text .intro-actions .watch-video {
    font-size: 1.3rem;
    display: inline-flex;
    align-items: center;
    font-weight: 500;
    color: #292931;
    transition: color 0.3s ease-in-out;
}

.intro .intro-text .intro-actions .watch-video:hover {
    color: #2f96b4;
}

.intro .intro-text .intro-actions .watch-video i {
    font-size: 1.6rem;
    padding-top: 0.25rem;
    margin-left: 0.25rem;
}

html[dir="ltr"] .intro .intro-text .intro-actions .watch-video i {
    margin-left: unset !important;
    margin-right: 0.25rem !important;
}

.intro .intro-side {
    width: 52%;
    border-radius: 1rem;
    overflow: hidden;
}

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

/* .plyr iframe {
  transition: 0.2s filter linear;
}

.plyr.plyr--paused iframe {
  filter: blur(1.5rem);
}  */
.plyr iframe[id^='youtube'] {
    top: -50%;
    height: 200%;
}

.plyr__video-wrapper {
    border-radius: 1rem;
    overflow: hidden;
}

iframe {
    /*pointer-events: none;*/
}

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

.intro .intro-side img {
    width: 100%;
}

.intro-video > div {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 1rem;
    overflow: hidden;
}

/* login page */
section.login,
section.register {
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-page,
.register-page {
    width: 100%;
    max-width: 500px;
    /* 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;
}

.login-page h2.title,
.register-page h2.title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #342e61;
}

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.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-check {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    margin-top: -0.5rem;
    position: relative;
}

.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-check input:checked {
    background-color: #20acba;
    border-color: #20acba;
}

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

.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: 1.2rem;
    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-submit input {
    height: 65.6px !important;
    padding: 1.2rem;
    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-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;
}

/* footer */
footer ul {
    list-style: unset;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 40px;
}

footer a i:hover {
    opacity: 0.8;
}

footer .privacy a {
    transition: color 0.2s ease-in-out;
}

footer .privacy a:hover {
    color: #20acba !important;
}

footer .copy-right p {
    font-size: 0.8rem;
}


/* end footer*/

@media only screen and (max-width: 1000px) {
    .intro .intro-side {
        width: 90%;
    }
}

@media only screen and (max-width: 750px) {
    footer p {
        font-size: 1rem;
    }

    .intro {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

@media screen and (min-width: 1700px) {
    section {
        padding: 3rem 12%;
    }
}

@media screen and (max-width: 1350px) {
    .intro .intro-actions {
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        margin-bottom: 1rem;
    }
}

@media screen and (max-width: 1300px) {
    section {
        padding: 3rem 5%;
    }

    .intro {
        flex-direction: column;
        min-height: auto !important;
    }

    .intro-side {
        display: none !important;
    }

    .intro > .intro-text {
        width: 95% !important;
        margin-bottom: 1rem;
    }

    .intro .intro-text h1 {
        font-size: 2.8rem;
        text-align: center;
    }

    .intro .intro-text h4 {
        text-align: center;
        font-size: 1.3rem;
    }

    .intro .intro-text p {
        font-size: 1.2rem;
        margin-bottom: 2rem;
        text-align: center;
    }

    .intro .intro-actions {
        flex-direction: row;
        justify-content: center;
        margin-bottom: 1rem;
    }
}

@media screen and (max-width: 800px) {
    .intro .intro-side {
        width: 95% !important;
        margin-bottom: 1rem;
    }
}

@media screen and (max-width: 650px) {
    section {
        padding: 3rem 2%;
    }

    .intro .intro-actions {
        flex-direction: column;
    }

    .intro-actions .join-btn {
        margin-bottom: 1rem;
        margin-left: 0 !important;
    }

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


/* 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%;
    }

}

