@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400..800&display=swap');

.template-section {
    background: #00A6E3;
    position: relative;
    overflow: hidden;
}

.absolute-rico-thumbs {
    position: absolute;
    right: 18%;
    bottom: 0;
    width: 450px;
}

.layer-image {
    position: relative;
}

.closed-book-mobile-img {
    display: none;
}

section.template-section .container {
    display: flex;
    align-items: center;
}

.template-inner-box {
    padding: 200px 100px 0;
}


.cloudflare-img {
    position: absolute;
    right: 0;
    top: 50px;
    width: 200px;
}

.sun-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 220px;
}

.template-section h2 {
    font-size: 156px;
    color: #fff;
    font-family: "Baloo 2", sans-serif;
    font-weight: 800;
    line-height: 124px;
}

.template-section p {
    font-size: 23px;
    color: #fff;
    font-weight: 500;
}

.template-section h2 span {
    color: #FFDE14;
    display: block;
    font-family: "Baloo 2", sans-serif;
    font-weight: 800;

}

.iframe-section {
    padding: 100px 0;
}

.iframe-outer h3 {
    color: #042C89;
    font-size: 52px;
    font-family: "Baloo 2", sans-serif;
    font-weight: 800;

}

.iframe-outer {
    max-width: 1120px;
    margin: 0 auto;

}

.iframe-outer.text-center {
    position: relative;
}

.iframe-outer p {
    color: #5F5F6D;
    font-size: 20px;
}

@media(min-width:1400px) and (max-width:1600px) {
    .template-section h2 {
        font-size: 140px;
    }

    .absolute-rico-thumbs {
        right: 16%;
        width: 427px;
    }
}
@media(min-width:1300px) and (max-width:1400px) {
    .template-section h2 {
        font-size: 120px;
    }

    .absolute-rico-thumbs {
        right: 12%;
        width: 380px;
    }
}
@media(min-width:1100px) and (max-width:1300px) {
    .template-inner-box {
        padding: 200px 70px 0;
    }

    .template-section h2 {
        font-size: 120px;
        line-height: 116px;
    }

    .absolute-rico-thumbs {
        right: 12%;
        width: 380px;
    }
}

@media(min-width:901px) and (max-width:1099px) {
    .template-inner-box {
        padding: 200px 70px 0;
    }

    .template-section h2 {
        font-size: 100px;
        line-height: 90px;
    }

    .absolute-rico-thumbs {
        right: 9%;
        width: 300px;
    }
}

@media(min-width:700px) and (max-width:900px) {
    .template-inner-box {
        padding: 200px 50px 0;
    }

    .template-section h2 {
        font-size: 88px;
        line-height: 90px;
    }

    .absolute-rico-thumbs {
        right: 9%;
        width: 280px;
    }
}

@media (max-width:767px) {
    .bluelayer {
        display: none;
    }

    .sun-img {
        top: -32px;
        left: -20px;
        width: 131px;
        rotate: 21deg;
    }

    .cloudflare-img {
        right: -30px;
        top: 22px;
        width: 128px;
    }

    .template-inner-box {
        padding: 100px 30px;
    }


    .template-section h2 {
        font-size: 54px;
        line-height: 1.1;
    }

    .absolute-rico-thumbs {
        right: 0%;
        bottom: 84px;
        width: 208px;
    }

    section.iframe-section {
        margin-top: -218px;
        padding: 100px 30px 30px;
    }

    .booksSection .weekly-new-innerBox {
        padding: 50px 20px !important;
    }

    .iframe-outer.text-center h3 {
        text-align: left;
        font-size: 38px;
    }

    .iframe-outer.text-center p {
        text-align: left !important;
    }

    .closed-book.closed-book-mobile-img {
        position: relative;
        margin-top: -105px !important;
        padding: 0;
        width: 100%;
        left: 0px !important;
        height: fit-content;
    }
}

@media(max-width:335px) {
    .absolute-rico-thumbs {
        bottom: 114px;
        width: 180px;
    }

    .template-section h2 {
        font-size: 36px;
    }

    .absolute-rico-thumbs {
        bottom: 114px;
        width: 138px;
    }

    .template-inner-box {
        padding: 100px 5px;
    }

    section.iframe-section {
        padding: 100px 5px 30px;
    }
}

@media(min-width:335px) and (max-width:400px) {
    .absolute-rico-thumbs {
        bottom: 91px;
        width: 150px;
    }

    section.iframe-section {
        padding: 100px 30px 30px;
    }

    .template-section h2 {
        font-size: 49px;
    }

    .template-inner-box {
        padding: 100px 30px 63px;
    }
}





.jrourny-inner-box {
    max-width: 1210px;
    margin: 0 auto;
    background-color: #fff;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    border-radius: 30px;
}

.weekly-new-banner-sec {
    background-image: url('../img/weeklyNewBanner2.png');
    background-size: cover;
    position: relative;
    background-position: bottom;
    padding: 100px 0;
}

.road-to-rio {
    background-image: url('../img/road-rio.png');
    background-size: cover;
    background-position: center;
    padding: 200px 0 100px;
    margin-top: -142px;
}

.how-it-work {
    padding: 100px 0;
}

.jrourny-inner-box h2 {
    color: #00A6E3;
    font-family: permanent marker;
    font-size: 48px;
}

.jrourny-inner-box {
    padding: 40px;
    text-align: center;
}

.jrourny-inner-box h2 {
    color: #00A6E3;
    font-family: permanent marker;
    font-size: 48px;
}


.road-to-rio-innerBox {
    max-width: 650px;
    margin: 0 auto;
    color: white;
}

.road-to-rio-innerBox p {
    font-size: 16px;
    padding-bottom: 15px;
    font-weight: 600;
}

.jrourny-inner-box p {
    font-size: 20px;
    font-family: 'Recline';
    color: #042C89;
    font-weight: bold;
}

button.bgyellow-btn {
    background: #FFDE14;
    border: none;
    padding: 12px 26px;
    border-radius: 28px;
    font-size: 18px;
    padding-left: 60px;
    color: #042C89;
    position: relative;
    font-weight: bold;
}
button.bgyellow-btn a{
    font-size: 18px;
    color: #042C89;
    font-weight: bold;
}


.outer-work-box {
    max-width: 1196px;
    margin: 0 auto;
    text-align: center;
}

section.new-journey {
    padding: 80px 0;
}

.outer-work-box .grid-container {
    display: grid;
    grid-template-columns: repeat(4, 23%);
    gap: 32px;
    margin-top: 80px;
}

.grid-inner-box h4 {
    font-size: 20px;
    color: #00A6E3;
}

.grid-inner-box img {
    width: 185px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
}

.grid-inner-box p {
    color: #4B4B56;
    font-size: 14px;
}

.outer-work-box .mainContent h2 {
    color: #042C89;
    font-size: 48px;
}

.outer-work-box .mainContent p {
    font-size: 18px;
    color: #5F5F6D;
    font-weight: 500;
}

.closed-book {
    position: absolute;
    width: 594px;
    right: 0;
    bottom: 50px;
}

.road-to-rio-innerBox h2 {
    font-size: 56px;
    color: #0DD180;
    line-height: 1.2;
}

.road-to-rio-innerBox h2 span {
    display: block;
    color: #fff;
    font-family: 'permanent marker';
}

.weekly-new-innerBox h2 {
    color: #042C89;
    font-size: 94px;
    font-family: 'Permanent Marker';
    line-height: 1.2;
}

.weekly-new-innerBox h2 span {
    display: block;
    font-family: 'Recline';
    font-size: 90px;
}

.weekly-new-innerBox {
    max-width: 950px;
    padding: 100px;
}

button.bg-blue-btn-new.purchaseBtn {
    background: #042C89;
    color: #fff;
    border: none;
    border-radius: 26px;
    padding: 11px 25px;
    font-size: 18px;
    padding-left: 60px;
    position: relative;
}
button.bg-blue-btn-new.purchaseBtn a {
    color: #fff;
    font-size: 18px;
}
button.bg-blue-btn-new.purchaseBtn::before {
    content: '';
    background-image: url('../img/purchaseIcon.png');
    background-position: center;
    background-size: contain;
    height: 20px;
    width: 20px;
    position: absolute;
    left: 25px;
    top: 12px;
}

button.bgyellow-btn::before {
    content: '';
    background-image: url('../img/blueCart.png');
    background-position: center;
    background-size: contain;
    height: 20px;
    width: 20px;
    position: absolute;
    left: 25px;
    top: 12px;
}

.beginners {
    float: left;
    width: 100%;
}

@media(max-width:767px) {

    section.road-to-rio .road-to-rio-innerBox .text-center h2 {
        text-align: left;
        font-size: 45px;
    }

    section.road-to-rio .road-to-rio-innerBox .text-center p {
        text-align: left !important;
    }

    section.road-to-rio {
        padding: 70px 20px 30px 20px;
        margin: -38px 0 0;
    }

    .outer-work-box .grid-container {
        grid-template-columns: repeat(1, 100%);
        margin-top: 20px;
    }

    .weekly-new-innerBox {
        max-width: 100%;
        padding: 200px 20px 0;
    }

    .weekly-new-innerBox h2,
    .weekly-new-innerBox h2 span {
        font-size: 41px;
    }

    section.weekly-new-banner-sec {
        background-image: url('../img/main-bannerMobile.png');
    }

    .how-it-work {
        padding: 50px 30px;
    }

    .closed-book-desktop-img {
        display: none;
    }

    .closed-book-mobile-img {
        display: block;
    }

    .closed-book {
        width: 286px;
        left: 0;
        top: 5px;
    }

    .jrourny-inner-box {
        padding: 20px;
    }

    .jrourny-inner-box h2 {
        font-size: 37px;
        line-height: 1.2;
    }

    section.new-journey {
        padding: 40px 10px;
    }

    .four-levels-new .weekly_beginner .row.justify-content-center.align-items-center {
        flex-direction: column;
    }

    .outer-work-box .mainContent h2 {
        font-size: 37px;
    }
}

@media(min-width:700px) and (max-width:991px) {
    .closed-book {
        width: 313px;
        right: 0;
    }

    .weekly-new-innerBox {
        padding: 20px;
        max-width: 70%;
    }

    .weekly-new-innerBox h2,
    .weekly-new-innerBox h2 span {
        font-size: 60px !important;
    }

    .outer-work-box .grid-container {
        grid-template-columns: repeat(2, 47%);
    }

    .how-it-work {
        padding: 50px 20px;
    }
}

@media(min-width:992px) and (max-width:1024px) {
    .bluelayer img {
        margin-top: -100px !important;
    }

    .weekly-new-innerBox h2,
    .weekly-new-innerBox h2 span {
        font-size: 60px !important;
    }

    .closed-book {
        width: 439px;
        right: 0;
    }

    .weekly-new-innerBox {
        max-width: 70%;
    }

    .jrourny-inner-box {
        max-width: 70%;
    }
}

@media(min-width:1025px) and (max-width:1300px) {

    .closed-book {
        width: 465px;
        right: 0;
        top: 80px;
    }

    .weekly-new-innerBox {
        padding: 50px;
        max-width: 70%;
    }

    .weekly-new-innerBox h2,
    .weekly-new-innerBox h2 span {
        font-size: 75px;
    }
}


@media(min-width:990px) {
    .imageChange {
        width: 100% !important;
        min-width: 500px;
        margin-left: -60px;
    }
}

.bluelayer {
    float: left;
    width: 100%;
    position: relative;
}

.bluelayer img {
    float: left;
    width: 100%;
    margin-top: -130px;
}


@media(min-width:1300px) and (max-width:1440px) {
    .closed-book {
        width: 500px;
        right: 0;
        bottom: 70px;
    }
}

@media(min-width:768px) and (max-width:992px) {

    .bluelayer img {
        margin-top: -85px !important;
    }
}