*,
*::before,
*::after
{
    padding: 0;
    margin: 0;
    border: 0;
    box-sizing: border-box;
}

a:active,
a {
  text-decoration: none;
  color: whitesmoke;
}

h1,
h2,
h3,
h4,
h5,
h6
{
    font-weight: inherit;
    font-size: inherit;
}

ul,
li,
ol
{
    list-style-type: none;
}

img
{
    vertical-align: top;
}

html,
body
{
    height: 100%;
    line-height: 1;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 14px;
}

.wrapper{
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
}

main{
    flex: 1 1 auto;
}

header{
    width: 100%;
    background-color: #3E282A;
}

[class*='_container']
{
    max-width: 1140px;
    margin: 0px auto;
    padding: 0px 15px;
}

.header_container{
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 60px;
}

.menuBar{
    display: flex;
}

.menuBar > *{
    margin: 0 10px;
    padding: 10px 10px;
}

.menuBar .barItem:nth-child(even){
    border-left: 1px solid rgb(212, 209, 209);
    border-right: 1px solid rgb(212, 209, 209);
    margin: 0;
}

.barItem{
    text-transform: uppercase;
    font-weight: 600;
    flex: 1 1 auto;
}

.barHover{
    padding: 10px;
}

.main_container{
    display: flex;
    flex-direction: column;
}

.gran{
    font-size: 3.2rem;
    color: #2a293e;
}

.introduce{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-basis: 75px;
}

.companyProd{
    padding: 0 10px;
}

.imgLogo{
    max-width: 100px;
}

.companyLogo{
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
}

.contacts{
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding: 10px;
    margin-right: 20px;
}

.msgPhone{
    font-size: 18px;
    padding: 10px 0;
}

.phones{
    display: flex;
    flex-direction: column;
}

.phoneNumb{
    font-weight: 600;
    padding: 5px 0;
    font-size: 16px;
    color: #2a293e;
}

.topImgBlock{
    margin-bottom: 30px;
}

.topImg{
    width: 100%;
    border-radius: 10px;
}

.pageTopInfo{
    display: flex;
    align-items: flex-start;
}

.pageTopInfo > *{
    background-color: #F1EDE4;
    border-radius: 20px;
}

.navBarInfo{
    margin-right: 10px;
}

.langBlock{
    display: flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    position: relative;
    cursor: default;
    color: whitesmoke;
    font-size: 16px;
}

.swapLang{
    display: none;
    position: absolute;
    top: 30px;
    background-color: #3E282A;
    border-radius: 10px;
    border: 1px solid black;
    padding: 10px;
}

.swapLang >*{
    padding: 5px 10px;
}

.curLang{
    transition: 1s;
}

.lang:hover{
    background-color: rgb(123, 115, 115);
    border-radius: 5px;
}

.curLang.active ~ .swapLang{
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.curLang.active .fa-angle-down{
    transform: rotate(180deg);
}

.barInfo{
    display: flex;
    flex-direction: column;
    padding: 20px 30px 20px 20px;
}

.barInfoItem{
    margin: 5px;
    padding: 5px 0;
}

.line{
    position: relative;
    width: fit-content;
}

.products{
    display: flex;
    flex-direction: column;
    padding: 10px;

}

.dropdown{
    padding-bottom: 0;
    margin-bottom: 0;
}

.fa-angle-down{
    transition: .3s;
}

.barInfoItem:hover .fa-angle-down{
    transform: rotate(180deg);
}

.prodItems{
    padding: 10px;
}

.line:after{
    position: absolute;
    bottom: 0;
    right: 0;
    content: "";
    width: 100%;
    height: 2px;
    background-color: #2a293e;
    transform: scaleX(0);
    transition: transform .5s;
    transform-origin: right top;
}

.barItemHover.active{
    color: #F6B300;
    font-size: 18px;
}

.barItemHover{
    color: #2a293e;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 16px;
    padding: 5px 0;
}

.pageDetailInfo{
    display: flex;
    flex-direction: column;
    padding: 30px 25px;
    flex: 1 1 500px;
    min-height: 400px;
    margin-left: 10px;
}

.chapter{
    text-transform: uppercase;
    font-weight: 400;
    font-size: 32px;
    color: #F6B300;
    padding: 0 0 20px 0;
    margin: 0 0 20px 0;
}

.caption{
    font-size: 24px;
    padding: 10px 0;
}

.text{
    margin: 10px 0;
    font-size: 16px;
    line-height: 1.5;
    align-self: flex-start;
}

.post_prod{
    display: flex;
    align-items: center;
    flex-direction: column;
}

.linkToDetail{
    color: #F6B300;
}

footer{
    border-top: 5px solid #E7DFD7;
    background-color: #F1EDE4;
    margin-top: 60px;
}

.footer_container{
    min-height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.copyright{
    color: #88837f;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 16px;
}

.cap{
    font-weight: 500;
    font-size: 18px;
}

.postImg{
    padding-bottom: 20px;
    width: 75%;
    margin: 10px 0;
}

.lowWidthdisplay{
    display: none;
}

.phoneBar{
    display: none;
}

.contactUsphone{
    display: none;
}

@keyframes phone{
    from{
        transform: rotate(0deg);
    }
    to{
        transform: rotate(10deg);
    }
}

@media (hover: hover) and (pointer: fine ){
    .barHover:hover{
        background-color: #6C8FB9;
        border-radius: 10px;
        color: #3E282A;
    }
    .line:hover:after{
       transform: scaleX(1);
       transform-origin: left top;
}
}

@media (max-width: 1087px)
{
    [class*='_container']
    {
        max-width: 970px;
    }
}

@media (max-width: 991.98px)
{
    [class*='_container']
    {
        max-width: 750px;
    }

    .topImgBlock{
        margin: 30px 0;
    }

}

@media (max-width: 767.98px) {
    
    [class*='_container']
    {
        max-width: none;
    }

    .introduce{
        justify-content: center;
        margin-top: 20px;
    }

    .companyProd,
    .contacts{
        display: none;
    }

    .contactUsphone{
        position: fixed;
        bottom: 100px;
        right: 20px;
        width: 60px;
        height: 60px;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: #8DD48C;
        border-radius: 100%;
        border: 3px solid rgb(133, 131, 131);
    }

    .fa-phone{
        animation: phone .5s ease-in-out infinite;
        animation-direction:alternate;
    }

    .navBarInfo{
        display: none;
    }

    .menuBar{
        position: absolute;
        top: 0;
        left: -100%;
        background-color: #3E282A;
        width: 100%;
        margin-top: 56px;
        flex-direction: column;
        align-items: center;
        transition: .5s;
        padding: 10px 0;
    }

    .menuBar > *{
        padding: 15px 0;
    }

    .menuBar .barItem:nth-child(even){
        border: none;
    }

    .header_container{
        height: 56px;
        justify-content: space-around;
    }

    .lowWidthdisplay{
        display: block;
    }

    .phoneBar{
        display: flex;
        width: 60px;
        height: 100%;
        justify-content: center;
        align-items: center;
   }

    .x-bar{
        position: relative;
        width: 35px;
        height: 4px;
        background-color: whitesmoke;
    }

    .phoneBar.active ~ .menuBar{
        left: 0;
    }

    .phoneBar.active .x-bar{
        background-color: transparent;
    }

    .phoneBar.active .x-bar::after{
        transform: translate(0, -10px) rotate(-45deg);
    }

    .phoneBar.active .x-bar::before{
        transform: translate(0, 10px) rotate(45deg);
    }

    .pageDetailInfo{
        margin:0;
    }

    .x-bar::after,
    .x-bar::before{
        position: absolute;
        content: "";
        width: 100%;
        height: 4px;
        background-color: whitesmoke;
        transition: .2s;
    }

    .x-bar::after{
        top: 10px;
    }

    .x-bar::before{
        top: -10px;
    }
}