@import 'reset.css';

.a-body, html {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  overflow-x: hidden;
    max-width: 100vw;
}
.a-button {
  width: 170px;
  font-size: 15px;
    line-height: 46px;
  font-weight: 600;
  color: white;
  background: #f18b27;
    border: 2px solid #f18b27;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 30px;
  border-radius: 24px;
  text-transform: none;
  text-decoration: none;
    box-sizing: border-box;
    transition: 300ms;
}
.a-button:hover {
    color: #f18b27;
    background: white;
}
.a-button--light {
  background: white;
  color: #000000;
    border: 2px solid white;
}
.a-button--light:hover {
    color: white;
    background: #f18b27;
    border: 2px solid #f18b27;
}
.a-section {
    position: relative;
    z-index: 3;
}
.a-container {
  width: 100%;
  max-width: 1200px;
  padding: 0 15px;
  box-sizing: border-box;
  margin: 0 auto;
    position: relative;
}
.a-header {
  width: 100%;
  background: #121315;
}
.a-header-container {
  display: flex;
  height: 72px;
  justify-content: space-between;
  align-items: center;
}
.a-header__logo-image {
    width: 181px;
}
.a-header__login, .a-header__login a {
  color: white;
  font-size: 12px;
  line-height: 22px;
  text-decoration: none;
  text-transform: uppercase;
}
/* Main slider */
.s-slider {
  padding: 72px 0 65px;
  position: relative;
  background: #0e0e0f;
  z-index: 1;
  width: 100%;
  overflow: hidden;
}
.s-slider__background {
  position: fixed;
  top:0;
  left: 50%;
  transform: translateX(-50%);
  width: 1920px;
  max-width: 1920px;
  z-index: -1;
}
.s-slider__background-slide {
  width: 100%;
  height: 650px;
}
.s-slider__background-slide img {
  width: 100%;
  height: auto;
}
.s-slider-content {
  color: white;
  text-align: center;
}
.s-slider-title {
  font-family: "MagistralC-Bold";
  font-size: 66px;
  line-height: 1;
  margin: 0 auto 20px;
  letter-spacing: 0.02em;
}
.s-slider-description {
  font-weight: 300;
  font-size: 17px;
  line-height: 30px;
  padding-bottom: 98px;
  position: relative;
}
.s-slider-description::before, .s-slider-description::after {
  content: '';
  width: 180px;
  height: 1px;
  background: #f18b27;
  position: absolute;
  left: 50%;
  bottom: 70px;
  transform: translateX(-50%);
  z-index: 1;
}
.s-slider-description::after {
  bottom: 55px;
  width: 90px;
}
.s-slider-description__highlight {
  font-weight: 600;
  color: #f18b27;
  text-transform: uppercase;
}
.s-slider-slogan {
  font-size: 20px;
  line-height: 36px;
  text-transform: uppercase;
  margin-bottom: 47px;
}
.s-slider-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
}
.s-slider-button {
  margin: 0 15px;
}

/* App slider */
.s-app {
  background: white;
  padding: 60px 0 60px;
}
.s-app .slick-list {
  overflow: visible !important;
}
.s-app .slick-arrow {
  position: absolute;
  top: 250px;
  transform: rotate(-45deg);
  background: none;
  border: 0;
  border-top: 3px solid #000;
  border-left: 3px solid #000;
  width: 20px;
  height: 20px;
  padding: 0;
  left: 24px;
  font-size: 0;
}
.s-app .slick-next {
  right: 11px;
  left: auto;
  border: 0;
  border-bottom: 3px solid #000;
  border-right: 3px solid #000;
}

.s-app-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.s-app__title {
    font-size: 36px;
    line-height: 40px;
    color: #303030;
    border-left: 8px solid #f18b27;
    padding-left: 24px;
    box-sizing: border-box;
    font-weight: normal;
    margin: 0 0 25px;
    position: absolute;
    left: 15px;
    top: -5px;
    z-index: 1;
}
.s-app__content {
    padding-top: 100px;
    width: 370px;
}
.s-app__content-slider {
  width: 100%;
}
.s-app__content-slide {
    max-height: 500px;
    overflow: hidden;
}
.s-app__content-slide.slick-current {
    max-height: 100%;
    overflow: auto;
}
.s-app__slide-description {
  font-size: 14px;
  line-height: 23px;
  margin-bottom: 25px;
}
.s-app__pictire-slider {
  width: 770px;
  overflow: hidden;
}
.s-app__pictire-slide {
  width: 256px;
  height: 500px;
  position: relative;
  box-sizing: border-box;
}

.s-app__pictire-slide img{
  z-index: 9999;
  position: absolute;
  top: 54%;
  left: 53%;
  transform: translate(-50%, -50%);
  transition: 200ms;
}
.s-app__pictire-slide.slick-current img{
  width: 338px;
  height: auto;
  top: 50%;
  left: 50%;
}
.s-app__pictire-slide.slick-current + .s-app__pictire-slide img{
  left: 47%;
}

/* Progress */
.s-progress {
    background: #f7f7f7;
    padding: 54px 0 52px;
    text-align: center;
}
.s-progress__title {
    font-weight: normal;
    margin: 0 0 58px;
    font-size: 36px;
    line-height: 42px;
    color: #303030;
}
.s-progress__achievements {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.s-progress__achievement {
    width: 31.7%;
    height: 240px;
    padding: 46px 15px 0;
    box-sizing: border-box;
    border-radius: 10px;
    box-shadow: 5px 5px 7px rgba(0, 0, 0, 0.1);
    background: white;
    margin-bottom: 40px;
}
.s-progress__achievement-icon {
    height: 43px;
    width: auto;
    margin-bottom: 28px;
}
.s-progress__achievement-description {
    line-height: 21px;
}

/* Services */
.s-services {
    background: white;
    padding: 49px 0 60px;
}
.s-services__title {
    font-size: 38px;
    line-height: 48px;
    color: #303030;
    margin: 0 0 9px;
    text-align: center;
}
.s-services__subtitle {
    text-align: center;
    margin: 0 0 27px;
    font-size: 16px;
}
.s-services__list {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
}
.s-service {
    width: 370px;
    display: flex;
    flex-direction: column;
}
.s-service__photo {
    margin-bottom: 21px;
}
.s-service__photo-image {
    width: 100%;
    height: auto;
    display: block;
}
.s-service__title {
    font-size: 18px;
    line-height: 1.28;
    text-transform: uppercase;
    color: #f18b27;
    margin-bottom: 5px;
    font-weight: 600;
}
.s-service__description {
    font-size: 15px;
    line-height: 1.57;
    margin-bottom: 25px;
}
.s-service__start {
    margin: auto auto 0 0;
}
.s-questions {
    padding: 41px 0 61px;
    background: url("img/form-bg.jpg") center center no-repeat #000;
    background-size: cover;
    background-attachment: fixed;
}
.s-questions__title {
    font-size: 38px;
    line-height: 48px;
    color: white;
    font-weight: normal;
    margin-bottom: 19px;
    text-align: center;
}
.s-questions__subtitle {
    color: #f18b27;
    font-size: 16px;
    margin-bottom: 38px;
    text-align: center;
}
.s-questions__form {
    width: 100%;
    max-width: 570px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    margin: 0 auto;
}
.s-questions__form-input {
    background: white;
    border: 0;
    padding: 0 20px;
    font-size: 17px;
    height: 48px;
    border-radius: 8px;
    margin-bottom: 12px;
    width: 100%;
    box-sizing: border-box;
}
.s-questions__form-input--textarea {
    padding-top: 15px;
    height: 140px;
    resize: none;
    margin-bottom: 29px;
}
.s-questions__form-send {
    border: none;
}
.s-join-in {
    background: white;
    height: 350px;
    box-sizing: border-box;
}
.s-container-join-in {
    background: url("img/join-in-bg.png") 95% 0% no-repeat white;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
}
.s-join-in__description {
    border-left: 8px solid #f18b27;
    padding-left: 27px;
    font-size: 25px;
    line-height: 40px;
    margin-top: -12px;
}
.s-join-in__description--highlight {
    color: #f18b27;
}
.a-footer {
    background: #121315;
}
.a-footer-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 64px;
}
.a-footer-copyright, .a-footer-text-link {
    color: white;
    font-size: 14px;
    text-decoration: none;
}
.a-footer-text-link:hover  {
    text-decoration: underline;
}
.a-footer-text {
    margin-left: auto;
}
@media (max-width: 1200px) {
    .a-container {
        max-width: 993px;
    }
    .s-slider {
        padding: 72px 0 55px;
    }
    .s-slider-title {
        font-size: 62px;
        line-height: 50px;
        margin: 0px auto 30px
    }
    .s-slider-description {
        padding-bottom: 93px;
    }
    .s-slider-description::before {
        bottom: 58px;
    }
    .s-slider-description::after {
        bottom: 44px;
    }
    .s-slider-slogan {
        margin-bottom: 38px;
    }
    .s-app {
        padding: 45px 0 25px;
    }
    .s-app__title {
        font-size: 34px;
        line-height: 38px;
        padding-left: 15px;
        margin: 0 0 29px;
        top: 0;
    }
    .s-app__content {
        padding-top: 105px;
        width: 265px;
    }
    .s-app__pictire-slider {
        width: 665px;
    }
    .s-app__pictire-slide img {
        width: 225px;
    }
    .s-app__pictire-slide.slick-current img {
        width: 305px;
    }
    .s-app .slick-prev {
        left: 2px;
    }
    .s-app__slide-description {
        line-height: 22px;
    }
    .s-progress {
        padding: 32px 0 40px;
    }
    .s-progress__title {
        margin: 0px 0 35px;
        font-size: 34px;
        line-height: 40px;
    }
    .s-progress__achievement {
        margin-bottom: 20px;
    }
    .s-services {
        background: white;
        padding: 31px 0 60px;
    }
    .s-services__title {
        font-size: 34px;
        margin: 0 0 12px;
    }
    .s-services__subtitle {
        font-size: 15px;
    }
    .s-service {
        width: 305px;
    }
    .s-service__photo {
        margin-bottom: 25px;
    }
    .s-service__title {
        margin-bottom: 17px;
        text-align: center;
    }
    .s-service__description {
        line-height: 1.5;
        margin-bottom: 21px;
    }
    .s-service__start {
        margin: auto auto 0;
    }
    .s-questions {
        padding: 37px 0 53px;
    }
    .s-questions__title {
        font-size: 34px;
        margin-bottom: 9px;
    }
    .s-questions__subtitle {
        font-size: 15px;
        margin-bottom: 40px;
    }
    .s-questions__form-input {
        font-size: 16px;
    }
    .s-join-in {
        height: 318px;
    }
    .s-join-in__description {
        padding-left: 23px;
        font-size: 22px;
        line-height: 38px;
    }
    .s-container-join-in {
        background-position: 98% 0;
        background-size: auto 100%;
    }
    .a-footer-copyright {
        font-size: 13px;
    }
}

@media (max-width: 992px) {
    .a-button {
        width: 160px;
    }
    .a-header-container {
        height: 64px;
    }
    .a-header__logo-image {
        width: 163px;
    }
    .a-container {
        max-width: 768px;
    }
    .s-slider {
        padding: 55px 0 44px;
    }
    .s-slider__background {
        width: 1684px;
    }
    .s-slider__background-slide {
        height: 570px;
    }
    .s-slider-title {
        font-size: 50px;
        margin: 0px auto 25px
    }
    .s-slider-description {
        font-size: 16px;
        line-height: 28px;
        padding-bottom: 105px;
    }
    .s-slider-description::before {
        bottom: 64px;
    }
    .s-slider-description::after {
        bottom: 50px;
    }
    .s-slider-slogan {
        font-size: 18px;
        line-height: 32px;
        margin-bottom: 32px;
    }
    .s-app {
        padding: 32px 0 25px;
    }
    .s-app-container {
        flex-direction: column;
        align-items: center;
    }
    .s-app__title {
        font-size: 30px;
        line-height: 35px;
        padding-left: 0;
        text-align: center;
        margin: 0;
        position: static;
        order: 1;
        width: 100%;
        border: 0;
    }
    .s-app__pictire-slider {
        width: 100%;
        order: 2;
    }
    .s-app__pictire-slide img {
        width: 225px;
        left: 57%;
    }
    .s-app__pictire-slide.slick-current img {
        width: 305px;
    }
    .s-app__pictire-slide.slick-current + .s-app__pictire-slide img {
        left: 41%;
    }
    .s-app .slick-prev {
        left: 21px;
    }
    .s-app .slick-next {
        right: 21px;
    }
    .s-app__content {
        width: 100%;
        order: 3;
        padding-top: 0;
        max-width: 630px;
    }
    .s-app__slide-description {
        font-size: 14px;
    }
    .s-app__content-slide-button {
        margin: 0 auto;
        display: block;
    }
    .s-app__content-slide {
        max-height: 230px;
    }

    .s-progress {
        padding: 32px 0 30px;
    }
    .s-progress__title {
        margin: 0px 0 42px;
        font-size: 30px;
        line-height: 36px;
    }
    .s-progress__achievements {
        max-width: 670px;
        margin: 0 auto;
    }
    .s-progress__achievement {
        margin-bottom: 30px;
        width: 48%;
        height: 220px;
        padding: 36px 15px 0;
    }
    .s-services {
        background: white;
        padding: 39px 0 0px;
    }
    .s-services__title {
        font-size: 30px;
        margin: 0 0 6px;
    }
    .s-services__list {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
    }
    .s-service {
        width: 370px;
        margin-bottom: 50px;
    }
    .s-questions {
        padding: 24px 0 40px;
    }
    .s-questions__title {
        font-size: 30px;
        margin-bottom: 0px;
    }
    .s-questions__subtitle {
        max-width: 300px;
        margin: 0 auto 20px;
        line-height: 23px;
    }
    .s-questions__form {
        max-width: 550px;
    }
    .s-questions__form-input {
        height: 46px;
    }
    .s-questions__form-input--textarea {
        height: 130px;
    }
    .s-join-in {
        height: 300px;
    }
    .s-join-in__description {
        padding-left: 23px;
        font-size: 20px;
        line-height: 28px;
        max-width: 455px;
        margin-top: 0;
    }
}

@media (max-width: 767px) {
    .a-container {
        max-width: 575px;
    }
    .s-slider {
        padding: 34px 0 44px;
    }
    .s-slider__background {
        width: 1570px;
    }
    .s-slider__background-slide {
        height: 530px;
    }
    .s-slider-title {
        font-size: 40px;
        margin: 0px auto 15px
    }
    .s-slider-description {
        font-size: 15px;
        line-height: 26px;
        padding-bottom: 88px;
        max-width: 460px;
        margin: 0 auto;
    }
    .s-slider-description br{
        display: none;
    }
    .s-slider-description::before {
        bottom: 53px;
    }
    .s-slider-description::after {
        bottom: 39px;
    }
    .s-slider-slogan {
        font-size: 17px;
        line-height: 30px;
        margin-bottom: 23px;
    }
    .s-app {
        padding: 34px 0 25px;
    }
    .s-app__title {
        font-size: 27px;
        line-height: 32px;
        margin: 0;
    }
    .s-app__pictire-slide {
        height: 486px;
    }
    .s-app__pictire-slide img {
        left: 50%;
        opacity: 0;
    }
    .s-app__pictire-slide.slick-active img {
        left: 73%;
        opacity: 0.3;
        top:55%;
    }
    .s-app__pictire-slide.slick-current {
        z-index: 10000;
    }
    .s-app__pictire-slide.slick-active.slick-current img {
        width: 306px;
        opacity: 1;
        left: 50%;
        top: 50%;
    }
    .s-app__pictire-slide.slick-current + .slick-active.s-app__pictire-slide img {
        left: 27%;
    }
    .s-app .slick-prev {
        left: 5px;
        top: 243px;
    }
    .s-app .slick-next {
        right: 5px;
        top:243px;
    }
    .s-app__content {
        max-width: 430px;
    }
    .s-app__slide-description {
        line-height: 22px;
    }
    .s-app__content-slide-button {
        margin: 0 auto;
        display: block;
    }
    .s-app__content-slide {
        max-height: 270px;
    }

    .s-progress {
        padding: 30px 0 30px;
    }
    .s-progress__title {
        margin: 0px 0 30px;
        font-size: 27px;
        line-height: 34px;
    }
    .s-progress__achievements {
        max-width: 370px;
    }
    .s-progress__achievement {
        width: 100%;
    }
    .s-services {
        background: white;
        padding: 28px 0 0px;
    }
    .s-services__title {
        font-size: 27px;
        margin: 0 0 6px;
    }
    .s-questions {
        padding: 24px 0 40px;
    }
    .s-questions__title {
        font-size: 27px;
        margin-bottom: 0px;
    }
    .s-join-in {
        height: 278px;
    }
    .s-join-in__description {
        font-size: 18px;
        line-height: 24px;
        max-width: 420px;
    }
    .s-container-join-in {
        background-position: 118% 0;
    }
}

@media (max-width: 575px) {
    .a-button {
        height: 46px;
    }
    .a-container {
        max-width: 100%;
        padding: 0 10px;
    }
    .a-header-container {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        height: 101px;
        padding: 0;
    }
    .a-header__login {
        margin-top: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 32px;
        background: #f18b27;
        width: 100%;
    }
    .a-header__login, .a-header__login a{
        font-size: 13px;
        color: #121315;
        line-height: 1;
    }
    .a-header__logo {
        margin-top: 13px;
    }
    .a-header__logo-image {
        width: 152px;
    }
    .s-slider {
        min-height: 475px;
        box-sizing: border-box;
        padding: 17px 0 18px;
    }
    .s-slider__background {
        width: 1700px;
    }
    .s-slider__background-slide {
        height: 576px;
    }
    .s-slider-title {
        font-size: 28px;
        line-height: 34px;
        margin: 0px auto 8px
    }
    .s-slider-description {
        font-size: 14px;
        line-height: 20px;
        padding-bottom: 62px;
    }
    .s-slider-description::before {
        bottom: 34px;
        width: 130px;
    }
    .s-slider-description::after {
        bottom: 22px;
        width: 50px;
    }
    .s-slider-slogan {
        font-size: 15px;
        line-height: 25px;
        margin-bottom: 20px;
    }
    .s-app {
        padding: 25px 0 25px;
    }
    .s-app__title {
        font-size: 24px;
        line-height: 28px;
        margin: 0;
    }
    .s-slider-buttons {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
    }
    .s-slider-button {
        margin-bottom: 14px;
    }
    .s-app__pictire-slide {
        height: 440px;
    }
    .s-app__pictire-slide img {
        left: 50%;
        opacity: 0;
    }
    .s-app__pictire-slide.slick-active img {
        left: 50%;
        opacity: 0.3;
        top:50%;
    }
    .s-app__pictire-slide.slick-current {
        z-index: 10000;
    }
    .s-app__pictire-slide.slick-active.slick-current img {
        width: 275px;
        opacity: 1;
        left: 50%;
        top: 51%;
    }
    .s-app__pictire-slide.slick-current + .slick-active.s-app__pictire-slide img {
        left: 50%;
    }
    .s-app .slick-prev {
        left: 9px;
        top: 190px;
    }
    .s-app .slick-next {
        right: 9px;
        top:190px;
    }
    .s-app__content-slide {
        max-height: 300px;
    }

    .s-progress {
        padding: 30px 0 30px;
    }
    .s-progress__title {
        margin: 0px 0 25px;
        font-size: 24px;
        line-height: 28px;
    }
    .s-progress__achievement {
        width: 100%;
        height: 200px;
        padding: 0px 15px 0;
        margin-bottom: 22px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .s-progress__achievement-icon {
        margin-bottom: 30px;
    }
    .s-services {
        background: white;
        padding: 23px 0 0px;
    }
    .s-service {
        width: 100%;
        max-width: 370px;
        text-align: center;
        margin-bottom: 40px;
    }
    .s-services__title {
        font-size: 24px;
        margin: 0 0 2px;
    }
    .s-service__title {
        margin-bottom: 8px;
    }
    .s-service__description {
        font-size: 14px;
    }
    .s-questions {
        padding: 21px 0 34px;
    }
    .s-questions__title {
        font-size: 24px;
        margin-bottom: 0px;
    }
    .s-questions__subtitle {
        margin-bottom: 23px;
    }
    .s-questions__form-input {
        margin-bottom: 10px;
    }
    .s-questions__form-input--textarea {
        margin-bottom: 25px;
    }
    .s-join-in {
        height: 240px;
        position: relative;
    }
    .s-container-join-in {
        position: relative;
        align-items: flex-start;
        padding-top: 48px;
    }
    .s-container-join-in::before {
        content: '';
        width: 100%;
        height: 100%;
        background: rgba(255,255,255, 0.7);
        position: absolute;
        top:0;
        left: 0;
        z-index: 0;
    }
    .s-join-in__description {
        font-size: 15px;
        line-height: 22px;
        position: relative;
        z-index: 2;
        padding-left: 16px;
        max-width: 230px;
    }
    .s-join-in__slogan {
        display: block;
        font-size: 20px;
        line-height: 30px;
        max-width: 220px;
        position: absolute;
        bottom: -96px;
        left: 15px;
        z-index: 3;
    }
    .s-container-join-in {
        background-position: 135% 0;
    }
    .a-footer-container {
        display: flex;
        flex-direction: column;
    }
    .a-footer-text {
        margin: 7px auto 0;
    }
}
