html,body { height:100%; width:100%; background-color:#3c3c3c}

#field {

}

#intro {
	position:absolute;
	background-color: lightgray;
	margin:20px;
	padding: 20px;
	width:90%;
	height:90%;
	z-index: 100;
	overflow-y:scroll;
	font-size: 200%;
	font-family: "Open Sans", sans-serif;
}

#baseStats {
	padding:20px;
	background-color: white;	
	display: flex;
	width:95%;
	border: 2px solid black;
	border-radius:20px;
	padding-top: 30px;
}

#rolls {
	position:fixed;
	bottom:0px;
	padding:20px;
	padding-top: 30px;
	background-color: white;	
	border: 2px solid black;
	border-radius:20px;
	z-index: 5;
	overflow-y: scroll;
	max-height: 20%;
	min-width: 90%;
}

.roller {
	padding:5px;
	padding-bottom: 0px;
}

#showRollsButton {
	position:absolute;
	top:4px;
	left: 10px;
    margin-bottom:30px;
}

#showBaseStatsButton{
	position: absolute;
	top: 0px;
	left: 47%;
}

.card {
	border: 2px solid black;
	border-radius:15px;
	box-shadow: 4px 4px;
	background-color: white;
	height: 200px;
	width:132px;
	margin: 5px;
	padding: 5px;
	display: inline-block;
	animation: emerge 0.5s linear 1;
	text-wrap: wrap;
	overflow-wrap: break-word;
}

.card h1 {
	font-size: 20px;
}

.removeButton{
	background-color: red;
	display:none;
	padding:5px;
	align-items: center;
	border-radius:20px;
}


#dealCardsButton {
	margin: 10px;
	padding: 10px;
	background-color: darkgreen;
}

#saveDataButton {
	margin: 10px;
	padding: 10px;
	background-color: darkgreen;
}

#loadDataButton {
	margin: 10px;
	padding: 10px;
	background-color: darkgreen;
}


#cardOptionsSpace {
	columns: 150px auto;	
	z-index: 1;
}

#cardOptions{
	float: left;
	display:block;
	width:38%;
	height: 60%;
	background-color:#3ea832;
	border: 2px solid black;
	border-radius:20px;
}

#keyButtons {
	
}

#activeCardDiv{
	float: right;
	width:58%;
	background-color:#a83832;
	height:100%;
	margin-right: 10px;
	position: relative;
	border: 2px solid black;
	border-radius:20px;
}

#activeCards {
	columns: 150px auto;
	width:100%;
	height:100%;
	z-index: 1;
	position: relative;
}

#ActiveCardHead{
	color: #67221e;
	position:absolute;
	right:0px;
	margin:20px;
}

.rollButton {
	padding:2px;
	margin:10px;
	background-color: #fcba03;
	min-width: 40px;
}

#settings {
	position: absolute;
	top: 10%;
	min-height: 80%;
	left:10%;
	min-width:80%;
	background-color: gray;
	display: none;
	z-index: 20;
	padding: 20px;
	overflow-y: auto;
}

#showSettings {
	position:absolute;
	top:5px;
	right:5px;
	width:30px;
	height:30px;
	z-index:19;
	background-color:black;
	border: 2px solid black;
	border-radius:15px;
	padding: 5px;
}

#warning {
	display:none;
	position: absolute;
	width:30%;
	left:50%;
	top:40%;
	z-index: 50;
	background-color: lightgray;
	padding: 10px;
	text-align: center;
}

.multispin {
	animation:spin 1.5s ease-out ;
	background-color: red;
}

.singleSpin{
	animation:spinOnce 0.3s linear;
}

.pop{
	animation: pop 0.75s linear 1;
}

@keyframes spin { 
    100% { 
        transform:rotateX(2160deg); 
    } 
}

@keyframes spinOnce { 
    100% { 
        transform:rotateX(360deg); 
    } 
}

@keyframes pop{
  50%  {transform: scale(1.2);}
}

@keyframes emerge{
  0%  {transform: rotateY(90deg);
  		opacity: 0;}
}

label {
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  letter-spacing: 2px;
  text-decoration: none;
  padding: 0.25em 0.25em;
  user-select: none;
  -webkit-user-select: none;
}

span {
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  letter-spacing: 2px;
  text-decoration: none;
  padding: 0.25em;
}

input {
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  letter-spacing: 2px;
  text-decoration: none;
  user-select: none;
  -webkit-user-select: none;
  width: 5ch;
}

button {
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  letter-spacing: 2px;
  text-decoration: none;
  color: #000;
  cursor: pointer;
  border: 3px solid;
  padding: 0.25em 0.25em;
  box-shadow: 1px 1px 0px 0px, 2px 2px 0px 0px, 3px 3px 0px 0px, 4px 4px 0px 0px, 5px 5px 0px 0px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

button:active {
  box-shadow: 0px 0px 0px 0px;
}

@media (min-width: 768px) {
  button {
    padding: 0.25em 0.75em;
  }
}

#Intro table {
    border-collapse: collapse;
    margin: 1em 1em;
    border: 1px solid #CCC;
}
#Intro table thead {
    background-color: #EEE;
}
#Intro table thead td {
    color: #666;
}
#Intro table td {
    padding: 0.5em 1em;
    border: 1px solid #CCC;
}

#
