@import url('https://fonts.googleapis.com/css?family=Monoton');
body {
  font-family: "Roboto", sans-serif;;
  background: #fff;
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
  max-height:100%;
}

/* Make content area fill the entire browser window */
html,
.fullscreen {
  display: flex;
  height: 100%;
  margin: 0;
  padding: 0;
  width: 100%;
}
img {
  display: block;
  height: auto;
  bottom: 0;
}
h2{
    margin-top: .5em;
	margin-bottom: .5em;
}
h1{
 font-size: xxx-large;
 color:#3276B1;
}
h1 span {     /* different color for span */
  color:#3D3D3D;
}
td{
    width:120px;
}
.button{
    height: 30px;
    width: 55px;
    font-size: medium;
    border: 2px solid red;
	background:red;
	color: white;
	margin: 0.5em;
	margin-left:0em;
}

.reset{
    height: 30px;
    width: 55px;
    font-size: medium;
    border: 2px solid #3276B1;
	background:white;
	color: #3276B1;
	margin: 0.5em;
	margin-left:0em;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;;
}
.container {
	margin: auto;
  text-align: center;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;#
}

button {
  outline: none;
  border: 4px solid #3276B1;
  width:180px;
  height:50px;
  font-size: 1rem;
  font-weight: bold;
  transition: all 0.2s ease-in-out;
  background: #3276B1;
  color: white;
  margin:1em;
  border-radius: 4px;
}

button:hover {
  cursor: pointer;
}

.play-area {
  display: grid;
  width: 300px;
  height: 300px;
  grid-template-columns: auto auto auto;
}
.play-areaKP {
  display: grid;
  width: 270px;
  height: 270px;
  grid-template-columns: auto auto auto;
}
.block {
  display: flex;
  width: 100px;
  height: 100px;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: bold;
  border: 3px solid black;
  transition: background 0.2s ease-in-out;
}
.blockKP {
  display: flex;
  width: 90px;
  height: 90px;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: bold;
  border: .1px solid rgba(232, 232, 232, .08);
  transition: background 0.2s ease-in-out;
}
.block:hover {
  cursor: pointer;
 /* background: #0ff30f;*/
}

/*.occupied:hover {
  background: #ff3a3a;
}*/

.file{
    padding-top: .5em;
}
#block_0,
#block_1,
#block_2 {
  border-top: none;
}

#block_0,
#block_3,
#block_6 {
  border-left: none;
}

#block_6,
#block_7,
#block_8 {
  border-bottom: none;
}

#block_2,
#block_5,
#block_8 {
  border-right: none;
}

.computerWinBox {
  background: red;
  color:white !important;
}
.playerWin{
	color:green;
}
.playerWinBox{
	background:green;
	color:white !important;
}
.computerWin {
  color: red;
}

.draw {
  color: #FFA500;
}
.drawbox{
    background: #F7F7B1;
}
.hidden{
	display:none;
}

#quit{
	border: 4px solid #808080;
	background:white;
	color: #808080;
}

#help{
	border: 4px solid #808080;
	background:white;
	color: #808080;
}
#reset{
	border: 4px solid #3276B1;
	background:white;
	color: #3276B1;
}
#settings{
	border: 4px solid #3276B1;
	background:white;
	color: #3276B1;
}

p{
	margin-bottom:.5em;
}
.center{
	text-align:center;
}
.center > div, .center > table /* insert any other block-level elements here */ {
    margin-left: auto;
    margin-right: auto;
}
#oneSettings{
 margin-top: .5em;
}
/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 10%; 
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 100%;
  
}
/* The Close Button */
.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.radio-toolbar {
  margin: 10px;
}

.radio-toolbar input[type="radio"] {
  opacity: 0;
  position: fixed;
  width: 0;
}

.radio-toolbar label {
    display: inline-block;
    background-color: #fff;
    padding: 10px 20px;
    width:120px;
    font-family: sans-serif, Arial;
    font-size: 16px;
    border: 2px solid #3276B1;
    border-radius: 4px;
    color:#3276B1;
}

.radio-toolbar label:hover {
  background-color: #dfd;
}

.radio-toolbar input[type="radio"]:focus + label {
    border: 2px dashed #3276B1;
}

.radio-toolbar input[type="radio"]:checked + label {
    background-color: #3276B1;
    border-color: #3276B1;
    color:#fff;
}

.Xcolor{
    color: #FFA500;
    
}
.Ocolor{
    color:#3276B1;
}

/* The Modal (background) */
.secretmodal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.secretmodal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 100%;
}

/* The Close Button */
.secretclose {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.secretclose:hover,
.secretclose:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

#preview{
    background-image:url('');
    background-size:cover;
    background-position: center;
    height: 50px; 
    width: 50px;
    border: 1px solid #bbb;
}
#preview1{
    background-image:url('');
    background-size:cover;
    background-position: center;
    height: 50px; 
    width: 50px;
    border: 1px solid #bbb;
}
#preview2{
    background-image:url('');
    background-size:cover;
    background-position: center;
    height: 50px; 
    width: 50px;
    border: 1px solid #bbb;
}
#preview3{
    background-image:url('');
    background-size:cover;
    background-position: center;
    height: 50px; 
    width: 50px;
    border: 1px solid #bbb;
}
#preview4{
    background-image:url('');
    background-size:cover;
    background-position: center;
    height: 50px; 
    width: 50px;
    border: 1px solid #bbb;
}
#preview5{
    background-image:url('');
    background-size:cover;
    background-position: center;
    height: 50px; 
    width: 50px;
    border: 1px solid #bbb;
}

.backgroundmodal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.backgroundmodal-content {
  margin: auto;
  width: 100%;
  height:100%;
  background-size: 100% 105%;
  background-repeat: no-repeat;
  position: fixed; 
  background-position: center; 
}



#position{
    width:50px;
    font-size:large;
    padding:.3em;
    border-radius: 4px;
    border: 1px solid black;
}
#imgposition{
    width:50px;
    font-size:large;
    padding:.3em;
    border-radius: 4px;
    border: 1px solid black;
}

