:root{
	--back-color: #303030;
	--text-color: #fff;
}
body{
	margin: 0;
	font-family: 'Roboto Mono', monospace;
	font-size: 16px;
	display: flex;
	flex-direction: column;
	background-color: var(--back-color);
	color: var(--text-color);
	fill:  var(--text-color);
  transition: all .5s;
}
#allButtons{
	margin: auto;
	display: flex;
	flex-flow: row wrap;
	max-width: 338px;
	justify-content: center;
}
.check_text{
	padding: 12px 20px;
	border:1px solid #999;
	display: inline-block;
	border-radius: 3px;
	font-size: 17px;
	user-select: none;
	margin: 2px;
}
table{border-spacing: 0px;}
input[type="checkbox"]{
	width: 0px;
	height: 0px;
	opacity: 0;
	position: absolute;
}

.icons{
	margin: 8px 0 5px 0;
	padding-bottom: 8px;
	display: flex;
	justify-content: space-between;
	border-bottom: 1px solid #555;
}
svg{
	cursor: pointer;
}
#smile svg{
	cursor: default;
}
div .rigth{
	background: darkgreen;
	opacity: .5;
}
div .wrong{
	background-color: darkred;
	opacity: .5;
}
#lang{
	border: 1px solid #999;
	border-radius: 3px;
	width: 32px;
	height: 22px;
	cursor: pointer;
  text-align: center;
  display: none;
}
#word{
	font-size:23px;
	margin: 8px 0 8px 0;
	text-align: center;
}
#modal_wrap.modal_open{
	display: block;
}
.modal_wrap{
	position: absolute;
	display: none;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0, .5);
}

#modal{
	box-sizing: border-box;
	position: relative;
	max-width: 358px;
	margin: 25px auto;
	background: var(--back-color);
	color: var(--text-color);
	border: 1px solid #444;
	border-radius: 3px;
	padding-top: 3px;
	overflow-y: initial;
	font-family: 'Roboto', sans-serif;
}
#close_mod{
	position: absolute;
	top: -2px;
	right: -2px;
}
#image,#external{
	display: flex;
	justify-content: center;
	align-items: center;
}
#open_wiki{
	cursor: pointer;
	text-align: end;
	margin-bottom: 10px;
	background: transparent;
	border: 1px solid #999;
	border-radius: 3px;
	padding: 5px 10px;
	color: var(--text-color);
}
#open_wiki:disabled{
	opacity: .5;
}
#mod_over{
	max-height: calc(100vh - 56px);
	overflow-y: auto;
}

#notification{
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: fixed;
	left: 50%;
	bottom: -60px;
	min-width: 320px;
	transform: translate(-50%);
	background: #222;
	color: #fff;
	padding: 16px 8px;
	text-align: center;
	border-radius: 2px;
	font-size: 15px;
	transition: .2s;
	box-shadow:  0 6px 6px -3px rgba(0,0,0,.2), 0 10px 14px 1px rgba(0,0,0,.14), 0 4px 18px 3px rgba(0,0,0,.12);
}
#reload{
	cursor: pointer;
	font-weight: 600;
}
body div#notification.show{
	bottom: 15px;
}

a{
	color: royalblue;
}
#external{
  margin-top: 50px;
  font-family: Roboto;
  fill: inherit;
}
#score_ver{
	text-align: center;
	margin: 8px 0 0 0;
	padding: 5px 0 5px 0;
	border-top: 1px solid #555;
	font-size:13px;
}

@keyframes shadow-pulse
{
     0% {
          box-shadow: 0 0 0 0px rgba(0, 0, 0, 0.2);
     }
     100% {
          box-shadow: 0 0 0 35px rgba(0, 0, 0, 0);
     }
}

.pulse {

     animation: shadow-pulse 1.5s infinite;
}
