body{
  text-align:center;
  background-color: black;
}

.svg-bg {
  position: absolute;
  top: 0;
  right: 0;
}
#frame{
	float:left;
  margin: 40px;
  border: 1px solid #FFBC00;
  border-radius: 10px;
}
#wordlist{
	margin:52px 20px 0;
	float:left;
	text-align:left;
}
.grid-item{
	float:left;
	height:24px;
	width:24px;
  padding: 8px;
	background-color: rgba(207, 207, 207, 0.2);
	color:rgb(255, 255, 255);
  position: relative;
}
.letter{
	font-family: Tahoma,Verdana;
	text-align: center;
	vertical-align: middle;
  font-size: 18px;
	line-height:14pt;
	padding-top:2px;
}
.anchor{clear:both;}
.noselect{
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-o-user-select: none;
	user-select: none;
}
.grid-item.selected{
	background-color:#FFFFFF;
}
.highlighted{
	background-color: rgba(255, 188, 0, 0.5);
	cursor:pointer;
}
.show{
	color: #FFBC00;
}

.word{
	font-family: Tahoma,Verdana;
	margin:5px 0 14px;
	display:block;
	font-size:16pt;
	color:white;
  position: relative;
  padding-left: 20px;
}

.word:before {
	content: '/';
  position: absolute;
  left: 0px;
  color: #FFBC00;
  font-weight: bold;
}

.big-word{
	font-family: Tahoma,Verdana;
	font-weight: bold;
  color: #FFBC00;
	font-size:24px;
	margin-bottom: 16px;
}
.word.solved{
	color:#FFBC00;
	text-decoration: line-through;
}
.grid-item.solved.h:after{
	content: "";
  display: block;
  width: 100%;
  z-index: 1;
  height: 7%;
  position: absolute;
  background-color: rgba(10, 10, 10, 0.5);
  transform: translateY(-50%);
  top: 50%;
  left: 0;
}
.grid-item.solved.v:after{
	content: "";
  display: block;
  width: 7%;
  z-index: 1;
  left: 50%;
  height: 100%;
  position: absolute;
  background-color: rgba(10, 10, 10, 0.5);
  transform: translateX(-50%);
  top: 0;
}
.grid-item.solved.da:after{
	content: "";
  display: block;
  width: 145%;
  z-index: 1;
  height: 7%;
  position: absolute;
  background-color: rgba(10, 10, 10, 0.5);
  top: 50%;
  transform: translate(-16%, -48%) rotate(-45deg);
  left: 0;
}
.grid-item.solved.dd:after{
	content: "";
  display: block;
  width: 145%;
  z-index: 1;
  height: 7%;
  position: absolute;
  background-color: rgba(10, 10, 10, 0.5);
  top: 50%;
  transform: translate(-16%, -48%) rotate(45deg);
  left: 0;
}
.grid-item.solved{
	color:#FFBC00;
}

.done {
  background-color: rgba(10, 10, 10, 0.8);
  font-family: Tahoma,Verdana;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  display: none;
  z-index: 1;
}

.done-title {
  font-size: 30px;
  position: relative;
  display: inline-block;
  padding-left: 24px;
  margin-top: 20px;
}

.done-text {
  font-size: 40px;
  padding-left: 24px;
  margin-top: 20px;
  font-weight: normal;
}

.done-text span {
  font-weight: bold;
}

.done-title:before {
	content: '/';
  position: absolute;
  left: 0px;
  color: #FFBC00;
  font-weight: bold;
}

.done-textContainer {
  width: 50%;
  padding: 20px;
  background-color: white;
  border-radius: 20px;
}

.done-restart {
  background-color: transparent;
  border: none;
  color: gray;
  cursor: pointer;
}