@font-face {
	font-family: Jura;
	src: url(https://fonts.google.com/specimen/Jura);
}

body {
	font-family: Jura;
	text-align: center;
	background-color: #ddd;
	cursor: default;
	-webkit-user-select: none;
}

h1 {
	text-shadow: 2px 2px #0002;
}

.number div{
	display: inline-block;

}

.display{
	display: inline-block;
	margin-right: 3.5%;
	margin-left: 5.5%;
	padding-top: 1%;
	padding-bottom: 3%;
}

.displaytitle{
	font-size: 20px;
	padding-bottom: 12%;
	border-bottom: solid;
	border-width: 1px;
}

#game{
	padding-bottom: 1%;
}

.block {
	box-shadow: 1px 1px #222222;
	transition: all 0.15s;

	padding: 1px;

	animation-duration: 0.2s;

	border: solid;
	border-color: #222;
	border-width: 1px;
	border-radius: 3.5px;

	display: table-cell;
	width: 0.60cm;
	height: 0.60cm;
	min-width: 0.60cm;
	min-width: 0.60cm;
	

	text-align: center;

	background-color: #9abb;
}

.content {
	border-width: 2px;
	border-radius: 4px;
	width: 100%;
    position: relative;
    color: #222;
}

.flagged {
	background-color: #f2f20db0;
	color: black;
}

.adjacent {
	background-color: #184818d0;
}

.uncovered {
	background-color: #99cc33b0;
}

.adjacent:active{
	background-color: #103810d0;
}

.mine {
	background-color: #260d0db0;
	color: #bbb;
	transition: 0.5s;
}

.won {
	background-color: darkgreen;
	transition: 1.5s;
}

.lost {
	background-color: #b01818f0;
	transition: 0.5s;
}

#grid_container{
	color: #ddd;

	-webkit-user-select: none;  /* Chrome all / Safari all */
	-moz-user-select: none;     /* Firefox all */
	-ms-user-select: none;      /* IE 10+ */
	-o-user-select: none;
	user-select: none;

	cursor: default;


	transition: all 0.5s;

	background-color: #1443;
	display: inline-block;

	border: solid;
	border-width: 0px;
	border-radius: 6px;
	border-color: #0000;
}

.option {
	display: inline-block;
	margin: 5px;
	padding: 5px;
}

#settings {
	display: none;
}

.button {
  font-family: Jura;
  display: inline-block;
  border-radius: 4px;
  background-color: inherit;
  border: none;
  color: black;
  text-align: center;
  font-size: 16px;
  padding: 20px;
  width: 80;
  cursor: pointer;
  margin: 5px;
}

.navbutton {
	transition: all 0.5s;
	font-size: 24px;
	width: 220px
}

.navbutton:focus {
	outline:0;
}

.navbutton span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

.fwdbutton span:after {
  content: '\00bb';
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}

.backbutton {
	display: none;
}

.number{
	padding-top: 0;
	font-family: monospace;
	font-size: 14px;
	margin-top: 10px;
}

.backbutton span:before {
  content: '\00AB        ';
  opacity: 0;
  top: 0;
  left: -20px;
  transition: 0.5s;
}

.fwdbutton:hover span {
  padding-right: 25px;
}

.backbutton:hover span {
  padding-left: 25px;
}

.fwdbutton:hover span:after {
  opacity: 1;
  right: 0;
}

.backbutton:hover span:before {
  opacity: 1;
  left: 0;
}

.settingsbutton span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

.settingsbutton span:after {
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}

.settingsbutton:hover span {
  padding-right: 10px;
  padding-left: 10px;
}

.settingsbutton:hover span:before {
  opacity: 1;
  right: 0;
}

.optionlist{
	border-width: 1px;
	width: 700px;
	padding: 12px;
	margin: 0 auto;
}

#settings {
	text-align: center;
	outline:0;
}

#settings{
	border-bottom: solid;
	border-top: solid;
	border-width: 1px;
	border-width: 1px;
	width: 700px;
	padding: 1%;
	margin: 0 auto;
	outline:0;
}

.settingsbutton:focus {
	outline:0;
}

h3 {
	font-size: 18px;
	font-weight: 900;
}

.selected{
	outline:0;
	transition: 0s;
	font-size: 18px;
	font-weight: 900;
}

input {
	appearance: none;
}

.slider p {
	display: inline-block;
	padding-left: 12px;
	padding-bottom: 8px;
	font-family: monospace;
}

@keyframes newbest {
    from {background-color: #88bb44ff;}
    to {background-color: none;}
}

.newbest {
	animation-name: newbest;
	animation-duration: 3.5s;
}



