@import url('https://fonts.googleapis.com/css?family=PT+Serif:400,700');
@import url('https://fonts.googleapis.com/css?family=Roboto+Slab');


html {
  background-color: #f9f9f9;
  position: fixed;
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
  max-width: 1400px;
  width: 100%;
  height: 120%;
}


body {
  font-family: "pt serif", serif;
  overflow-x: hidden;
  overflow-y: hidden;
  overflow: hidden;
  font-weight: 400;
  height: 120%;
}


#container {
  width: 450px;
  margin: auto;
  text-align: center;
  padding-top: 45px;
  height: 110%;
}

h1 {
  margin-top: 10px;
  font-size: 270%;
  margin-bottom: 10px;
  font-family: 'Roboto Slab';
  letter-spacing: -1pt;
  font-weight: 400;
}

h2 {
  font-family: 'PT serif', serif;
  padding: 0;
  margin-top: 0;
  line-height: 0;
  color: #bbb;
  font-weight: 100;
  font-size: 18px;
  margin-bottom: 40px;
}

.fade {
  animation: fading 3s infinite
}
@keyframes fading {
    0% {
      opacity:0
    }
    50% {
      opacity:1
    }
    100% {
      opacity:0
    }
}

.contents {
  margin-top: 18px;
  font-size: 11pt;
  line-height: 15pt;
}

.contents * {
  text-align: left;
  vertical-align: top;
  display: inline-block;
  width: 210px;
  margin: 0;
  font-weight: 400;
}

.contents a {
  /*color: #ce122b;*/
  text-decoration: none;
  text-align: right;
  padding-right: 14px;
}

a {
  color: #ce122b;
}

header a {
  text-decoration: none;
  padding-left: 10px;
  font-size: 14px;
}

::selection {
  background: #ce122b;
  color: white;
}


/* stuff for the game */

#gun {
  background-color: #000;
  width: 10px;
  position: absolute;
  top: 140px;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  height: 80px;
  transform: rotate(0deg);
  -webkit-transform-origin: top center;
  z-index: -1;
  display: none;
}


#logo {
  top: 100px;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  width: 126px;
  height: 126px;
  font-family: Lobster, serif;

}

#score {
  position: fixed;
  left: 0;
  right: 0;
  padding-left: 60vw;
  width: 450px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  font-size: 10pt;
}


#score span {
  visibility: hidden;
  /*
  margin-left: 80px;
  padding: 6px;
  height: 30px;
  width: 30px;
  text-align: center;
  position: inherit;
  background-color: green;
  -moz-border-radius: 30px;
  -webkit-border-radius: 30px;
  border-radius: 30px;
  */
}

#logoTarget {
  width: 100px;
  height: 100px;
  position: fixed;
  background: #ccbe41;
  -moz-border-radius: 50px;
  -webkit-border-radius: 50px;
  border-radius: 50px;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  z-index: -1;
  visibility: hidden;
}

.bullet {
  width: 10px;
  height: 10px;
  background: #ce122b;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  position: absolute;
  top: 100%;
  z-index: -2;
  font-size: 30px;
  text-align: center;
}

.enemy {
  width: 50px;
  height: 50px;
  position: absolute;
  background: #ccbe41;
  -moz-border-radius: 25px;
  -webkit-border-radius: 25px;
  border-radius: 25px;
  top:100%;
  opacity: 0.7;
  font-size: 0px;
  text-align: center;
}

#spacer {
  margin-top: 30%;
  display: block;
}

@media only screen and
(min-width : 977px) {
  #score {
    padding-left: 630px;
  }
}


@media only screen
and (min-device-width : 375px)
and (max-device-width : 667px)
 {

  html {
    position: static;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }

  #container {
    width: 100%;
    height: 400px;
  }
  h1 {
    font-size: 300%;
  }
  .contents * {
    font-size: 22px;
    width: 300px;
    padding-top: 30px;
    line-height: 22pt;
    font-weight: 400;
  }
  h2 {
    visibility: hidden;
  }

  #twitter, #linkedin {
    font-size: 22px;
  }

}
