
    div#main-menu {
        width: 25px;
        height: 25px;
        float: right;
        border-radius: 8px;
        background: #ffffff;
        background-size: contain;
        z-index: 10;
        position: relative;
        border: 1px solid white;
        box-shadow: 1px 1px 10px 3px #c5c5c51a;
    }

    div#main-menu1 {
        position: fixed;
        top: 0px;
        left:50px;
        height: 100%;
        width: 300px;
        transition: 0.5s all;
        z-index: 10;
        background: #01011c;
    }

    .visible:after {
        position:fixed;
        content:"";
        width: calc(100vw - 00px);
        height: 100vh;
        left: 0px;
        top: 0px;
        z-index: 8;
        background: #00000085;
    }

     .block1 {
        text-align: left;
        display: flex;
        flex-direction: column;
        margin-bottom: 40px;
    }

    .block1 a {
        padding: 10px;
        margin: 5px;
        margin-left: 10px;
        margin-right: 0px;
        background: #0c348c8a;
        color: white;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.26);
        cursor: pointer;
        border-radius: 5px 0px 0px 5px;
        text-decoration: none;
    }

    .block1 a:hover {
        background:#0c348c;
    }   
    div#main-menu:hover {
        cursor: pointer;
    }

    .menu-icon:hover {
        background-image: url(/wp-content/themes/twentytwentyone/img/main/menu100x100h.png) !important;
    }

    .menu-icon {
        background-image: url(/wp-content/themes/twentytwentyone/img/main/menu100x100.png) !important;
        width: 25px;
        height: 25px;
        border-radius: 8px;
        background: #ffffff;
        background-size: contain;
    }

    .vk-icon:hover {
        background-image: url(/wp-content/themes/twentytwentyone/img/main/vk100x100h.png) !important;
    }

    .vk-icon {
        background-image: url(/wp-content/themes/twentytwentyone/img/main/vk100x100.png) !important;
    }

    .vk-icon:hover:after {
        content: "ВКонтакте";
        position: absolute;
        top: 2px;
        padding: 3px;
        left: 30px;
        height: calc(100% - 10px);
        width:fit-content;
        color:#ffffff;
        font-weight:600;    
        background:#0c348c;
        border-radius:5px;
        z-index:14;
        font-size:12px;
    }

    .menu-icon:hover:after {
        content: "Меню";
        position: absolute;
        top: 2px;
        padding: 3px;
        left: 30px;
        height: calc(100% - 10px);
        width:fit-content;
        color:#ffffff;
        font-weight:600;    
        background:#0c348c;
        border-radius:5px;
        z-index:14;
        font-size:12px;
    }

    .news-icon:hover:after {
        content: "Новости";
        position: absolute;
        top: 2px;
        padding: 3px;
        left: 30px;
        height: calc(100% - 10px);
        width:fit-content;
        color:#ffffff;
        font-weight:600;    
        background:#0c348c;
        border-radius:5px;
        z-index:14;
        font-size:12px;
    }

    .z-index9 {
        z-index: 9 !important;
    }

    .news-icon {
        background-image: url(//par-all-ax.ru/wp-content/themes/twentytwentyone/img/main/news100x100.png) !important;
    }

    .news-icon:hover {
        background-image: url(//par-all-ax.ru/wp-content/themes/twentytwentyone/img/main/news100x100h.png) !important;
    }

        div#button-menu {
            width: 60px;
            height: 60px;
            padding: 10px;
            border-radius: 50% 0px 0px 50%;
            background: #000000;
            right: 0px;
            background-size: contain;
            z-index: 16;
            position: absolute;
            box-shadow: 1px 1px 10px 3px #c5c5c51a;
        }

        div#button-menu:hover {
            cursor:pointer;
        }

        .settings {
            background: url(/wp-content/themes/twentytwentyone/img/main/mainmain100.png);
            width: 60px;
            height: 60px;
            background-size: 110%;
            background-position: center;
        }

        .settings:hover {
            cursor: pointer;
        }

        .body {
            display: flex;
            align-items: stretch;
            min-height: min-content;
            background: #e7ebf3;
            font-family: 'Arial', sans-serif;
            max-width: 100vw;
            box-shadow: 0px 0px 40px 40px #e7ebf3;
            width: 100vw;
            position: absolute;
            justify-content: center;
            z-index: 14;
            transition: opacity 0.3s ease, transform 0.3s ease;
        }

        .grid-block {
            display: grid;
            grid-template-columns: repeat(22, 60px);
            grid-template-rows: repeat(14, 60px);
            aspect-ratio: 22 / 14;
        }

        .grid-elem {
            position: relative;
            visibility: visible;
            opacity:0.3;
            transition: opacity 0.3s;
        }

        .grid-elem:hover {

        }

        .grid-elem span {
            background: white;
            border-radius: 5px;
        }

        .grid-elem:before {
            content: "";
            position: absolute;
            top: 0px;
            left: 0px;
            width: 100%;
            height: 100%;
            background: url(/wp-content/themes/twentytwentyone/img/bg-pass-item.png);
            background-size: 100%;
            transition: all 1s;
            opacity: 0.2;
        }

        .grid-elem:hover:before {
            transform: rotate(360deg);
            background: url(/wp-content/themes/twentytwentyone/img/bg-active-item.png);
            background-size: 100%;  
            opacity: 0.7;        
         }

        .icon {
            position: absolute;
            display: block;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 60%;
            border-radius: 50%;
            height: 60%;
            background-size: contain;
            box-shadow: 0px 0px 20px 20px #ffffff;
        } 

        .grid-elem .icon {
            width: 50%;       
            height: 50%;                 
        }

        .level-2 >.icon {
            box-shadow: 0px 0px 15px 15px #ffffff;
        }  

        .hidden {
            display: none;
            opacity: 0;
            transform: scale(0.9);
            pointer-events: none;
        }      

      .icon-1 {background-image: url("/wp-content/themes/twentytwentyone/img/main/1.jpg");}
      .icon-2 {background-image: url("/wp-content/themes/twentytwentyone/img/main/2.jpg");}
      .icon-3 {background-image: url("/wp-content/themes/twentytwentyone/img/main/3.jpg");}
      .icon-4 {background-image: url("/wp-content/themes/twentytwentyone/img/main/4.jpg");}
      .icon-5 {background-image: url("/wp-content/themes/twentytwentyone/img/main/5.jpg");}
      .icon-6 {background-image: url("/wp-content/themes/twentytwentyone/img/main/6.jpg");}
      .icon-7 {background-image: url("/wp-content/themes/twentytwentyone/img/main/7.jpg");}
      .icon-8 {background-image: url("/wp-content/themes/twentytwentyone/img/main/8.jpg");}
      .icon-9 {background-image: url("/wp-content/themes/twentytwentyone/img/main/9.jpg");}
      .icon-10 {background-image: url("/wp-content/themes/twentytwentyone/img/main/10.jpg");}
      .icon-11 {background-image: url("/wp-content/themes/twentytwentyone/img/main/11.jpg");}
      .icon-12 {background-image: url("/wp-content/themes/twentytwentyone/img/main/12.jpg");}
      .icon-13 {background-image: url("/wp-content/themes/twentytwentyone/img/main/13.png");}
      .icon-14 {background-image: url("/wp-content/themes/twentytwentyone/img/main/14.png");}
      .icon-15 {background-image: url("/wp-content/themes/twentytwentyone/img/main/15.png");}
      .icon-16 {background-image: url("/wp-content/themes/twentytwentyone/img/main/16.png");}
      .icon-17 {background-image: url("/wp-content/themes/twentytwentyone/img/main/17.png");}
      .icon-18 {background-image: url("/wp-content/themes/twentytwentyone/img/main/18.png");}

      .icon-20 {background-image: url("/wp-content/themes/twentytwentyone/img/main/20.png");}
      .icon-21 {background-image: url("/wp-content/themes/twentytwentyone/img/main/21.png");}      
      .icon-22 {background-image: url("/wp-content/themes/twentytwentyone/img/main/22.png");}      
      .icon-23 {background-image: url("/wp-content/themes/twentytwentyone/img/main/23.png");}   

      .icon-24 {background-image: url("/wp-content/themes/twentytwentyone/img/main/24.png");}
      .icon-25 {background-image: url("/wp-content/themes/twentytwentyone/img/main/25.png");}      
      .icon-26 {background-image: url("/wp-content/themes/twentytwentyone/img/main/26.png");}      
      .icon-27 {background-image: url("/wp-content/themes/twentytwentyone/img/main/27.png");}          
      .icon-28 {background-image: url("/wp-content/themes/twentytwentyone/img/main/28.png");}
      .icon-29 {background-image: url("/wp-content/themes/twentytwentyone/img/main/29.png");}      
      .icon-30 {background-image: url("/wp-content/themes/twentytwentyone/img/main/30.png");}      
      .icon-31 {background-image: url("/wp-content/themes/twentytwentyone/img/main/31.png");}    
      .icon-32 {background-image: url("/wp-content/themes/twentytwentyone/img/main/32.png");}   
      .icon-33 {background-image: url("/wp-content/themes/twentytwentyone/img/main/33.png");}      
      .icon-34 {background-image: url("/wp-content/themes/twentytwentyone/img/main/34.png");}    
      .icon-35 {background-image: url("/wp-content/themes/twentytwentyone/img/main/35.png");}        

      .level-1:hover .icon-1, .level-2:hover .icon-1 {background-image: url("/wp-content/themes/twentytwentyone/img/main/1active.jpg");}
      .level-1:hover .icon-2, .level-2:hover .icon-2 {background-image: url("/wp-content/themes/twentytwentyone/img/main/2active.jpg");}
      .level-1:hover .icon-3, .level-2:hover .icon-3 {background-image: url("/wp-content/themes/twentytwentyone/img/main/3active.jpg");}
      .level-1:hover .icon-4, .level-2:hover .icon-4 {background-image: url("/wp-content/themes/twentytwentyone/img/main/4active.jpg");}
      .level-1:hover .icon-5, .level-2:hover .icon-5 {background-image: url("/wp-content/themes/twentytwentyone/img/main/5active.jpg");}
      .level-1:hover .icon-6, .level-2:hover .icon-6 {background-image: url("/wp-content/themes/twentytwentyone/img/main/6active.jpg");}
      .level-1:hover .icon-7, .level-2:hover .icon-7 {background-image: url("/wp-content/themes/twentytwentyone/img/main/7active.jpg");}
      .level-1:hover .icon-8, .level-2:hover .icon-8 {background-image: url("/wp-content/themes/twentytwentyone/img/main/8active.jpg");}
      .level-1:hover .icon-9, .level-2:hover .icon-9 {background-image: url("/wp-content/themes/twentytwentyone/img/main/9active.jpg");}
      .level-1:hover .icon-10, .level-2:hover .icon-10 {background-image: url("/wp-content/themes/twentytwentyone/img/main/10active.jpg");}
      .level-1:hover .icon-11, .level-2:hover .icon-11 {background-image: url("/wp-content/themes/twentytwentyone/img/main/11active.jpg");}
      .level-1:hover .icon-12, .level-2:hover .icon-12 {background-image: url("/wp-content/themes/twentytwentyone/img/main/12active.jpg");}
      .level-1:hover .icon-13, .level-2:hover .icon-13 {background-image: url("/wp-content/themes/twentytwentyone/img/main/13active.png");}
      .level-1:hover .icon-14, .level-2:hover .icon-14 {background-image: url("/wp-content/themes/twentytwentyone/img/main/14active.png");}
      .level-1:hover .icon-15, .level-2:hover .icon-15 {background-image: url("/wp-content/themes/twentytwentyone/img/main/15active.png");}
      .level-1:hover .icon-16, .level-2:hover .icon-16 {background-image: url("/wp-content/themes/twentytwentyone/img/main/16active.png");}
      .level-1:hover .icon-17, .level-2:hover .icon-17 {background-image: url("/wp-content/themes/twentytwentyone/img/main/17active.png");}
      .level-1:hover .icon-18, .level-2:hover .icon-18 {background-image: url("/wp-content/themes/twentytwentyone/img/main/18active.png");} 

      .level-1:hover .icon-20, .level-2:hover .icon-20 {background-image: url("/wp-content/themes/twentytwentyone/img/main/20active.png");} 
      .level-1:hover .icon-21, .level-2:hover .icon-21 {background-image: url("/wp-content/themes/twentytwentyone/img/main/21active.png");} 
      .level-1:hover .icon-22, .level-2:hover .icon-22 {background-image: url("/wp-content/themes/twentytwentyone/img/main/22active.png");} 
      .level-1:hover .icon-23, .level-2:hover .icon-23 {background-image: url("/wp-content/themes/twentytwentyone/img/main/23active.png");} 

      .level-1:hover .icon-24, .level-2:hover .icon-24 {background-image: url("/wp-content/themes/twentytwentyone/img/main/24active.png");} 
      .level-1:hover .icon-25, .level-2:hover .icon-25 {background-image: url("/wp-content/themes/twentytwentyone/img/main/25active.png");} 
      .level-1:hover .icon-26, .level-2:hover .icon-26 {background-image: url("/wp-content/themes/twentytwentyone/img/main/26active.png");} 
      .level-1:hover .icon-27, .level-2:hover .icon-27 {background-image: url("/wp-content/themes/twentytwentyone/img/main/27active.png");} 
      .level-1:hover .icon-28, .level-2:hover .icon-28 {background-image: url("/wp-content/themes/twentytwentyone/img/main/28active.png");} 
      .level-1:hover .icon-29, .level-2:hover .icon-29 {background-image: url("/wp-content/themes/twentytwentyone/img/main/29active.png");} 
      .level-1:hover .icon-30, .level-2:hover .icon-30 {background-image: url("/wp-content/themes/twentytwentyone/img/main/30active.png");} 
      .level-1:hover .icon-31, .level-2:hover .icon-31 {background-image: url("/wp-content/themes/twentytwentyone/img/main/31active.png");} 
      .level-1:hover .icon-32, .level-2:hover .icon-32 {background-image: url("/wp-content/themes/twentytwentyone/img/main/32active.png");} 
      .level-1:hover .icon-33, .level-2:hover .icon-33 {background-image: url("/wp-content/themes/twentytwentyone/img/main/33active.png");} 
      .level-1:hover .icon-34, .level-2:hover .icon-34 {background-image: url("/wp-content/themes/twentytwentyone/img/main/34active.png");} 
      .level-1:hover .icon-35, .level-2:hover .icon-35 {background-image: url("/wp-content/themes/twentytwentyone/img/main/35active.png");} 

        .text {
            font-weight: 600;
            text-transform: uppercase;
            text-decoration: none;
            color: #868dbc;
            text-align: center;
            padding: 15px 0 0 15px;
            width: calc(100% - 15px);
            height: calc(100% - 15px);
            min-width: 85px;
            min-height: 80px;
            font-size: 12px;
            hyphens: auto;
            display: block;
            z-index: 10;
            position: relative;
        }

        /* Активные состояния через классы */
        .level-1.active-grid {
            opacity: 1;
            visibility: visible !important;
        }

        .level-2.active-grid {
            opacity: 1;
            visibility: visible !important;
        }

        #center-block:before {
            width:0px;
        }

        #center-block .text {
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 0px;
            width: 100%;
            height: 100%;
        }

        .block-menu-icon {
            display: flex;
            flex-direction: column;
            width: fit-content;
            float: right;
        }

        @media (max-width:1000px) {
            .body {
                justify-content: flex-start;
                height: 100vh;
            }

            .grid-block {
                width: 100vw;
                overflow: auto;
                text-align: center;
            }

            .block-menu-icon {
                display: flex;
                flex-direction: row;
                width: fit-content;
                float: none;
                margin-left: 35px;
            }
        }




    
