html,
body{
    font-size: 0.85rem;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-image: url(../img/fon.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center center;
}

a{
    display: inline-block;
    text-decoration: none;
    color: black;
    height: 100%;

}

header{
    display:flex;
    align-items: center;
    justify-content: space-between;
    height: 7rem;
    width: 72%;
    
    border-bottom: 1px solid black;
    margin: 0 auto;
    padding: 0 14%;
    background-color: rgba(255, 255, 255, 0.95) !important;
    z-index:2;

}
.logo{   
    display: flex;
    align-items: center;
    width:60%;
}

.logo-pic > img{
    height: 6rem;
}
#h-title{
    font-size: 2rem;
    margin: 0;
    font-weight: 600;
    display: block;
    margin-left: 5%;
    
}
#f-col1> .logo{
    width:100%;
}
h5{
    margin: 0 10px;
    text-align: center;
}
.contact-block{
    padding: .3rem;
    padding-right: 0.55rem;
    direction: rtl;
    letter-spacing: 0.1rem;
    line-height: 1.6rem;
    font-size: 1.4rem;  
    border-right: 1px solid black;
    
}

.menu{
    border-radius: 5px;
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0.3rem 0;
    margin: 10px auto;
    font-size: 1.7rem;
    width: 80%;
    height: 4rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
    /* border-bottom: 1px solid black; */
    background-color: rgba(255, 255, 255, 0.95);
}

.menu-element{
    height: 2.2rem;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    padding: .9;
    

}
.menu-element h1,
.menu-element h2{
    font-size: 1.7rem;
    font-weight: 500;
    margin: 0;
    padding: 0.9;
  
    height: 100%;


}

.menu-element:hover{
    transform: scale(1.1);
    
}

.menu-element__element{
    display: block;
    height: 2.5rem;
    border: 1px solid black;
    font-size: 1.3rem;
    padding: 0;
    padding-top: .8rem;
    text-align: center;
    transition: 0.7s;
    transform: scale(0);
    background-color: rgba(255, 255, 255);
    position: relative;
    top:-1rem;
}
.menu-element__element h3{
    margin: 0;
    padding: 0;
    font-weight: 400;
    font-size: 1.2rem;
}

.menu-element:hover > .menu-element__element{
    transform: scale(1);
}
.under-logo{
    font-size: 1rem;
    position: relative;
    top: -0.5rem;
}


.first{
    margin-top: .9rem;
}

table {
    border-collapse: collapse;
    margin-bottom: 2rem;
}

.content-block{
    border-radius: 8px;
    position: relative;
    z-index: 1;
    min-height: 70%;
    font-size: 1.5rem;
    width: 60%;
    margin: 2rem auto;
    margin-top: 0;
    padding: 2rem 5rem;
    text-align: justify;
    /* border-right: 1px solid black;
    border-left: 1px solid black; */
    line-height: 2.2rem;
    background-color: rgba(255, 255, 255, 0.95);
}
.text-link{
   display: inline;
   text-decoration: underline;
}
/* #main-p{
    width: 100%;
    display: flex;
    height: 20rem;
    margin-bottom: 1rem; 

} */
#main-pic{
    /* margin: auto;
    margin-bottom: 1.5rem; */
    float: left;
    margin: 0 1rem 0rem 0;
   
}
#main{
   height: 21rem;
   border-radius: 5px;
}
.pic-row{
    margin: 1.5rem 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    flex-wrap:wrap;
}

.pic-pow-element{

    height:33vh;
    border-radius: 5px;
    margin:1rem;
}

#pumper > .carousel-item{
    z-index: 2;
    margin: 0;    
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.carousel-pic{
    height: 90%;
    width: 90%;  
}
.part-pic{
    max-height: 13vw;
}
.part{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    margin: 0px;
}
.part-title{
    height: 6rem;
}


#contacts{
    line-height: 2.1rem;
}
@keyframes b{
    0%  { transform: scale(1) }
    90%  { transform: scale(.9) }
    100%{ transform: scale(1.1)}
}


#showButton{
    animation: b 6s cubic-bezier(1,.01,.72,1.03) 3s 2 alternate both;

    display: flex;
    align-items: center;
    justify-content: space-around;
    position: fixed;
    top: 1rem;
    right: 1rem;
    height: 5rem;
    width: 12.5%;

    border-radius: .5rem;
    background-color: rgb(94, 209, 90);
    font-size: 1.8rem;
    z-index: 2;
}
#bg{
    position: fixed;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: #0000008a;
    display: none;
    z-index: 5;

}
form{    
    position: fixed;
    top: 27%;
    right: 35%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30%;
    background-color: #fff;
    display: none;
    z-index: 5;
    border-radius: 5px;
}
form > legend{ 
    font-weight: 300;
    text-align: center;
    padding: 0.5rem;
    font-size: 2.1rem;
    background-color: rgb(0, 230, 153);
    border-radius: 5px 5px 0 0;
}
#hide{
    font-size: 2rem;
    position: absolute;
    top: 3px;
    right: 3px;
}
.form-group{
    margin-bottom: .5rem; 
    margin-left: .5rem;   
}
label{

    font-size: 1.2rem;
    line-height: 1.5rem;
}
input{
    height: 1.6rem;
    font-size: 1.2rem;
}
form button{
    background-color: rgb(0, 230, 153);
    height: 2.1rem;
    font-size: 1.4rem;
    width: 60%;
    border: none;
    margin-bottom: .2rem;
    margin-left: .2rem;
    transition: .3s;
    border-radius: 5px
}
form button:hover{
    background-color: rgb(1, 255, 170);
}

footer{
    position: relative;
    font-size: 1.2rem;
    width: 72%;
    display: flex;
    flex-direction: row;
    z-index:2;
    padding: 0 14%;
    padding-top: 1rem;
    border-top: 1px solid black;
    height: 8rem;
    background-color: rgba(255, 255, 255, 0.9);
}
.f-col{
    width: 28%;
}

#f-col1{
    
    width: 44%
}
#f-col1 > .logo{
    margin-top: -1rem;
}
#f-col2{
    width:31%;
}
#f-col3{
    width:23%;
}
#f-tel{
    height: 3rem;
    font-size: 1.8rem;
    margin: 0;
    display:block;

}

@keyframes peeking{
    0%  { right: -500px; }
    100%{ right: 0px;}
}
 ul li{
    font-weight: 600;
 }
 p #email,
 p #viber,
 p #telegram{
    padding-left: 2.3rem;
}
p #email::after,
p #viber::after,
p #telegram::after{
    content: '';
    position: absolute;
    left: 8rem;
    z-index: 1;
    height: 2rem;
    width: 2rem;
    background-size: 100% 100%;
    border-radius: 50%;
    box-shadow: 0 0 1px black ;
}
p #email::after{
    background-image: url(../img/mail-icon.png);
}
p #telegram::after{
    background-image: url(../img/telegram_icon.png);
}
p #viber::after{
    background-image: url(../img/viber_icon.png);
}



#cow{
    display:none;
    z-index: 3;
    position: fixed;
    top: 7.5rem;
    right: -500px;
    height: 17rem;
    animation: peeking 6s cubic-bezier(.8,0,.2,1) 3s 2 alternate both;
    transition-delay: 5s;
}
@media (max-width: 900px) {
    .menu-element h1,
    .menu-element h2{
        font-size: 1.3rem;
        font-weight: 400;
        margin: 0;
        padding: 0.9;
      
        height: 100%;
    
    
    }

    p #email::after,
    p #viber::after,
    p #telegram::after{
        left: 4rem;
        height: 1.5rem;
        width: 1.5rem;
    

    }

    #bg{
        display:none;
    }
    body{
        margin: 0;
        width: 100%;
    }
    header{
        flex-direction: column;
        flex-wrap: wrap;
        margin: 0;
        width: 100%;
        height: unset;
        padding: 0;
    }
    .logo{
        width: 100%;
        height: unset;
        justify-content: space-around;
        border-bottom: 1px black solid;
    }
    
    .logo-pic{
        height: unset;
        width: 29%;
        margin: 0;
        margin-left: 1%;
        
    }
    .logo > h1{
        font-size: 1.7rem;
        width: 70%;
        margin: 0;
        
    }
    .contact-block{
        width: calc(100% - 10px);
        margin: 0;
        height: unset;
        border: none;
        padding: .5rem 0px;
    }
    
    .menu-element:hover > .menu-element__element{
        transform: scale(0);
    }

    .content-block{
        font-size: 1rem;
        width: calc(100% - 1.2rem);
        padding: .6rem;
        margin: 0;
        border-radius: 0;
    }
    .menu{
        flex-direction: column;
        height: unset;
        width: 100%;
        border-radius: 0;
        margin: 5px 0;
    }
    .menu-element,
    .phone,
    .email{
        margin: 15px 0;
    }
    
    #main{
        height: 90%;
        width: 90%;
    }
   
    .pic-row{
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    .pic-pow-element{
        width: 90%;
        height:unset;
        margin: 0;
        margin-top: 10px;
        align-items: center;
    }
    #cow{
        display: none;
    }
    #showButton{
        display: none;
    }
 
    .part{
        height: 10rem;
    }
    .part-title{
        height: 5.5rem;
        font-size: 1rem;
        line-height: 1.1rem;
    }
   .part-pic{
       transform: rotateY(35deg)
   }
   form{
        right: 2%;
        width: 96%;
    }
    footer{
        display: none;
    }
}
@media (max-width: 320px) {
    .logo-pic{
        display:none;
    }
    header{
        height: 11rem;
        flex-direction: column;
    }
    .contact-block{
        width: unset;
        padding:0;
    }
    .phone,
    .email{
        font-size: 1rem;
        width: unset;
        padding:0;
        margin:0;

    }
}
