h1 {
    font-family: Gilroy;
    font-size: 64px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}
h1.h1-w {
    color: #FFF;
}
h1.h1-b {
    color: #111929;
}
h2 {
    text-align: center;
    font-family: Gilroy;
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
}
h2.h2-w {
    color: #FFF;
}
h2.h2-b {
    color: #111929;
}
img {
    max-width: 100%;
}
p.text,
p.subtitle {
    font-family: Gilroy;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 180%;
    letter-spacing: 0.8px;
}
p.t-w,
p.subtitle.s-w {
    color: #FFF;
}
p.t-b,
p.subtitle.s-b {
    color: #111929;
}
p.t-g,
p.subtitle.s-g {
    color: #414754;
}
.button {
    display: inline-block;
    max-width: 267px;
    width: 100%;
    flex-shrink: 0;
    border-radius: 8px;
    text-align: center;
    font-family: Gilroy;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 48px;
    letter-spacing: 0.8px;
    transition: all .25s ease;
}
.button:hover {
    text-decoration: none;
    transform: scale(1.02);
}
.button.button-red {
    color: #FFF;
    background: #c87533 ;
}
.button.button-white {
    color: #2F3444;
    background: #FFF;
    border: 1px solid rgba(17, 25, 41, 0.30);
}
.button.button-black {
    color: #fff;
    background: #1D1D1B;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 8px;
}
.button.red-text-button {
    color: #c87533 ;
}
.top-block-black {
    background-color: #3A2F2F;
}
.with-red-figure {
    background-image: url('/wp-content/themes/main/images/front-page-main-bg-new.png');
    background-position: calc(50% + 410px) 0;
    background-size: auto 100%;
    background-repeat: no-repeat;
    margin-top: -184px;
    padding-top: 184px;
}
.with-red-figure .btn-block {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
}

@media (max-width: 1199px) {
    h1 {
        font-size: 48px;
    }
    h2 {
        font-size: 28px;
    }
    p.text, p.subtitle {
        font-size: 14px;
    }
    .button {
        width: auto;
        padding: 0 30px;
    }
}

@media (max-width: 991px) {
    h1 {
        font-size: 36px;
    }
    h2 {
        font-size: 24px;
    }
    .with-red-figure {
        background-image: url('/wp-content/themes/main/images/front-page-main-bg-tablet.png');
        background-position: 100% 0%;
        background-size: 1300px auto;
        margin-top: -136px;
        padding-top: 136px;
    }
}

@media (max-width: 767px) {
    .with-red-figure {
        margin-top: -107px;
        padding-top: 107px;
    }
    .with-red-figure .btn-block {
        justify-content: center;
    }
}

@media (max-width: 575px) {
    h1 {
        font-size: 24px;
    }
    h2 {
        font-size: 22px;
    }
    p.text, p.subtitle {
        font-size: 10px;
    }
    .with-red-figure {
        background-image: url('/wp-content/themes/main/images/front-page-main-bg-mob.png');
        background-position: 100% 20px;
        background-size: 575px auto;
        margin-top: -136px;
        padding-top: 136px;
    }
    .with-red-figure .btn-block {
        flex-direction: column;
    }
}
