/* RESET */
html, body, header, nav, h1, a,
ul, li, strong, main, button, i,
section, img, div, h2, h3, h4, p, form,
fieldset, label,
span, article, footer, time, small {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font: inherit;
  color: inherit;
  text-align: inherit;
  text-decoration: inherit;
  vertical-align: inherit;
  box-sizing: inherit;
  background: transparent;
  z-index: 0;
}

ul {
  list-style: none;
}

input,
button,
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
}

/* CLEARFIX */

.group:after {
  content: "";
  display: block;
  clear: both;
}

button {
 cursor: pointer;
}

.hidden {
  display: none;
}

/* STYLING */

body {
    background-image: url('../sprites/cloudold.gif');
    background-size: cover;
}

.white-body {
  background: #fff;
}

.logo {
  position: absolute;
  left: 100px;
  top: 20px;
}

.game-menu {

}

.game-menu .opening-screen {
  position: relative;
  border-radius: 10px;
  width: 400px;
  height: 800px;
  margin: 0px auto;
  text-align: center;
  padding: 40px 60px 0;
}

#browser-instruction {
  font-family: 'Short Stack', cursive;
  position: absolute;
  top: 160px;
  font-size: 20px;
  font-weight: bold;
}

.game-menu .opening-screen > button {
    position: absolute;
}

#single-player-menu {
  top: 250px;
  right: 85px;
}

#single-player-menu-selected{
  display: block;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  background: url(./images/singlePlayerSELECTED.png) no-repeat;
  width: 399px; /* Width of new image */
  height: 149px; /* Height of new image */
  padding-left: 399px; /* Equal to width of new image */
  left: 72px;
  top: 236px;
}

/*#single-player-menu:hover {
  display: block;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  background: url(./images/singlePlayerSELECTED.png) no-repeat;
  width: 399px; /* Width of new image */
  /*height: 149px; /* Height of new image */
  /*padding-left: 399px; /* Equal to width of new image */
  /*left: 72px;
  top: 236px;
}*/

#free-for-all-menu {
  top: 335px;
  right: 95px;

}

/*#free-for-all-menu:hover {
  display: block;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  background: url(./images/freeForAllSELECTED.png) no-repeat;
  width: 300px; /* Width of new image */
  /*height: 230px; /* Height of new image */
  /*padding-left: 300px; /* Equal to width of new image */
  /*left: 124px;
  top: 332px;
}*/

#free-for-all-menu-selected {
  display: block;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  background: url(./images/freeForAllSELECTED.png) no-repeat;
  width: 300px; /* Width of new image */
  height: 230px; /* Height of new image */
  padding-left: 300px; /* Equal to width of new image */
  left: 124px;
  top: 332px;
}

#team-death-match-menu {
  bottom: 250px;
  right: 20px;
}

/*#team-death-match-menu:hover {
  display: block;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  background: url(./images/TEAMdEATHMATCHSELECTED.png) no-repeat;
  width: 348px; /* Width of new image */
  /*height: 128px; /* Height of new image */
  /*padding-left: 348px; /* Equal to width of new image */
  /*left: 177px;
  bottom: 241px;
}*/

#team-death-match-menu-selected {
  display: block;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  background: url(./images/TEAMdEATHMATCHSELECTED.png) no-repeat;
  width: 348px; /* Width of new image */
  height: 128px; /* Height of new image */
  padding-left: 348px; /* Equal to width of new image */
  left: 177px;
  bottom: 241px;
}

#open-about-page {
  bottom: 50px;
  right: 150px;
}

/*#open-about-page:hover {
  display: block;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  background: url(./images/aboutSELECTED.png) no-repeat;
  width: 220px; /* Width of new image */
  /*height: 198px; /* Height of new image */
  /*padding-left: 220px; /* Equal to width of new image */
  /*left: 160px;
  bottom: 41px;
}*/

#open-about-page-selected {
  display: block;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  background: url(./images/aboutSELECTED.png) no-repeat;
  width: 220px; /* Width of new image */
  height: 198px; /* Height of new image */
  padding-left: 220px; /* Equal to width of new image */
  left: 160px;
  bottom: 41px;
}

.about-page {
  margin: 100px auto;
  background: #08E8DE;
  position: relative;
  width: 560px;
  height: 440px;
  border-radius: 20px;
  padding: 0 50px 50px 50px;
}

.about-page > h1 {
  color: #fff;
  font-size: 62px;
  font-family: 'Short Stack', cursive;
  font-weight: bold;
  margin: 0 155px;
}

.about-page #blurb {
  text-align: center;
  font-size: 24px;
  padding-top: 55px;
  font-family: 'Short Stack', cursive;
}

 #call-to-action {
  margin-top: 80px;
  text-align: center;
  font-size: 24px;
  font-family: 'Short Stack', cursive;
}

#call-to-action > a {
  color: #D816C4;
}

#call-to-action > a:hover {
  color: #fff;
}

.about-page > a {
  color: #fff;
}

.about-page > a:hover {
  color: #D816C4;
}

.about-page #bryan {
  position: absolute;
  left: 55%;
  bottom: 155px;
  font-size: 24px;
}

.about-page #rich {
  position: absolute;
  left: 39%;
  bottom: 155px;
  font-size: 24px;
  border-right: 1px solid #fff;
  padding-right: 30px;
}

.about-page > button {
  position: absolute;
  bottom: 10px;
  left: 43%;
  background: #fff;
  padding: 10px 20px;
  color: #D816C4;
  width: 60px;
  border-radius: 5px;
  font-size: 22px;
  text-align: center;
}

.about-page > button:hover {
  position: absolute;
  bottom: 10px;
  left: 43%;
  background: #D816C4;
  padding: 10px 20px;
  color: #fff;
  width: 60px;
  border-radius: 5px;
  font-size: 22px;
  text-align: center;
}

.game-form {
  width: 1140px;
  border-radius: 10px;
  background: #fff;
  text-align: center;
  margin: 50px auto;
  border: 1px solid transparent;
}

.hide-menu {
  display: none;
}

.computer-number-selection {
  background: #fff;
  border-radius: 10px;
  width: 400px;
  margin: 150px auto;
  text-align: center;
  padding: 40px 60px 0;

}

.computer-number-selection > h1 {
  font-size: 44px;
  margin-bottom: 20px;
}

.computer-number-selection > ul > li {
  border-top: 1px solid #000;
  cursor: pointer;
  padding: 20px 10px;
  font-size: 24px;
}


.title-screen > img {
margin-left: 30%;
margin-top: 12%;
}

.computer-number-selection > ul > li:hover {
  background: lightgray;
}

.player-number-selection {
  background: #fff;
  border-radius: 10px;
  width: 410px;
  margin: 150px auto;
  text-align: center;
  padding: 40px 60px 0;

}

.player-number-selection > h1 {
  font-size: 44px;
  margin-bottom: 20px;
}

.player-number-selection > ul > li {
  border-top: 1px solid #000;
  cursor: pointer;
  padding: 20px 10px;
  font-size: 24px;
}

.player-number-selection > ul > li:hover {
  background: lightgray;
}

.player-number-selected, .computer-number-selected{

  background: lightgray;
}

.toggle-players {
  font-size: 32px;
  border: 1px solid #000;
  margin-top: 10px;
  padding: 5px 10px;
  border-radius: 5px;
}

.toggle-players:hover {
  background: lightgray;
}

.player-forms {

}

.player-forms .display-players:nth-child(odd) {
  float: left;
}

.player-forms .display-players:nth-child(even) {
  float: right;
}

.highlight-selection {
  background: yellow;
}

.player-forms > article {
  display: none;
}

.player-forms .display-players {
  position: relative;
  display: block;
  border: 1px solid #000;
  border-radius: 5px;
  width: 485px;
  height: 335px;
  padding: 10px;
  margin: 10px;
}

.player-forms > article > ul > .select {
  font-size: 24px;
  margin: 0 0 15px;
  font-family: 'Pragati Narrow', sans-serif;
  font-weight: 600px;
}

.player-forms > article > ul > li {
  color: darkgray;
  padding: 8px 0;
}

.player-forms > article > ul > li:hover {
  color: #000;
}

.player-ready {
  background: yellow;
}

.player-forms > article > h1 {
  border-bottom: 1px solid #000;
  font-size: 24px;
  padding-bottom: 10px;

}

.player-forms > article > ul {
  margin: 25px 0 60px;
}

.player-type {
  cursor: pointer;
}

.player-fart {
  cursor: pointer;
}

.player-team {
  cursor: pointer;
}

.player-forms > article #types {
  float: left;
  border-right: 1px solid #000;
  padding-right: 45px;
}

.player-forms > article #farts {
  float: right;
  margin-right: 25px;
}

.player-forms > article > button {
  border: 1px solid #D816C4;
  padding: 5px 10px;
  border-radius: 5px;
  position: absolute;
  bottom: 15px;
  left: 185px;
  color: #D816C4;
}

.player-forms > article > button:hover {
  color: #fff;
  background: #D816C4
}


.hide-button {
  display: none;

}

.start-game {
  display: block;
  padding: 10px 20px;
  margin: 40px 463px 40px;
  border: 1px solid #D816C4;
  border-radius: 5px;
  width: 75px;
  color: #D816C4;
  background: #fff;
}

.start-game:hover {
  color: #fff;
  background: #D816C4;
}

.controls {

}

.controls {
  width: 490px;
  text-align: center;
  border: 1px solid #000;
  margin: 0 auto;
  padding: 20px;
  border-radius: 5px;
}

.controls > h1 {
  font-size: 50px;
  border-bottom: 1px solid#000;
  margin-bottom: 30px;
}

.controls > ul{
  border: 1px solid lightgray;
  border-radius: 5px;
}

.controls #controller-controls{
  margin-bottom: 10px;
  padding: 0 125px 10px;
}

.controls #keyboard-controls-1{
  float: left;
  padding: 10px 20px;
}

.controls #keyboard-controls-2{
  float: right;
  padding: 10px 20px;
}

#pause-screen .controls {
  margin: 100px auto;
  background: #08E8DE;
  position: relative;
  width: 590px;
  height: 400px;
  border-radius: 20px;
  padding: 50px;
  color: #000;
  font-size: 18px;
  font-weight: bold;
}

#pause-screen .controls > ul {
  border: 1px solid #000;
  border-radius: 5px;
}

#pause-screen .controls > ul > h3 {
  border-bottom: 1px solid #000;
}

.closing-screen {
  margin: 100px auto;
  background: #08E8DE;
  position: relative;
  width: 560px;
  height: auto;
  min-height: 400px;
  border-radius: 20px;
  padding: 0 50px 50px 50px;
}

.closing-screen > h1 {
  color: #fff;
  font-size: 62px;
  font-family: 'Short Stack', cursive;
  font-weight: bold;
  margin: 0 91px;
  border-bottom: 1px solid #fff;
  padding-top: 20px;
}

.closing-screen .individual-player-stats > ul{

  position: relative;
  display: block;
  border: 1px solid #fff;
  color: yellow;
  border-radius: 5px;
  font-weight: bold;
  font-size: 24px;
  width: 435px;
  padding: 20px;
  margin: 20px;
}

.closing-screen .individual-player-stats > ul:last-child{
  margin-bottom: 40px;
}

.closing-screen #replay-game-button {
  position: absolute;
  bottom: 10px;
  left: 30%;
  background: #fff;
  padding: 5px 10px;
  color: #D816C4;
  width: 100px;
  border-radius: 5px;
  font-size: 18px;
  text-align: center;
}

.closing-screen #new-game-button {
  position: absolute;
  bottom: 10px;
  left: 52%;
  background: #fff;
  padding: 5px 10px;
  color: #D816C4;
  width: 100px;
  border-radius: 5px;
  font-size: 18px;
  text-align: center;
}

.closing-screen #replay-game-button:hover {
  position: absolute;
  bottom: 10px;
  left: 30%;
  background: #D816C4;
  padding: 5px 10px;
  color: #fff;
  width: 100px;
  border-radius: 5px;
  font-size: 18px;
  text-align: center;
}

.closing-screen #new-game-button:hover {
  position: absolute;
  bottom: 10px;
  left: 52%;
  background: #D816C4;
  padding: 5px 10px;
  color: #fff;
  width: 100px;
  border-radius: 5px;
  font-size: 18px;
  text-align: center;
}

canvas {
}

html, body {
    margin: 0;
}

#gameArea {
    background-image: url('../sprites/cloud.gif');
    background-size: cover;
    position: absolute;
    z-index: 3;
}

#fireworks {
    z-index: 50;
}

#flamethrower {
    z-index: 50;

}

canvas {
    position: absolute;
    width: 100%;
    height: 100%;
}

#selected {
  border: 2px solid black;
  border-radius: 60%;
}

.game-form {
  background: #bdf8ff;
}

.single-player {
  font-size: 1.2vw !important;
  font-family: 'Short Stack', cursive;
}
