@font-face
{
    font-family: Impact; /* Имя шрифта */
    src: url(../../fonts/Impact.ttf); /* Путь к файлу со шрифтом */
}

*
{
    /*border:solid 1px gray;*/
}


.webgl-content #unityContainer
{
    border: solid 1px orange;
    width: 64vw;
    height: calc(64vw / 16 * 9);
}


summary
{
    font-family: Arial, sans-serif;
    font-weight: bold;
    
}

details
{
    font-family: Arial, sans-serif;
    font-weight: normal;  
}


#main_wrapper
{
    position: absolute; 
    z-index: 9999; 
    left: 0; 
    top: 0; 
    width: 100vw; 
    height: 100vh; 
    background-color: rgb(0, 0, 0);
}

#preloader_wrap
{
    padding: 2vh; 
    top: 0; 
    right: 0; 
    bottom: 0; 
    left: 0; 
    position: fixed;
}

#preloader_block
{
    width: 100%; 
    height: 100%; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    outline: 2px solid orange;
}

#pre_content
{
    margin: auto; 
    /*outline: 1px solid gray;*/ 
    color: rgb(200, 200, 200); 
    height: 35vh; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center;
}

#load_anim
{
    width: 100%;
    height: 100%;
    background: url(../oval.svg) center center no-repeat;
    background-size: contain;  
    /*margin-bottom: 3vh;*/
    /*transform: scale(1.1);*/
    display: flex;
}

#pre_logo
{
    margin: auto; 
    height: 95%; 
    width: 100%; 
    background: url(../../image/logo.png) center center no-repeat; 
    background-size: contain;
}

#pre_text
{
    margin-top: 3vh; 
    text-align: center; 
    font-size: 4vh; 
    font-family: Arial; 
    font-weight: 500; 
    font-style: italic; 
    /*text-shadow: 1px 1px 1px rgba(233, 174, 48, 0.8);*/
}




body
{
    background-color: black;
    height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: row;
}
.MainCenterBlock
{
    display: flex;
    align-items: center;
    width: 50vw;
}

.logo
{
    width: 35%;
    margin: auto;
}
.logo img
{
    width: 95%;
    margin-right: 2%;
}

.MainText
{
    display: flex;
    align-items: center;
    width: 60%;
    margin: auto auto;
}
.MainText img
{
    width: 95%;
}


/*@media screen and (orientation: landscape)
{ 
    #logo { background: url(logo1.png) no-repeat; }
}
@media screen and (orientation: portrait)
{ 
    #logo { background: url(logo2.png) no-repeat; }
}*/



.left-top_block div
{
    position: relative;
}

.right-bottom_block div
{
    position: relative;
}


.left-top_menu div
{
    position: relative;
}



#wrap_menu
{
    position: absolute;
    height: 10vh;
    width: 10vh;
}




#play img
{
    display: block; 
    height: 100%;
}






#codeBlock
{
    padding: 0.5vh 0;
}





#faqBlock
{
    padding: 3vh 3vw;   
}




pre
{
    background: none;
}



#ModeButton div:hover
{
    cursor: pointer;
    color: black;
    background-color: white;
}


#ModeButton .activeBlock
{
    color: rgb(31, 31, 31); 
    /*background-color: rgba(255, 166, 0, 0.789);*/
    background-color: orange;
    border: solid rgb(206, 206, 206) 1px; 
}




#play
{
    height: 15vh;
    width: 15vh;
    cursor: pointer;
    background: url(../../image/play2.png) no-repeat center / contain;
}

#play:hover
{
    height: 18vh;
    width: 18vh;
    cursor: pointer;
    background: url(../../image/play_click.png) no-repeat center / contain;
}





.notActive
{
    opacity: 0.5;
}



a
{
    border: none;
    outline: none;
    text-decoration: none;
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    background-size: 90% 90%;
}
a:hover
{
    cursor: pointer;
}
a:active
{
    background-size: 80% 80%;
}





#menu a
{
    background: url(../../image/menu.png) no-repeat center;
    background-size: 90% 90%;
}
#menu a:hover
{
    background: url(../../image/menu_hover.png) no-repeat center;
    background-size: 100% 100%;
}
#menu a:active
{
    background: url(../../image/menu_hover.png) no-repeat center;
    background-size: 80% 80%;
}
#menu a.active
{
    background: url(../../image/menu_active.png) no-repeat center;
    background-size: 90% 90%;
}
#menu a.active:hover
{
    background-size: 100% 100%;
}
#menu a.active:active
{
    background-size: 80% 80%;
}







#github a
{
    background: url(../../image/github.png) no-repeat center;
    background-size: 90% 90%;
}
#github a:hover
{
    background: url(../../image/github_hover.png) no-repeat center;
    background-size: 100% 100%;
}
#github a:active
{
    background: url(../../image/github_hover.png) no-repeat center;
    background-size: 80% 80%;
}
#github a.active
{
    background: url(../../image/github_active.png) no-repeat center;
    background-size: 90% 90%;
}
#github a.active:hover
{
    background-size: 100% 100%;
}
#github a.active:active
{
    background-size: 80% 80%;
}







#main a
{
    background: url(../../image/main.png) no-repeat center;
    background-size: 90% 90%;
}
#main a:hover
{
    background: url(../../image/main_hover.png) no-repeat center;
    background-size: 100% 100%;
}
#main a:active
{
    background: url(../../image/main_hover.png) no-repeat center;
    background-size: 80% 80%;
}
#main a.active
{
    background: url(../../image/main_active.png) no-repeat center;
    background-size: 90% 90%;
}
#main a.active:hover
{
    background-size: 100% 100%;
}
#main a.active:active
{
    background-size: 80% 80%;
}




#lessons a
{
    background: url(../../image/lessons.png) no-repeat center;
    background-size: 90% 90%;
}
#lessons a:hover
{
    background: url(../../image/lessons_hover.png) no-repeat center;
    background-size: 100% 100%;
}
#lessons a:active
{
    background: url(../../image/lessons_hover.png) no-repeat center;
    background-size: 80% 80%;
}
#lessons a.active
{
    background: url(../../image/lessons_active.png) no-repeat center;
    background-size: 90% 90%;
}
#lessons a.active:hover
{
    background-size: 100% 100%;
}
#lessons a.active:active
{
    background-size: 80% 80%;
}



#resource a
{
    background: url(../../image/resource.png) no-repeat center;
    background-size: 90% 90%;
}
#resource a:hover
{
    background: url(../../image/resource_hover.png) no-repeat center;
    background-size: 100% 100%;
}
#resource a:active
{
    background: url(../../image/resource_hover.png) no-repeat center;
    background-size: 80% 80%;
}
#resource a.active
{
    background: url(../../image/resource_active.png) no-repeat center;
    background-size: 90% 90%;
}
#resource a.active:hover
{
    background-size: 100% 100%;
}
#resource a.active:active
{
    background-size: 80% 80%;
}



#donate a
{
    background: url(../../image/donate.png) no-repeat center;
    background-size: 90% 90%;
}
#donate a:hover
{
    background: url(../../image/donate_hover.png) no-repeat center;
    background-size: 100% 100%;
}
#donate a:active
{
    background: url(../../image/donate_hover.png) no-repeat center;
    background-size: 80% 80%;
}
#donate a.active
{
    background: url(../../image/donate_active.png) no-repeat center;
    background-size: 90% 90%;
}
#donate a.active:hover
{
    background-size: 100% 100%;
}
#donate a.active:active
{
    background-size: 80% 80%;
}







#youtube a
{
    background: url(../../image/youtube.png) no-repeat center;
    background-size: 90% 90%;
}
#youtube a:hover
{
    background: url(../../image/youtube_hover.png) no-repeat center;
    background-size: 100% 100%;
}
#youtube a:active
{
    background: url(../../image/youtube_hover.png) no-repeat center;
    background-size: 80% 80%;
}
#youtube a.active
{
    background: url(../../image/youtube_active.png) no-repeat center;
    background-size: 90% 90%;
}
#youtube a.active:hover
{
    background-size: 100% 100%;
}
#youtube a.active:active
{
    background-size: 80% 80%;
}




#vk a
{
    background: url(../../image/vk.png) no-repeat center;
    background-size: 90% 90%;
}
#vk a:hover
{
    background: url(../../image/vk_hover.png) no-repeat center;
    background-size: 100% 100%;
}
#vk a:active
{
    background: url(../../image/vk_hover.png) no-repeat center;
    background-size: 80% 80%;
}
#vk a.active
{
    background: url(../../image/vk_active.png) no-repeat center;
    background-size: 90% 90%;
}
#vk a.active:hover
{
    background-size: 100% 100%;
}
#vk a.active:active
{
    background-size: 80% 80%;
}




#telegram a
{
    background: url(../../image/telegram.png) no-repeat center;
    background-size: 90% 90%;
}
#telegram a:hover
{
    background: url(../../image/telegram_hover.png) no-repeat center;
    background-size: 100% 100%;
}
#telegram a:active
{
    background: url(../../image/telegram_hover.png) no-repeat center;
    background-size: 80% 80%;
}
#telegram a.active
{
    background: url(../../image/telegram_active.png) no-repeat center;
    background-size: 90% 90%;
}
#telegram a.active:hover
{
    background-size: 100% 100%;
}
#telegram a.active:active
{
    background-size: 80% 80%;
}




#discord a
{
    background: url(../../image/discord.png) no-repeat center;
    background-size: 90% 90%;
}
#discord a:hover
{
    background: url(../../image/discord_hover.png) no-repeat center;
    background-size: 100% 100%;
}
#discord a:active
{
    background: url(../../image/discord_hover.png) no-repeat center;
    background-size: 80% 80%;
}
#discord a.active
{
    background: url(../../image/discord_active.png) no-repeat center;
    background-size: 90% 90%;
}
#discord a.active:hover
{
    background-size: 100% 100%;
}
#discord a.active:active
{
    background-size: 80% 80%;
}




#ngj a
{
    background: url(../../image/NGJ.png) no-repeat center;
    background-size: 90% 90%;
}
#ngj a:hover
{
    background: url(../../image/NGJ_hover.png) no-repeat center;
    background-size: 100% 100%;
}
#ngj a:active
{
    background: url(../../image/NGJ_hover.png) no-repeat center;
    background-size: 80% 80%;
}
#ngj a.active
{
    background: url(../../image/NGJ_active.png) no-repeat center;
    background-size: 90% 90%;
}
#ngj a.active:hover
{
    background-size: 100% 100%;
}
#ngj a.active:active
{
    background-size: 80% 80%;
}