html, body, div, canvas, p, span, strong, a, img, form, input, textarea, label, fieldset, i,em,b,strong,ul,li,h1,h2,h3,h4,h5,h6{
    padding: 0;
    margin: 0;
    font: inherit;
}

h1		{
	font-size: 2.4em;
	font-family: 'Lora', serif;
}
h2		{
	font-size: 2.2em;
	font-family: 'Lora', serif;
}
h3		{
	font-size: 1.6em;
	font-family: 'Lora', serif;
}
h4		{
	font-size: 1.2em;
	font-family: 'Lora', serif;
}
h5		{
	font-size: 0.7em;
}
h6		{
	font-size: 0.5em;
}


i,em {
	font-style: italic;
}

b,strong	{
	font-weight: 900;
}

.fixed{
    position: fixed;
}

.float{
    float:left;
}
.clear{
    clear:both;
}

.animated{
    transition: 0.5s;
}

.in-box{
    border: 1px #ddd solid;
    border-radius: 0.5em;
    padding: 1em;
    margin: 0.2em 0.2em 0 0;
}


.menu{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 1em;
}
.menu-vertical{
    width: 20em;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 1em;
    flex-direction: column;
}
.menu-vertical.big{
    width: 100%;
}
.menu__element{
    /*float:left;*/
    padding: 0.3em;
    text-align: center;
    text-decoration: none;
    /*width: 8em;*/
    flex: 1;
}
.btn{
	text-decoration: none;
}
.btn-main{
    width: 7em;
    height: 7em;
    margin: 0 1em 1em 0;
}
.btn-default{
    border-style: solid;
    border-width: 1px;
    padding: 0.3em;
}

.bottom{
    bottom: 0px;
    /*width: 100%;*/
    position: fixed;
    margin-left: 1em;
    margin-bottom: 0.2em;
    font: unset;
}

.block{
    display: block;
}

.fullBlock{
    display: block;
    width: 100%;
}

.pointer{
    cursor: pointer;
}

.icon-middle{
    width: 32em;
    height: auto;
}
input{
    box-sizing: border-box;
}

#dice-max, #dice-min{
	height: 1.2em;
	widows: 4em;
}


@font-face {
	font-family: 'Hack';
	src: url('/fonts/hack-regular.woff2?sha=3114f1256') format('woff2'), url('/fonts/hack-regular.woff?sha=3114f1256') format('woff');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Pixel';
	src: url('/fonts/big-shot.ttf') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'f3dPixel';
	src: url('/fonts/3dventure1.ttf') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

.root_main_title{
	font-family: f3dPixel;
	font-size: 15em;
	text-align: center;

}

.root_main_button{
	text-align: center;
	margin-top: 1em;
	position: relative;
}

.root-btn-join{
	/*font-family: Hack;*/
	font-size: 5em;
	display: block;
	width: 15em;
	position: relative;
	margin: 0 auto;
}




.chatacter-face{
	height: 64px;
	width: 64px;
}

.chatacter-face.big{
	width: 100%;
	height: 100%;
}

.characters-table-face{
	width: 5em;
}






.notice{
    width: 100%;
	/*    height: 4em;*/
	text-align: center;
	border-radius: 1em;
	font-size: 3em;

	font-family: Hack;
	display: block;
	max-width: 20em;
	position: relative;
	margin: 0 auto;
}



@media screen and (max-device-width: 1080px) {
    h1{
		font-size: 2.0em;
	}
    h2{
		font-size: 1.8em;
	}
    .big-block{
		width: 90%;
	}
    .icon-middle{
        width: 100%;
        height: auto;
    }
    .in-box{

    }
}
@media screen and (max-device-width: 720px) {
    h1{
		font-size: 1.8em;
	}
    h2{
		font-size: 1.6em;
	}



	.root_main_title{
		font-size: 4em;
		text-align: center;

	}

	.root_main_button{
		margin-top: 1em;
	}

	.root-btn-join{
		font-size: 1.5em;
		width: 80%;
	}


	.notice{
		font-size: 1em;
		position: relative;
		margin: 0 auto;
	}




}


.table-default{
    border-collapse:collapse;
    text-align: center;
}
.table-default th{
	margin: 5px;
}

.flex-container{
    display: flex;
    flex-wrap: wrap;
	justify-content:space-between
}




.hidden{
    display: none;
}

.animated-05{
    transition: ease-out 0.5s;
}


.chat-container{
    padding-top: 1em;
    display:block;
    height: 60%;
}
.chat-message{
    margin-bottom:  1em;
    padding: 0.3em 1em;

}

.chat-message-sender{
    font-size: 0.8em;
}
.chat-message-input{
    width: 100%;
    position: absolute;
    bottom: 3em;
}
.chat-message-input-fiend{
    display: block;
    height: 5em;
    width: 97%;


}

.scroll{
    overflow-y: scroll;
}

#popup{
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: rgba(0,0,0,0.2);

}

#popup-header{
    height:1.2em;
    margin-left: 0.5em;
    font-weight: 900;

}
#popup-content{
    /*min-height: 30em;
    min-width: 10em;*/
}

.wrap{
    /*background: rgba(0,0,0,0.5);*/
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left:0;
	top: 0;
	right: 0;
	bottom: 0;
}

.center{
    border: 2px solid #0ff;
    align-items: center;
    padding: 1em;
}


.dice-container{
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: space-around;
	padding: 10px  10px;
	gap: 10px;
}

.dice{
	/*flex: 1;*/
	display: inline-flex;
    width: 10em;
    height: 10em;
	border: 1px solid #999;
	border-radius: 1em;
	text-align: center;
	cursor: pointer;
}


.number{
	display: inline-block;
	width: 3em;
    margin: auto;
	font-family: Pixel;
	font-size: 5em;
}

.number .dice-first{
	color: #999;
}

.form-control{
	display: block;
	margin-top: 0.2em; 
	margin-bottom: 0.4em; 
	border: 1px solid #ddd;
	border-radius: 0.8em;
	padding: 0.8em;
}

.form-control.mini{
	width: 30em;
}

.form-control input{
	border: 1px solid #ddd;
	height: 1.9em;
	width: 100%;
	text-align: center;
}

.form-control label{
	color:#333;
	top: -1px;
	left: 1.5em;
	position: relative;
}

.form-control input.btn{
	border-radius: 0.5em;
	
}

@media screen and (max-width: 1080px) {

	.form-control, .form-control.mini{
		width: 90%;
		margin-left: auto;
		margin-right: auto;
	}

}

#rune{
	font-size: 2em;
}

#myVideo {
	position: fixed;
	right: 0;
	bottom: 0;
	min-width: 100%;
	min-height: 100%;
	z-index: -99;
	opacity: 0.5;
}

.btn-default{
	border-radius: 0.5em;
	cursor: pointer;
}

/* Устаревший элемент в списке - бледный текст */
.old{
	color: #777;
}

.odd{
	background-color: rgba(0,0,0,0.03);

}

/* ****** MEDIA ****** */
