header {
    background: #1e1a16;
    height: 340px;
}

.header-after-block {
    background: #fdb713;
    padding: 70px 0;

    width: 100%;
    border-radius: 5px;
    margin-top: 5px;
    margin-bottom: 5px;
}

.header-after-block:before {
    background: url("../img/head_after_bg.png") no-repeat;
    background-size: 100%;
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    height: 30px;
    width: 100%;
    z-index: 3;
}

.header-after-block .item {
    margin: 5px 7px;
    position: relative;
}

.header-after-block .item:before {
    background: rgba(0,0,0,.4);
    content: '';
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 4px;
    left: 0;
}

.header-after-block .item .linck:after {
    border: 3px solid;
    border-color: rgba(255,255,255,0);
    content: '';
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 4px;
    left: 0;
    transition: .3s;
}

.header-after-block .item img {
    width: 100%;
}

.header-after-block .item .linck {
    align-items: center;
    justify-content: center;
    display: flex;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.header-after-block .item:hover .linck:after {
    border-color: #edac14;
    top: 10px;
    right: 10px;
    bottom: 14px;
    left: 10px;
}

.header-after-block .item a {
    display: block;
    border: 2px solid #f4b520;
    width: 60%;
    padding: 15px 0;
    text-align: center;
    color: #f8f8f8;
    text-decoration: none;
    font-weight: 600;
    font-size: 20px;
    position: relative;
    z-index: 12;
    transition: .3s;
}

.header-after-block .item a:hover {
    background: rgba(0,0,0,.5);
    color: #fdb713;
}

.header-after-block .text {
    font-weight: 300;
    line-height: 1.7em;
    padding: 5px 7px 0;
}

.header-after-block h2 {
    font-size: 30px;
    font-weight: 600;
    text-transform: uppercase;
    margin: 25px 0;
}

.info-blocks {
    color: #e1e1e1;
    padding-top: 75px;
    padding-bottom: 75px;
    overflow: hidden;
    background: #4c4947;

    width: 100%;
    border-radius: 5px;
    margin-top: 5px;
    margin-bottom: 5px;
}

.item-block .angle.bottom-left, .item-block .angle.bottom-right, .item-block .angle.top-left, .item-block .angle.top-right {
    border-color: #868483;
}

.calendar-block {
    background: url("../img/calendar_bg.jpg") no-repeat;
    background-position: center;
    background-size: cover;
}

.block-two__cards-content {

    width: 100%;
    border-radius: 5px;
    margin-top: 5px;
    margin-bottom: 5px;
}

@media screen and (max-width: 1199px) {
    header {
        height: 210px;
    }

    .header-main {
        font-size: 30pt;
        margin-top: 10%;
    }

    .header-after-block .item a {
        padding: 10px 0;
        font-size: 15px;
    }

    .header-after-block h3 {
        font-size: 25px;
        margin: 15px 0 20px;
    }
}

@media screen and (max-width: 991px) {
    .header-block__two {
        margin-bottom: 90px;
    }

    .header-main {
        font-size: 25pt;
    }

    .header-after-block .item::before {
        bottom: 3px;
    }

    .header-after-block {
        padding: 50px 0 30px;
    }

    .info-blocks {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}

@media screen and (max-width: 784px) {
    .header-block__two {
        margin-bottom: 25px;
    }

}

@media screen and (max-width: 679px) {
    .header-main {
        margin-top: 166px;
    }
}

@media screen and (max-width: 459px) {
    .header-main {
        font-size: 20px;
    }

    .header-after-block h3 {
        font-size: 18px;
        margin: 10px 0;
    }
}