/* Styles by ~/page-course-canva-ai.php template */

/* Additional: hide sharedaddy buttons */
.sharedaddy {
    display: none !important;
}

/* Set font */
@font-face {
    font-family: FixelVariable;
    src: url("../fonts/FixelVariable.ttf");
}

body {
    font-family: FixelVariable !important;
    font-weight: 400;
    color: #000;
}
/* Mobile */
/* Backgrounds */
.bg-width-wrap.bg-ff:nth-child(1),
.bg-width-wrap:nth-child(3),
.bg-width-wrap:nth-child(6),
.bg-width-wrap:nth-child(8) {
    background-color: #FFF;
}

.bg-width-wrap.bg-f7 {background-color: #F7F7F7;}

.bg-width-wrap.bg-grad {
    background: linear-gradient(104.62deg, rgba(173, 238, 104, 0.22) -14.93%, rgba(167, 93, 147, 0.22) 45.86%, rgba(58, 54, 255, 0.22) 107.87%);
}

.bg-width-wrap.last-grad {
    background: linear-gradient(105.84deg, #ADEE68 -11.28%, #A75D93 48.01%, #3A36FF 108.49%);
}
.bg-width-wrap {width: 100%;}
.martop7 {margin-top: 7px;}
.cursi {font-style: italic;}
.section {
    margin: 0 auto;
    min-width: 320px;
    max-width: 1195px;
}
a {
    all: unset;
}
/* Typography */
.section-content a {
    font-family: Fixel Variable, sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 26px;
    letter-spacing: -0.02em;
    text-decoration: underline;
    color: #1E38DE;
}
.page-online-course-canva-ai {
    margin: 0;
    padding-top: 20px;
}
.flex-container {
    display: flex;
	align-items: center;
    gap: 4px;
}

.flex-col {
    flex-direction: column;
}
.flex-star {align-items: flex-start;gap: 8px;}
.flex-row {
    flex-direction: column;
}
.maxw194 {max-width: 194px;}
/* Main and second displays */
.container {
    max-width: initial;
    padding: 6px;
    max-width: 1440px;
    margin: 0 auto;
}

.section {
    display: flex;
    box-sizing: border-box;
    flex-wrap: wrap;
    justify-content: center;
    padding: 40px 16px;
}

.bg-width-wrap:nth-of-type(8) .section {
    padding: 60px 24px 71px ;
}

.section .text-section,
.section .image-section {
    flex: 1 1 100%;
    margin: 20px 0;
    text-align:center;
}

.section .text-section {
    order: 1;
}

.section .image-section {
    order: 2;
}

.section img {
    width: 100%;
    max-width: 549px;
    height: auto;
}

.section-online-course-4-teachers {
    flex-direction: row;
}

h1, h2 {
    font-size: 44px;
    font-weight: 400;
    line-height: 42.24px;
    letter-spacing: -0.04em;
    text-align: left;
    font-variation-settings: 'wdth' 100;
    margin-left: 24px;
    margin-bottom: 40px;
}

.section-course-objectives h2, .section-course-program h2 {
    font-size: 40px;
    font-weight: 400;
    line-height: 38.4px;
    letter-spacing: -0.04em;
    text-align: left;
}

.section-free-course h2 {
    font-size: 32px;
    font-weight: 400;
    line-height: 30.72px;
    letter-spacing: -0.04em;
    text-align: center;
}

.text-section p {
    font-size: 19px;
    font-weight: 400;
    line-height: 26px;
    letter-spacing: -0.02em;
    text-align: left;
}

.highlight-text {
    color: #fff;
    display: block;
}

.section-online-course-4-teachers .highlight-text {
    background-image: url('../img/page-course-canva-ai/text-bg-mobile-canva-ai.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    padding: 0px 0px 6px 30px;
    max-width: 230px;
}

.highlight-text__canva,
.highlight-text__ai,
.highlight-text__in-10-lessons {
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
}

.highlight-text__canva {
    padding: 0px 10px;
    white-space: nowrap;
}
body .slick-dots li button {display: block;margin-right: 16px;width: 7px;height: 7px;}
body .slick-dots li button:before {width: 7px;height: 7px;border-radius: 7px;opacity: 1;background-color: #ece5e4;content: '';}
body .slick-dots li.slick-active button:before {background-color: #1e38de;opacity: 1;}
.highlight-text__ai,
.highlight-text__in-10-lessons {
    padding: 4px 10px 12px 10px;
}

.section-in-10-lessons .image-section {
    display: none;
}

.section-in-10-lessons h2 {
    font-size: 32px;
    line-height: 30.72px;
    letter-spacing: -0.04em;
    /* text-align: center; */
    margin-left: 0;
}

.highlight-text__ai {
    margin-left: -20px;
}

.highlight-text__in-10-lessons {
    background-image: url('../img/page-course-canva-ai/text-bg-in-10-lessons.png');
    /* white-space: nowrap; */
}

.register-free {
    font-size: 23px;
    font-weight: 400;
    line-height: 31.2px;
    letter-spacing: -0.02em;
    text-align: center;
    color: #1E38DE;
    margin-top: 40px;
}

.register-button {
    background-color: #1E38DE;
    display: inline-block;
    margin-top: 10px;
    font-size: 19px;
    font-weight: 400;
    line-height: 28px;
    letter-spacing: -0.02em;
    text-align: center;
    padding: 11px 0 9px 0;
    border-radius: 16px;
    color: #FFF;
    text-decoration: none;
    width: 100%;
	cursor: pointer;
}

.register-button:hover {
    background-color: #0056b3;
}

.section-in-10-lessons .register-button {
    margin-top: 40px;
}

.register-primary-school-teachers {
    font-size: 13px;
    font-weight: 400;
    line-height: 17px;
    color: #000;
    margin: 18px 0 0 16px;
    text-align: center;
}

/* Third display */
.section-course-objectives {
    background: #FFF;
}

.rows-course-objectives-wrap {
    padding: 0 16px;
}

.rows-course-objectives {
    justify-content: space-between;
    width: 100%;
}

.row-course-objectives {
    width: 100%;
    height: 369px;
    gap: 20px;
    border-radius: 8px;
    border: 2px solid #E8E8E8;
    text-align: center;
    background-size: contain;
    background-position: bottom;
    background-repeat: no-repeat;
    margin-bottom: 20px;
    justify-content: space-between;
    overflow: hidden;
}

.head-course-objectives, .head-course-program, .head-free-course, .head-examples-of-students  {
    margin: 20px 16px 30px 16px;
}

.section-online-course-4-teachers .container-register-section {
    margin-top: 40px;
}

.section-course-program .container-register-section {
    width: 100%;
}

.section-course-program .second-register-btn {
    display: block;
}

.section-course-program .first-register-btn {
    display: none;
}

.row-course-objectives__descr {
    font-size: 17px;
    font-weight: 400;
    line-height: 19.8px;
    letter-spacing: -0.02em;
    text-align: center;
    padding: 19px 23px;
}

/* Fourth display */
.section-course-program {
    justify-content: space-between;
    align-items: baseline;
    box-sizing: border-box;
    padding-left: 16px;
    padding-right: 16px;

}

.course-program-list {
    list-style: none; /* Прибираємо стандартні маркери списку */
    counter-reset: item; /* Ініціалізуємо лічильник */
}

.course-program-list li {
    counter-increment: item; /* Збільшуємо лічильник для кожного елемента списку */

    position: relative; /* Для правильного позиціонування маркера */
    padding-left: 60px;

    font-size: 21px;
    font-weight: 600;
    line-height: 29px;
    letter-spacing: -0.02em;
    text-align: left;

    padding-bottom: 17px;
    margin-bottom: 17px;

    border-bottom: solid 1px #CACACA;
}

.course-program-list li::before {
    content: "" counter(item, decimal-leading-zero) " "; /* Додаємо нумерацію з нулями */
    font-weight: bold;

    color: #1E38DE;
    position: absolute; /* Абсолютне позиціонування для маркера */
    left: 0; /* Маркер вирівняний по лівому краю */
    top: 0; /* Маркер зверху для відповідного тексту */
}

.course-program-list li p {
    margin: 0; /* Видаляємо стандартні відступи для абзацу */
}

/* Fifth display */
.section-free-course h2 {
    text-align: center;
}

.free-course-container {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    gap: 10px;
}

.free-course-box {
    overflow: hidden;
    background-color: #FFF;
    flex: 1 1 calc(33.33% - 62px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #E8E8E8;
    border-radius: 20px;
    order: 5;
}

.free-course-box h3 {
    font-size: 24px;
    font-weight: 600;
    line-height: 26.4px;
    letter-spacing: -0.02em;
    text-align: left;
    color: #1E38DE;
    margin:20px;
}

.free-course-box p {
    font-size: 19px;
    font-weight: 400;
    line-height: 26px;
    letter-spacing: -0.02em;
    text-align: left;
    margin: 30px;
}

.free-course-large {
    flex: 1 1 calc(66.66% - 60px);
    padding: 0 !important;
    position: relative;
    order: 1 !important;
}

.free-course-large>img {
    max-width: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Sixth display */
.section-examples-of-students h2 {
    text-align: center;
}

.students-work-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Container styling for the slider */
.students-work {
    max-width: 1200px; /* Set the maximum width of the slider */
    margin: 0 auto; /* Center the slider */
    position: relative; /* For positioning arrows and dots */
    overflow: hidden; /* Hide overflow to create a clean slide effect */
}

/* Styling for the slider */
.slider {
    display: flex; /* Use flexbox to arrange slides in a row */
    transition: transform 0.5s ease; /* Smooth transition for sliding effect */
}

/* Styling for the slider images */
.slider-item {
    flex: 0 0 100%; /* Each slide takes full width of the container */
    position: relative; /* For positioning text content */
    text-align: center; /* Center text inside each slide */
    padding: 10px;
}

/* Styling for the slider images */
.slider img {
    width: 100%; /* Make images responsive */
    height: auto; /* Maintain aspect ratio */
    /* border-radius: 10px; */ /* Rounded corners for images */
}

/* Styling for the slider content overlay */
.slider-content {
    display: none; /* Temporary disabled */
    position: absolute; /* Position text content on top of the image */
    bottom: 20px; /* Position it 20px from the bottom */
    left: 50%; /* Center it horizontally */
    transform: translateX(-50%); /* Adjust horizontal position to center */
    color: white; /* Text color */
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent background */
    padding: 10px; /* Padding around text */
    border-radius: 5px; /* Rounded corners for the content box */
}

/* Heading styling within slider content */
.slider-content h3 {
    font-size: 23px; /* Font size for the heading */
    margin: 0; /* Remove margin */
}

/* Paragraph styling within slider content */
.slider-content p {
    font-size: 15px; /* Font size for the paragraph */
    margin: 5px 0 0; /* Add margin to the top */
}

/* Styling for the dots */
.slick-dots {
    display: flex;
    justify-content: center;

    bottom: 10px; /* Position the dots near the bottom */
    margin: 44px 0;
}

.slick-dots>li:not(:first-child) {
    margin-left: -8px;
}
.students-work li.slick-active::marker {
    color: #1E38DE;
}

.students-work li::marker {
    color: #ECE5E4;
}

/* Seventh display */
.section-free-registration, .section-free-registration h2, .section-free-registration a {
    color: #fff;
}

.section-free-registration .container-register-section {
    text-align: center;
}

.section-free-registration .register-button {
    background-color: #fff;
    color: #000;
    width: 100%;
}

.section-free-registration h2 {
    /* padding-top: 20px; */
    font-size: 32px;
    font-weight: 400;
    line-height: 30.72px;
    letter-spacing: -0.04em;
    text-align: center;
    margin: 0;
}

.section-free-registration .register-primary-school-teachers {
    padding: 6px 20px 20px 20px;
}

/* Eighth display */
.section-mathema-rating .container-register-section {
    display: inline-block;
    width: 100%;
}

.head-mathema-rating {
    font-size: 32px;
    font-weight: 400;
    line-height: 32px;
    letter-spacing: -0.04em;
    text-align: center;
    margin: 20px 8px;
}

.reviews-block {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 175px;
    gap: 6px;
}

.reviews-upper-block {
    text-align: center;
    margin: 0 0 30px 0;
    max-width: 196px;
}

.reviews-upper-block span {
    font-size: 32px;
    font-weight: 500;
    line-height: 30.72px;
    text-align: left;
}

.reviews-upper-block p {
    font-size: 16px;
    font-weight: 400;
    line-height: 19.2px;
}

.mathema-rating-box {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    background-color: #FFF;
    border-radius: 20px;
    margin: 18px 27px 8px 27px;
    padding: 20px;
    gap: 0px;
    border-radius: 9.58px;
    bolrder: solid 1px #FFFFFF;
    box-shadow:
    inset 0 -3em 3em #FFF,
    0 0 0 2px white,
    0.3em 0.3em 1em #000;
}
.register-button.huge-btn {
	color: black;
	font-size: 30px;
    font-weight: 500;
    letter-spacing: -0.02em;
	padding: 20px 30px 19px;
    border-radius: 16px;
    background-color: hsla(0, 0%, 100%, 1);
	max-width: calc(100% - 60px);
}
/*MAX WIDTH*/
@media (max-width: 1280px) {
    body .container {padding: 0;}
}
@media (max-width: 768px) {
    .free-course-container {
        flex-direction: column;
    }

    .free-course-box, .free-course-large {
        flex: 1 1 100%;
    }
}

@media (max-width: 768px) {
   	.maxw194 {max-width: 100%;}
   .container {
        max-width: initial;
        flex-direction: column;
    }

    .box, .large {
        flex: 1 1 100%;
    }
	.section-free-course h2, .head-mathema-rating {font-size: 22px;}
}

/* Media queries for responsiveness */
/* Avarage */
@media(min-width: 768px) {
    /* Typography */
    .section-content a {
        font-size: 18px;
        font-weight: 400;
        line-height: 23.4px;
        letter-spacing: -0.02em;
        text-align: left;

        text-decoration: underline;
        color: #1E38DE;
    }

    .section {
        flex-wrap: nowrap;
        padding: 84px 40px;
        box-sizing: border-box;
    }

    .flex-row {
        flex-direction: row;
    }

    body .container {
        max-width: initial;
    }

    .section-online-course-4-teachers .image-section {
        order: 1;
    }

    .section-online-course-4-teachers .text-section {
        order: 2;
        text-align: left;
        padding-left: 95px;
    }

    .section-in-10-lessons .image-section {
        order: 2;
    }

    .section-in-10-lessons .text-section {
        order: 1;
        padding-right: 40px;
    }

    h1, h2 {
        font-size: 43px;
        font-weight: 400;
        line-height: 42px;
        letter-spacing: -0.04em;
        text-align: left;
        font-variation-settings: 'wdth' 100;
        margin-left: initial;
    }

    .section-in-10-lessons h2 {
        text-align: left;
    }

    .section-course-objectives h2 {
        font-size: 56px;
        font-weight: 400;
        line-height: 53.76px;
        letter-spacing: -0.04em;
        text-align: center;
    }

    .section-course-program h2 {
        font-size: 56px;
        font-weight: 400;
        line-height: 53.76px;
        letter-spacing: -0.04em;
        text-align: left;
    }

    .section-free-course h2 {
        font-size: 48px;
        font-weight: 400;
        line-height: 46.08px;
        letter-spacing: -0.04em;
        text-align: center;
    }

    .section-examples-of-students h2 {
        font-size: 48px;
        font-weight: 400;
        line-height: 46.08px;
        letter-spacing: -0.04em;
        text-align: center;
    }

    .section-free-registration h2 {
        font-size: 48px;
        font-weight: 400;
        line-height: 46.08px;
        letter-spacing: -0.04em;
        text-align: left;
        max-width: 340px;
        padding: 0;
        margin: 0;
    }

    /* Main and second displays */
    .text-section p {
        font-size: 17px;
        font-weight: 400;
        line-height: 24px;
        letter-spacing: -0.02em;
        color: #000;
        margin-top: 20px;
        max-width: 584px;
    }

    .section-online-course-4-teachers .highlight-text {
        background-image: none;
        padding: initial;
        display: initial;
    }

    .highlight-text__ai {
        white-space: nowrap;
    }

    .highlight-text__ai {
        padding: 4px 10px 0px 20px;
    }

    .highlight-text__in-10-lessons {
        white-space: nowrap;
        text-align: left;
        padding: 4px 10px 14px 20px;
        font-size: 48px;
        font-weight: 400;
        line-height: 46.08px;
        letter-spacing: -0.04em;
        text-align: left;
    }

    .highlight-text__canva {
        background-image: url('../img/page-course-canva-ai/text-bg-canva.png');
        padding: 0px 10px;
        white-space: nowrap;
    }

    .highlight-text__ai {
        background-image: url('../img/page-course-canva-ai/text-bg-ai.png');
        margin-left: -20px;
    }

    .register-free {
        text-align: left;
    }

    .section-online-course-4-teachers .container-register-section {
        margin-top: 45px;
    }

    .container-register-section {
        float: left;
    }

    .register-button {
        background-color: #1E38DE;
        padding: 14px 18px 12px 18px;
        border-radius: 16px;
        color: #FFF;
        text-decoration: none;
        display: inline-block;
        margin-top: 6px;
        width: initial;
    }

    .section-online-course-4-teachers .register-primary-school-teachers {
        max-width: 220px;
    }

    .register-primary-school-teachers {
        max-width: 322px;
        text-align: left;
    }

    .section-in-10-lessons .image-section {
        display: block;
    }

    /* Third display */
    .rows-course-objectives-wrap {
        padding: 0;
    }

    .rows-course-objectives {
        /* flex-wrap: wrap; */
        gap: 14px;
    }

    .head-course-objectives {
        margin: 40px 0;
        text-align: center;
    }

    .head-course-program {
        margin: 40px 0;
    }

    .head-free-course {
        margin: 40px 0;
    }

    .head-examples-of-students {
        margin: 40px 0;
    }

    .row-course-objectives__descr {
        font-size: 15px;
        font-weight: 400;
        line-height: 17.6px;
        letter-spacing: -0.02em;
        text-align: center;
        padding: 19px;
    }

    /* Fourth display */
    .section-course-program .second-register-btn {
        display: none;
    }

    .section-course-program .first-register-btn {
        display: block;
    }

    .section-course-program {
        gap: 40px;
    }

    .course-program-list li {
        border: none;
    }

    /* Fifth display */
    .free-course-container {
        display: flex;
        overflow: hidden;
        width: 100%;
        flex-wrap: wrap;
        border-radius: 20px;
        border: 1px solid #E8E8E8;
        gap:0;
    }

    .free-course-box {
        border-radius: initial;
        min-width: 300px;
    }

    .free-course-box h3 {
        font-size: 24px;
        font-weight: 600;
        line-height: 26.4px;
        letter-spacing: -0.02em;
        text-align: left;
        color: #1E38DE;
        margin:20px;
    }

    .free-course-box p {
        font-size: 19px;
        font-weight: 400;
        line-height: 22px;
        letter-spacing: -0.02em;
        text-align: left;
    }

    .free-course-large {
        order: 999 !important; /* TO DO: Fix this */
    }

    /* Seventh display */
    .section-free-registration {
        padding: 80px 124px;
    }

    .section-free-registration .register-primary-school-teachers {
        font-size: 22px;
        font-weight: 400;
        line-height: 26.4px;
        letter-spacing: -0.02em;
        text-align: left;
        padding: 10px;
        margin: 0;
    }

    /* Eighth display */
    .section-mathema-rating {
        justify-content: space-between;
        align-items: center;
        background-image: url('../img/page-course-canva-ai/text-bg-mathema-rating.png');
        background-position: center;
        background-repeat: no-repeat;
        background-position-y: 75%;
    }

    .mathema-rating-box {
        max-width: 659px;
    }

    .head-mathema-rating {
        font-size: 32px;
        font-weight: 400;
        line-height: 32px;
        letter-spacing: -0.04em;
    }

    .mathema-rating-box {
        display: flex;
        justify-content: center;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
    }

    .bg-width-wrap:nth-of-type(8) .section {
        padding: 60px 102px;
    }

    .section-mathema-rating .container-register-section {
        width: 100%;
        flex-basis: 100%;
        text-align: center;
    }

    .reviews-upper-block {
        text-align: left;
    }

    .reviews-block {
        justify-content: left;
    }
}/*MIN 768 END*/

/* Fullscreen */
@media(min-width: 1024px) {
    h1, h2 {
        font-size: 59px;
        font-weight: 400;
        line-height: 58px;
        letter-spacing: -0.04em;
        text-align: left;
        font-variation-settings: 'wdth' 100;
    }

    .highlight-text__canva {
        padding: 0 6px;
    }

    .highlight-text__ai {
        white-space: nowrap;
    }

    .register-free {
        font-size: 29px;
        font-weight: 400;
        line-height: 39px;
        letter-spacing: -0.02em;
        margin-top: 46px;
    }

    /* Fifth display */
    .free-course-box h3 {
        font-size: 39px;
        font-weight: 600;
        line-height: 48px;
        letter-spacing: -0.02em;
        text-align: left;
        color: #1E38DE;
        margin:30px;
    }
}/*MIN 1024 END*/