/* Desktop resolution,
px: 2560x1600 1920×1080 1366×768 1440×900 1536×864 
Mobile resolution,
px: 414×896 x 375×667 x 375×812 x 414×736
Tablet resolution,
px: 768×1024 x 800×1280 x 1280×800 x 601×962 */

@media (max-width: 1920px) {
  .test,
  .invite
    {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .present .container {
    overflow-x: visible;
  }

  .gift .container {
    padding-right: 0;
    margin: 0 auto;
  }
}

@media (max-width: 1600px) {
  .footer__picture {
    position: absolute;
    top: 120px;
    right: 0;
    max-width: 681px;
  }
  
  .instagram__phone {
    margin: 0 auto;
  }

  .delivery__product:before {
    right: -80px;
  }
}

@media (max-width: 1440px) {

  .hero {
    padding-bottom: 160px;
  }

  .hero__content {
    padding-left: 108px;
  }

  .hero-bottom__info:before {
    bottom: -145px;
    left: 208px;
    max-width: 644px;
    max-height: 644px;
  }

  .hero-bottom__info {
    width: 630px;
    height: 354px;
  }

  .hero-bottom__info-video,
  .hero-bottom__info-banner {
    max-width: 630px;
    height: 354px;
  }

  .hero-bottom__info-video:before {
    right: -55px;
    top: -55px;
    width: 156.64px;
    height: 139.1px;
  }

  .hero-bottom__info-banner {
    padding-right: 108px;
  }

  .hero-bottom__description {
    max-width: 370px;
  }

  .benefits__cards-item {
    width: 426px;
  }

  .test__info {
    margin-left: 128px;
  }

  .test__picture {
    width: 602px;
  }

  .if__list-item:nth-child(2n) {
    margin-left: 112px;
  }

  .add__info-text {
    max-width: 394px;
  }

  .add__info-about {
    width: 642px;
  }

  .add__banner {
    margin-right: 108px;
    width: 630px;
    height: 354px;
  }

  .add__banner:after {
    width: 153.2px;
    height: 107.19px;
    top: -57px;
    right: -54px;
  }

  .add__banner img{
    width: 100%;
    height: 100%;
  }

  .education__picture:before {
    bottom: -100px;
    left: -150px;
  }

  .education__blocks {
    left: 80px;
    right: 80px;
  }

  .comments__paralax {
    padding: 0px 124px;
  }

  .instagram__details {
    width: 845px;
    margin-right: 0;
  }

  .footer__picture {
    z-index: 1;
  }
}

/* @media (max-width: 1438px) {
  .courses__list-item {
    max-width: 334px;
    padding: 32px 32px 37px;
    margin-bottom: 50px;
  }
} */

@media (max-width: 1410px) {
  .hero__content {
    padding-left: 0;
  }

  .hero-bottom__info-banner {
    padding-right: 0px;
  }

  .education {
    padding-bottom: 200px;
  }

  .education__info {
    width: 50%;
    padding-right: 40px;
  }

  .education__blocks {
    flex-wrap: wrap;
    position: static;
  }

  .education__block {
    padding: 24px 28px 23px 23px;
    height: 233px;
    width: 50%;
  }

  .education__block:nth-child(2n) {
    border-right: 1.5px solid #000000;
  }

  .education__block:not(:first-child) {
    margin-left: 0;
  }

  .education__block_second {
    margin-top: 0px;
    margin-left: -2px;
    position: relative;
    left: -1px;
  }

  .education__block_third {
    margin-top: -2.5px;
  }

  .education__block_fourth {
    margin-top: -2.5px;
    position: relative;
    left: -1px;
  }

  .education__block-title {
    margin: 16px 0;
  }

  .comments__paralax {
    padding: 0px;
  }

  .acquaintance__description {
    bottom: -30px;
  }
}

@media (max-width: 1340px) {

  h2 {
    font-size: 50px;
    line-height: 61px;
  }

  h3 {
    font-size: 28px;
    line-height: 36px;
  }

  h4 {
    font-weight: bold;
    font-size: 24px;
    line-height: 29px;
  }

  section {
    padding: 50px 0px;
  }

  .container {
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
  }

  .hero {
    padding: 123px 0;
  }

  .header__courses {
    top: 95px;
  }

  .header__wrapper {
    padding: 20px 0px;
    height: 96px;
  }

  .header__img {
    width: 69px;
    height: 53px;
  }

  .hero__content {
    padding-left: 0;
    position: relative;
  }

  .hero-top {
    margin-bottom: 28px;
    display: block;
  }

  .hero-top__social {
    position: absolute;
    right: 0;
    top: 170px;
  }

  .hero-bottom__description {
    margin-right: 0;
    margin-bottom: 60px;
  }

  .hero-bottom__description-text {
    font-size: 20px;
    line-height: 26px;
  }

  .hero-bottom {
    flex-direction: column;
  }

  .hero-bottom__info:before {
    height: 492px;
    width: 492px;
    bottom: -52px;
    left: 293px;
  }

  .hero-bottom__info,
  .hero-bottom__info-banner {
    margin-left: auto;
  }

  .hero-bottom__info-video:after {
    width: 72px;
    height: 72px;
  }

  .hero-bottom__info-description {
    text-align: right;
  }

  .header__courses {
    min-height: calc(100vh - 85px);
  }

  .course-block {
    padding: 120px 0;
  }

  .course-block.sale {
    padding: 132px 0;
  }

  .benefits__info-title {
    margin-bottom: 20px;
  }

  .benefits__info-text:first-child {
    margin-top: 0;
    margin-bottom: 7px;
  }

  .benefits__cards-img {
    width: 78px;
    height: 117px;
  }

  .benefits__card-picture {
    width: 130px;
    height: 195px;
  }

  .benefits__cards-item {
    padding: 53px 18px 24px;
    width: 33%;
  }

  .benefits__cards-social {
    top: 24px;
    left: 24px;
  }

  .test__picture {
    width: 40%;
    height: 433px;
    padding: 103px 48px;
  }

  .test__picture-img {
    width: 218.27px;
    height: 227.2px;
  }

  .test__picture:before {
    width: 102.38px;
    height: 64.25px;
  }

  .test__form {
    margin-top: 0px;
    margin-left: 79px;
    width: 50%;
  }

  .test__from-text {
    font-size: 20px;
    line-height: 24px;
    max-width: 334px;
  }

  .test__form-answers {
    margin-left: 0;
  }

  .test__form-question {
    font-size: 20px;
    line-height: 26px;
  }

  .test__form-btn {
    margin-top: 35px;
  }

  .if__list {
    width: 70%;
    margin: 0 auto;
  }

  .if__list-item {
    font-size: 24px;
    line-height: 29px;
  }

  .if__list-item-1 {
    background: url('../fonts/line_1.svg')left 30px/ contain no-repeat;
  }

  .if__list-item-2 {
    background: url('../fonts/line_2.svg')left 30px/ contain no-repeat;
  }

  .if__list-item-3 {
    background: url('../fonts/line_3.svg')left 30px/ contain no-repeat;
  }

  .if__list-item-4 {
    background: url('../fonts/line_4.svg')left 30px/ contain no-repeat;
  }

  .if__list-item-5 {
    background: url('../fonts/line_5.svg')left 30px/ contain no-repeat;
  }

  .if__list-item-6 {
    background: url('../fonts/line_6.svg')left 30px/ contain no-repeat;
  }

  .if__list-item:not(:last-child) {
    margin-bottom: 38px;
  }

  .if__list-item span:before {
    bottom: -21px;
  }

  .if__arrow-img {
    width: 217px;
    height: 97px;
  }

  .add {
    padding: 70px 0 207px;
  }

  .add__title {
    margin-bottom: 32px;
  }

  .add__info-text {
    font-size: 16px;
    line-height: 20px;
  }

  .add__banner:before {
    width: 476px;
    height: 476px;
    top: -141px;
    right: -138px;
  }

  .courses {
    padding-bottom: 60px;
  }

  .courses__title {
    margin-bottom: 32px;
  }
/* 
  .courses__list-item:not(:last-child) {
    margin-bottom: 50px;
  }

  .testing__result-course .courses__list-item {
    margin-bottom: 0;
  }

  .courses__list-title {
    font-size: 28px;
    line-height: 34px;
  }

  .courses__list-top {
    flex-direction: column;
    margin-bottom: 43px;
  }

  .courses__list-time {
    margin-left: auto;
  }

  .courses__list-img {
    order: 1;
  }

  .courses__list-text {
    margin-bottom: 28px;
  }

  .courses__list-more {
    z-index: 1;
  }

  .courses__list-new-price {
    z-index: 2;
    left: 57px;
    bottom: 19px;
  }

  .courses__list-link {
    margin-right: 9px;
    margin-left: auto;
  } */

  /* -------------------------- New courses --------------------------------*/
  

  .courses__by-ann-item {
    justify-content: space-between;
  }

  .courses__by-ann-text {
    width: 335px;
  }

  .courses__by-ann-info {
    flex-direction: column;
    height: auto;
  }

  .courses__by-ann-more {
    flex-direction: row;
    justify-content: space-between;
    margin-left: 0;
  }

  .courses__by-ann-price {
    margin-right: 34px;
  }

  .courses__by-ann-new-price {
    right: auto;
    left: 60px;
  }

  .education {
    padding: 120px 0 150px;
  }

  .courses__by-ann-wrapp {
    justify-content: space-between;
  }

  .education__text {
    margin-bottom: 0;
  }

  .education__picture {
    width: 50%;
    height: 362px;
    margin-right: 0;
  }

  .comments__title {
    margin-bottom: 20px;
  }

  .comments__paralax {
    padding: 0;
  }

  .questions {
    padding-bottom: 100px;
  }

  .present__title {
    margin-bottom: 20px;
  }

  .present__info-redirect {
    margin-top: 28px;
  }

  .present__info {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 60px;
  }

  .present__slide-title {
    font-size: 28px;
    line-height: 34px;
  }

  .instagram {
    padding-top: 90px;
  }

  .instagram__title {
    max-width: 100%;
  }

  .instagrams__subtitle {
    font-size: 28px;
    line-height: 34px;
  }

  .instagram__details {
    width: 100%;
  }

  .instagram__phone {
    margin-right: auto;
  }

  .instagram__text {
    width: 393px;
    margin-bottom: 20px;
  }

  .footer {
    padding-top: 70px;
  }

  .footer__content {
    margin-right: 30px;
  }

  .footer__text {
    margin-bottom: 63px;
  }

  .testing {
    padding: 120px 0 70px;
  }

  .testing__wrapper.test-progress {
    height: calc(100vh - 120px);
  }

  .testing.test-progress {
    padding-bottom: 120px;
  }

  .invite__picture:before {
    width: 102.38px;
    height: 64.25px;
  }

  .invite__picture-img {
    width: 218.27px;
    height: 227.2px;
  }

  .invite__form-title {
    margin-bottom: 20px;
  }
  
  .invite__from-text {
    margin-bottom: 32px;
  }

  .invite__from-input {
    margin-bottom: 28px;
    padding-bottom: 20px;
  }

  .invite__form-select select {
    height: 54px;
  }

  .sale .course-block__title:before {
    right: -110px;
  }

  .delivery {
    padding: 123px 0;
  }

  .delivery__product:before {
    right: -40px;
  }

  .gift__picture {
    width: 60%;
  }
}

@media (max-width: 1280px) {
  .courses__by-ann-details:hover.courses__by-ann-details:before,
  .courses__list-more:hover.courses__list-more:before
  /* .courses__cursor */
   {
    display: none;
  }

  .courses__by-ann-details:hover.courses__by-ann-details svg path,
  .courses__list-more:hover.courses__list-more svg path {
    transition: 0s all;
    fill: #E9624F;
  }

  .header__courses .courses__list-more:hover span {
    color: #1c1c1c;
  }

  .header__courses .courses__by-ann-details:hover {
    color: #ffffff;
  }

  .gift__content {
    margin-right: 80px;
  }
}

@media (max-width: 1240px) {
  .header__courses-main {
    width: 40%;
  }

  .header__courses-labels {
    width: 60%;
  }

  .footer__picture {
    display: none;
  }

  .istagram__phone {
    margin-right: 100px;
  }

  .add__wrapper {
    flex-direction: column;
  }

  .add__info {
    display: block;
  }

  .add__info-about {
    width: 422px;
    height: 222px;
    padding: 32px 48px 32px 0px;
    top: 409px;
  }

  .add__banner {
    margin-left: auto;
    margin-top: 0;
  }

  .comments__paralax-wrapper {
    overflow: hidden;
  }

  .comments__paralax-list:not(:last-child) {
    margin-right: 20px;
  }

  .instagram__details {
    margin: 0 auto;
  }

  .footer__copirating {
    width: auto;
  }

  .footer__copirating-wrapper {
    flex-direction: column;
  }

  .footer__copirating-navigation {
    margin-top: 33px;
  }

  .footer__copirating {
    width: auto;
    justify-content: flex-start;
  }

  .footer__copirating-navigation {
    margin-left: 177px;
  }

  .footer__copirating-contacts {
    margin-left: auto;
    width: 45%;
  }

  .footer__copirating-social {
    margin: 0 57px;
  }

  .footer__content {
    margin-right: 0;
  }

  .footer__privacy .footer__copirating {
    width: 100%;
  }

  .acquaintance {
    padding-bottom: 68px;
  }

  .acquaintance__achievements {
    flex-direction: column;
  }

  .acquaintance__description {
    position: relative;
    margin-left: auto;
    width: 80%;
    bottom: 20px;
    font-size: 18px;
    line-height: 24px;
  }

  .acquaintance__title {
    margin-bottom: 12px;
  }

  .acquaintance__about {
    margin-bottom: 28px;
  }

  .acquaintance__achievements-text {
    margin-bottom: 12px;
  }

  .sign-up .container {
    padding: 0;
  }

  .sign-up__img {
    margin-bottom: 32px;
    width: 334px;
  }

  .product-modal__wrapper {
    max-width: 570px;
    top: 60px;
    height: auto;
    max-height: calc(100vh - 100px);
    transform: translateX(-50%);
    padding: 20px;
  }

  .product-modal__content {
    flex-direction: column;
    overflow-y: auto;
  }

  .product-modal.sale-product .product-modal__pictures:before {
    top: -22px;
    right: -22px;
  }

  .product-modal__items {
    margin-right: 18px;
    min-height: auto;
  }

  .product-modal__item {
    width: 120px;
    height: 120px;
  }

  .product-modal__item-main {
    width: 392px;
    height: 392px;
  }

  .product-modal__pictures {
    max-width: 100%;
    margin-right: 0;
    margin-bottom: 20px;
  }

  .product-modal__info {
    width: 100%;
  }

  .product-modal__wrapp {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 20px;
  }

  .product-modal__btn {
    width: 162px;
  }

  .product-modal__description {
    width: 100%;
    margin: 0;
    margin-right: 54px;
  }

  .product-modal__text {
    height: auto;
    overflow-y: initial;
  }

  .product-modal__close {
    width: 32px;
    height: 32px;
    right: -64px;
  }

  .testing__wrapp {
    display: block;
  }

  .testing__picture {
    width: 522px;
    margin-left: auto;
    margin-top: 80px;
  }

  .invite__form {
    margin-left: 80px;
    padding-right: 40px;
  }

  .course-block__right-sale {
    top: -5px;
    right: 130px;
    transform: translateX(0%);
  }

  .delivery__wrapper {
    display: block;
  }

  .delivery__product {
    width: 100%;
    margin-top: 30px;
  }

  .delivery__form {
    width: 100%;
  }

  .delivery-form__btn {
    margin-top: 48px;
  }

  .delivery-form__input-description {
    bottom: 0;
  }
}

@media (max-width: 1130px) {
  .header__courses-head {
    flex-direction: column;
  }

  .header__courses-main {
    width: 100%;
    margin-right: 0;
    margin-bottom: 24px;
  }

  .header__courses-labels {
    width: 100%;
  }
  
  .test__form {
    padding-right: 40px;
  }

  .if__list {
    width: 100%;
  }

  .add__banner {
    width: 495px;
    height: 273px;
    margin-right: 0;
  }

  .add__info-about {
    top: 340px;
  }

  /* .courses__list-item {
    max-width: 45%;
  } */

  .instagram__wrapper {
    flex-direction: column;
  }

  .instagram__title {
    width: 100%;
  }

  .instagram__phone {
    margin-right: 40px;
  }

  .instagram__details {
    justify-content: flex-start;
  }

  .instagram__info {
    max-width: 100%;
  }

  .instagram__text {
    width: 100%;
  }

  .course-block__wrapper {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 0;
  }

  .course-block__picture {
    margin: 48px auto;
  }

  .course-block__table {
    flex-wrap: wrap;
    border-bottom: none;
  }

  .course-block__details {
    width: 50%;
  }

  .course-block__details:not(:last-child) {
    border-right: none;
  }

  .course-block__details {
    width: 50%;
    border-bottom: 1.5px solid #1c1c1c;
  }

  .course-block__details:nth-child(1),
  .course-block__details:nth-child(3) {
    border-right: 1.5px solid #1c1c1c;
  }

  .acquaintance__picture {
    margin-right: 50px;
  }

  .benefits__card-picture {
    top: 24px;
    right: 0px;
    height: 93px;
  }

  .benefits__cards-item:nth-child(2) .benefits__card-picture {
    right: 24px !important;
  }


  .gift__picture {
    padding: 27px;
  }
}

@media (max-width: 1024px) {
  .header__nav {
    display: none;
  }

  .header__mobile {
    display: block;
  }

  .header__mobile-btn {
    display: flex;
  }

  .header__mobile-close {
    display: none;
  }

  .header__nav-item {
    margin-bottom: 44px;
    display: flex;
    align-items: center;
  }

  .header__nav-item:last-child {
    margin-bottom: 0;
  }

  .header__mobile-img {
    margin-left: 16px;
  }

  .header__courses-back {
    display: flex;
  }

  .header__courses-title {
    font-size: 38px;
    line-height: 50px;
  }

  .courses__cards-wrapper {
    flex-wrap: wrap;
  }

  .courses__card-item {
    width: calc(50% - 10px);
    margin-bottom: 20px;
  }

  .courses__card-item:not(:first-child) {
    border-left: 1px solid #ffffff;
  }

  .header__courses .courses__card-item:not(:first-child) {
    border-left: 1px solid #000000;
  }

  .courses__item-text {
    width: 75%;
    margin-right: 20px;
  }
}

@media (max-width: 920px) {
  .questions__head-btn {
    display: none;
  }
}

@media (max-width: 860px) {

  .hero {
    padding-bottom: 60px;
  }

  .hero-bottom__info-video,
  .hero-bottom__info-banner {
    max-width: 452px;
    height: 254px;
    margin-left: auto;
  }

  .hero-bottom__info-video:before {
    right: -41px;
    top: -41px;
    width: 118.44px;
    height: 105.18px;
  }

  .hero-bottom__info {
    margin-right: 0;
  }

  .hero-bottom__description-redirect {
    margin-top: 28px;
  }

  .benefits__cards-item {
    padding: 53px 18px 24px;
  }

  .test__picture {
    width: 315px;
    height: 433px;
    padding: 103px 48px;
  }

  .test__info {
    margin-left: 79px;
  }

  .test__info-text {
    font-size: 20px;
    line-height: 26px;
    width: 334px;
  }

  .if__list {
    margin-left: 0px;
  }

  .if__list-item:nth-child(2n) {
    margin-left: 0;
  }

  .add__banner {
    width: 393px;
    height: 222px;
  }

  .add__banner:after {
    width: 113px;
    height: 79px;
    top: -42px;
    right: -41px;
  }

  .courses__list-item,
  .testing .courses__list-item {
    max-width: 334px;
    padding: 32px 32px 37px;
    margin-bottom: 50px;
  }

  .testing .courses__list-item {
    margin-bottom: 0;
  }

  .testing .courses__list-img {
    display: none;
  }

  .courses__by-ann-wrapper {
    padding-right: 30px;
  }

  .istagram__phone {
    margin-right: 39px;
    width: 256px;
    height: 525px;
  }

  .instagram__img-photo {
    width: 256px;
    height: 525px;
  }

  .instagram__img-text {
    max-width: 252px;
    left: 3px;
  }

  .footer__copirating {
    width: 644px;
  }

  .footer__copirating-navigation {
    margin-left: 177px;
  }

  .course-block__title {
    margin-bottom: 24px;
  }

  .course-block__subtitle {
    margin-bottom: 24px;
  }

  .course-block__info {
    width: 80%;
  }

  .course-block__description {
    font-size: 20px;
    line-height: 26px;
  }

  .course-block__picture {
    margin: 48px 0px 48px auto;
  }
  
  .acquaintance__word {
    font-size: 20px;
    line-height: 24px;
  }

  .acquaintance__title {
    font-size: 38px;
    line-height: 50px;
    margin: 12px 0;
  }

  .acquaintance__about {
    font-size: 20px;
    line-height: 24px;
  }

  .acquaintance__info {
    width: 100%;
    z-index: 2;
  }

  .acquaintance__picture {
    width: 100%;
  }

  .acquaintance__picture:before {
    width: 638px;
    height: 638px;
    bottom: -271px;
    right: -190px;
  }

  .acquaintance__description {
    padding: 32px 40px 32px 101px;
  }

  .acquaintance__description:before {
    top: 32px;
    left: 32px;
  }

  .program {
    padding-bottom: 100px;
  }

  .program__title {
    margin-bottom: 20px;
  }

  .program__text {
    margin-bottom: 80px;
  }

  .program__date {
    width: 123px;
  }

  .program__lesson-title,
  .program__lesson-number,
  .program__date-week {
    font-size: 24px;
    line-height: 29px;
  }

  .program__day {
    padding: 24px 0px 32px;
  }

  .program__see-more-text {
    font-size: 18px;
    line-height: 22px;
  }

  .sign-up__info {
    padding: 40px;
  }

  .sign-up__img {
    margin-bottom: 32px;
    width: 334px;
  }

  .sign-up__title {
    margin-bottom: 23px;
  }

  .sign-up__form {
    padding: 107px 24px;
  }

  .sign-up__form-title {
    margin-bottom: 40px;
  }

  .sign-up__form-input {
    margin-bottom: 28px;
  }

  .sign-up__form-select {
    margin-bottom: 40px;
  }

  #sign-up-full .sign-up__wrapper {
    align-items: initial;
  }

  .course-block__right {
    font-size: 24px;
    line-height: 29px;
  }

  .course-block__details {
    padding: 25px 40px;
  }

  .course-block__img {
    width: 570px;
    height: 378px;
  }

  .header__courses .courses__list-img {
    display: none;
  }

  .header__courses .courses__list-time,
  .testing .courses__list-time {
    margin-left: 0;
  }

  .present__items .present__slide {
    width: calc(100% / 2 - 15px);
  }

  .present__items .present__slide:not(:nth-child(3n+3)) {
    margin-right: 0px;
  }

  .present__items .present__slide:not(:nth-child(2n)) {
    margin-right: 15px;
  }

  .benefits {
    padding-top: 0;
  }

  .present__btns {
    display: none;
  }

  .testing-modal__wrapper,
  .gift-modal__wrapper,
  .promocode-modal__wrapper, 
  .success-modal__wrapper {
    max-width: 570px;
  }

  .testing-modal__close,
  .promocode-modal__close {
    right: -54px;
  }

  .testing-modal__close img,
  .gift-modal__close img,
  .success-modal__close img,
  .promocode-modal__close img{
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 767px) {

  .test {
    flex-direction: column;
  }

  .test__picture {
    width: 100%;
  }

  .test__info {
    width: auto;
    margin-top: 60px;
    margin-left: 0;
    padding: 0px 40px;
  }

  .test__info-text {
    width: 100%;
  }

  .test__picture:before {
    right: 0;
  }

  .test__from-label {
    font-size: 18px;
    line-height: 24px;
  }

  /* .courses__list-item {
    max-width: 100%;
  } */

  .courses__by-ann-title {
    font-size: 38px;
    line-height: 50px;
  }

  .courses__by-ann-item {
    display: block;
  }

  .courses__by-ann-wrapper {
    padding-right: 0;
    width: 100%;
  }

  .courses__by-ann-info {
    width: 100%;
  }

  .courses__by-ann-wrapper {
    margin-bottom: 40px;
  }

  .courses__by-ann-description,
  .courses__by-ann-descr {
    width: 100%;
  }

  .courses__by-ann-price {
    margin-right: 0;
  }

  .testing__questions-btn_next:hover {
    border: 1px solid #1c1c1c;
    background-color: #1c1c1c;
    color: #ffffff;
  }

  .testing__questions-btn_next:hover svg path {
    fill: #ffffff;
  }

  .testing__questions-btn_prev:hover {
    border: 1px solid #fff;
  }

  .gift .container {
    padding: 0;
  }

  .gift__content {
    padding: 0px 40px;
    margin-top: 60px;
    width: 100%;
  }

  .gift__wrapper {
    flex-direction: column;
  }

  .gift__picture {
    width: 100%;
    order: -1;
  }

  .gift__picture img {
    width: 60%;
  }
}

@media (max-width: 740px) {
  .hero-bottom__info-video,
  .hero-bottom__info-banner {
    margin-left: 0;
    max-width: 100%;
    height: auto;
  }

  .hero-bottom__info {
    width: 100%;
    height: auto;
  }

  .hero-bottom__info-description {
    text-align: left;
  }

  .instagram {
    padding-top: 100px;
  }

  .instagram__details {
    display: block;
  }

  .instagram__info {
    max-width: 100%;
  }

  .instagram__phone {
    margin: 0 auto 44px;
    width: 256px;
  }

  .instagram__text {
    width: 100%;
  }

  .education {
    padding: 100px 0 50px;
    overflow-x: hidden;
  }

  .education__info {
    width: 100%;
    padding-right: 0;
    margin-bottom: 32px;
  }

  .education__picture {
    width: 100%;
    margin-bottom: 20px;
  }

  .education__block {
    width: 100%;
    border-right: 1.5px solid #000000;
  }

  .education__block_second {
    left: 0;
  }

  .education__block_fourth {
    left: 0;
  }

  .education__block:first-child {
    margin-bottom: -2.5px;
  }

  .education__picture:before {
    bottom: -177px;
    left: 50%;
    transform: translateX(-50%);
  }

  .education__blocks {
    height: 100%;
  }

  .education__wrapper {
    flex-direction: column;
  }

  .sign-up__form {
    padding-bottom: 40px;
  }

  .comment-fourth {
    display: none;
  }

  .comment-third {
    margin-right: 0px !important;
  }

  .sign-up__wrapper {
    flex-direction: column;
    border: none;
  }

  .sign-up__info {
    width: 100%;
    border: 1.5px solid #000000;
    border-bottom: none;
    margin: 0;
  }

  .sign-up__form {
    width: 100%;
    border: 1.5px solid #000000;
    border-bottom: none;
  }

  .course-block__info {
    width: 100%;
  }

  .course-block__btns {
    width: 100%;
  }

  .course-block__picture {
    margin: 48px auto;
  }

  .course-block__img {
    width: 355px;
    height: 235px;
  }

  .product-modal__wrapper {
    top: 72px;
  }

  .product-modal__pictures {
    margin-bottom: 28px;
    width: 100%;
  }

  .product-modal__description {
    margin-right: 0;
    margin-bottom: 36px;
  }

  .product-modal__wrapp {
    flex-direction: column;
  }

  .product-modal__btn {
    width: 100%;
  }

  .product-modal__close,
  .promocode-modal__close {
    top: -52px;
    right: 0;
    z-index: 10;
  }

  .product-modal__subtitle-new {
    left: 68%;
  }

  .testing__info {
    margin-right: 0;
    width: 100%;
  }

  .invite {
    height: auto;
    display: block;
  }

  .invite__picture {
    width: 100%;
    margin-bottom: 60px;
  }

  .invite__picture:before {
    right: 0;
  }

  .invite__form {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    padding: 0 40px;
  }
}

@media (max-width: 720px) {

  .courses__card-item {
    width: 100%;
    margin-bottom: 20px;
  }

  .courses__card-item.sale {
    margin-top: 30px;
  }

  .benefits__cards-list {
    flex-wrap: wrap;
  }

  .benefits__cards-item {
    width: 100%;
    padding: 24px;
  }

  .benefits__cards-img {
    width: 100%;
    height: 100%;
    max-width: 96px;
    max-height: 144px;
  }

  .benefits__cards-item:nth-child(2) {
    border: 1.5px solid #000000;
    border-bottom: none;
    border-top: none;
  }

  .add {
    padding: 60px 0 100px;
  }

  .add__info-about {
    height: auto;
  }

  .add__banner {
    margin: 60px 0;
    width: 100%;
    height: auto;
  }

  .add__info-about {
    position: static;
    width: 100%;
    padding: 0;
  }

  .add__info-text span {
    white-space: normal;
  }

  .add__banner:before {
    top: -57px;
    width: 366px;
    height: 366px;
  }

  .add__info-wrapper {
    z-index: 3;
  }

  .instagram__phone {
    margin: 0;
    margin-bottom: 44px;
  }

  .footer__form {
    width: 100%;
  }

  .footer__copirating-wrapper {
    padding: 100px 0px 57px;
  }

  .footer__copirating {
    flex-direction: column;
    width: 100%;
  }

  .footer__copirating-social {
    margin: 48px 0px;
  }

  .footer__copirating-contacts {
    margin-left: 0;
    width: 100%;
    margin-bottom: 44px;
  }

  .footer__copirating-navigation {
    margin: 0;
  }

  .footer__privacy {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__copiratin-list {
    flex-wrap: wrap;
  }

  .acquaintance__wrapper {
    flex-direction: column;
  }

  .acquaintance__picture {
    margin-right: 0;
    margin-bottom: 36px;
    position: static;
  }

  .acquaintance__description {
    width: 100%;
  }

  .acquaintance__picture:before {
    bottom: -391px;
    left: 0px;
  }

  .benefits__cards-item {
    height: 299px;
  }

  .benefits__card-picture {
    right: 28px;
  }

  .benefits__info-btn {
    display: none;
  }

  .present__items .present__slide:not(:nth-child(2n)) {
    margin-right: 0px;
  }

  .present__items .present__slide {
    width: 335px;
    margin: 0px auto 30px !important;
  }

  .testing-modal__wrapper, 
  .gift-modal__wrapper,
  .success-modal__wrapper,
  .promocode-modal__wrapper {
    max-width: 90%;
  }

  .testing-modal__close, 
  .gift-modal__close,
  .success-modal__close,
  .promocode-modal__close {
    top: -52px;
    right: 0;
    z-index: 10;
  }

  .program__date-number {
    display: none;
  }

  .program__date {
    width: 65px;
    padding-right: 40px;
  }
}

@media (max-width: 670px) {
  .testing__info {
    width: auto;
  }

  .delivery-form__wrapper {
    display: block;
  }
}

@media (max-width: 650px) {
  .header__courses-labels {
    justify-content: space-between;
  }

  .header__courses-label {
    width: 50%;
    margin-bottom: 12px;
  }

  .hero {
    padding: 100px 0;
  }

  .hero-top__social {
    position: static;
  }

  .hero-bottom__info:before {
    top: -38%;
    left: 100px;
    height: 360px;
    width: 360px;
  }

  .hero-bottom__description-text {
    font-size: 18px;
    line-height: 24px;
  }

  .comment-third {
    display: none;
  }

  .comment-second {
    margin-right: 0px !important;
  }

  .course-block__table {
    flex-direction: column;
  }

  .course-block__details {
    width: 100%;
  }

  .course-block__details:nth-child(1),
  .course-block__details:nth-child(3) {
    border-right: none;
  }

  .course-block__description {
    font-size: 18px;
    line-height: 24px;
  }

  .course-block__btns {
    flex-direction: column;
  }

  .course-block__btn,
  .course-block__start {
    width: 100%;
    text-align: center;
  }

  .acquaintance__wrapper {
    position: static;
  }

  .acquaintance__picture:before {
    bottom: -95px;
    left: 0px;
  }

  .questions__title {
    max-width: 100%;
  }

  .question__accordion-word {
    display: none;
  }

  .testing__result-text,
  .testing__result-recomend {
    font-size: 16px;
    line-height: 20px;
    margin-bottom: 24px;
    width: auto;
  }

  .testing__result-subtitle {
    margin-bottom: 24px;
  }

  .testing__result-wrapp {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .testing__result-btn {
    width: 100%;
    margin-bottom: 32px;
  }
}

@media (max-width: 600px) {
  .product-modal__wrapper {
    width: min-content;
  }

  .product-modal__pictures {
    flex-direction: column;
  }

  .product-modal__items {
    order: 1;
    flex-direction: row;
    margin-top: 17px;
    margin-right: 0;
    gap: 17px;
  }

  .product-modal__item {
    width: 87px;
    height: 87px;
  }

  .product-modal__item-main {
    width: 295px;
    height: 295px;
  }

  .product-modal__subtitle-new {
    left: 44%;
  }

  .testing__picture {
    width: 335px;
    margin-top: 60px;
  }

  .testing-modal__btns {
    flex-direction: column;
  }

  .testing-modal__wrapper {
    height: auto;
    padding: 20px;
  }

  .testing-modal__btn-continue {
    order: -1;
    margin-left: 0;
    margin-bottom: 12px;
  }

  .testing-modal__text, 
  .gift-modal__text,
  .success-modal__text,
  .promocode-modal__text {
    width: 100%;
  }

  .testing-modal__btn-close {
    text-align: center;
  }

  .testing__questions-btn_prev span {
    display: none;
  }

  .testing__questions-btn {
    width: 100%;
  }

  .testing__questions-btn_prev {
    width: auto;
    margin-right: 33px;
    padding: 0;
    padding-left: 20px;
  }

  .testing__questions-btn-submit {
    padding: 20px 27px;
  }

  .sale .course-block__title {
    display: block;
    width: 300px;
  }
}

@media (max-width: 485px) {
  h2 {
    font-size: 38px;
    line-height: 50px;
    margin-bottom: 24px;
  }

  h3 {
    font-size: 26px;
    line-height: 34px;
  }

  .container {
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
  }

  .header__mobile-wrapper {
    padding: 0px 20px;
  }

  .courses__item-img {
    display: none;
  }
  
  .courses__item-text {
    width: 100%;
    margin-right: 0;
  }

  .benefits__info-text:first-child {
    margin-bottom: 16px;
  }

  .benefits__info {
    margin-bottom: 32px;
  }

  .test__info-title {
    padding-right: 0;
  }

  .test__info-text {
    font-size: 18px;
    line-height: 24px;
  }

  .test__info-btn {
    width: 100%;
    text-align: center;
  }

  .if__list-item:not(:last-child) {
    margin-bottom: 28px;
  }

  .if__list-item {
    font-size: 26px;
    line-height: 34px;
  }

  .if__arrows {
    margin-top: 44px;
  }

  .if:before {
    bottom: -630px;
  }

  .add__title {
    margin-bottom: 20px;
  }

  .add__wrapper {
    margin-top: 0;
  }

  .add__banner:before {
    top: -126px;
    right: 19%;
    transform: translateX(50%);
  }

  .add__banner:after {
    width: 89px;
    height: 69px;
    top: -34px;
    right: -29px;
  }

  .add__info-text {
    margin-bottom: 36px;
  }

  .add__info-btn {
    width: 100%;
    margin-bottom: 80px;
  }

  .education {
    padding-top: 80px;
  }

  .education__picture {
    height: 262px;
  }

  .sign-up__form-btn,
  .data-from__btn,
  .test__form-btn,
  .gift-modal__btn,
  .promocode-modal__btn,
  .courses__more-btn {
    width: 100%;
  }

  .delivery-form__btn {
    width: 100%;
    text-align: center;
  }

  .courses__title {
    width: 320px;
    margin-bottom: 20px;
  }

  .present__info {
    margin-bottom: 60px;
    width: 100%;
  }
  
  .instagram {
    padding-top: 50px;
  }

  .instagram__title {
    max-width: 223px;
    margin-bottom: 44px;
  }

  .instagrams__subtitle {
    margin-right: 0;
  }

  .instagram__details {
    align-items: flex-start;
  }

  .instagram__text {
    margin-bottom: 34px;
  }

  .instagram__wrapper {
    align-items: flex-start;
  }

  .questions__accordion-title {
    padding-right: 0px;
    font-size: 17px;
  }

  .questions__accordion-item {
    padding: 24px 0;
  }

  .questions__accordion-item.show .questions__accordion-text {
    margin-top: 24px;
  }

  .footer__title {
    margin-bottom: 32px;
  }

  .footer__text {
    width: 100%;
    margin-bottom: 44px;
  }

  .footer__form-wrapper {
    flex-direction: column;
  }

  .footer__form-wrapper input,
  .data-from__wrapper input {
    max-width: 100%;
  }

  .footer__form-btn {
    width: 100%;
  }

  .footer__copirating-item {
    width: 50%;
  }

  .footer__copirating-btn {
    width: 100%;
  }

  .footer__form-wrapper .form-control:last-child,
  .data-from__wrapper .form-control:last-child {
    margin-left: 0px;
  }

  .course-block {
    padding-bottom: 50px;
  }

  .course-block__start {
    width: 100%;
    text-align: center;
  }

  .acquaintance {
    padding-bottom: 100px;
  }

  .course-block__btn {
    width: 100%;
  }

  .acquaintance__description {
    width: 112%;
    padding-right: 28px;
    left: -20px;
  }

  .acquaintance__description:before {
    top: 28px;
    left: 28px;
  }

  .acquaintance__picture:before {
    bottom: -62px;
    left: -100px;
  }

  .program__text {
    margin-bottom: 40px;
  }

  .testing {
    padding: 100px 0 50px;
  }

  .testing__wrapper.test-progress {
    height: calc(100vh - 100px);
  }

  .testing.test-progress {
    padding-bottom: 100px;
  }

  .testing__info-subtext {
    width: 100%;
  }

  .testing__questions-btn_prev {
    margin-right: 20px;
  }

  .testing__questions-btn_next {
    padding: 20px;
    width: 100%;
  }

  .testing__info-data {
    padding: 0;
    border: none;
  }

  .testing__info-btn {
    width: 100%;
  }
  
  .testing__result-btn {
    width: 100%;
  }

  .sign-up__form-wrapper {
    flex-direction: column;
  }

  .sign-up__form-wrapper .form-control:last-child {
    margin-left: 0;
  }

  .invite__form {
    padding: 0px 20px;
  }

  .data-from__wrapper .form-control:first-child {
    margin-right: 20px;
  }

  .sale .course-block__title {
    width: 245px;
  }

  .sale .course-block__title:before {
    right: -90px;
  }

  .delivery__product-wrapp {
    padding: 32px 20px;
  }

  .delivery__product-block {
    padding: 20px;
  }

  .delivery__product-block .delivery__product-text:last-child {
    max-width: 120px;
    text-align: right;
  }

  .delivery__product:before {
    top: -45px;
    right: -20px;
  }

  .gift__picture {
    height: 311px;
  }

  .gift__picture img {
    height: 100%;
    width: 100%;
  }

  .gift__content {
    padding: 0px 20px;
  }

  .gift__info-text {
    margin-bottom: 32px;
  }

  .gift__info-btn {
    width: 100%;
    display: block;
    text-align: center;
  }
}

@media (max-width: 405px) {
  .promocode-modal__btn {
    padding: 20px 16px;
  }
}

@media (max-width: 375px) {
  .istagram__phone {
    margin: 0px 0px 44px;
  }

  .acquaintance__picture:before {
    left: -150px;
    width: 704px;
    height: 704px;
  }

  .testing__questions-btn-wrapp {
    width: 100%;
  }

  .testing__questions-btn_next {
    justify-content: center;
  }
}