%header {
    h1,h2,h3,h4,h5 {
        font-weighT:bold;
        color:$mainColor;
    }
    h1 {
        font-size: 50px;
    }
    h2 {
        font-size: 40px;
    }
    h3 {
        font-size: 30px;
    }
} 
header.main-header {
    @extend %header;
    padding:150px 0 70px;
    text-align:center;
    background-color:rgba($mainColor, .04);

    p {
        margin:30px;
        margin: auto;
        width:400px;
        @media #{$maxSmall} {
            width:100%;
        }
    }
}

%title_header {
    @extend %header;
    position: relative;
    width: fit-content;
    margin-bottom: 60px;
    &:after {
        content:"";
        height: 1px;
        width: 90%;
        background-color: $mainColor;
        position: absolute;
        bottom: -30px;
    }
    .header-icon {
        height: 25px;
        width:25px;
        line-height: 25px;
        text-align: center;
        border: 1px solid $mainColor;
        color:$mainColor;
        background-color:$white;
        position: absolute;
        bottom: -42px;
        #{$right}:calc(50% - 20px);
        transform:rotate(45deg);
        z-index: 1;
        i, svg {
            transform: rotate(-45deg);
        }
    }
}

.title-header-center {
    @extend %title_header;
    &:after {
        width: 100%;
        #{$right}:0%;
        #{$left}:auto;
    }
}

.title-header-float {
    @extend %title_header;
    &:after {
        #{$right}:0;
        #{$left}:auto;
    }
}

.title-header-fill {
    @extend %title_header;
    width: 100%;
    .header-icon {
        right: 0;
    }
    &:after {
        #{$right}:0;
        #{$left}:auto;
        width: 100%;
    }
}

.banner {
    height: 400px;
    width: 100%;
    background-image: url('../img/header.jpg');
    background-size: cover;
    background-position:center;
    position: relative;
}

.simble-header {
    h1,h2,h3,h4,h5 {
        font-weight: 500;
        padding-bottom: 10px;
        margin-bottom: 20px;
        border-bottom: 1px solid #CCC;
    }
}