/* анимации */
@-webkit-keyframes appearInLeft {
    0% {
        -webkit-transform: translateX(100px);
        transform: translateX(100px);
        opacity: 0
    }

    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        opacity: 1
    }
}

@keyframes appearInLeft {
    0% {
        -webkit-transform: translateX(100px);
        transform: translateX(100px);
        opacity: 0
    }

    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        opacity: 1
    }
}

@-webkit-keyframes dissapearInLeft {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        opacity: 1
    }

    100% {
        -webkit-transform: translateX(-100px);
        transform: translateX(-100px);
        opacity: 0
    }
}

@keyframes dissapearInLeft {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        opacity: 1
    }

    100% {
        -webkit-transform: translateX(-100px);
        transform: translateX(-100px);
        opacity: 0
    }
}
/* анимации END */

.header {
    position: relative;
    padding-top: 216px;
    margin-bottom: 80px;
}

.header__slider{
    /* margin-top: 150px; */
}
.header__item_new {
    /* padding-top: 176px; */
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    /* min-height: 568px;
    max-height: 568px; */
    min-height: 400px;
    max-height: 400px;
    height: 400px;
    position: relative;
    overflow: hidden;
}

.header__item_new:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 110px;
    background: #000;
    background: -webkit-gradient(linear, left bottom, left top, from(black), to(rgba(255, 255, 255, 0)));
    background: -o-linear-gradient(bottom, #000 0, rgba(255, 255, 255, 0) 100%);
    background: linear-gradient(0deg, #000 0, rgba(255, 255, 255, 0) 100%);
    display: none
}

.header__item_new.slick-active .header__item_new_text .h1 {
    -webkit-animation: 1s ease-out forwards appearInLeft;
    animation: 1s ease-out forwards appearInLeft
}

/* .header__item_new.slick-active .header__item_new_text p { */
.header__item_new.slick-active .header__item_new_text div{
    -webkit-animation: 1s ease-out .2s forwards appearInLeft;
    animation: 1s ease-out .2s forwards appearInLeft
}

.header__item_new-img_banner{
    height: 100%;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    position: absolute;
    top: 0px;
    object-fit: cover
}

.header__item_new_text {
    max-width: 600px;
    color: #fff;
    display: flex;
    flex-direction: column;
    /* padding-bottom: 150px; */
}

.header__item_new_text .h1 {
    -webkit-animation: 1s ease-out forwards dissapearInLeft;
    animation: 1s ease-out forwards dissapearInLeft
}

/* .header__item_new_text p { */
.header__item_new_text div {
    -webkit-animation: 1s ease-out .2s forwards dissapearInLeft;
    animation: 1s ease-out .2s forwards dissapearInLeft
}

.header__item_new_text div:not(.h1){
    font-size: 14px;
    line-height: 20px;
    color: #939393;
}

.header__item_new_logo {
    position: absolute;
    top: 271px;
    right: 23.5%;
    z-index: 10;
    max-width: 318px
}

.item-slider-container{
	display: flex;
	gap: 40px;
    height: inherit;
}

.header__item_new_text a{
    margin-top: auto;
}

/* .header__item_new-banner-img .item-slider-container{
    align-items: flex-end;
} */
.header__item_new-banner-img .header__item_new_text{
    margin-top: 50px;
}

.header__item_right{
	flex: 1;
	z-index: 10;
}

.header__item_right_big{
	flex: 1;
	z-index: 10;
    margin-bottom: 56px;
}

.item-slider-container .h1{
	font-size: 52px;
    line-height: 60px;
    text-transform: uppercase;
	margin-bottom: 32px;
    letter-spacing: 1px;
}

.header__item_new_text div:not(.h1){
/* .item-slider-container p{ */
	font-size: 14px;
    line-height: 20px;
	color: #939393;
    margin-bottom: 32px;
}

.item-slider-container .h1 span{
	color: #FA611F;
}

.header__item_right-info{
    padding: 24px;
    border-radius: 16px;
    background: rgba(44, 44, 44, 0.7);
    z-index: 1;
    position: relative;
    width: 400px;
    margin-left: auto;
    backdrop-filter: blur(10px);
}

.header__item_right-img{
    position: absolute;
    right: 228px;
}

.header__item_right-title{
    font-size: 18px;
    line-height: 18px;
    margin-bottom: 16px;
}

.header__item_right-desc{
    font-size: 14px;
    line-height: 20px;
    color: #939393;
    margin-bottom: 16px;
}

.production-items__label.header__item_right-span{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.production-items__label.header__item_right-span span {
    display: block;
    background: #212121;
    padding: 4px 12px;
    border-radius: 16px;
    width: fit-content;
    font-size: 12px;
    line-height: 16px;
}

/* анимация переключения */
.header__item_new.slick-active .header__item_new_text .h1 {
    -webkit-animation: 1s ease-out forwards appearInLeft;
    animation: 1s ease-out forwards appearInLeft
}

/* .header__item_new.slick-active .header__item_new_text p { */
.header__item_new.slick-active .header__item_new_text div{
    -webkit-animation: 1s ease-out .2s forwards appearInLeft;
    animation: 1s ease-out .2s forwards appearInLeft
}

.header__item_new_text .h1 {
    -webkit-animation: 1s ease-out forwards dissapearInLeft;
    animation: 1s ease-out forwards dissapearInLeft
}

/* .header__item_new_text p { */
.header__item_new_text div{
    -webkit-animation: 1s ease-out .2s forwards dissapearInLeft;
    animation: 1s ease-out .2s forwards dissapearInLeft
}
/* анимация переключения END */

/* точки */
.header__slider_dots {
    position: relative;
    padding-bottom: 10px;
    max-width: 310px;
    margin-top: -30px;
    float: right;
    width: 100%;
    /* margin-right: 51px; */
    margin-right: 0px;
}

.header__slider_dots .slick-dots {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    padding: 0;
    margin: 0
}

.header__slider_dots .slick-dots li {
    -webkit-box-flex: 1;
    -webkit-flex-grow: 1;
    -ms-flex-positive: 1;
    flex-grow: 1
}

.header__slider_dots .slick-dots li:before {
    display: none
}


.header__slider_dots .slick-dots button {
    font-size: 12px;
    font-weight: 500;
    color: #fff;
    -webkit-transition: color .2s;
    -o-transition: color .2s;
    transition: color .2s
}

.header__slider_dots .slick-dots button:hover {
    color: #f9a410
}

.header__slider_dots .slick-dots button:focus {
    outline: 0
}
/* точки */


/* второй вид */
.header__item_right_big{
    width: 100%;
}

.header__item_right_big{
    object-fit: cover;
    height: 343px;
    width: 100%;
}

/* .header__item_new-banner-img .item-slider-container p{ */
.header__item_new_text div:not(.h1){
    width: 538px;
    margin-bottom: 32px;
}

.header__item_right-img_big{
    display: flex;
    justify-content: flex-end;
}

.header__item_right-img_big img{
    border-radius: 16px;
    overflow: hidden;
}

/* второй вид END */
@media(max-width: 1199px){
    .header {
        padding-top: 156px;
    }

    .item-slider-container {
        flex-direction: column;
    }

    .header__item_new {
        /* padding-top: 118px; */
        min-height: 740px;
        max-height: 740px;
    }

    .item-slider-container .h1 {
        font-size: 48px;
        line-height: 56px;
    }

    .header__item_right-img{
        right: -110px;
        top: 185px;
    }

    .header__item_right-info{
        width: 100%;
    }

    .header__slider_dots{
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        bottom: 0px;
    }

    /* .header__item_new_text div:not(.h1){ */
    .header__item_new:not(.header__item_new-banner-img) .header__item_new_text div:not(.h1){
        width: 344px;
        margin-bottom: 124px;
    }

    /* .header__item_new-banner-img .item-slider-container p{ */
    .header__item_new-banner-img .header__item_new_text div:not(.h1){
        width: 100%;
    }

    .header__item_new-banner-img .item-slider-container{
        align-items: flex-start;
    }

    .header__item_new_text{
        max-width: 100%;
    }

    .header__item_right-img_big{
        width: inherit;
    }

    .header__item_right-img_big img{
        object-fit: cover;
        height: 343px;
        width: 100%;
    }
}

@media(max-width: 767px){
    .item-slider-container .h1 {
        font-size: 32px;
        line-height: 40px;
        margin-bottom: 24px;
    }

    /* .item-slider-container p { */
    /* .header__item_new_text div:not(.h1){
        margin-bottom: 124px;
    } */

    .item-slider-container {
        gap: 30px;
    }

    .header__item_new {
        /* padding-top: 100px; */
        min-height: 740px;
        max-height: 740px;
    }

    .header__item_right-img{
        top: 180px;
        right: -163px;
        scale: 0.5;
    }

    .header {
        padding-top: 94px;
        margin-bottom: 60px;
    }

    .header__item_right-img_big img {
        height: 300px;
    }

    .header__item_right_big {
        margin-bottom: 0px;
    }

    .header__item_new-banner-img .header__item_new_text{
        margin-top: 0px;
    }

}
















/* смотреть */
.about_company .header__item_text {
    max-width: none;
}

.about_company .header__item {
    height: auto;
    max-height: none;
    padding-top: 206px;
    min-height: 903px;
}


.about_company .header__item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: -o-radial-gradient(50% 50%, 50% 50%, rgba(7, 25, 34, 0.6) 31%, rgba(5, 16, 21, 0.8) 100%);
    background: radial-gradient(50% 50% at 50% 50%, rgba(7, 25, 34, 0.6) 31%, rgba(5, 16, 21, 0.8) 100%);
}


@media screen and (max-width:1280px) {
	.header__item_logo {
		right: 6.5%
    }
}

@media screen and (max-width:1080px) {
	.header__item:after {
		display: block
    }
	
	.header__item_text {
		max-width: 348px
    }
	
    .header__item_logo {
        max-width: 229px
    }

	.about_company .header__item {
		height: auto;
        max-height: none;
    }
}

@media screen and (max-width:767px) {
	.header__item {
		padding-top: 161px;
        min-height: 563px;
        max-height: 700px
    }
	
    .header__item_logo {
        top: 170px
    }

	.about_company .header__item {
        min-height: 988px;
    }
}

@media screen and (max-width:576px) {
	    /* .about_company .header__item_text {
        padding-bottom: 60px;
    } */

	/* .header__slider_dots {
        position: absolute;
        bottom: 39px;
        z-index: 10;
        left: 15px;
        right: 15px;
        float: none;
        width: auto;
        margin-right: 0
    } */

}

