﻿ @font-face {
    font-family: 'sunnyspell';
    src: url("../fonts/sunny-spells-font/SunnyspellsRegular-MV9ze.otf") format("opentype");
} 

@font-face {
    font-family: 'motley'; /* Гарнитура шрифта */
    src: url('../fonts//motley-forces-font/MotleyForcesRegular-w1rZ3.ttf'); /* Путь к файлу со шрифтом */
 }
@font-face {
    font-family: 'Noto'; /* Гарнитура шрифта */
    src: url('../fonts/Noto_Color_Emoji/NotoColorEmoji-Regular.ttf'); /* Путь к файлу со шрифтом */
 }
 @font-face {
    font-family: 'Comforta'; /* Гарнитура шрифта */
    src: url('../fonts/Comfortaa-Bold.ttf'); /* Путь к файлу со шрифтом */
 }

@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@700&family=Pacifico&family=Tilt+Prism&display=swap');

*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
	overflow: hidden;
	-webkit-tap-highlight-color: transparent;
	-webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently*/


}

html{

}


body{


	display: flex;	
	justify-content: space-between;

	
	align-items: stretch;

	margin: 0;


	
	flex-direction: column;

	overflow: hidden;
	/*background: no-repeat center/80% url("./images/background.jpg");*/
	background-color: #C0C0C0;
	
}



/*ITEMS OF BODY*/

#header{
	display: none;
	height: 15vh;
	background-color: black;
	align-items: center;
}

#body{
	display: flex;
	justify-content: flex-start;

	height: 95vh;
	
	flex-direction: column;
	overflow: hidden;


}
#adv_block_flex{
	display: none;

	width: 100vw;
	height: 100vh;
	position: fixed;
    background-color: white;
	justify-content: center;
	align-items: center;
	z-index: 6;
}
#adv_block{
	display: flex;
	font-family: 'sunnyspell';
	font-size: 8vmin;
	-webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently*/

}




#header{
	display: none;
	flex-direction: row;
	justify-content: space-between;
}

#buttons{
	display: flex;
	flex-direction: row;
	font-size: 5vh;
	align-items: stretch;
	justify-content: space-between;
}

/*END ITEMS OF BODY*/


/*
LOADER BLOCK
*/

#LOL{

	display: flex;
	overflow: hidden;
	position: fixed;

	align-items: center;
	justify-content: center;
	width: 100vw;
	height: 100vh;
	background-color: #FFF;
	z-index: 5;
	color: GREEN;
	flex-direction: column;
	font-family: 'Noto', sans-serif;
	font-size: 6vh;
	-webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently*/

}

.spinner {
    height: 0.7em;
    width: 0.7em;
    border-left: 0.7vh solid greenyellow;
    border-bottom: 0.7vh solid greenyellow;
    border-right: 0.7vh solid greenyellow;
    border-top: 0.7vh solid transparent;
    border-radius: 50vh;
    animation: spinner 1s linear infinite;
}

@keyframes spinner {
    from {
        transform: rotate(0deg);
    }
 
    to {
        transform: rotate(360deg);
    }
}


/*END LOADER BLOCK*/


/*BLOCK OF CENTRAL WIDGET*/
#blackboard{
	display: flex;
	justify-content: space-around;
	align-items: center;
	


	height: 75vh;
}

#score_row{
	display: flex;

	flex-direction: column;
	flex-wrap: wrap;
	width: 97.5vw;
	height: 16vh;
	
	justify-content: center;
	flex-wrap: ;

}

#score_board{
	display: flex;
	flex-direction: row;
	margin-top: 2vh;

	font-family: 'Noto', sans-serif;
	justify-content: space-around;



	
}


#ask_value{

    	/*safari shit*/
    cursor: default;

	

	-webkit-user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 21vmin;
	border: 1vh solid #B2AE79;
	border-radius: 11vh;
	width: 85vw;
	height: 60vh;
	font-family: sunnyspell;
	
	background-color: #F77;
	/*color: #560319;*/
	color: white;
	margin-bottom: 10vh;

	
	
}


#buttons{
	display: flex;

	
	align-items: stretch;
	align-content: space-between;


	
	justify-content: space-around;



}


#buttons>button{

	
	display: flex;

	background-color: white; 
    color: #371E37; 
    border: 0.2px solid #AACBD2;
    border-radius: 4em;
    font-size: 12vmin;
    font-family: motley;

    cursor: pointer;
    width: 20vw;

    justify-content: center;
    align-items: center;
    flex-grow: 0;

    
     -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently*/

}

#profile_image{
	display: none;
	font-size: 10vmin;
	font-family: 'Noto', sans-serif;
	justify-content: center;


}




#score{

	display: flex;
	justify-content: flex-start;

	align-items: stretch;
	font-size: 3vmin;
	font-family: 'Tilt Prism', cursive;

}

#best_score{
	display: flex;

	justify-content: flex-start;
	align-items: stretch;
	font-size: 6vmin;
	

	font-family: "sunnyspell";
		-webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently*/
	

}
#current_score{
	display: flex;
	justify-content: center;
	align-items: stretch;
	font-size: 6vmin;
	font-family: "sunnyspell";
		-webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently*/
	
}

/*END BLOCK*/


/* FOOTER WIDGET*/
#sound{
	display: none;
	font-size: 9vmin;
	justify-content: center;
	font-family: 'Noto', sans-serif;

	align-items: center;
	border: none;
		-webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently*/

}#locale{
	display: flex;
	font-size: 9vmin;
	justify-content: center;
	font-family: 'Noto', sans-serif;

	align-items: center;
	border: none;
	position: relative;
		-webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently*/

}

/*END FOOTER WIDGET BLOCK*/


#losed_screen{
	display:none;
}

/*STARTED MODAL ONBOARDING BLOCK*/

#started_modal{
	display: none;
	overflow: hidden;
	position: fixed;
	align-items: center;
	justify-content: center;
	background-color: grey;
	opacity: 0.92;

	width: 95vw;
	height: 100vh;
	background-color: #FFF;
	z-index: 5;
	color: GREEN;
	flex-direction: column;
	-webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently*/


	font-family: motley;
	font-size: 2vh;

}
#img{
	display: flex;
	width: 15vw;
	height:	15vh;
	background: url("../images/onboarding.gif") 100% 100% no-repeat;
	background-size: contain;

}

#close_modal_button{
	font-size: 3vh;
	background-color: #b5d6b2;
}
#onboarding{
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: 65vw;
}






/*END BLOCK*/


/*LOSED MODAL SCREEN BLOCK*/
#losed_modal_screen{


	display: none;
	color: #321570;

	width: 100vw;
	height: 100vh;
	position: absolute;
	background: #AACBD2;
	z-index: 5;
	justify-content: center;
	align-items: center;
	
	flex-direction: column;
	font-size: 4vh;
	font-family: "sunnyspell";

}

#heading{
	display: flex;
	align-items: center;
	justify-content: flex-end;

}
#image{
	display: flex;
	width: 97.5vw;
	height:	65vh;
	background: url("../images/when_lose.gif") 50% 50% no-repeat;
	background-size: contain;
	justify-content: center;
	align-items: center;
	margin-top: 3vh;

}
#losed_buttons{
	display: flex;
	justify-content: space-around;
	margin-top: 3vh;

	flex-direction: row;
		align-items: stretch;
	align-content: space-between;

	


}
#losed_buttons>button{
	display: flex;

	background-color: white; 
    color: #371E37; 
    border: 0.2px solid #C392C1;

    font-size: 5vmin;
    font-family: motley;

    cursor: pointer;

    justify-content: center;
    align-items: center;
    flex-grow: 0;

    
     -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently*/
}

/*END BLOCK*/



/*MENU BLOCK*/
#menu{
	display: flex;
	width: 100vw;
	height: 100vh;
	flex-direction: column;
	font-family: OpenSans;
	align-items: center;
	justify-content: space-around;
	background-color: #a9cacf;
}
#menu_head{
	display: flex;
	flex-direction: row;
	width: 95vw;
	justify-content: space-around;
	font-size: 6vmin;
	font-family: "sunnyspell";
}
.menu_head_prev{
	display: flex;
}

.menu_head_prev:nth-child(1){
	color: white;

}
.menu_head_prev:nth-child(4){
	color: white;

}

#menu_text{
	display: flex;
	font-family: OpenSans bold;
	font-size: 5vmin;
	color: white;
}


.button_block{
	display: flex;
}

.menu_button{
	display: flex;
	width: 30vw;
	font-family: OpenSans;
	font-size: 3vmin;
	align-items: center;
	justify-content: center;
	height: 5vh;
}

.complexity{
	display: none;
}

/*MENU BLOCK*/


#back_button{
	max-width: 10vw;
	font-size: 3vmin;
	
}
#score_row:nth-child(1){
	margin-left: 4vw;

}

#community_block{
	display: none;
}