@charset "UTF-8";

.error, .error:hover, .error:focus {
    border-color: #DA2A55;
}

.error-message {
    color: #DA2A55;
    font-size: 1.4rem;
    font-style: normal;
    font-weight: 400;
    display: none;
}

.lessons__head {
    display: none;
}

.lessons__head--show {
    display: flex;
}

.general__scenes-img {
    justify-content: center;
    align-items: center;
    padding: 12px;
    border-radius: 10.2rem;
    /*outline: 2px dashed #4437934C;
    outline-offset: -2px;*/
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAyIiBoZWlnaHQ9IjEwMiIgdmlld0JveD0iMCAwIDEwMiAxMDIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxjaXJjbGUgb3BhY2l0eT0iMC4zIiBjeD0iNTEiIGN5PSI1MSIgcj0iNTAiIHN0cm9rZT0iIzQ0Mzc5MyIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtZGFzaGFycmF5PSI2IDYiLz4KPC9zdmc+Cg==);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}

.general__scenes-img img {
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 10.2em;
    box-shadow: 0 4px 15px 0 #5E3A4326;
    padding: 11px;
}

#popup-message .popup__content {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 0;
}

#popup-message .popup__head {
    margin-bottom: 4rem;
}

#popup-message .btn {
    --btn-padding-x: 11rem;
}

.lessons__head--show {
    cursor: pointer;
}

.eht-result__diagramm {
    display: flex;
    align-items: center;
    justify-content: center;
}

.drag-item {
    cursor: pointer;
}

.drop-target.js-item-active {
    cursor: pointer;
}

.task__matching-img canvas {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.task__formal-item.js-item-active {
    border-color: var(--lime-green);
    background-color: var(--lime-green-20);
}

.sortable-block .task__item {
    cursor: pointer;
}

.vocabulary-choise__letter-info-content-item-left img {
    cursor: pointer;
}

.scenes__block--lock {
    cursor: default;
}

.general__scenes-item.is-locked {
    cursor: default;
}

.scenes-inner .task__block-head {
    display: none;
}

.scenes-inner .task__control {
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: space-between;
}

.task__building-col .js-item-connected {
    opacity: 0;
}

.task__result-wrapper {
    display: none;
}
.task__result-link:hover + .task__result-wrapper {
    display: flex;
}
.task__result-items {
    padding-bottom: 20pt;
}

.task__chat-input {
    margin-left: 10pt;
    margin-right: 10pt;
}

.task__select-text {
    max-width: 61rem;
}

.task__choice .js-item-active {
    --item-bg-color: var(--dark-magenta-20);
    --item-border-color: var(--dark-magenta);
    --item-letter-color: var(--white);
    --item-letter-bg-color: var(--dark-magenta);
}
.task__choice .correct-answer {
    --item-letter-color: var(--white);
    --item-letter-bg-color: var(--lime-green);
    --item-border-color: var(--lime-green);
    --item-bg-color: var(--lime-green-20);
}
.task__choice .js-item-active.incorrect-answer {
    --item-bg-color: var(--bright-orange-20);
    --item-letter-bg-color: var(--bright-orange);
    --item-border-color: var(--bright-orange);
    --item-icon-color: var(--bright-orange);
    --item-letter-color: var(--white);
}

.task-matching .task__building-null.correct-answer {
    border-color: var(--lime-green);
    background-color: var(--lime-green-20);
}
.task-matching .task__building-null.incorrect-answer {
    border-color: var(--bright-orange);
    background-color: var(--bright-orange-20);
}

.task__building-null.correct-answer {
    border-color: var(--lime-green);
    background-color: var(--lime-green-20);
}
.task__building-null.incorrect-answer {
    border-color: var(--bright-orange);
    background-color: var(--bright-orange-20);
}

.task__formal-item.correct-answer {
    border-color: var(--lime-green);
    background-color: var(--lime-green-20);
}
.task__formal-item.incorrect-answer {
    border-color: var(--bright-orange);
    background-color: var(--bright-orange-20);
}

.task__item.correct-answer {
    border-color: var(--lime-green);
    background-color: var(--lime-green-20);
}
.task__item.incorrect-answer {
    border-color: var(--bright-orange);
    background-color: var(--bright-orange-20);
}

.task__pairs-item.js-item-active {
    --item-bg-color: var(--dark-magenta-20);
    --item-border-color: var(--dark-magenta);
}
.task__pairs-item.correct-answer {
    border-color: var(--lime-green);
    background-color: var(--lime-green-20);
}
.task__pairs-item.incorrect-answer {
    border-color: var(--bright-orange);
    background-color: var(--bright-orange-20);
}

.achivments__item.gold {
    border-color: #fccd05;
}
.achivments__item.silver {
    border-color: #e4e8ef;
}
.achivments__item.bronze {
    border-color: #e3672a;
}

.progress__bar-item--full .icon-galochka {
    color: var(--lime-green);
}

.task__checkpoint-item:nth-child(2) {
    --item-color: var(--lime-green);
}

.task__checkpoint-item.not-passed {
    --item-color: var(--dark-magenta);
}

.task-checkpoint-page .task__result-items {
    -ms-grid-columns: (1fr)[2];
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 601px) {
    .task__done .task__result-items {
        -ms-grid-columns: 1fr 2rem 1fr;
        grid-template-columns: repeat(2, 1fr);;
    }
}

.header__item {
    font-size: 1.5rem;
}
.header__profile {
    font-size: 1.4rem;
}

.task__chat-wrap {
    max-width: 40rem;
}

.lesson-current-step {
    animation-duration: 1.5s;
    animation-iteration-count: infinite;
    animation-name: current-step-animation;
    animation-timing-function: ease;
    z-index: 1;
}

.test__head {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 2rem;
    padding: 3rem 4rem 3.7rem 4rem;
    border-radius: 2rem 2rem 0 0;
    background-color: var(--white);
}

.test {
    -webkit-box-shadow: 0 4px 15px rgba(94, 58, 67, 0.15);
    box-shadow: 0 4px 15px rgba(94, 58, 67, 0.15);
    border-radius: 2rem;
}
.test__inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}
.test .task__body {
    padding: 0 20rem 4rem;
    background: var(--white);
    -webkit-box-shadow: none;
    box-shadow: none;
}
@media (max-width: 600px) {
    .test .task__body {
        padding: 0 4rem 4rem;
    }
}
.test .task__head {
    padding: 4rem 20rem;
}
@media (max-width: 600px) {
    .test .task__head {
        padding: 4rem;
    }
}
.test .task__head {
    background-color: var(--white);
}
.test .task__head .task__progress progress {
    width: 100%;
}
.test .task__head .task__progress span {
    flex-shrink: 0;
}
.test .task__progress .task__segment {
    display: none;
}
.test .task__progress {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 0.4rem 1.8rem;
}
.test .task__progress progress {
    background: var(--medium-gray-20);
    color: var(--lime-green);
    display: block;
    width: 34rem;
    height: 1rem;
    border-radius: 10rem;
    -moz-appearance: none;
    appearance: none;
    -webkit-appearance: none;
    border: none;
    overflow: hidden;
    cursor: default;
}
.test .task__progress progress::-webkit-progress-bar {
    background: var(--medium-gray-20);
    border-radius: 10rem;
}
.test .task__progress progress::-webkit-progress-value {
    background: var(--lime-green);
    border-radius: 10rem;
    -webkit-transition: width 0.4s ease;
    transition: width 0.4s ease;
}
.test .task__progress progress[value="0"]::-webkit-progress-value {
    background: var(--medium-gray-20);
}
.test .task__progress span {
    font-weight: 500;
    font-size: 1.4rem;
    line-height: 110%;
    color: var(--medium-gray);
}

@keyframes current-step-animation {
    0% {
        transform: scale(1, 1) translateY(0);
    }

    10% {
        transform: scale(1.1, .9) translateY(0);
    }

    30% {
        transform: scale(.9, 1.1) translateY(-50px);
    }

    50% {
        transform: scale(1.05, .95) translateY(0);
    }

    57% {
        transform: scale(1, 1) translateY(-7px);
    }

    64% {
        transform: scale(1, 1) translateY(0);
    }

    100% {
        transform: scale(1, 1) translateY(0);
    }
}

.task__speak-btn {
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.task__speak-btn.is-recording {
    background-color: #ff4a4a;
    animation: pulse 1.5s infinite ease-in-out;
}
.task__chat-btn.is-recording {
    background-color: #ff4a4a;
    animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 74, 74, 0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(255, 74, 74, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 74, 74, 0);
    }
}

#popup-test-results .popup__body span {
    border-color: var(--lime-green);
    background-color: var(--lime-green-20);
    border-width: 2px;
    border-style: solid;
    border-radius: 10px;
    max-width: 36.8rem;
    width: 100%;
    text-align: center;
    padding: 2rem;
}
#popup-test-results .popup__body p {
    text-align: center;
}

.task__speak-title {
    display: flex;
    align-items: baseline;
    gap: 2rem;
}

.repeat-text .correct {
    color: var(--lime-green);
}
.repeat-text .incorrect {
    color: var(--bright-orange);
}

.plate {
    position: fixed;
}

.plate img {
    height: auto;
}

.plate .ai_window {
    display: none;
    width: 411px;
    height: 671px;
    max-height: calc(100vh - 240px);
    min-height: 300px;
    background: white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.20);
    border-radius: 25px;
    position: absolute;
    right: 20px;
    bottom: 170px;
    border-color: #A6AFB9;
    border-width: 1px;
    border-style: solid;
}

.plate.active .ai_window {
    display: block;
}

.plate .plate__block {
    display: none;
}

.ai_window .title {
    width: 100%;
    height: 40px;
    left: 0;
    top: 0;
    background: #94268F;
    border-radius: 25px;
    display: flex;
    display: -webkit-flex;
    flex-flow: wrap;
    align-items: center;
    padding-left: 20px;
    padding-right: 20px;
}

.ai_window .title .title_logo {
    padding-right: 8px;
}

.ai_window .title .title_close {
    width: 25px;
    height: 25px;
    cursor: pointer;
}

.ai_window .title_text {
    flex: auto;
    color: #FFFFFF;
    font-size: 14pt;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 25px;
    word-wrap: break-word;
    font-family: Effra, serif;
}

.ai_window .line {
    width: 100%;
    height: 0;
    opacity: 0.50;
    outline: 1px #A6AFB9 solid;
    outline-offset: -0.50px;
    position: absolute;
    bottom: 62px;
}

.ai_window .send_ai_query {
    width: 100%;
    display: -webkit-flex;
    flex-flow: wrap;
    align-items: center;
    position: absolute;
    bottom: 0;
    height: 62px;
    padding-left: 20px;
    padding-right: 20px;
}

.ai_window .send_ai_query_input {
    flex: auto;
    color: #595959;
    font-size: 13pt;
    font-family: Effra, serif;
    font-weight: 500;
    line-height: 18px;
    word-wrap: break-word;
    border: none;
}

.ai_window .send_ai_query_input::placeholder {
    color: #A6AFB9;
    font-size: 13pt;
    font-family: Effra, serif;
    font-weight: 500;
    line-height: 18px;
}

.ai_window .send_ai_query .send_button {
    cursor: pointer;
}

.ai_window .ask_anything {
    color: #595959;
    font-size: 10pt;
    font-family: Effra, serif;
    font-weight: 500;
    line-height: 15px;
    word-wrap: break-word;
    bottom: 68px;
    position: absolute;
    left: 20px;
    right: 20px;
}

.ai_window .ai_attention {
    max-width: 193px;
    background: #F6F6F6;
    border-radius: 16px;
    border: 2px #F6F6F6 solid;
    position: absolute;
    right: 10px;
    top: 45px;
    padding: 23px 19px 28px 29px;
}

.ai_window .ai_attention .text {
    color: #929292;
    font-size: 14px;
    font-family: Effra, serif;
    font-weight: 500;
    line-height: 17px;
    word-wrap: break-word;
}

.ai_window .ai_attention .close {
    position: absolute;
    right: 4px;
    top: 4px;
    cursor: pointer;
}

.ai_window .ai_attention .logo {
    position: absolute;
    right: 12px;
    bottom: 8px;
}

.ai_window .body {
    padding: 15px;
}

.ai_window .body .question {
    position: relative;
    margin-left: auto;
    align-items: end;
    margin-bottom: 12px;
    display: block;
    height: auto;
    width: fit-content;
    justify-items: right;
}

.ai_window .body .question .you {
    color: black;
    font-size: 14pt;
    font-family: Effra, serif;
    font-weight: 700;
    line-height: 21px;
    word-wrap: break-word;
}

.ai_window .body .question .copy-button {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.ai_window .body .question .text {
    color: black;
    font-size: 12pt;
    font-family: Effra, serif;
    font-weight: 500;
    line-height: 18px;
    word-wrap: break-word;
    background: #D5E0FA;
    border-radius: 25px;
    padding: 6px 19px;
    margin-top: 14px;
    margin-bottom: 9px;
}

.ai_window .body {
    overflow: auto;
    height: 400px;
}

.ai_window .body .answer {
    position: relative;
    margin-right: auto;
    align-items: start;
    margin-bottom: 12px;
    display: block;
    height: auto;
    justify-items: left;
    width: 100%;
}

.ai_window .body .answer .bot {
    width: 50px;
    height: 50px;
    background: #F6F6F6;
    border-radius: 9999px;
    float: left;
    margin-right: 5px;
    margin-bottom: 5px;
}

.ai_window .body .answer .loading {
    display: inline-block;
    clip-path: inset(0 1ch 0 0);
    animation: l 1s steps(4) infinite;
}

@keyframes l {
    to {
        clip-path: inset(0 -1ch 0 0)
    }
}

.ai_window .body .answer .bot img {
    margin-left: auto;
    margin-right: auto;
}

.ai_window .body .answer .copy-button {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.ai_window .body .answer .text {
    color: black;
    font-size: 12pt;
    font-family: Effra, serif;
    font-weight: 500;
    line-height: 18px;
    word-wrap: break-word;
    margin-bottom: 2px;
    display: block;
}

.ai_window .new_chat {
    position: absolute;
    background: #E4ECFF;
    border-radius: 13px;
    padding: 7px 15px;
    bottom: 70px;
    width: fit-content;
    cursor: pointer;
    left: 50%;
    transform: translateX(-50%);
}

.ai_window .new_chat .text {
    color: #3E80CE;
    font-size: 13pt;
    font-family: Effra, serif;
    font-weight: 400;
    line-height: 15px;
    word-wrap: break-word;
    display: inline-block;
}

.ai_window .new_chat img {
    display: inline-block;
    margin-right: 6px;
}

.ai_window .answer .preset {
    background: #F5F9FD;
    border-radius: 15px;
    padding: 6px;
    color: #3E80CE;
    font-size: 9pt;
    font-family: Effra, serif;
    font-weight: 500;
    line-height: 11px;
    word-wrap: break-word;
    width: fit-content;
    margin: 4px;
    cursor: pointer;
}

.ai_window .answer.presets .text {
    display: flex;
    flex-wrap: wrap;
}

.answer.example .text ol {
    margin: 0 0 0 25px;
    padding-left: 0;
}

@media (max-width: 600px) {
    .plate .ai_window {
        width: 100%;
        height: 100%;
        position: fixed;
        left: 0;
        top: 0;
        max-height: none;
    }
    .plate .plate__inner {
        padding-bottom: 70px;
    }
}

.vocabulary-save__item img.remove {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 3rem;
    height: auto;
    cursor: pointer;
    z-index: 1;
}
