﻿    /* Шапка */

    .header {
        display: flex;
        justify-content: center;
        height: 100vh;

        background-color: #3E1B04;
        background-image: url("../img/header_bg.webp");
        background-size: cover;
        position: relative;
        margin-top: 104px;
    }

    .header > .wave {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
    }

    .header > .title_block {
        display: flex;
        flex-direction: column;
        justify-content: center;

        width: 1140px;
        height: inherit;
    }


    .header > .title_block > .title,
    .header > .title_block > .separator,
    .header > .title_block > .description,
    .header > .title_block > .button {
        width: 750px;
    }

    .header > .title_block > .separator > .img {
        width: 200px;
        height: 25px;
        background: url('../img/separator_white.svg') 0 0;
    }

    .header > .title_block > .title {
        color: #ffffff;
        margin: 30px 0 30px 0;
    }

    .header > .title_block > .description {
        color: #ffffff;
        margin: 0;
        font-size: 20px;
        line-height: 1.4;
        font-weight: 300;
        width: 550px;
    }

    .header > .title_block > .description:nth-child(n+2) {
        margin: 30px 0 0 0;
    }

    .header > .title_block > .button {
        margin-top: 30px;
    }

    .header > .title_block > .button > a {
        padding: 15px 25px;
        font-size: 14px;
        color: #ffffff;
        border: 1px solid #e47833;
        background-color: #e47833;
        border-radius: 25px;
        display: inline-block;
        cursor: pointer;
        transition: all .2s ease 0s;
        font-weight: 600;
        text-decoration: none;
    }

    .header > .title_block > .button > a.ghost {
        background: none;
        color: #e47833;
        border: 1px solid #e47833;
    }

    .header > .title_block > .button > a:nth-child(n+2) {
        margin: 0 0 0 10px;
    }

    .header > .title_block > .button > a:hover {
        color: #ffffff;
        background-color: #e47833;
    }

    .header > .title_block > .button > a:active
    {
        background-color: #d35400;
        border: 1px solid #d35400;
    }


    /* Адаптивность */

    @media only screen and (min-width: 961px) and (max-width: 1200px) {

        .header {
            background-position: 75% center;
        }

        .header > .title_block > .title,
        .header > .title_block > .separator,
        .header > .title_block > .description,
        .header > .title_block > .button {
            width: 100%;
            padding: 0 30px;
        }
    }

    @media only screen and (min-width: 641px) and (max-width: 960px) {

        .header {
            flex-direction: column;
            height: auto;
            background-position: 75% center;
        }

        .header > .title_block {
            width: 100%;
            position: inherit;
            padding: 60px 0;
        }

        .header > .title_block > .title,
        .header > .title_block > .separator,
        .header > .title_block > .description,
        .header > .title_block > .button {
            width: 100%;
            padding: 0 30px;
        }

        .header > .title_block::before {
            display: none;
        }

        .header > .title_block::after {
            display: none;
        }
    }

    @media only screen and (min-width: 481px) and (max-width: 640px) {

        .header {
            flex-direction: column;
            height: auto;
            background-image: url("../img/mobile_header_bg.webp");
        }

        .header > .title_block {
            width: 100%;
            position: inherit;
            padding: 60px 0;
        }

        .header > .title_block > .title,
        .header > .title_block > .separator,
        .header > .title_block > .description,
        .header > .title_block > .button {
            width: 100%;
            padding: 0 30px;
        }

        .header > .title_block::before {
            display: none;
        }

        .header > .title_block::after {
            display: none;
        }
    }

    @media only screen and (min-width: 321px) and (max-width: 480px) {

        .header {
            flex-direction: column;
            height: auto;
            background-image: url("../img/mobile_header_bg.webp");
        }

        .header > .title_block {
            width: 100%;
            position: inherit;
            padding: 60px 0;
        }

        .header > .title_block > .title,
        .header > .title_block > .separator,
        .header > .title_block > .description,
        .header > .title_block > .button {
            width: 100%;
            padding: 0 30px;
        }

        .header > .title_block::before {
            display: none;
        }

        .header > .title_block::after {
            display: none;
        }

        .header > .title_block > .title {
            font-size: 26px;
            font-weight: 600;
        }

        .header > .title_block > .description {
            font-size: 16px;
        }

        .header > .title_block > .button > a:nth-child(1) {
            margin: 0 10px 0 0;
        }

        .header > .title_block > .button > a:nth-child(n+2) {
            margin: 10px 0 0 0;
        }

    }

    @media only screen and (max-width: 320px) {

        .header {
            flex-direction: column;
            height: auto;
            background-image: url("../img/mobile_header_bg.webp");
        }

        .header > .title_block {
            width: 100%;
            position: relative;
            padding: 60px 0;
        }

        .header > .title_block > .title,
        .header > .title_block > .separator,
        .header > .title_block > .description,
        .header > .title_block > .button {
            width: 100%;
            padding: 0 30px;
        }

        .header > .title_block::before {
            display: none;
        }

        .header > .title_block::after {
            display: none;
        }

        .header > .title_block > .title {
            font-size: 26px;
            font-weight: 600;
        }

        .header > .title_block > .description {
            font-size: 16px;
        }

        .header > .title_block > .button > a:nth-child(n+2) {
            margin: 10px 0 0 0;
        }

    }
