* {
	font-family: sans-serif;
}

a {
	text-decoration: none;
}

a:visited {
	color: blue;
}

body {
	margin-top: -1px;
}

h1 {
  font-family: "Arial Black", Gadget, sans-serif;
  font-size: 3em;
  letter-spacing: 2px;
}

h2 {
	font-family: "Arial Black", Gadget, sans-serif;
	font-size: 2.4em;
	letter-spacing: 2px;
}

h3 {
  font-family: sans-serif;
	font-size: 1.8em;
}

.article {
  font-family: "Times New Roman", Times, sans-serif;
  font-size: 1.8em;
  letter-spacing: 2px;
}

.center {
  text-align: center;
}

.text-center {
    text-align: center;
  }

.clear {
	clear: both;
}

.comment {
	color: #6a717c;
}

.bold {
	font-weight: bold;
}

.display-box {
	padding: 15px 2em 15px 2em;
	margin-right: 5em;
	margin-left: 5em;
	border: 5px solid black;
}

.error {
	color: #e06c75;
}

.green {
	color: #98c379;
}

.img-center {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.link {
	color: #0070FF;
	font-weight: bold;
}

.link:hover {
	cursor: pointer;
}


.nimbus {

		/*	font-family: "rockwell", Nimbus Mono L, serif; */
	font-family: Menlo, Consolas, DejaVu Sans Mono, monospace;
	font-size: 1.5em;
	color: #ccc;
	background: #252b35;
	padding: 15px 2em 15px 2em;
	margin-right: 5em;
	margin-left: 5em;

}

.orange {
	color: #d19a66;
}

.inline-nimbus {

		/*	font-family: "rockwell", Nimbus Mono L, serif; */
	color: #ccc;
	background: #000;
	padding-left: .25em;
	padding-right: .25em;

}

.previous {
  color: white;
  background-color: blue;
  padding: 10px;
  text-align: center;
  font-weight: bold;
  font-family: sans-serif;
  display: inline-block;
  float: left;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.top-next-button {
	color: white;
  background-color: blue;
  padding: 10px;
	margin-left: .25em;
  text-align: center;
  font-weight: bold;
  font-family: sans-serif;
  display: inline-block;
  float: left;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.next-button {
  color: white;
  background-color: blue;
  padding: 10px;
  text-align: center;
  font-weight: bold;
  font-family: sans-serif;
  display: inline-block;
  float: right;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.small {
	font-family: "Times New Roman", Times, sans-serif;
	font-size: 1.2rem;
	font-weight: bold;
	letter-spacing: 2px;
}

.tab {
	margin-left: 2em;
}

.tab2 {
	margin-left: 4em;
}

.teal {
	color: #53b6c2;
}

.text-block {
	font-size: 1.5em;
	padding-left: 3em;
	padding-right: 3em;
	font-family: sans-serif;
}

.yes {
	color: white;
  background-color: blue;
  padding-top: 10px;
	padding-bottom: 10px;
	padding-left: 20px;
	padding-right: 20px;
	margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
  font-family: sans-serif;
  display: inline-block;
	margin-left: 48%;
  float: left;
}

.maintitle {
	text-align: center;
	margin-bottom: .5rem;
}

.red {
	color: #e06c75;
}

.blue {
	color: #4da6ef;
}

.purple {
	color: #c678dd;
}

.hideNavigation {
	display: none;
}

.showNavigation {
	display: block;
}

.subtitle {
	text-align: center;
	margin-top: 0px;
}

.spinner {
	position: absolute;
	top: 50%;
	left: 50%;
	height: 50px;
	width: 50px;
	margin-top: -25px;
	margin-left: -25px;
	background-color: transparent;
	border-radius: 50%;
	border: 10px solid #00AAFF;
	border-top: 10px solid #FFFFFF;
	border-left: 10px solid #FFFFFF;
	border-right: 10px solid #00AAFF;
	animation: spin 600ms linear infinite;

}

.yellow {
	color: #fa6;
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
  }

  /* Provide sufficient contrast against white background */
  a {
    color: #0366d6;
  }

  .bg-black {
    background-color: #111;
  }

  .btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
  }

  .nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
  }

  /* Sticky footer styles
  -------------------------------------------------- */
  html {
    font-size: 16px;
  }

  .bold {
    font-weight: bold;
  }

  .border-top {
    border-top: 1px solid #e5e5e5;
  }
  .border-bottom {
    border-bottom: 1px solid #e5e5e5;
  }

  .box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
  }

  button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
  }

  .clear {
    clear: both;
  }

  /* ----- Reality: Below ----- */

  .diag-border {
      border: .5em solid #000;
      padding: 1em;
      font-weight: bold;
  }

  #actuality {
      background-color: #000;
      color: #fff;
      margin-left: 10em;
      margin-right: 10em;
  }

  #you{
      background-color: #fff;
      color: #000;
      display: inline-block;
      padding: 1em 5em 5em 5em;
  }

  #mind{
      background-color: #aaa;
      color: #fff;
      display: inline-block;
  }

  #sub-reality{
      background-color: #7ff;
      color: #000;
      display: inline-block;
  }

  #imagination{
      background-color: #7ff;
      color: #000;
      display: inline-block;
  }

  /* ----- Reality: Above ----- */

  /* ----- Snake: Below ----- */

  #snake-canvas {
    clear:both;
    width: 400px;
    padding-left: 0;
    padding-right: 0;
    margin-left: auto;
    margin-right: auto;
    border: solid .2em #fff;
    display: block;
  }

  .yes {
      color: white;
    background-color: blue;
    padding-top: 10px;
      padding-bottom: 10px;
      padding-left: 20px;
      padding-right: 20px;
      margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
    font-family: sans-serif;
    display: inline-block;
      margin-left: 48%;
    float: left;
  }

  /* ----- Snake: Above ----- */

  /* ----- Tetris: Below ----- */

  #tetris-canvas {
    position: relative;
    width: 300px;
    padding-left: 0;
    padding-right: 0;
    margin-left: 40%;
    margin-right: auto;
    border: solid .2em #fff;

    display: block;
  }

  .dark-background {
  width: 100%;
  height: 100%;
  padding: 2em;
  background-color: #202028;
  color: #fff;
  }

  .float-left {
  position: absolute;
  float: left;
  width: 30%;
  }

  .float-right {
  float: right;
  width: 30%
  }

  .display-box {
    padding: 15px 2em 15px 2em;
      margin-right: 5em;
      margin-left: 5em;
      border: 5px solid black;
  }

  /* ----- Tetris: Above ----- */

  /* Sticky footer styles
  -------------------------------------------------- */
  html {
    position: relative;
    min-height: 100%;
  }

  body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
  }

  .footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
  }

  .img-tecknixia {
    width: 75%;
    display: block;
      margin-left: auto;
      margin-right: auto;
  }

  .inline {
    display: inline-block;
    margin-left: 30px;
    margin-right: 30px;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .globalopensource {
    margin-top: 1em;
    margin-bottom: 1em;
  }

  .world-background {
    background-image: url('../images/as17-148-22727~orig.jpg');
      background-position: right;
    background-repeat: no-repeat;
    background-size: 39%;
  }

  /* Tutorials */

  .text-block {
      padding-left: 3em;
      padding-right: 3em;
  }

  .nimbus {
    /*	font-family: "rockwell", Nimbus Mono L, serif; */
  font-family: Menlo, Consolas, DejaVu Sans Mono, monospace;
  font-size: 1.1em;
  color: #ccc;
  background: #222;
  padding: 15px 2em 15px 2em;
  margin-right: auto;
  margin-left: auto;
  }

  .blue {
      color: #4da6ef;
  }

  .green {
      color: #98c379;
  }

  .orange {
      color: #d19a66;
  }

  .purple {
      color: #c678dd;
  }

  .red {
      color: #e06c75;
  }

  .yellow {
      color: #fa6;
  }

  .mobile-link {
    padding: .5em;
    margin: .5em;
    background-color: blue;
    color: white;
  }

  .mobile-link a {
    color: white;
  }

#games-pc-1 {
	display: inline-block;
}

@media only screen and (max-width: 799px) {

  a:visited {
    color: LightBlue;
  }

 .article {
  	font-family: "Times New Roman", Times, sans-serif;
		font-size: 1.6em;
  	letter-spacing: 2px;
  	padding-left: 0;
    padding-right: 0;
  }

  .mobile-version {
    display: block;
  }

  .pc-version {
    display: none;
  }
}

@media only screen and (min-width: 800px) {

    .article {
			font-size: 1.7em;
      padding-left: 5em;
      padding-right: 5em;
    }

  .mobile-version {
    display: none;
  }

  .pc-version {
    display: block;
  }
}

@media only screen and (min-width: 1400px) {

    .article {
			font-size: 1.8em;
      padding-left: 10em;
      padding-right: 10em;
    }

  .mobile-version {
    display: none;
  }

  .pc-version {
    display: block;
  }
}

@keyframes spin {
	0% {transform: rotate(0deg) }
	100% {transform: rotate(360deg) }
}
