/* Typography */

@font-face {
  font-family: "Rock";
  src: url('../font/JFRocSol.TTF');
  font-weight: 900;
}

body {
  font-family: "Open Sans", sans-serif;
  color: #444;
  font-size: 1em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Quicksand", sans-serif;
}

h2 {
  font-size: 2.5em;
}

h3 {
	font-size: 1.5em;
}

p, kbd {
	font-size: 1.25em;
}

/* Layout */

html {
  background-color: #efefef;
}

body {
  margin: 0;
}

kbd {
	border: 1px solid #ccc;
	color: red;
}

.content {
  width: 750px;
  height: 1250px;
  margin: 0 auto;
}

.backgroundGif {
  background-image: url('../img/gameplay.gif');
  background-size: cover;
}

.titleBanner {
  background-color: rgba(51, 51, 51, 0.85);
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100vh;
}

.titleLogo {
  margin: 45vh auto;
  width: 100%;
  text-align: center;
}

.titleName {
  position: relative;
  font-family: "Rock";
  font-size: 5em;
  color: #ccc;
  z-index: 2;
}

.titleIcon {
  position: absolute;
  top: 30%;
  left: 55%;
  z-index: 1;
}

.inputArea {
  margin-top: 75px;
  width: 750px;
}

.inputItem {
  font-family: "Open Sans", sans-serif;
  font-size: 1em;
  width: 710px;
  border-radius: 4px;
  padding: 10px 20px;
  border: none;
  margin: 10px 0;
}

.inputButton {
  font-family: "Open Sans", sans-serif;
  font-size: 1em;
  width: 750px;
  border-radius: 4px;
  padding: 10px 20px;
  border: none;
  margin: 10px 0;
}

.inputButton:hover {
  opacity: 0.8;
}

.inputButton:active {
  opacity: 0.7;
}

.inputButton:focus {
  outline: none;
}

@media (max-width: 767px) {
  .spriteEditor {
    display: none;
  }
}

.spriteEditor {
  width: 100%;
  height: 1000px;
  background-color: #333;
}

.editorContent {
  width: 750px;
  height: 1000px;
  margin: 0 auto;
}

.spriteEditor h2 {
	position: relative;
	top: 33.2px;
  color: #efefef;
}

.canvasEditor {
  padding: 50px 0;
  width: 640px;
  height: 640px;
  margin: auto;
}

.canvas {
  position: relative;
  z-index: 2;
  background-color: rgba(0, 0, 0, 0);
}

.canvasGrid {
  position: relative;
  z-index: 1;
  top: -645px;
  border-top: 1px solid #000;
  border-left: 1px solid #000;
  background-color: rgba(102, 102, 102, 0.5);
}

.canvasMisc {
	width: 100%;
	display: inline-block;
	margin: 0 auto;
}

.colorPicker {
	padding: 0 55px;
	margin-top: -20px;
}

input[type="color"] {
	-webkit-appearance: none;
	border-radius: 4px;
	border: none;
	width: 32px;
	height: 32px;
}
input[type="color"]::-webkit-color-swatch-wrapper {
	padding: 0;
}
input[type="color"]::-webkit-color-swatch {
	border: none;
	border-radius: 4px;
}

.buttonSave {
	padding: 10px 55px;
}

.saveButton {
	font-family: "Open Sans", sans-serif;
	font-size: 1em;
	width: 640px;
	border-radius: 4px;
	padding: 10px 20px;
	border: none;
}

.saveButton:hover {
	opacity: 0.8;
}

.saveButton:active {
	opacity: 0.7;
}

.saveButton:focus {
	outline: none;
}

.footer {
  height: 50px;
  line-height: 50px;
  text-align: center;
  font-family: "Quicksand", sans-serif;
}

.footer a {
  color: inherit;
}

/* Mobile shit */
@media (max-width: 767px) {
  .content {
    width: 90vw;
  }

  .inputArea {
    width: 90vw !important;
  }

  .inputForm {
    width: 85vw !important;
  }

  .inputItem {
    width: 91% !important;
  }

  .inputButton {
    width: 100% !important;
  }

  .titleName {
    position: relative;
    font-family: "Rock";
    font-size: 2em;
    color: #ccc;
    z-index: 2;
  }
}
