/* Fonts */
@font-face {
    font-family: "Bahn";
    src: url(../fonts/bahnschrift.ttf) format("truetype");
}

/* CSS Reset */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* main */

body{
    font-family: "Bahn";
}

:root{
    --green: #459d47;
    --dark-green: #2A602C;
    --red: #CD272E;

}
.section{
    padding: 170px 0;
    width: 100%;
    background-color: var(--green);
    color: white;
}

.container{
    padding: 0 470px;
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
}


.link{
    font-size: 20px;
    color: white;
    margin: 0 20px 0 0;
    text-decoration: none;
    z-index: 3;
}

.title{
    font-size: 35px;
    text-align: center;
    margin: 25px 0;
    z-index: 3;
}

.text{
    color: white;
    padding: 12px 0;
    font-size: 18px;
    z-index: 3;
}

.but{
    display: none;
    background-color: rgba(0, 0, 0, 0.25);
    padding: 0;
    border: 0;
    z-index: 3;
}

/* menu section */

.menu__section{
    padding: 0;
    position: fixed;
    z-index: 5;
}

.menu__container{
    padding: 0 200px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.logo_img{
    width: 160px;
    height: 100px;
    padding: 10px 20px;
}

/* banner section */

.banner__section{
    display: flex;
    
    padding: 0;
    background: url(../img/background_big.webp);
    background-position: center center;
    background-size: cover;
    height: 100vh;
}

.banner__section:after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0, 0.25);
    background-size: center center;
    z-index: 2;
}

.banner__container{
    background-color: #ffffff00;
    flex-direction: column;
    padding: 0;
    
}

.banner__title{
    font-size: 128px;
    margin: 25px 0;
}

.red{
    color: var(--red);
}

.banner__text{
    font-size: 32px;
    width: 50%;
    text-align: center;
    margin: 0 0 20px 0;
}

.call__link{
    font-size: 20px;
    padding: 10px 20px;
    background-color: var(--green);
    border-radius: 7px;
}

/*  about compan section */

.about_compan__section{
    background-color: white;
}

.about_compan__container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    background: white;
    color: black;
}

.text__about_comp{
    color: black;
    text-align: center;
}

/*  production section 1*/

.production__section{
    background: url(../img/wood_big.webp);
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
}

.production__container{
    padding: 0 150px;

    flex-direction: column;
    align-items: flex-start;
}

.logo_img2{
    width: 130px;
    height: 135px;
}

.product__text{
    width: 48%; 
}
/* production  container 2*/
.production2__container{
    padding: 0 150px;
    margin: 100px 0 0;
    width: 100%;
    
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: nowrap;
}

.wrap{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;


    padding: 20px;
    width: 30%;
    background: rgba(0, 0, 0, 0.65);
}

.wood__img{
    width: 120px;
    height: 120px;
}

.prod__title{
    font-size: 25px;
    margin: 25px 0;
}


/* advant. section */
.advant__container{
    padding: 0 150px;
    flex-direction: column;
}

.advant__title{
    padding: 0 250px;
}

.main__wrap{
    width: 100%;

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

.advant__wrap{
    margin: 35px 0 0;
    background: white;
    border-radius: 6px;
    width: 22%;

    align-items: flex-start;

}

.advant2__title{
    color: var(--dark-green);
    font-size: 34px;
    font-weight: 300;
}

.advant__text{
    color: black;
    text-align: start;
    font-size: 20px;
    padding: 15px 0 40px;
}

/* spec section */
.spec__section{
    background-color: white;
    padding: 170px 0;
}
.spec__container{
    padding: 0 150px;
    margin: 0 20px 0 0;

    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.spec__wrap{
    padding: 20px 0;
    background-color: rgba(0, 0, 0, 0);
    border-bottom: 2px solid var(--green);

    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    width: 95%;
}

.spec2__wrap{
    background-color: rgba(0, 0, 0, 0);
    justify-content: end;
    border-bottom: none;
}

.spec__title{
    color: var(--dark-green);
    text-align: start;
    font-weight: 700;
    font-size: 35px;
    margin: 25px 0;
    width: 40%;
}

.spec2__title{
    font-weight: 500;
    font-size: 26px;
    margin: 0;
}

.spec__text{
    color: black;
    text-align: right;
    padding: 0;
    margin: 0 0 25px;
}

.spec__link{
    color: var(--green);
    border: 2px solid var(--green);
    border-radius: 5px;
    padding: 10px 20px;
    margin: 0 5px;
}

.spec2__link{
    color: white;
    background: var(--green);
    border-radius: 5px;
    padding: 10px 20px;
    margin: 0 5px;
}

/* footer section */
.footer__section{
    background: url(../img/wood.jpg);
    background-size: cover;
    padding: 7px;

    display: flex;
    flex-direction: row;


}

.footer__container{
    width: 50%;
    background-color: white;
    padding: 120px;

    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.footer2__container{
    width: 50%;
    background-color: rgba(0, 0, 0, 0);
    padding: 120px;

    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.footer__title{
    color: black;
    padding: 0;
    margin: 25px 0;
}

.footer2__title{
    color: white;
    padding: 0;
    margin: 25px 0;
}

.footer__text{
    color: black;
    padding: 0;
    padding: 0;
    margin: 0 0 25px;
}

.tel_and_mail{
    color: white;
    text-decoration: none;
    font-size: 20px;
}

.footer2__text{
    padding: 0;
    color: white;
    margin: 0 0 25px;
}

.footer_h3__title{
    font-size: 28px;
}





@media (max-width: 1650px){
    .menu__container{
        padding: 0 100px;
    }

    .banner__title{
        font-size: 100px;
    }

    .banner__text{
        font-size: 28px;
    }

    .advant__title{
        padding: 0 100px;
    }
}

@media (max-width: 1450px){
    .menu__container{
        flex-direction: column;
    }

    .menu__container{
        margin: 0 0 20px;
    }

    .about_compan__container{
        padding: 0 330px;
    }
    .product__text{
        width: 65%;
    }

    .footer__container{
        padding: 70px;
    }

    .footer2__container{
        padding: 70px;
    }
}

@media (max-width: 1150px){


    .menu__container{
        display: flex;
        flex-direction: row-reverse;
        justify-content: space-between;
        align-items: center;

        margin: 0;
    }

    .but{
        display: block;
    }

    .menu{
        display: none;
    }

    .banner__title{
        font-size: 84px;
    }

    .banner__text{
        font-size: 25px;
    }

    .call__link{
        font-size: 18px;
        padding: 8px 16px;
    }

    .about_compan__container{
        padding: 0 140px;
    }

    .advant__wrap{
        width: 48%;
    }

    .advant__title{
        padding: 0 20px;
    }
}

    @media (max-width: 850px){
        .menu__container{
            padding: 0 50px;
        }

        .banner__title{
            font-size: 65px;
        }

        .banner__text{
            font-size: 20px;
        }

        .production__container{
            padding: 0 80px;
        }

        .product__text{
            width: 90%;
        }

        .production2__container{
            padding: 0 80px;
        }

        .production2__container{
            flex-wrap: wrap;
        }

        .prod__wrap{
            width: 48.5%;
            margin-bottom: 20px;
        }

        .prod__wrap:last-child{
            width: 100%;
            margin: 0;
        }

        .advant__container{
            padding: 0 80px;
        }

        .spec__container{
            padding: 0 80px;
        }

        .spec__wrap{
            flex-direction: column;
            justify-content: flex-start;
            align-items: center;
        }

        .spec2__title{
            width: 100%;
            margin: 0 0 20px
        }

        .spec__text{
            width: 100%;
            text-align: left;
        }

        .spec2__wrap{
            flex-direction: row;
            justify-content: flex-end;
        }
    }

    @media (max-width: 670px) {
        .title{
            font-size: 25px;
        }

        .text{
            font-size: 16px;
        }

        .banner__title{
            font-size: 50px;
        }

        .banner__text{
            font-size: 16px;
        }

        .call__link{
            font-size: 14px;
            padding: 6px 12px;
        }

        .about_compan__section{
            padding: 65px 0;
        }

        .about_compan__container{
            padding: 0 45px;
        }

        .production__section{
            padding: 65px 0;
        }

        .production__container{
            padding: 0 45px;
        }

        .production2__container{
            padding: 0 45px;
            margin: 40px 0 0;
        }

        .wrap{
            width: 100%;
        }

        .advant__section{
            padding: 65px 0;
        }

        .advant__container{
            padding: 0 45px;
        }

        .spec__section{
            padding: 65px 0
        }

        .spec__container{
            padding: 0 45px;
        }

        .footer__section{
            flex-direction: column;
        }

        .footer__container{
            padding: 30px;
            width: 100%;
        }

        .footer2__container{
            padding: 30px;
            width: 100%;
        }
    }

