@media only screen and (max-width:1200px){
    #o_nac, #main, #kontakts, #katalog{text-decoration:none; text-align:center; 
        padding:8px 25px; 
        height: 50%;
        width: 100%;
        font-size: 25px;
        }
    .lend {
        width: 100%;
        padding-top: 100px;
    }
    
    
    .p_lend {
        font-size: 40px;
    }
    
    .h_lend {
        font-size: 70px;
    }

    /*  ___________________________________________________________ */

    
    .about {
        margin-bottom: 10%;
    }
    
    .h_about{
        font-size: 50px;
    }
    .p_about{
        font-size: 25px;
    }

    /*  ___________________________________________________________ */

    .planks {

        width: 100%;
        margin-top: 0%;
    }
    
    #planks_wrap {
        margin-left: 5%;
        margin-right: 5%;
    }
    .three_products{
        margin-bottom: 5%;
    }
    
    .product{
        width: 26%;
        margin-left: 4%;
    }
    
    #name {
        font-weight: bold;
        font-size: 15px;
    }

    .product_img {
        height: 60%;
    }
    
    .discription {
        font-size: 15px;
    }
    /*            _______________________________-                      */

    .map {
        width: 700px;
        height: 450px;
    }
    
    .info {
        font-size: 20px;
        padding: 0 1%;
    }

    
}

@media only screen and (max-width:992px){
    #o_nac, #main, #kontakts, #katalog{text-decoration:none; text-align:center; 
        padding:6px 20px; 
        height: 50%;
        width: 100%;
        font-size: 18px;
        
        }
        .logo {
            height: 50%;
        }
        .lend {
            width: 100%;
        }
        
        
        .p_lend {
            font-size: 30px;
        }
        
        .h_lend {
            font-size: 55px;
        }

        .where_lend {
            height: 90px;
            width: 280px;
            font-size: 26px;
        }
        
            /*  ___________________________________________________________ */


        
        .h_about{
            font-size: 40px;
        }
        .p_about{
            font-size: 20px;
        }


    
    

    /*  ___________________________________________________________ */

    .planks {

        width: 100%;
    }
    
    
    
    #name {
        font-weight: bold;
        font-size: 15px;
    }

    .product_img {
        height: 60%;
    }
    
    .discription {
        font-size: 14px;
    }
        /*            _______________________________-                      */

        .map {
            width: 100%;
            height: 580px;
        }
        
        .info {
            font-size: 29px;
            align-items: center;
            justify-content: center;
            margin: auto 0;
        }
        .contact_wrap {
            display: flex;
            flex-direction: column;
        }
}



@media only screen and (max-width:768px){
    #o_nac, #main, #kontakts, #katalog{text-decoration:none; text-align:center; 
        padding:3px 5px; 
        height: auto;
        width: 100%;
        font-size: 13px;
        }
    
    .logo {
        height: 50%;
    }

    .lend {
        width: 100%;
    }
    
    
    .p_lend {
        font-size: 17px;
    }
    
    .h_lend {
        font-size: 35px;
        margin: 0 0;
    }

    .where_lend {
        height: 50px;
        width: 170px;
    }

        
        
        /*  ___________________________________________________________ */


        
        .h_about{
            font-size: 45px;
        }
        .p_about{
            font-size: 22px;
        }
    
        /*  ___________________________________________________________ */
    
        .planks {

            width: 100%;
        }
        
        
        .product{
            width: 26%;
        }
        
        #name {
            font-weight: bold;
            font-size: 12px;
        }
    
        .product_img {
            height: 60%;
        }
        
        .discription {
            font-size: 11px;
        }

        /*            _______________________________-                      */

        .map {
            width: 100%;
            height: 450px;
        }
        
        .info {
            font-size: 28px;
            align-items: center;
            justify-content: center;
            margin: auto 0;
        }
    
        .contact_wrap {
            display: flex;
            flex-direction: column;
        }
        .contact {
            padding: 0% 0%;
        }

}

@media only screen and (max-width:480px){
    #o_nac, #main, #kontakts, #katalog{text-decoration:none; text-align:center; 
        padding:4px 9px; 
        height: 50%;
        width: 100%;
        font-size: 10px;
        }
    .logo {
        height: 40%;
    }

    .lend {
        width: 100%;
        padding: 5% 0;
    }

    
    
    .p_lend {
        font-size: 20px;
    }
    
    .h_lend {
        font-size: 40px;
    }

    .where_lend {
        height: 30px;
        width: 100px;
        font-size: 12px;
    }

        
    
        /*  ___________________________________________________________ */  
        
        .h_about{
            font-size: 30px;
        }
        .p_about{
            font-size: 15px;
        }
    
        /*  ___________________________________________________________ */
    
        .planks {

            width: 100%;
        }
        
        .three_products{
            flex-direction: column;
            justify-content: center;
            margin-top: auto 0;
        }
        
        .product{   
            width: 90%;
            margin-bottom: 5%;
        }
        
        #name {
            font-size: 25px;
        }
    
        .product_img {
            height: 65%;
        }
        
        .discription {
            font-size: 22px;
        }

        .info {
            margin: 5%;
            margin-top: 8%;
            font-size: 13px;
        }
        /*            _______________________________-                      */

        .map {
            width: 100%;
            height: 450px;
            margin: auto 0;
        }
        
        .info {
            font-size: 27px;
            align-items: center;
            justify-content: center;
            margin: auto 0;
        }
    
        .contact_wrap {
            display: flex;
            flex-direction: column;
        }
 
}
@media only screen and (max-width:400px){
    #o_nac, #main, #kontakts, #katalog{text-decoration:none; text-align:center; 
        padding:4px 9px; 
        height: 50%;
        width: 100%;
        font-size: 9px;
        }
    .logo {
        height: 40%;
    }

    .lend {
        width: 100%;
    }
    
    
    .p_lend {
        font-size: 15px;
    }
    
    .h_lend {
        font-size: 28px;
    }

    .where_lend {
        height: 30px;
        width: 80px;
        font-size: 10px;
    }

        
    
        /*  ___________________________________________________________ */

        
        
        .h_about{
            font-size: 28px;
        }
        .p_about{
            font-size: 13px;
        }
    
        /*  ___________________________________________________________ */
    
        .planks {

            width: 100%;
        }
        
        .three_products{
            flex-direction: column;
            justify-content: center;
            margin-top: auto 0;
        }
        
        .product{   
            width: 90%;
            margin-left: 4%;
            margin-bottom: 5%;
        }
        
        #name {
            font-size: 19px;
        }
    
        .product_img {
            height: 65%;
        }
        
        .discription {
            font-size: 15px;
        }

        .info {
            margin: 5%;
            margin-top: 8%;
            font-size: 12px;
        }
        /*            _______________________________-                      */

        .map {
            width: 100%;
            height: 450px;
            margin: auto 0;
        }
        
        .info {
            font-size: 27px;
            align-items: center;
            justify-content: center;
            margin: auto 0;
        }
    
        .contacts {
            height: 800px;
        }
        .contact_wrap {
            display: flex;
            flex-direction: column;
        }
 
}
@media only screen and (max-width:320px){
    #o_nac, #main, #kontakts, #katalog{text-decoration:none; text-align:center; 
        padding:3px 6px; 
        height: 30%;
        width: 100%;
        font-size: 8px;
        }
    .logo {
        height: 40%;
    }

    .lend {
        width: 100%;
    }
    
    
    .p_lend {
        font-size: 15px;
    }
    
    .h_lend {
        font-size: 28px;
    }

    .where_lend {
        height: 30px;
        width: 90px;
        font-size: 11px;
    }

        
    /*  ___________________________________________________________ */



    
    .h_about{
        font-size: 23px;
    }
    .p_about{
        font-size: 18px;
    }
    

        /*  ___________________________________________________________ */
    
        .planks {

            width: 100%;
        }
        
        .three_products{
            flex-direction: column;
            justify-content: center;

        }
        
        .product{   
            width: 90%;
        }
        
        #name {
            font-size: 18px;
        }
    
        .product_img {
            height: 65%;
        }
        
        .discription {
            font-size: 16px;
        }

        /*            _______________________________-                      */

        .map {
            width: 100%;
            height: 550px;
            margin: auto 0;
        }
        
        .info {
            font-size: 25px;
            align-items: center;
            justify-content: center;
            margin: auto 0;
        }
    
        .contacts {
            height: 800px;
        }
        .contact_wrap {
            display: flex;
            flex-direction: column;
        }       
}
@media only screen and (max-width:300px){
    #o_nac, #main, #kontakts, #katalog{text-decoration:none; text-align:center; 
        padding:2px 4px; 
        height: 30%;
        width: 100%;
        font-size: 7px;
        }
    .logo {
        height: 40%;
    }

    .lend {
        width: 100%;
    }
    
    
    .p_lend {
        font-size: 11px;
    }
    
    .h_lend {
        font-size: 20px;
    }

    .where_lend {
        height: 30px;
        width: 90px;
        font-size: 11px;
    }
s
        
    /*  ___________________________________________________________ */
    
    .h_about{
        font-size: 20px;
    }
    .p_about{
        font-size: 15px;
    }
    

        /*  ___________________________________________________________ */
    
        .planks {

            width: 100%;
        }
        
        .three_products{
            flex-direction: column;
            justify-content: center;
        }
        
        .product{   
            width: 90%;
        }
        
        #name {
            font-size: 18px;
        }
    
        .product_img {
            height: 65%;
        }
        
        .discription {
            font-size: 13px;
        }

        /*            _______________________________-                      */

        .map {
            width: 100%;
            height: 550px;
            margin: auto 0;
        }
        
        .info {
            font-size: 23px;
            align-items: center;
            justify-content: center;
            margin: auto 0;
        }
    
        .contacts {
            height: 800px;
        }
        .contact_wrap {
            display: flex;
            flex-direction: column;
        }       
}

