/* MainScreen */
body {
    color: #212121;
    font-size: 18px;
}

a {
    text-decoration: none;
    color: inherit;
}

.top-header {
    height: 50px;
    background-color: #2B3035;
    position: fixed;
    width: 100%;
    -webkit-box-shadow: 0px 4px 8px 0px rgba(34, 60, 80, 0.2);
    -moz-box-shadow: 0px 4px 8px 0px rgba(34, 60, 80, 0.2);
    box-shadow: 0px 4px 8px 0px rgba(34, 60, 80, 0.2);
    color: #9FA2A4;
}

.top-header-bools {
    display: grid;
    grid-template-columns: 1fr 2fr 2fr 2fr 1fr;
    grid-auto-rows: 50px;
    align-items: center;
    text-align:center;
}

.navbar-collapse {
    flex-grow: 0;
}

.container {
    max-width: 68%;
}

.main_screen_offer {
    height: auto;
    min-height: 90vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-content: center;
}

.overlay {
    background: rgba(0,0,0,0.2);
}

#main_screen_home {
    background: rgb(255,255,255);
    background: linear-gradient(130deg, rgba(255,255,255,1) 35%, rgba(255,255,255,0) 100%), url('../static/images/main_screen.webp');
    background-size: cover;
    background-repeat: no-repeat;
}

#main_screen_stair {
    background: rgb(255,255,255);
    background: linear-gradient(130deg, rgba(255,255,255,1) 35%, rgba(255,255,255,0) 100%), url('../static/images/main_screen_stair.webp');
    background-size: cover;
    background-repeat: no-repeat;
}

#main_screen_navesy {
    background: rgb(255,255,255);
    background: linear-gradient(130deg, rgba(255,255,255,1) 35%, rgba(255,255,255,0) 100%), url('../static/images/naves.webp');
    background-size: cover;
    background-repeat: no-repeat;
}

#main_screen_fence {
    background: rgb(255,255,255);
    background: linear-gradient(130deg, rgba(255,255,255,1) 35%, rgba(255,255,255,0) 100%), url('../static/images/main_zabor.webp');
    background-size: cover;
    background-repeat: no-repeat;
}

#main_screen_pergola {
    background: rgb(255,255,255);
    background: linear-gradient(130deg, rgba(255,255,255,1) 35%, rgba(255,255,255,0) 100%), url('../static/images/main_pergola.webp');
    background-size: cover;
    background-repeat: no-repeat;
}

#main_screen_porch {
    background: rgb(255,255,255);
    background: linear-gradient(130deg, rgba(255,255,255,1) 35%, rgba(255,255,255,0) 100%), url('../static/images/porch_new.jpg');
    background-size: cover;
    background-repeat: no-repeat;

}

.digits {
    max-width: 80%;
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    /*align-items: center;*/
}

.digits > div.item > div.item_number {
    color: #01695f;
    font-size: 50px;
    font-weight: 700;
}

.h1_txt {
    text-transform: uppercase;
    margin: 20px 0 10px 0;
    letter-spacing: 0.2em;
}

.h1_txt > h1 {
    font-weight: bold;
    color: #2B3035;
}

.h3_txt > h3 {
    font-size: 1.1em;
    color: #2B3035;
    margin: 2em 0;
    line-height: 1.4em;
}

.fs-light {
    font-weight: lighter;
}

.main_btn {
    display: block;
    max-width: 100%;
}

.btn_border  {
    padding: 30px;
    border: 2px solid #01695f;
}

.main_btn > a > button {
    margin: 30px 0;
}

.btn_primary {
    border: 4px solid #01695f;
    background-color: #01695f;
    color: #fff;
    padding: 10px 60px;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.btn_primary:hover {
    background-color: transparent;
    padding: 10px 60px;
    color: #000;
}

/*SecondScreen*/

#big_txt {
    max-width: 68%;
    margin: 140px auto;
}

h2 {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 40px;
}


.home_bools {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 60px;
    grid-auto-rows: auto;
    margin-bottom: 30px;
}

.home_bools > div >  h5 {
    margin: 20px 0;
}

.img_bools {
    width: 70px;
}

.hor_separator {
    height: 2px;
    width: 400px;
    background-color: #01695f;
    margin: 20px 0 20px 0;
}


#WhatWeDo {
    background-color: #EBECED;
    height: auto;
}

.whatwedo_bools {
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 60px;
    grid-auto-rows: auto;
    margin-bottom: 20px;
    padding: 40px 0 140px 0;
}

.whatwedo_bools > div > h5 {
    margin: 10px 0;
}

.container > h2 {
    padding: 140px 0 20px 0;
}


#OurProjects {
    height: auto;
    padding-bottom: 140px;
}

.projects_images {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 70px 0;
}

.projects_images > img {
    max-width: 300px;
    width: 100%;

}


#SomeBulletins {
    background-color: #2B3035;
    color: #F8F9FA;
}

.big_int {
    font-size: 50px;
    font-weight: 700;
    color: #01695f;
}

.types_product {
    margin: 40px 0 20px 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 30px;
}
.types_product_img > img {
    max-width: 100%;
    margin-bottom: 40px;
    box-shadow: 0px 4px 8px 0px rgba(34, 60, 80, 0.2);
}

.types_product_name {
    font-size: 24px;
}

.types_product_price {
    font-weight: 700;
    color: #01695f;
}

.btn_types {
    border: 4px solid #01695f;
    background-color: #01695f;
    color: #fff;
    padding: 10px 60px;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.btn_types:hover {
    background-color: transparent;
    padding: 10px 60px;
    color: #000;
}

#Advantages {
    background-color: #EBECED;
    height: auto;
}

.advantages_bools {
    display: grid;
    grid-template-columns: 2fr 3fr 2fr;
    grid-gap: 30px;
    padding: 50px 0 140px 0;
    text-align: justify;
}

.mgb-60 {
    display: inline-block;
    margin-bottom: 60px;
}


.mgb-40 {
    display: block;
    margin-bottom: 40px;
}

.mgb-20 {
    display: block;
    margin-bottom: 20px;
}

.message {
    margin: 200px 0;
    padding: 20px;
    border: 3px solid #01695F;
}

.message > a {
    font-weight: 800;

}
.advantages_img {
    display: block;
    margin: 0 auto;
    max-width: 80%;
    box-shadow: 0px 4px 8px 0px rgba(34, 60, 80, 0.2);
}


#WhyTheyBuy {
    margin-bottom: 140px;
}
.form_and_txt {
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-column-gap: 30px;
}

.projects {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 40px;
    grid-auto-rows: auto;
}

.projects > img {
    width: 100%;
    box-shadow: 0px 4px 8px 0px rgba(34, 60, 80, 0.2);
}


#Production {
    height: auto;
    margin: 100px 0 150px 0;
}

#Production > div > h2 {
    margin-bottom: 0;

}

.h2_block_90 {
    transform-origin: -2em 7em;
    transform: rotate(90deg);
}

.h2_block_90 > h2 {
    font-size: 34px;
}

.production-map {
    display: grid;
    grid-template-columns: 1fr 3fr;
    grid-auto-rows: auto;
    margin: 70px 0;
}


.new-carousel {
    display: grid;
    grid-template-columns: 1fr 3fr;
    grid-column-gap: 40px;
}

.production_block {
    display: grid;
    align-items: center;
}

.production_block > span > h5 {
    text-transform: uppercase;
}

.production_block > span > img {
    max-width: 80%;
    box-shadow: 0px 4px 8px 0px rgba(34, 60, 80, 0.2);
}

@keyframes move {
	from {
		margin-left: 300px;
	}
	to {
		margin-left: 600px;
	}
}

.hand_move {
    position: relative;
    top: 450px;
	animation-direction: alternate-reverse;
	animation-duration: 2s;
	animation-name: move;
	animation-iteration-count: infinite;
	animation-timing-function: linear;
	width: 5em;
	height: 5em;
}

.hand_move > img {
    width: inherit;

}

#TextManager {
    background-color: #EBECED;
    height: auto;
    padding: 140px 0;

}

.tm_content {
    display: grid;
    grid-template-columns: 3fr 2fr;

}

.tm_heading {
    font-size: 34px;
    margin-bottom: 20px;
}

.tm_description {
    font-size: 20px;

}

.tm_content_manager > img {
    max-width: 100%;
    border-radius: 10%;
    box-shadow: 0px 4px 8px 0px rgba(34, 60, 80, 0.2);
}


.contacts_info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 150px;
}

.contacts_info_txt_name {
    color: #01695f;
    margin-bottom: 0.2rem;
}

.contacts_info_map {
    max-width: 100%
}


.reviews {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 40px;
    margin-bottom: 150px;
}


@media screen and (max-width: 1024px) {

    .new-carousel {
        grid-template-columns: none;
    }

    .top-header-bools {
        grid-template-columns: 1fr 1fr;
    }

    .mobile-hidden {
        display: none;
    }

    .digits {
        grid-gap: 40px;
    }

    .home_bools {
        grid-template-columns: none;
        justify-content: center;
    }

    .whatwedo_bools {
        grid-template-columns: 1fr 1fr;
    }

    .projects_images {
        grid-template-columns: 1fr 1fr;
        grid-gap: 40px;
    }

    .types_product {
        grid-template-columns: none;
    }

    .types_product_text {
        margin-bottom: 5rem;
    }

    .advantages_bools {
        grid-template-columns: none;
    }

    .projects {
        grid-template-columns: 1fr 1fr;
    }

    .tm_content {
        grid-template-columns: none;
    }

    .tm_content_manager {
        grid-row: 1;
    }
}


@media screen and (max-width: 768px) {
    
    .main_btn {
        max-width: 100%;
    }


    .form_and_txt {
        grid-template-columns: none;
    }
    
}


@media screen and (max-width: 500px) {

    .top-header-bools {
        justify-content: center;
        grid-template-columns: none;
    }
    .phone-hidden {
        display: none;
    }

    .digits {
        display: none;
    }

    .projects {
        grid-template-columns: none;
    }

    .btn_types {
        padding: 10px 30px;
    }

    .whatwedo_bools {
        grid-template-columns: none;
    }

    .projects_images {
        grid-template-columns: none;
    }

    .reviews {
        grid-template-columns: none;
    }

    .contacts_info {
        grid-template-columns: none;
    }
    
    .hor_separator {
        width: 100%;
    }
    
    #big_txt {
        max-width: 90%;
    }

    .container {
        max-width: 90%;
    }

    .box1 {
        grid-row: 2;
    }

    .box2 {
        grid-row: 1;
    }
    
    .fs-light {
        font-size: 0.8em;
    }

    
}