* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  height: 100vh;
  font-family: "Roboto", sans-serif;
}

h1 {
	width: 100%;
	text-align: center;
	padding: 0.5em;
	color: #336 !important;
}

#wheelOfFortune {
  display: block;
  position: fixed;
  top: 50%;
  left: 30px;
  transform: translateY(-50%);
}

.bad {
	background: #F55 !important;
}

.badrepeat {
	background: #55F !important;
}

#letterBlock {
  display: flex;
	flex-direction: row;
    align-content: center;
	justify-content: center;
	flex-wrap: wrap;
	row-gap: 10px;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 800px;
}

.letter {
	display: grid;
	place-items: center;
	width: 2em;
	height: 3em;
	font-size: 2em;
	background-color: #dd8;
	margin-right: 0.5em;
	
	transition: background 0.5s linear;
}

.guessed {
	background-color: #8d8;
}

.letterspace {
	display: grid;
	place-items: center;
	width: 2em;
	height: 3em;
	font-size: 2em;
	background-color: #eee;
	margin-right: 0.5em;
}

.break {
  flex-basis: 100%;
  height: 0;
}

.guessedit {
	width: 2em;
	height: 3em;
	font-size: 2em;
	display: grid;
	text-align: center;
	background: #ccc;
	
	transition: background 0.5s linear;
	border: none;
	border-radius: 3px;
}

.guesser {
	display: block;
	height: 3em;
	font-size: 2em;
	display: grid;
	place-items: center;
	background: #009;
	color: white;
	padding: 0 2em 0 2em;
	margin-left: 1em;
	border-radius: 3px;
}

.guesser.reveal {
	background: #88F;
}

#points {
	position: fixed;
	top: -4em;
	left: 50%;
	transform: translateX(-50%);
	background: #8F8;
	padding: 1em 2em;
	font-size: 3em;
	transition: top 0.8s ease-in;
}

.rolled {
	top: 0 !important;
}

#opener {
	position: fixed;
	top: 20px;
	right: 20px;
	font-size: 2em;
}

#menu {
	display: none;
	position: fixed;
	top: 5%;
	left: 5%;
	right: 5%;
	bottom: 5%;
	
	text-align: center;
	
	background: #09f;
	padding: 9em;
}

.wsel {
	display: inline-block;
	padding: 0.5em;
	font-size: 1.5em;
	background: #008;
	color: white;
	margin-right: 0.2em;
}

a {
	text-decoration: none;
}

.backlink {
	display: inline-block;
	padding: 0.4em;
}

#wheel {
  display: block;
}

#spin {
  font: 1.5em/0 sans-serif;
  user-select: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30%;
  height: 30%;
  margin: -15%;
  background: #fff;
  color: #fff;
  box-shadow: 0 0 0 8px currentColor, 0 0px 15px 5px rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  transition: 0.8s;
}

#spin::after {
  content: '';
  position: absolute;
  top: -17px;
  border: 10px solid transparent;
  border-bottom-color: currentColor;
  border-top: none;
}

#result-dialog-title {
	font-size: 1.6em;
	font-weight: bold;
	display: block;
	margin-bottom: 0.7em;
}

#result-dialog, #pass-dialog {
	border: 1px solid #ccc;
	position: fixed;
	left: 50%;
	top: 50%;
	transform: translateX(-50%) translateY(-50%);
	padding: 1em;
}

.colordemo {
	display: inline-block;
	width: 0.8em;
	height: 0.8em;
}

.menubtn {
	margin-right: 0.2em;
}

.accordion-body {
	border-left: 1px solid #0bf;
	border-right: 1px solid #0bf;
	border-bottom: 1px solid #0bf;
}

.accordion-button:focus {
	box-shadow: none !important;
	outline: none !important;
}

.accordion-button:not(.collapsed) {
	background-color: #0bf !important;
	color: black !important;
	font-size: 1.0em;
	box-shadow: none !important;
}

.accordion-button.collapsed {
	background-color: #08d !important;
	color: #026 !important;
	font-size: 1.0em;
}

.accordion-item {
	border: none !important;
}
