.custom_size{
    width: 550px !important;
}
.custom_main_title, custom_main_subtitle{
    display: none;
}
@media screen and (max-width: 1450px) {
    .custom_size{
        width: 470px !important;
    }
}
@media screen and (max-width: 1250px) {
    .custom_size{
        width: 400px !important;
    }
}
@media screen and (max-width: 1200px) {
    .custom_size{
        width: 400px !important;
    }
}
@media screen and (min-width: 960px) and (max-width: 1100px) {
    .custom_size{
        width: 300px !important;
        height: 500px !important;
        margin-top: 180px;
    }
}
@media screen and (max-width: 500px) {
    .custom_size{
        width: 300px !important;
    }
}
@media screen and (min-width: 960px) and (max-width: 1199px) {
    .title_aboutcompany {
        top: 160px !important;
    }
    .custom-footer {
        position: relative;
        top: 80px;
        right: 10%;
    }
    .custom_main_title, custom_main_subtitle {
        display: block;
    }
    .custom_main_none {
        display: none;
    }
    .custom_main_title {
        color: #e56028;
        font-size: 62px;
        font-family: "PosterizerKG", Arial, sans-serif;
        line-height: 1.55;
        font-weight: 700;
        position: relative;
        z-index: 999;
        margin-top: 170px;
        margin-left: 15%;
    }
    .custom_main_subtitle {
        color: #19161a;
        font-size: 18px;
        font-family: "Montserrat", Arial, sans-serif;
        line-height: 1.5;
        font-weight: 400;
        position: relative;
        z-index: 999;
        margin-top: 65px;
        margin-left: 55%;
        max-width: 340px;
    }
    .custom_main_title span {
        color: #6aa72d;
    }
    .main_title_2 {
        margin-left: 25%;
    }
    .main_title_3 {
        margin-left: 15%;
    }
}
@media screen and (min-width: 480px) and (max-width: 639px) {
    .custom-footer {
        position: relative;
        top: 20px;
        right: 13%;
    }
    .custom_main_none {
        display: none;
    }
    .custom_main_title, custom_main_subtitle {
        display: block;
    }
    .custom_main_title {
        color: #e56028;
        font-size: 40px;
        font-family: "PosterizerKG", Arial, sans-serif;
        line-height: 1.15;
        font-weight: 700;
        position: relative;
        z-index: 999;
        margin-top: 80px;
        margin-left: 15%;
    }
    .custom_main_subtitle {
        color: #19161a;
        font-size: 18px;
        font-family: "Montserrat", Arial, sans-serif;
        line-height: 1.15;
        font-weight: 400;
        position: relative;
        z-index: 999;
        margin-top: 40px;
        margin-left: 55%;
        max-width: 340px;
    }
    .custom_main_title span {
        color: #6aa72d;
    }
}


.wehave {
    width: 100%;
    background-color: #3b3b3b;
    position: relative;
    color: white;
    padding: 160px 0;
}
.wehave-container {
    display: grid;
    grid-template-columns: minmax(460px, 834px) minmax(460px, 695px);
    gap: 85px;
    justify-content: center;
    justify-items: center;
}
.wehave-1col {
    width: 100%;
}
.wehave-2col {
    /*padding-right: 15px;*/
}
.collage {
    position: relative;
    width: 100%;
    height: 800px;
    transform-origin: right;
    transform: scale(0.9);
}
.collage-img {
    position: absolute;
    height: auto;
    box-shadow: -68px 53px 140px 0px rgba(0, 0, 0, 0.3);
}

.collage-img:nth-child(1) {
    z-index: 3;
    right: 0;
    top: 0;
    box-shadow: -83px 45px 150px 0px rgba(0, 0, 0, 0.3);
}
.collage-img:nth-child(2) {
    z-index: 2;
    top: 432px;
    right: 11px;
}
.collage-img:nth-child(3) {
    z-index: 3;
    top: 684px;
    right: 337px;
    box-shadow: -68px 53px 140px 0px rgba(0, 0, 0, 0.3);
}
.collage-img:nth-child(4) {
    z-index: 2;
    top: 338px;
    right: 501px;
}
.wehave-title {
    color: #e56028;
    font-size: 55px;
    font-family: "PosterizerKG", Arial, sans-serif;
    line-height: 1.55;
    font-weight: 400;
    margin-top: 135px;
    margin-bottom: 60px;
}
.wehave-container p {
    color: #ffffff;
    font-size: 18px;
    font-family: "Montserrat", Arial, sans-serif;
    line-height: 1.55;
    font-weight: 400;
    margin-bottom: 40px;
    max-width: 680px;
    padding: 0 5px;
}

.scroll-right, scroll-left  {
    transition: transform 0.1s ease;
}

.scroll-right.active, scroll-left.active  {
    transform: translateX(0px);
}



.custom-company {
    right: 30px;
    position: absolute;
}
.custom-company-img {
    position:absolute;
    top:146px;
}
/*.vacancies-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}*/
.vacancies-main-title {
    padding-top: 0px;
    padding-bottom: 0px;
    background-color: #ffffff;
}
.vacancies-card {
    box-shadow: 0px 0px 15px 1px rgba(214, 226, 236, 0.5);
    margin-bottom: 20px;
}
.vacancies-cardtext {
    align-content: center;
    text-align: center;
}
.vacancies-card-inner {
    display: grid;
    justify-content: space-between;
    -webkit-box-align: start;
    align-items: flex-start;
    grid-template-columns: minmax(545px, 645px) minmax(461px, 561px);
    gap: 45px;
    -webkit-box-pack: justify;
}
.vacancies-image {
    height: auto;
    width: 90%;
}
.vacancies-descr {
    box-shadow: 0 4px 30px 0 rgba(42, 38, 72, 0.1);
    background-color: #fff;
    border-radius: 10px;
    padding: 55px 49px 75px;
    height: auto;

    font-family: 'PosterizerKG', Arial, sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #000;
}
.vacancies-title {
    padding-bottom: 80px;
    font-size: 24px;
    text-align: center;
}

.our_production {
    padding-left: 126px;
}


.production-block {
    position: relative;
    width: 100%;
    height: 1050px;
    overflow: hidden;
}
.background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.production-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 73%;
    height: 100%;
    background-color: rgba(15, 15, 15, 0.75);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    /*    opacity: 0;
        right: -100%;
        transition: right 1s ease;*/

    background-color: rgba(15, 15, 15, 0);
    transition: background-color 1s ease;

}
.production-title {
    font-size: 62px;
    font-family: "PosterizerKG", Arial, sans-serif;
    line-height: 1.15;
    font-weight: 400;
    margin-bottom: 20px;
    color: #e56028;
    text-align: center;
    padding-right: 300px;

    transform: translateY(100px);
    opacity: 0;
    transition: transform 1s ease, opacity 1s ease;
}
.production-list {
    padding: 0;
    color: #ffffff;
    font-size: 20px;
    font-family: "Montserrat", Arial, sans-serif;
    line-height: 1.6;
    font-weight: 500;
    margin-left: 240px;
    margin-right: 100px;
    max-width: 750px;

    transform: translateY(100px);
    opacity: 0;
    transition: transform 1s ease, opacity 1s ease;
}

.production-list li {
    font-size: 20px;
    padding-bottom: 5px;
}




@media (max-width: 1700px) {
    .collage {
        transform: scale(0.8);
    }
    .wehave {
        padding: 60px 0 210px;
    }
}
@media (max-width: 1500px) {
    .collage {
        transform: scale(0.65);
    }
}
@media (max-width: 1400px) {
    .our_production {
        padding-left: 0px;
    }
    .production-list {
        margin-right: 100px;
        max-width: 780px;
    }
}
@media (max-width: 1300px) {
    .collage {
        transform: scale(0.6);
    }
}

@media (max-width: 1200px) {
    .vacancies-card {
        -ms-grid-columns: minmax(545px, 645px) 430px;
        grid-template-columns: minmax(545px, 645px) 430px;
    }
    .wehave-container {
        grid-template-columns: minmax(860px, 940px);
        grid-template-areas:
            "text"
            "images";
        gap: 25px;
    }
    .wehave-container p {
        width: auto;
        max-width: 840px;
    }
    .wehave-title {
        margin-top: 0;
        margin-bottom: 25px;
    }
    .collage {
        transform-origin: top center;
        transform: scale(1);
    }
    .wehave-1col {
        grid-area: images;
    }
    .wehave-2col {
        grid-area: text;
    }
    .production-title {
        padding-right: 200px;
    }
    .production-list {
        margin-left: 100px;
        max-width: 780px;
    }
}

@media (max-width: 1100px) {
    .vacancies-card {
        -ms-grid-columns: minmax(545px, 645px) 365px;
        grid-template-columns: minmax(545px, 645px) 365px;
        gap: 40px 35px;
    }

}

@media (max-width: 990px) {
    .vacancies-card {
        -ms-grid-columns: 100%;
        grid-template-columns: 100%;
        justify-items: center;
    }
    .vacancies-main-title {
        padding-top: 230px;
        padding-bottom: 0px;
        background-color: #ffffff;
        font-size: 70px;
    }
    .wehave-container {
        grid-template-columns: minmax(660px, 740px);

    }
    .collage {
        transform: scale(0.75);
        height: 630px;
        padding-left: 30px;
    }
    .production-title {
        padding-right: 0px;
    }
    .production-list {

    }
    .production-overlay{
        width: 100%;
    }
    .production-block {
        height: 950px;
    }
}
@media screen and (max-width: 959px) {
    .custom-company-img {
        position:absolute;
        top:330px;
    }
}

@media (max-width: 800px) {
    .wehave-container {
        grid-template-columns: minmax(500px, 550px);
        gap: 0;
    }
    .scroll-left,
    .scroll-right {
        display: block;
        margin: 0 auto;
        width: 100%;
        height: auto;
    }
    .collage {
        transform: scale(0.65);
        transform-origin: top right;
        height: 530px;
    }
    .production-block {
        height: 1050px;
    }
}
@media (max-width: 700px) {
    .production-list li {
        font-size: 18px;
    }
}
@media (max-width: 600px) {
    .wehave-container {
        grid-template-columns: minmax(350px, 450px);
        gap: 0;
    }
    .scroll-left,
    .scroll-right {
        display: block;
        margin: 0 auto;
        width: 100%;
        height: auto;
    }
    .collage {
        transform: scale(0.48);
        height: 450px;
        padding-left: 0px;
    }

}

@media (max-width: 550px) {
    .production-block {
        height: 1150px;
    }
}
@media (max-width: 500px) {
    .production-title {
        font-size: 50px;
    }
    .production-block {
        height: 1000px;
    }
    .production-list {
        margin: 0 30px;
    }
}

@media screen and (max-width: 479px) {
    .custom-company {
        right: 0px;
        position: absolute;
    }
    .wehave-container {
        grid-template-columns: minmax(150px, 300px);
        gap: 0;
    }
    .collage {
        transform: scale(0.36);
        height: 300px;
        padding-left: 15px;
    }
    .wehave-title {
        font-size: 40px;
        line-height: 1.0;
    }
    .custom-company-img {
        position:absolute;
        top:290px;
    }
    .our_production {
        padding-left: 20px;
    }
    .production-list li {
        font-size: 16px;
    }
    .production-block {
        height: 875px;
    }

}

@media (max-width: 400px) {
    .production-title {
        font-size: 40px;
    }
    .production-block {
        height: 900px;
    }
}
@media (max-width: 350px) {
    .production-block {
        height: 1000px;
    }
}