/* Global and template stuff */
body {
	padding: 0;
	margin: 0;
	background: #fffde7;
	font-family: 'JetBrains Mono', monospace;
	font-size: 1.3em;
	height: 100%;
}

a:link, a:visited, a:active { text-decoration: none; color: crimson; }
a:hover {color: pink; }
a img { border: 0; }

h3 {
	font-family: 'Cabin Sketch', cursive;
	font-size: 2em;
	margin-bottom: 10px;
	padding-bottom: 0;
}

.navbar {
  overflow: hidden;
  background-color: crimson;
}

.navbar a {
  float: left;
  font-size: 1em;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  font-size: 1em;  
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.navbar a:hover, .dropdown:hover .dropbtn {
  background-color: black;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #fffde7;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: #ddd;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.clear {
	clear: both;
}

.hidden {
	display: none;
}

.wrapper {
	background: rgba(255, 255, 255, 0.8);
	max-width: 900px;
	padding: 0 20px;
	margin: 0 auto;
}

.nav {
	width: 100%;
	box-sizing: inherit;
	display: block;
	text-align: left;
	overflow: hidden;
}

.nav ul {
	width: 33.3%;
	box-sizing: inherit;
	display: block;
}

.nav ul li {
	padding: 8px 16px!important;
}

.nav ul li a {
	font-family: 'JetBrains Mono', monospace;
	font-size: 1.6em;
	color: crimson;
	height: auto;
}

.random-footer-image {
	margin-top: 20px;
	border: solid 1px #000;
	height: 200px;
	margin-bottom: 20px;
}

.footer .footer-left {
	float: left;
	font-family: 'Barlow', sans-serif;
	font-size: 1.6em;
}

.footer .footer-right {
	float: right;
	font-family: 'Barlow', sans-serif;
	font-size: 1.6em;
}

.footer .footer-center {
	text-align: center;
	font-family: 'Barlow', sans-serif;
	font-size: 1.6em;
	opacity: 0.5;
}

/* News page */
.news-wrapper {
	margin-top: 20px;
}

.news-article {
	margin-bottom: 20px;
	border-bottom: solid 1px #CCC;
	padding-bottom: 20px;
}

.news-article:last-of-type {
	border-bottom: 0;
	margin-bottom: 0;
	padding-bottom: 0;
}

.news-article-heading {
	font-family: 'Cabin Sketch', cursive;
	font-size: 26px;
}

.news-article-info {
	font-style: italic;
	margin-bottom: 5px;
	font-size: 12px;
}

/* Games page */
.game {
	background: #f1dbdb;
	padding: 20px;
}
.game-title {
	font-family: 'Cabin Sketch', cursive;
	font-size: 26px;
	float: left;
	margin-top: 10px;
}
.game-screenshots {
	float: right;
	margin-bottom: 20px;
}
.game-screenshots .screenshot {
	min-width: 10px;
	min-height: 10px;
	max-width: 100px;
	max-height: 100px;
	
}
.game-description {
	margin-bottom: 20px;
}
.game-location {
	float: left;
}
.location-title {
	float: left;
	padding-right: 10px;
	font-weight: bold;
}
.game-options {
	float: right;
}
.game-options ul {
	list-style-type: none;
	padding-left: 0;
	margin: 0;
}
.game-options ul li {
	text-align: left;
	display: inline;
	padding-right: 20px;
}

/* Info page */
.contact-left {
	width: 49%;
	float: left;
}
.contact-right {
	width: 49%;
	float: right;
}
.contact-right iframe {
	border: solid 1px #000;
}

.anything {
	text-align: right;
	font-family: 'Barlow', sans-serif;
	color: black;
	z-index:2;
}
.anythingelse {
	text-align: left;
	font-family: 'Barlow', sans-serif;
	color: black;
	z-index:2;
	border: 2px dotted crimson;
	padding: 18px;
	border-radius: 3px;
}
.centered {
	width: 200px;
	height: 200px;
	text-align: right;
	float: left;
	opacity: 0.8;
	transition: width 4s;
	transform: rotate(1.2deg);
	border: 4px solid crimson;
	background: url(/img/bgswitch.jpg);
}

.centered:hover {
	width: 940px;
	transform: rotate(1.9deg);
	border: 4px dotted crimson;
}

.collapsible {
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: 2px dotted crimson;
  text-align: right;
  outline: none;
  font-size: 1.3em;
  box-sizing: border-box;
}

.active, .collapsible:hover {
  background-color: crimson;
  color: white;
}

.content {
  max-height: 0;
  text-align: left;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  font-size: 1.3em; 
}
.container {
	width: 500px;
	float: right;
}

.content img {
 float: right;
 width: 400px;
 max-width: 100%;
 padding-bottom: 1em;
}

* {
  box-sizing: border-box;
}

/* Position the image container (needed to position the left and right arrows) */
.imgcontainer {
  position: relative;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Add a pointer when hovering over the thumbnail images */
.cursor {
  cursor: pointer;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 40%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* Container for image text */
.caption-container {
  text-align: center;
  background-color: crimson;
  padding: 2px 16px;
  color: white;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Six columns side by side */
.column {
  float: left;
  width: 16.66%;
}

/* Add a transparency effect for thumnbail images */
.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}

.vid {
	text-align: center;
	font-size: 14px;
	margin-left: 10%;
	margin-right: 10%;
}