

.details-hero-section {
    position: relative;
    width: 100%;
    background: var(--light-blueviolet);
    border-radius: 0 0 40px 40px;
    min-height: 592px;
    z-index: 2;
}

.details-hero-body {
    position: relative;
    padding: 197px 0 0;
    min-height: 592px;
    z-index: 2;
}

.french-hero-body {
    position: relative;
    padding: 197px 0 0;
    min-height: 592px;
    z-index: 2;
}


.spanish-hero-body {
    position: relative;
    padding: 197px 0 0;
    min-height: 592px;
    z-index: 2;
}

.hero-img-for {
    max-width: 219px;
    height: 336px;
    top: 87px;
    left: 38px;
}

.hello {
    position: absolute;
    max-width: 128px;
    width: 100%;
    top: 120px;
    left: 235px;
}

.details-tag--one {
    transform: rotate(-6deg);
    left: 28px;
    bottom: 91px;
}

.details-tag-text span {
    white-space: nowrap;
}

.hero-img-five {
    max-width: 320px;
    height: 320px;
    width: 100%;
    top: 230px;
    right: 10px;
}

.details-description p {
    margin-top: 20px;
    margin-bottom: 0;
}

.arrow-animation {
    display: none;

}

.category-icon {
    max-width: 60px;
    width: 100%;
    height: 60px;
}

.categories-items {
    gap: 20px;
    flex-wrap: wrap;
}

.category-item {
    flex: 1 1 23.7%;
    position: relative;
    background: var(--white);
    box-shadow: 0px 0px 16px 0px var(--light-black);
    border-radius: 12px;
    z-index: 2;
    overflow: hidden;
    padding: 20px;

}

.category-decor {
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
}

.english-category-item {
    min-height: 196px;
}

.rose-item:hover p {
    color: var(--rose);
}

.rose-item:hover .icon-bg {
    background: var(--light-rose);
}

.blue-item:hover p {
    color: var(--blue);
}

.blue-item:hover .icon-bg {
    background: var(--light-blue);
}

.blueviolet-item:hover p {
    color: var(--dark-blueviolet);
}

.blueviolet-item:hover .icon-bg {
    background: var(--light-blueviolet5);
}

.green-item:hover p {
    color: var(--green);
}

.green-item:hover .icon-bg {
    background: var(--light-green2);
}

.gold-item:hover p {
    color: var(--gold);
}

.gold-item:hover .icon-bg {
    background: var(--light-gold);
}

.mediumblue-item:hover p {
    color: var(--mediumBlue);

}

.mediumblue-item:hover .icon-bg {
    background: var(--light-blue2);
}

.medium-blueviolet-item:hover p {
    color: var(--dark-blueviolet2);

}

.medium-blueviolet-item:hover .icon-bg {
    background: var(--light-blueviolet6);
}

.red-item:hover p {
    color: var(--red2);

}

.red-item:hover .icon-bg {
    background: var(--light-red2);
}


.light-red-item:hover p {
    color: #FF6506;
}

.light-red-item:hover .icon-bg {
    background: var(--light-red2);
}

.brown-item:hover p {
    color: #D38B5D;
}

.brown-item:hover .icon-bg {
    background: #FFF5EF;
}

.medium-green-item:hover p {
    color: #42E2B8;
}

.medium-green-item:hover .icon-bg {
    background: #D6FFF4;
}

.super-light-red-item:hover p {
    color: #FA737B;
}

.super-light-red-item:hover .icon-bg {
    background: #FFD9DB;
}

.light-rose-item:hover p {
    color: #F7AEF8;
}

.light-rose-item:hover .icon-bg {
    background: #FFE9FF;
}

.category-item p {
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    color: var(--black2);
    margin-top: auto;
    transition: .3s;

}


.hero-img-six {
    max-width: 280px;
    width: 100%;
    height: 280px;
    top: 174px;
    left: 37px;
}

.details-tag--tree {
    bottom: 71px;
    left: 33px;
    transform: rotate(-6deg);
}


.hallo {
    position: absolute;
    max-width: 85px;
    width: 100%;
    top: 138px;
    left: 253px;
}


.german-description p {
    max-width: 575px;
    margin: 20px auto 0;
}

.hero-img-seven {
    top: 241px;
    right: 15px;
    max-width: 300px;
    width: 100%;
    height: 300px;
}

.read-more-icon {
    font-size: 10px;
    background: var(--blueviolet);
    transform: rotate(45deg);

}

.read-more {
    gap: 8px;
    margin-top: 40px;
    transition: .3s;
    color: var(--blueviolet);
}

.read-more span {
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    text-align: center;
    color: var(--blueviolet);

}
.read-more:hover {
    opacity: .8;
    text-underline-offset: 5px;
    text-decoration: underline;


}

.german-level-item {
    flex: 1 1 23.7%;

}

.german-level-item a {
    min-height: 168px;
}

.german-level-item span {
    margin-top: 12px;
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    color: var(--gray);
    display: block;
    margin-left: 12px;


}

.self-study-items {
    gap: 20px;
    flex-wrap: wrap;
}

.self-study-item {
    padding: 24px;
    background: var(--white2);
    box-shadow: 0px 0px 16px 0px var(--light-black);
    border-radius: 12px;
    gap: 24px;
    flex: 1 1 48.8%;
    min-height: 326px;

}

.self-study-item .see-all {
    margin-top: auto;
    max-width: max-content;
    font-size: 18px;
    font-weight: 400;
    padding: 13px 28px;
}


.self-study-arrow {
    font-size: 10px;
    background: var(--black2);
}

.self-study-link {
    gap: 7px;
    transition: .3s;
    max-width: max-content;
    color: var(--blueviolet);

}

.self-study-link:hover {
    opacity: .8;
}

.self-study-link:hover span {
    text-decoration: underline;
    text-underline-offset: 5px;

}

.self-study-link span {
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    color: var(--blueviolet);

}

.self-study-link i {
    background: var(--blueviolet);
    margin-top: 2px;
}

.self-study-item h3 {
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    color: var(--gray);

}

.self-study-links {
    column-gap: 24px;
    row-gap: 12px;
    flex-wrap: wrap;
}

.self-study-links a {
    gap: 7px;
    transition: .3s;
}

.self-study-links a:hover {
    opacity: .6;
    color: var(--black2);


}

.self-study-links a span {
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    color: var(--black2);
}

.french-img {
    position: absolute;
}

.self-study-decor {
    position: absolute;
    top: -80px;
    left: -80px;
}

.hero-img-eight {
    max-width: 250px;
    height: 270px;
    width: 100%;
    top: 183px;
    left: 38px;

}

.details-tag--for {
    bottom: 70px;
    left: 12px;
    transform: rotate(-6deg);
}

.hero-img-nine {
    top: 241px;
    right: 15px;
    max-width: 300px;
    width: 100%;
    height: 300px;
}

.hero-tag--for {
    top: 200px;
    right: 35px;
    transform: rotate(12deg);
}

.bonjour {
    position: absolute;
    top: 138px;
    max-width: 120px;
    left: 244px;
    width: 100%;
}

.hola {
    position: absolute;
    top: 148px;
    max-width: 120px;
    left: 214px;
    width: 100%;
}

.page_course_m2_bg{
    display: flex;
    gap: 20px;
    margin-top: 40px;

}
.page_course_m2_title{
font-weight: 600;
font-size: 28px;
line-height: 32px;
color: #141414;

}
.page_course_m2_lessons{
    max-width: 590px;
    width: 100%;
    background: #EEE4FF;
    min-height: 440px;
    display: flex;
    align-items: center;
    justify-content: center;
       border-radius: 12px;


}
.page_course_m2_description{
    max-width: 590px;
    width: 100%;
    background: #FFFFFF;
    padding: 24px;
    box-shadow: 0px 0px 16px 0px #5B5B5B14;
   border-radius: 12px;
   display: flex;
   flex-direction: column;
   gap: 24px;


}
.page_course_m2_lessons_items{
    margin-top: 12px;
       display: flex;
   flex-direction: column;
   gap: 12px;
}
.page_course_m2_topic_title{
font-weight: 600;
font-size: 20px;
line-height: 24px;
color: #A580E0;
    margin-bottom: 12px;


}
.page_course_m2_topic_subtitle{
font-weight: 400;
font-size: 18px;
line-height: 24px;
color: #141414;

}
.page_course_m2_lessons_item{
font-weight: 400;
font-size: 18px;
line-height: 24px;
color: #141414;
display: flex;
align-items: center;
gap: 7px;

}
.page_course_m2_lessons_item i{
 transform: rotate(-2deg);
 background: #141414;
 font-size: 10px;
}
.page_planet_bg{
    width: 400px;
    height: 400px;
}
@media (max-width: 1400px) {

}

@media (max-width: 1200px) {
    .french-hero-body {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        min-height: 840px;
        justify-content: flex-end;
        padding: 148px 0 0;
    }

    .spanish-hero-body {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        min-height: 840px;
        justify-content: flex-end;
        padding: 148px 0 0;
    }

    .bonjour {
        top: unset;
        left: unset;
        bottom: 350px;
        right: 100px;
    }

    .hola {
        top: unset;
        left: unset;
        bottom: 350px;
        right: 100px;
    }

    .french-img {
        position: initial;
    }

    .hero-img-nine {
        display: none;
    }

    .hero-tag--for {
        display: none;
    }

}

@media (max-width: 992px) {
    .page_course_m2_bg{
        flex-direction: column;
    }
    .page_course_m2_description{
        max-width: 100%;
    }
    .page_course_m2_lessons{
           max-width: 100%;
    }
    .hero-img-five {
        display: none;
    }

    .details-hero-body {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        min-height: 840px;
        justify-content: flex-end;
        padding: 148px 0 0;
    }

    .hallo {
        top: unset;
        bottom: 350px;
        left: unset;
        right: 100px;
    }

    .hello {
        top: unset;
        left: unset;
        bottom: 350px;
        right: 200px;
    }

    .hero-img-seven {
        display: none;
    }

    .details-tag--one {
        bottom: 50px;
    }


    .category-item {
        flex: 1 1 32%;


    }

    .german-level-item {
        flex: 1 1 32%;

    }
}

@media (max-width: 768px) {


}

@media (max-width: 576px) {
    .page_planet_bg {
    width: 300px;
    height: 300px;
}
    .details-tag--one {
        display: none;
    }

    .bonjour {
        display: none;
    }

    .hola {
        display: none;

    }

    .hello {
        display: none;
    }

    .arrow-animation {
        display: flex;
        position: absolute;
        bottom: 25px;
        right: 0;
        max-width: 86px;


    }

    .hero-img-for {
        max-width: 332px;
        height: 394px;

    }

    .details-hero-body {
        gap: 30px;
    }

    .french-hero-body {
        gap: 30px;

    }

    .spanish-hero-body {
        gap: 30px;

    }

    .category-item {
        flex: 1 1 50%;
    }

    .german-level-item {
        flex: 1 1 50%;

    }

    .hallo {
        display: none;
    }

    .tag-info {
        display: none;
    }

    .english-category-item {
        min-height: 188px;
    }

    .self-study-decor {
        position: absolute;
        top: -40px;
        left: 40px;
        max-width: 80px;
    }

    .self-study-links a {
        gap: 7px;
        align-items: flex-start;
        flex: 1 1 auto;
    }

    .self-study-arrow {
        margin-left: auto;
        margin-top: 6px;
        font-size: 9px;
    }

    .self-study-links a span {
        max-width: 286px;
        font-size: 14px;
        line-height: 120%;

    }

    .self-study-item {
        padding: 24px 12px;
        min-height: 285px;
        gap: 12px;
    }

    .self-study-link {
        justify-content: space-between;
        max-width: 100%;
    }

    .self-study-link span {
        font-size: 14px;
        line-height: 120%;

    }

    .self-study-item h3 {
        font-size: 16px;
        line-height: 22px;
        max-width: 306px;

    }

    .self-study-items {
        gap: 12px;
    }

    .read-more {
        margin-top: 16px;
    }

    .read-more span {
        font-size: 14px;
    }

    .hero-img-six {
        max-width: unset;
        height: unset;
        margin-top: -30px;
    }

    .self-study-links {
        flex-direction: column;
    }

    .hero-img-eight {
        max-width: 332px;
        height: 394px;
        margin-top: -20px;
    }

    .french-hero-body {
        padding: 103px 0 20px 0;

    }

    .spanish-hero-body {
        padding: 103px 0 60px 0;

    }
}