.teacher {
    margin-top: 75px;
    margin-bottom: 92px;
}
.teacher__container {
    display: flex;
    gap: 30px;
    position: relative;
}
.teacher__left {
    width: 38.89%;
}
.teacher__photo-wrapper{
    position: relative;
    margin: 0 auto;
    margin-bottom: 35px;
    display: block;
    max-width: 280px;
    border-radius: 50%;
    overflow: hidden;
}
.teacher__photo-wrapper::after{
    content: "";
    display: block;
    padding-bottom: 100%;
}
.teacher__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    left: 0;
    top: 0;
}
.teacher__name {
    color: #000;
    font-size: 45px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.teacher__left p{
    color: #000;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 108%; /* 25.92px */
    letter-spacing: 0.48px;
}
.teacher__right {
    width: 53.42%;
}
.teacher__lead {
    color: #F55F89;
    font-size: 45px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    text-transform: uppercase;
    margin-bottom: 36px;
}
.teacher__students {
    display: flex;
    gap: 25px;
    margin-bottom: 70px;
    color: #000;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
    margin-left: 40px;
    align-items: center;
}
.teacher__button {
    padding: 12px 19px;
    margin-left: 40px;
}
.teacher__circle{
    position: absolute;
    right: 0;
    top: -50px;
    z-index: -1;
}
@media(max-width: 930px) {
    .teacher__left{
        display: flex;
        width: 100%;
        gap: 30px;
        align-items: center;
    }
    .teacher__container{
        flex-direction: column;
    }
    .teacher__right{
        width: 100%;
    }
}

@media(max-width: 660px) {
    .teacher__left{
        flex-direction: column;
    }
    .teacher__photo-wrapper {
        width: 100%;
        max-width: 400px;
        max-height: 400px;
        margin-bottom: 0;
    }
    .teacher__lead{
        font-size: 35px;
    }
    .teacher__name{
        font-size: 35px;
    }
    .teacher__students{
        flex-wrap: wrap;
        margin-left: 0;
    }
    .teacher__button {
        margin-left: 0;
    }
}

@media(max-width: 550px) {
    .teacher__students{
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    .teacher__students br{
        display: none;
    }
}

@media(max-width: 410px) {
    .teacher__lead{
        font-size: 28px;
    }
}




.first-step__img{
    position: relative;
    right: 65px;
    margin-right: -100px;
}

@media(max-width: 1290px) {
    .first-step__container{
        max-height: initial;
    }
    .first-step__img{
        margin-right: 0;
        right: 0;
    }
}

@media(max-width: 1090px) {
    .first-step__wrapper{
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media(max-width: 750px) {
    .first-step__wrapper{
        align-items: center;
    }
    .first-step__container{
        gap: 20px;
    }
}




.happiness {
    margin-bottom: 100px;
}
.happiness__container{
    padding-top: 145px;
    position: relative;
}
.happiness__title {
    text-transform: uppercase;
    margin-bottom: 24px;
    max-width: 710px;
}
.happiness__title span{
    color: #F55F89;
}
.happiness__items {
    display: flex;
    list-style: none;
    justify-content: space-between;
}
.happiness__items li{
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 8px;
    max-width: 295px;
    color: #000;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 108%;
    letter-spacing: 0.48px;
    opacity: 0;
    transition: .5s linear;
}
.happiness__items li:first-child{
    transition: .2s linear;
}
.happiness__items li img{
    width: 87px;
    height: 87px;
}
.happiness__elipses{
    position: absolute;
    right: -250px;
    top: -330px;
    z-index: -1;
}

.happiness__circle{
    position: absolute;
    left: -100px;
    top: 60px;
}

@media(max-width: 980px) {
    .happiness__items{
        flex-direction: column;
        gap: 30px;
    }
    .happiness__items li{
        max-width: initial;
    }
    .happiness__items li:nth-child(2){
        order: 2;
    }
}

@media(max-width: 768px) {
    .happiness__container{
        padding-top: 70px;
    }
}



.review {
}
.review__container {
}
.review__content {
    display: flex;
    gap: 56px;
    align-items: center;
    position: relative;
    border-radius: 20px;
    background: #14231B;
    padding: 70px;
    padding-bottom: 85px;
}
.review__text{
    color: #FFF;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 108%; /* 25.92px */
    letter-spacing: 0.48px;
}
.watch-on-youtube {
    position: absolute;
    color: #F55F89;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 108%; /* 25.92px */
    letter-spacing: 0.48px;
    text-decoration-line: underline;
    display: flex;
    align-items: center;
    gap: 18px;
    bottom: 12px;
    right: 70px;
}

@media(max-width: 770px) {
    .review__content{
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

@media(max-width: 600px) {
    .watch-on-youtube{
        position: static;
        flex-direction: column-reverse;
        gap: 0px;
        align-items: flex-end;
        margin-left: auto;
    }
}

@media(max-width: 500px) {
    .review__content{
        padding: 30px;
    }
    .review__text{
        font-size: 20px;
    }
    .watch-on-youtube{
        font-size: 20px;
    }
}




.biography {
    margin-top: 65px;
    margin-bottom: 200px;
}
.biography__title {
    margin-bottom: 45px;
}
.biography ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: #000;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 108%;
    letter-spacing: 0.48px;
    padding: 36px 21px 75px 50px;
    border-radius: 20px;
    background: #FFF;
    list-style: none;
    position: relative;
}
.biography ul li:first-child{
    padding-right: 50px;
}
.biography ul::after{
    content: "";
    display: block;
    position: absolute;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #F55F89;
    top: 36px;
    right: 45px;
}
.biography ul li strong{
    color: #F55F89;
    display: block;
    font-weight: 700;
}

@media(max-width: 600px) {
    .biography ul {
        font-size: 20px;
        padding-top: 46px;
        padding-left: 30px;
    }
    .biography ul li:first-child{
        padding-right: 0;
    }
    .biography ul::after{
        top: 20px;
        right: 20px;
    }
}

@media(max-width: 800px) {
    .biography{
        margin-bottom: 100px;
    }

}