﻿
.ly-level-wrapper{
    width:100%;
}

.ly-level-wrapper:nth-child(odd){
   
}

.ly-level-wrapper:nth-child(odd) {

}

/*.ly-level-wrapper:nth-child(even) .ly-lessons-container {
    flex-direction:row-reverse;
}

.ly-level-wrapper:nth-child(even) .ly-lessons-wrapper {
    align-items:flex-start
}*/

.ly-hero-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 0px;
    text-align: center;
    gap: 10px;
}

img.ly-hero-inline-logo {
    width: 180px;
}

.ly-level-wrapper:nth-of-type(even) .ly-lessons-container {
    flex-direction: row-reverse;
}

.ly-level-wrapper:nth-of-type(even) .ly-lessons-wrapper {
    align-items: flex-start;
}

.ly-level-title {
    width: 100%;
    text-align: center;
    border-radius: clamp(10px,1.5vw,20px);
    padding: clamp(10px,1.5vw,20px);
    margin-block: clamp(10px,1.5vw,20px);
    background-color: var(--ly-lesson-orange);
    color: var(--ly-white);
    font-family: sharktooth-heavy;
    font-size: clamp(18px,1.5vw,25px);
}

    .ly-level-title.current {
        background-color: var(--ly-bright-red);
    }

.ly-lessons-container{
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.ly-lessons-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-end;
}

.ly-lesson {
    --lesson-size: clamp(60px,5vw,90px);
    position: relative;
    z-index: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: var(--lesson-size);
    height: var(--lesson-size);
    padding: 15px;
    border-radius: 50%;
    background-color: #72192A;
    box-shadow: 0px 4px 4.8px -1px #0000003B;
    cursor:pointer;
}

.ly-lesson.clicked {
    z-index: 1;
}

    .ly-lesson.locked {
        background-color: #989898;
    }
        .ly-lesson.locked img {
            opacity: .5;
        }

    .ly-lesson.locked:after {
        background-color: #C1BFBF;
    }

.ly-lesson-img {
    position: relative;
    z-index: 2;
    width: 100%;
    margin-top:-10px;
}

.ly-lesson:after {
    content: "";
    display: block;
    position: absolute;
    z-index: 1;
    top:-6px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 51%;
    width: 99%;
    height: 100%;
    background-color: var(--ly-dark-red);
}

.ly-lesson .ly-lesson-status {
    display: none;
    position: absolute;
    z-index: 4;
    top: -8px;
    right: -10px;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: var(--ly-lesson-orange);
    overflow: hidden;
}

    .ly-lesson .ly-lesson-status span{
        padding-inline:2px;
        color:var(--ly-black);
        font-size:17px;
    }

    .ly-lesson.completed .ly-lesson-status, .ly-lesson.in-progress .ly-lesson-status {
        display: flex;
    }


.ly-lesson .ly-lesson-status img, .ly-lesson .ly-lesson-status span {
    width: 100%;
    display: none;
}

.ly-lesson.completed .ly-lesson-status img, .ly-lesson.in-progress .ly-lesson-status span {
    display: block;
}

    .ly-level-image {
        width: 40%;
        min-width: 120px;
    }

.ly-level-image img{
    width: 100%;
}

.ly-lesson-bubble {
    --bubble-width: clamp(220px,15vw,300px);
    position: absolute;
    z-index: 5;
    top: 100%;
    left: calc(50% - var( --bubble-width)/2);
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: var(--bubble-width);
    padding: 10px clamp(8px,1vw,15px);
    background-color: var(--ly-white);
    color: var(--ly-dark-red);
    border-radius: 16px;
    transform: scale(0);
    transition: all ease .3s;
    box-shadow: 0px 7.89px 18.41px 0px rgba(0, 0, 0, 0.1);
}

    .ly-lesson-bubble:after {
        content: '';
        display: block;
        position: absolute;
        top: -20px;
        left: 50%;
        transform: translateX(-50%);
        width:25px;
        height:25px;
        background:transparent url("../../images/lingofy/site/ly-bubble-tip.png") no-repeat center center;
    }

.ly-lesson.locked .ly-lesson-bubble {
    color: #C1BFBF;
}


.ly-lesson.locked .ly-lesson-bubble .ly-primary-btn{
    background-color: #C1BFBF;
}

.ly-lesson-title {
    width: 100%;
    text-align: center;
    font-size: 20px;
}

.ly-lesson-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    font-size: 20px;
}

    .ly-lesson-info span{
        font-family:sharktooth-regular;
        font-weight:300;
    }

.ly-lesson-bubble .ly-primary-btn, .ly-lesson.completed .ly-primary-btn {
    display: block;
    width: 100%;
    font-size: clamp(16px,1.1vw,21px);
    padding: 15px 20px;
}

.ly-lesson.completed .ly-primary-btn {
    background-color: var(--ly-green);
}

.ly-lesson.clicked .ly-lesson-bubble {
    top: 115%;
    transform: scale(1);
}

.cc-common-container span,
.cc-common-container li {
    font-family: sharktooth-regular, sans-serif;
}

.cc-common-container strong {
    font-family: sharktooth-bold, sans-serif;
}

.ai-level-wrapper {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.ai-level-img {
    width: clamp(110px, 15vw, 140px);
    margin-bottom: 22px;
}

.ai-level-wrapper > h3 {
    color: var(--ai-purple);
    font-size: clamp(20px, 1.5vw, 30px);
}

.ai-level-title {
    background: transparent;
    border: solid 1px var(--ly-dark-red);
    color: var(--ai-purple);
}

.ai-start-round-btn {
    background-color: var(--ai-purple) !important;
    width: 100px !important;
    height: 100px !important;
    border-radius: 50px !important;
    font-family: 'sharktooth-regular';
    padding-top: 25px;
}

.ai-level-wrapper.disabled {
    opacity: .4;
}

@media screen and (max-width:1500px) {
    .ly-lesson .ly-lesson-status {
        width: 25px;
        height: 25px;
    }

        .ly-lesson .ly-lesson-status span {
            font-size: 13px;
        }
}

@media screen and (max-width:820px) {
    .ly-lesson:after {
        top:-4px;
    }

    .ly-lesson {
        padding: 10px;
    }

    .ly-lesson-img {
        margin-top: -8px;
    }
}