	/* basics */
* {
	margin: auto;
	padding: 0;
	font-family: 'IM Fell English';
	font-size: 20px;
	box-sizing: border-box;
}

	/* -----fonts----- */

@font-face {	/* IM fell english regular */
	font-family: "IM Fell English";
	src: url('fonts/IMFellEnglish-Regular.ttf') format('truetype');
}

@font-face {	/* im fell english italic */
	font-family: "IM Fell English";
	src: url('fonts/IMFellEnglish-Italic.ttf') format('truetype');
	font-style: italic;
}

@font-face {	/* jacquard 12 */
	font-family: "Jacquard 12";
	src: url('fonts/Jacquard12-Regular.ttf') format('truetype');
}

@font-face {	/* jacquard 24 */
	font-family: "Jacquard 24";
	src: url('fonts/Jacquard24-Regular.ttf') format('truetype');
}

@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
    100% { transform: translateX(0); }
}

	/* -----general----- */

body {
	background-color: #808080;
	background-image: url("slatebg.jpg");
	background-attachment: fixed;
	height: auto;
	color: #cccccc;
}

/* for div tracking purposes
div {
	border-style: dotted;
}
*/

a {
	color: #299C29;
	text-decoration: none;
}

a:visited {
	color: #3F9595;
}

p {
	hyphens: auto;
	padding: 10px 0;
}

h1 {
	font-size: 2em;
}

h2 {
	font-size: 1.1em;
}

img {
	max-width: 100%;
}

ul {
	list-style-position: inside;
	margin-left: 10px;
}

ul.a {list-style-type: circle;}
ul.b {list-style-type: disc;}
ul.c {list-style-type: square;}

li {
	text-align: left;
	font-size: 1em;
}

tr:nth-child(odd) {
	background-color: #363636;
}

tr:nth-child(even) {
	background-color: #3E454B;
}

tr:hover {
	background-color: #222021;
}

td {
	padding: 5px;
}


	/* -----all pages----- */
.td-left {
	width: 35%;
	text-align: center;
}

.td-right {
	font-size: 0.8em;
}

.td-right b {
	font-size: 1em;
}
	
.separator {
	margin: auto;
	width: 50%;
	padding: 20px;
}

.wrapper {
	width: 900px;
	justify-content: center;
	background-color: #222021;
	border-radius: 10px;
}

.header {
	top: 0;
	position: sticky;
	margin-top: 20px;
	width: 100%;
	z-index: 1;
	background-color: #222021;
	border-radius: 10px;
	
}

.body {
	overflow: auto;
	width: 90%;
	height: 100%;
	z-index: 0;
}

#jcb {
	font-family: "Jacquard 12";
	font-size: 5.5em;
}

#torch {
	max-width: 100%;
}

#torch-l {
	max-width: 100%;
}

.lilhr {
	width: 60%;
}

.links {
	width: 100%;
	text-align: center;
}

.links a {
	font-family: "Jacquard 12";
	font-size: 2.5em;
}

.fakelink {
	font-family: "Jacquard 12";
	font-size: 2.5em;
	color: #299C29;
	text-decoration: none;
	padding: 10px 10px;
	cursor: pointer;
	user-select: none;
}

.rotate {
	z-index: 0;
   -ms-transform: rotate(20deg);
    -webkit-transform: rotate(20deg);
     transform: rotate(20deg);
}

.normal {
	z-index: 0;
   -ms-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
     transform: rotate(0deg);
}

.keyholders {
	float: right;
	width: 50%;
	border-style: solid;
	background-color: #808080;
	color: black;
	padding: 0 10px;
}

.keyholders p {
	padding: 5px 0;
}

.camp-cont {
	width: 75%;
}

.camp {
	margin-top: 10px;
}

	/* //index.html */
	
#line-sep {
	display: block;
	max-width: 80%;
	margin: auto;
	padding: 10px 0;
}		

#topBtn {
	display: none;
	position: fixed;
	bottom: 20px;
	left: 85%;
	box-shadow: 8px 8px 8px 0px rgba(0,0,0,0.3);
	z-index: 1;
	font-size: 1.2em;
	border: none;
	outline: none;
	background-color: #555;
	color: white;
	cursor: pointer;
	padding: 10px 20px 10px 20px;
	border-radius: 4px;
}

#topBtn:hover {
	background-color: #6C8266;
}

/* collapsible stuff */
/* Style the button that is used to open and close the collapsible content */
.collapsible {
  background-color: #cccccc;
  cursor: pointer;
  width: 100%;
  border: none;
  text-align: center;
  outline: none;
}

/* Style the collapsible content. Note: hidden by default */
.content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
} 

.collapsible:after {
  content: '\2B9F'; /* Unicode character for "plus" sign (+) */
  font-size: 1em;
  color: black;
  margin-left: 10px;
}

.active:after {
  content: "\2B9D"; /* Unicode character for "minus" sign (-) */
}

	/* Dropdown Button */
.dropdown .dropbtn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  background-color: transparent;
  color: white;
  height: 40px;
  width: 20px;
  border: none;
  cursor: help;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 60px;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #222021;
  min-width: 300px;
  width: 100%;
  padding-bottom: 10px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.4);
  border-radius: 0 0 20px 20px;
  z-index: 1;
}

.thieves-content {
	display: none;
  position: absolute;
  top: 200%; 
  background-color: #222021;
  min-width: 300px;
  width: 100%;
  padding-bottom: 20px;
  overflow: auto;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.4);
  border-radius: 0 0 20px 20px;
  z-index: 1;
}

.tools-content {
	display: none;
  position: absolute;
  top: 350%; 
  background-color: #222021;
  min-width: 300px;
  width: 100%;
  padding-bottom: 20px;
  overflow: auto;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.4);
  border-radius: 0 0 20px 20px;
  z-index: 1;
}

#dice {
	margin-top: 30px;
  width: 80px;
  height: 80px;
  background-color: #e74c3c;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
  /* Creates a hexagonal d20 shape */
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  transition: transform 0.1s;
}

.rolling {
  animation: shake 1s infinite;
}

@keyframes shake {
  0% { transform: translate(2px, 1px); }
  50% { transform: translate(-2px, -1px); }
  100% { transform: translate(2px, 1px); }
}

.thieves {
	font-family: "Jacquard 12";
	font-size: 2em;
	margin: 0 10px;
	padding: 0 5px;
}

.rotateable {
    transition: all 100ms;
}

/* Links inside the dropdown */
.dropdown-content a {
  
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover 
.dropdown-content a:hover {
	background-color: #ddd;
	border-radius: 0 0 20px 20px;
}
*/
/* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
.show {display:block;}

@media screen and (max-width: 620px) {	
	* {
		font-size: 12pt;
	}
	.wrapper {
		margin: auto; 
		width: 98%;
		padding: 0;
		height: 100%;
	}
	.header {
		width: 100%;
		top: 0;
		margin-top: 10px;
		height: 100%;
	}
	#jcb {
		font-size: 12vw;
	}
	#torch {
		
	}
	#torch-l {
		width: 20px;
	}
	.links a {
		font-size: 6vw;
	}
	.fakelink {
		font-size: 6vw;
	}
	.keyholders {
		float: none;
		width: 80%;
	}
	.dropdown {
		width: 20px;
		height: 30px;
	}
	.dropdown .dropbtn {
		height: 20px;
		width: 10px;
	}
	.dropdown-content {
		right: 0;
		min-width: 200px;
	}
	.thieves-content {
		right: 0;
		min-width: 200px;
		top: 200%;
	}
	.tools-content {
		right: 0;
		min-width: 200px;
		top: 450%;
	}
}