@import "/styles/default.css";

@import "/styles/components/mobile-header.css";

@import "/styles/components/header.css";

@import "/styles/components/offer/what-forex-like.css";

@import "/styles/components/info.css";

@import "/styles/components/how-forex-work.css";

@import "/styles/components/how-can-start.css";

@import "/styles/components/interfaces.css";

@import "/styles/components/advantages.css";

@import "/styles/components/what-strategy.css";

@import "/styles/components/bad-idea.css";

@import "/styles/components/oys-accounts.css";

@import "/styles/components/how-work-img.css";

@import "/styles/components/must-do.css";

@import "/styles/components/footer.css";

/* 
.advantages__item:nth-child(5) {
  visibility: visible;
}
.advantages__item:nth-child(2),
.advantages__item:nth-child(8) {
  visibility: hidden;
}
.advantages__item:nth-child(5) img,
.advantages__item:nth-child(6) img,
.advantages__item:nth-child(7) img {
  top: unset;
  bottom: calc(20 / 1920 * 100vw);
  right: calc(20 / 1920 * 100vw);
}
.advantages__item:nth-child(5) > h3 {
    width: calc(334 / 1920 * 100vw);
}
.advantages__item:nth-child(7) > h3 {
    width: calc(355 / 1920 * 100vw);
} 
*/

.advantages > .container > h2:last-of-type {
  margin-top: calc(80 / 1920 * 100vw);
}
.advantages__row:last-of-type > .advantages__item:nth-child(2) {
  visibility: visible;
}
.advantages__row:last-of-type > .advantages__item:nth-child(4) {
  visibility: hidden;
}

.advantages__row:last-of-type > .advantages__item:nth-child(1) > img,
.advantages__row:last-of-type > .advantages__item:nth-child(2) > img,
.advantages__row:last-of-type > .advantages__item:nth-child(3) > img,
.advantages__row:last-of-type > .advantages__item:nth-child(4) > img {
  position: absolute;
  top: unset;
  bottom: calc(20 / 1920 * 100vw);
  right: calc(20 / 1920 * 100vw);
}
.advantages__row:last-of-type > .advantages__item:nth-child(1) > h3 {
  width: calc(334 / 1920 * 100vw);
}
.advantages__row:last-of-type > .advantages__item:nth-child(2) > h3 {
  width: calc(217 / 1920 * 100vw);
}
.advantages__row:last-of-type > .advantages__item:nth-child(3) > h3 {
  width: calc(355 / 1920 * 100vw);
}
@media screen and (max-width: 1024px) {
  .advantages > .container > h2:last-of-type {
    margin-top: calc(100 / 768 * 100vw);
  }
  .advantages__row:first-of-type {
    margin-top: calc(22 / 768 * 100vw);
  }
  .advantages__row:last-of-type {
    margin-top: calc(22 / 768 * 100vw);
  }
  .advantages__row:last-of-type > .advantages__item:nth-child(1) > img,
  .advantages__row:last-of-type > .advantages__item:nth-child(2) > img,
  .advantages__row:last-of-type > .advantages__item:nth-child(3) > img,
  .advantages__row:last-of-type > .advantages__item:nth-child(4) > img {
    position: absolute;
    top: calc(20 / 768 * 100vw);
    bottom: unset;
    right: unset;
    left: calc(20 / 768 * 100vw);
  }
  .advantages__row:last-of-type > .advantages__item:nth-child(1) > h3,
  .advantages__row:last-of-type > .advantages__item:nth-child(2) > h3,
  .advantages__row:last-of-type > .advantages__item:nth-child(3) > h3,
  .advantages__row:last-of-type > .advantages__item:nth-child(4) > h3 {
    font-size: calc(16 / 768 * 100vw);
  }
  .advantages__row:last-of-type > .advantages__item:nth-child(1) > h3 {
    width: 100%;
  }
  .advantages__row:last-of-type > .advantages__item:nth-child(2) > h3 {
    width: 100%;
  }
  .advantages__row:last-of-type > .advantages__item:nth-child(3) > h3 {
    width: 100%;
  }
  .advantages__row:last-of-type > .advantages__item:nth-child(2) {
    display: block;
  }
  .advantages__row:last-of-type > .advantages__item:nth-child(4) {
    display: none;
  }
  .advantages__item {
    width: calc(236 / 768 * 100vw);
  }
}
@media screen and (max-width: 768px) {
  .advantages__item {
    width: 100%;
    display: flex;
    flex-direction: row-reverse;

    column-gap: calc(16 / 390 * 100vw);

    padding: calc(16 / 390 * 100vw) calc(12 / 390 * 100vw)
      calc(16 / 390 * 100vw) calc(12 / 390 * 100vw);
  }
  .advantages__item > img {
    position: static;
  }
  .advantages__item:nth-child(4) {
    padding: calc(16 / 390 * 100vw) calc(12 / 390 * 100vw)
      calc(16 / 390 * 100vw) calc(12 / 390 * 100vw);
  }
  .advantages__row:last-of-type > .advantages__item:nth-child(1) > img,
  .advantages__row:last-of-type > .advantages__item:nth-child(2) > img,
  .advantages__row:last-of-type > .advantages__item:nth-child(3) > img,
  .advantages__row:last-of-type > .advantages__item:nth-child(4) > img {
    position: static;
  }
  .advantages__row:last-of-type > .advantages__item:nth-child(2) {
    display: flex;
    flex-direction: row-reverse;
  }
  .advantages__row:last-of-type > .advantages__item:nth-child(1) > h3,
  .advantages__row:last-of-type > .advantages__item:nth-child(2) > h3,
  .advantages__row:last-of-type > .advantages__item:nth-child(3) > h3,
  .advantages__row:last-of-type > .advantages__item:nth-child(4) > h3 {
    font-size: calc(20 / 390 * 100vw);
  }
  .advantages > .container > h2:last-of-type {
    margin-top: calc(40 / 390 * 100vw);
  }
}

@media screen and (max-width: 768px) {
  .interfaces__item {
    height: auto;
    width: 100%;
  }
}
@media screen and (max-width: 1024px) {
  .interfaces__item {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
  }

  .interfaces__item > h3 {
    margin-bottom: calc(80 / 768 * 100vw);

    height: calc(54 / 768 * 100vw);
  }
  .interfaces__item > p {
    margin-top: calc(0 / 768 * 100vw);
  }
}
.concept > .container > h2 {
  width: calc(1190 / 1920 * 100vw);
  margin: 0 auto;
}
.concept__text {
  margin-bottom: calc(75 / 1920 * 100vw);
}
.concept__text > h3 {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: calc(24 / 1920 * 100vw);
  line-height: 110%;
  letter-spacing: -0.03em;
  color: var(--text-white);
  text-align: left;

  height: calc(78 / 1920 * 100vw);
  width: calc(386 / 1920 * 100vw);

  margin-bottom: calc(20 / 1920 * 100vw);
}
.concept__text > p {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: calc(16 / 1920 * 100vw);
  line-height: 120%;
  letter-spacing: -0.03em;
  color: var(--text-white-500);

  width: calc(357 / 1920 * 100vw);
}

@media screen and (max-width: 1024px) {
  .concept > .container > h2 {
    width: calc(525 / 768 * 100vw);
    margin: 0 auto;

    font-family: var(--second-family);
    font-weight: 700;
    font-size: calc(40 / 768 * 100vw);
    line-height: 95%;
    letter-spacing: -0.06em;
    text-align: center;
    color: var(--text-white);
  }
  .concept > .container > .interfaces__group {
    display: flex;
    flex-direction: column;

    row-gap: calc(20 / 768 * 100vw);
  }
  .concept > .container > .interfaces__group > .interfaces__item {
    width: 100%;

    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    align-items: center;

    padding-left: calc(50 / 768 * 100vw);

    column-gap: calc(45 / 768 * 100vw);
    border: none;
    border-left: calc(1 / 768 * 100vw) solid var(--fill-white-200);
  }
  .concept > .container > .interfaces__group > .interfaces__item > h2 {
    font-family: var(--second-family);
    font-weight: 700;
    font-size: calc(96 / 768 * 100vw);
    line-height: 86%;
    letter-spacing: -0.04em;
    color: var(--text-blue);

    margin-top: 0;
    width: calc(117 / 768 * 100vw);
    flex-shrink: 0;
  }
  .concept__text {
    margin-bottom: calc(0 / 768 * 100vw);
  }
  .concept__text > h3 {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: calc(24 / 768 * 100vw);
    line-height: 110%;
    letter-spacing: -0.03em;
    color: var(--text-white);
    text-align: left;

    height: auto;
    width: 100%;

    margin-bottom: calc(10 / 768 * 100vw);
  }
  .concept__text > p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: calc(16 / 768 * 100vw);
    line-height: 120%;
    letter-spacing: -0.03em;
    color: var(--text-white-500);

    width: calc(357 / 768 * 100vw);
  }
}
@media screen and (max-width: 768px) {
  .concept > .container > h2 {
    width: 100%;
    margin: 0 auto;

    font-family: var(--second-family);
    font-weight: 700;
    font-size: calc(32 / 390 * 100vw);
    line-height: 95%;
    letter-spacing: -0.06em;
    text-align: center;
    color: var(--text-white);
  }
  .concept > .container > .interfaces__group {
    display: flex;
    flex-direction: column;

    row-gap: calc(20 / 390 * 100vw);
  }
  .concept > .container > .interfaces__group > .interfaces__item {
    width: 100%;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;

    padding: none;
    padding-left: calc(15 / 390 * 100vw);
    padding-top: calc(20 / 390 * 100vw);
    padding-bottom: calc(20 / 390 * 100vw);

    column-gap: calc(45 / 390 * 100vw);
    border: none;
    border-bottom: calc(1 / 390 * 100vw) solid var(--fill-white-200);
  }
  .concept > .container > .interfaces__group > .interfaces__item:first-of-type {
    border-top: calc(1 / 390 * 100vw) solid var(--fill-white-200);
  }
  .concept > .container > .interfaces__group > .interfaces__item > h2 {
    font-family: var(--second-family);
    font-weight: 700;
    font-size: calc(64 / 390 * 100vw);
    line-height: 86%;
    letter-spacing: -0.04em;
    color: var(--text-blue);
    text-align: left;

    margin-top: 0;
    width: 100%;
    flex-shrink: 0;

    margin-top: calc(20 / 390 * 100vw);
  }
  .concept__text {
    margin-bottom: calc(0 / 390 * 100vw);
    width: 100%;
  }
  .concept__text > h3 {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: calc(24 / 390 * 100vw);
    line-height: 110%;
    letter-spacing: -0.03em;
    color: var(--text-white);
    text-align: left;

    height: auto;
    width: 100%;

    margin-bottom: calc(10 / 390 * 100vw);
  }
  .concept__text > p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: calc(16 / 390 * 100vw);
    line-height: 120%;
    letter-spacing: -0.03em;
    color: var(--text-white-500);

    width: 100%;
  }
}

.how-can-start__how {
  backdrop-filter: blur(calc(15 / 1920 * 100vw));
  background: var(--fill-blue-100);
}
.how-can-start__how-head {
  border-bottom: calc(1 / 1920 * 100vw) solid var(--fill-white-200);
}
.how-can-start__how > p {
  width: 100%;
}
.how-can-start__how-head > h2 {
  width: calc(756 / 1920 * 100vw);
  height: calc(146 / 1920 * 100vw);
}
.how-can-start__how:first-of-type .how-can-start__how-head > h2 {
  font-size: calc(48 / 1920 * 100vw);
}
.how-can-start__how:last-of-type .how-can-start__how-head > h2 {
  width: calc(480 / 1920 * 100vw);
}

@media screen and (max-width: 1024px) {
  .how-can-start__how {
    backdrop-filter: blur(calc(15 / 768 * 100vw));
  }
  .how-can-start__how-head {
    border-bottom: calc(1 / 768 * 100vw) solid var(--fill-white-200);
  }
  .how-can-start__how > p {
    width: 100%;
  }
  .how-can-start__how-head > h2 {
    width: calc(608 / 768 * 100vw);
  }
  .how-can-start__how-head {
    width: 100%;
    border-bottom: calc(1 / 768 * 100vw) solid var(--text-white-300);
    padding-bottom: calc(45 / 768 * 100vw);
  }

  .how-can-start__how-head > h2 {
    width: 100%;
    height: auto;
  }
  .how-can-start__how:first-of-type .how-can-start__how-head > h2 {
    font-size: calc(36 / 768 * 100vw);
  }
  .how-can-start__how:last-of-type .how-can-start__how-head > h2 {
    width: calc(480 / 768 * 100vw);
    font-size: calc(40 / 768 * 100vw);
  }
}
@media screen and (max-width: 768px) {
  .how-can-start__how {
    backdrop-filter: blur(calc(15 / 390 * 100vw));
  }
  .how-can-start__how:first-of-type .how-can-start__how-head > h2 {
    font-size: calc(32 / 390 * 100vw);
  }
  .how-can-start__how:last-of-type .how-can-start__how-head > h2 {
    width: 100%;
    font-size: calc(32  / 390 * 100vw);
  }
}
