header .text-wrapper h1 {
    /*fade-down animation*/
    transition: all .8s;
    transform: translateY(-10%);
    opacity: 0.0;
}

header .text-wrapper h1[data-scroll="in"] {
    transform: translateY(0);
    opacity: 1;
}

header p.header-subtitle {
    /*fade-down animation*/
    transition: all .8s;
    transition-delay: .5s;
    transform: translateY(-10%);
    opacity: 0.0;
}

header p.header-subtitle[data-scroll="in"] {
    transform: translateY(0);
    opacity: 1;
}


.block {display:block;}
.special-text{
    font-weight:800;
    background:var(--btn-primary);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}
.first {
    margin:0 auto 95px;
    max-width:860px;
    text-align:center;
    color:white;

    opacity: 0;
    transform: translateY(-10%);
    transition: all .8s;
}

.first[data-scroll="in"] {
    opacity: 1;
    transform: translateY(0);
}

.first h2 {
    font-size:65px;
    font-weight:800;
    line-height:1.1;
    padding-bottom:.5em;
}

.first h2 {
    display: none;
}

.first p {
    font-size:18px;
    font-weight:500;
    line-height:1.667;
}

.scnd {
    padding:0 10px 135px;

    opacity: 0;
    transform: translateY(-10%);
    transition: all .8s;
}

.scnd[data-scroll="in"] {
    opacity: 1;
    transform: translateY(0);
}


.scnd > div {
    display:flex;
    justify-content:center;
    align-items:center;
    flex-wrap: wrap;
    border-radius:128px;
    max-width: 982px;
    padding:60px 60px 50px 50px;
    background-color:white;
    color:#0F1E33;
    margin:auto;
}
.scnd > div > span {
    padding:10px 15px;
}
.scnd > div > span.normal {
    font-weight: 800;
    font-size: 20px;
    line-height:1.2;
}
.scnd > div > span.medium {
    font-weight: 800;
    font-size: 36px;
    line-height:1.222;
}
.scnd > div > span.big {
    font-weight: 800;
    font-size: 46px;
    line-height:1.222;
}
.scnd > div > span.bigger {
    font-weight: 800;
    font-size: 61px;
    line-height:1.148;
}
.third {
    padding-bottom:210px;

    opacity:0;
    transform: translateY(-10%);
    transition: all .8s;
}

.third[data-scroll="in"] {
    opacity:1;
    transform: translateY(0);
}

.third > h2 {
    color:white;
    font-weight: 800;
    font-size:65px;
    line-height:1.1;
    padding:0 10px 160px;
    text-align: center;
}
.third > div {
    background: url(../img/hor_stripe.svg) center/cover no-repeat;
    min-height:34vw;
    padding:0 10px;
    display:grid;
    place-items:center;
}
.third > div > div {
    display:flex;
    gap:90px 10px;
    justify-content:center;
    align-items:center;
    flex-wrap:wrap;
    margin:auto;
    max-width:var(--page-width);
}
.third > div .steps_card {
    width:240px;height:405px;
    background:white;
    padding:80px 30px 20px;
    border-radius:20px;
    position:relative;
    text-align:center;

    transition: all .8s;
}

.third > div .steps_card:first-of-type {
    opacity: 0;
    transform: translateX(-10%);

    transition-delay: .4s;
}

.third > div .steps_card:first-of-type[data-scroll="in"] {
    opacity: 1;
    transform: translateX(0);
}

.third > div .steps_card:nth-of-type(2) {
    opacity: 0;
    transform: translateX(-10%);

    transition-delay: .8s;
}

.third > div .steps_card:nth-of-type(2)[data-scroll="in"] {
    opacity: 1;
    transform: translateX(0);
}

.third > div .steps_card:nth-of-type(3) {
    opacity: 0;
    transform: translateX(-10%);

    transition-delay: 1.4s;
}

.third > div .steps_card:nth-of-type(3)[data-scroll="in"] {
    opacity: 1;
    transform: translateX(0);
}

.third > div .steps_card:nth-of-type(4) {
    opacity: 0;
    transform: translateX(-10%);

    transition-delay: 2s;
}

.third > div .steps_card:nth-of-type(4)[data-scroll="in"] {
    opacity: 1;
    transform: translateX(0);
}

.third > div .steps_card:nth-of-type(5) {
    opacity: 0;
    transform: translateX(-10%);

    transition-delay: 2.6s;
}

.third > div .steps_card:nth-of-type(5)[data-scroll="in"] {
    opacity: 1;
    transform: translateX(0);
}

.third > div .steps_card .icon-wrapper {
    position:absolute;
    top:0;left:50%;
    transform:translate(-50%, -50%);
    /*width:172px;
    height:186px;*/
    filter: drop-shadow(10px -10px 12px rgba(0, 0, 0, 0.4));
}
.third > div .steps_card .icon-wrapper img {
    height:auto;
}
.third > div .steps_card .icon-wrapper h2 {
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%) rotate(-8deg);
    font-weight: 800;
    font-size:65px;
    line-height:1.1;
    color:white;
}

.third > div .steps_card:nth-of-type(2) .icon-wrapper h2,
.third > div .steps_card:nth-of-type(4) .icon-wrapper h2 {
    transform:translate(-50%,-50%) rotate(8deg);
}

.third > div .steps_card .title {
    font-weight: 700;
    font-size: 18px;
    line-height: 1.2;
    height:60px;
    padding-bottom:15px;
    display:grid;
    place-items:center;
    color: #233754;
}
.third > div .steps_card .description {
    font-weight: 500;
    font-size: 13px;
    line-height: 1.62;
    color: #677282;
}

@media screen and (max-width: 1024px) {

    .scnd > div {
        width: 90%;
    }

    .third > div {
        background: url(../img/ver_stripe.svg) center/cover no-repeat;
        padding: 100px 10px;
    }

    .third > div > div {
        width: 90%;
        gap: 130px 40px;
    }
}

@media screen and (max-width:900px) {
    .first h2,.third > h2 {
        font-size:50px;
    }
    .first p {
        font-size:16px;
        width: 90%;
        margin: 0 auto;
    }

    .scnd > div {
        padding:30px 15px 25px;
        border-radius:80px;
    }
    .scnd > div > span {padding:7px 10px;}
    .scnd > div > span.normal {font-size: 18px;}
    .scnd > div > span.medium {font-size: 30px;}
    .scnd > div > span.big {font-size: 38px;}
    .scnd > div > span.bigger {font-size: 50px;}

    .third {
        margin-top: 80px;
        padding-bottom: 150px;
    }

    .third > h2 {
       padding-bottom: 80px;
    }

    .third > div {
        background: none;
    }
}

@media screen and (max-width:500px) {

    .first h2,.third > h2 {
        font-size:32px;
    }
    .first p {
        font-size:14px;
    }

    .scnd > div {
        padding:18px 8px;
        border-radius:80px;
    }
    .scnd > div > span {padding:5px 8px;}
    .scnd > div > span.normal {font-size:14px;}
    .scnd > div > span.medium {font-size:22px;}
    .scnd > div > span.big {font-size:26px;}
    .scnd > div > span.bigger {font-size:36px;}

    .third > div > div {
        gap:115px 10px;
    }

    .third > div .steps_card {
        width: 275px;
        height: 350px;
        background: white;
        padding: 80px 15px 20px;
        border-radius: 20px;
        position: relative;
        text-align: center;
    }

    .third > div .steps_card .icon-wrapper img {
        width: 124px !important;
    }
}

@media screen and (max-width: 414px) {
    header {
        height: 60%;
    }

    header .text-wrapper {
        gap: 40px;
        grid-template-rows: repeat(2, max-content);
    }

    .first h2 {
        display: block;
    }

    .scnd {
        padding-bottom: 50px;
    }

    .scnd > div {
        padding: 18px 30px;
    }

    .scnd > div > span.bigger,
    .scnd > div > span.big{
        text-align: center;
    }

    .third {
        padding-bottom: 90px;
    }

    .third > h2 {
        padding-bottom: 50px;
    }
}

@media screen and (max-width: 375px) {
    .scnd > div > span.big {
        font-size: 22px;
    }

    .scnd > div > span.bigger {
        font-size: 30px;
    }
}
