.clear:before, #news:before, #news #carousel:before, #news #carousel li:before, #projects:before, #contact:before, #about:before, .modal .modal-wrap:before, .modal .modal-wrap .modal-center:before, .modal .modal-wrap .images ul:before, #col2:before,
.clear:after,
#news:after,
#news #carousel:after,
#news #carousel li:after,
#projects:after,
#contact:after,
#about:after,
.modal .modal-wrap:after,
.modal .modal-wrap .modal-center:after,
.modal .modal-wrap .images ul:after,
#col2:after {
  content: " ";
  display: table;
}

.clear:after, #news:after, #news #carousel:after, #news #carousel li:after, #projects:after, #contact:after, #about:after, .modal .modal-wrap:after, .modal .modal-wrap .modal-center:after, .modal .modal-wrap .images ul:after, #col2:after {
  clear: both;
}

.visuallyhidden, .info {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  opacity: 0;
}

.visuallyhiddenreset, .info.selected {
  border: none;
  clip: none;
  height: auto;
  margin: auto;
  overflow: auto;
  padding: 0;
  position: static;
  width: auto;
  opacity: 100;
}

header {
  color: white;
  background-color: #2d2d2d;
  background-image: url(../img/header-back.jpg);
  text-align: center;
  padding: 5em 0;
}
header h1 {
  font-size: 80px;
  font-size: 5rem;
  font-weight: normal;
  color: #4ec042;
  font-family: 'steelfish_rgregular', sans-serif;
  text-transform: uppercase;
  margin: 0;
  line-height: .7em;
}
header p:first-child {
  font-size: 26px;
  font-size: 1.625rem;
  font-family: 'rokkittregular', serif;
}
header p:last-child {
  margin-top: .4em;
  font-size: 18px;
  font-size: 1.125rem;
  font-family: 'rokkittregular', serif;
  text-transform: uppercase;
}

nav {
  background-color: #4ec042;
  text-align: center;
}
nav ul {
  border-top: 1px solid #258A1A;
  border-bottom: 1px solid #258A1A;
}
nav li {
  border-top: 1px solid #258A1A;
  border-bottom: 1px solid #258A1A;
  -webkit-transition: background-color 200ms cubic-bezier(0.645, 0.045, 0.355, 1);
  -moz-transition: background-color 200ms cubic-bezier(0.645, 0.045, 0.355, 1);
  -ms-transition: background-color 200ms cubic-bezier(0.645, 0.045, 0.355, 1);
  -o-transition: background-color 200ms cubic-bezier(0.645, 0.045, 0.355, 1);
  transition: background-color 200ms cubic-bezier(0.645, 0.045, 0.355, 1);
}
nav a {
  font-size: 30px;
  font-size: 1.875rem;
  font-family: 'bebas_neueregular', sans-serif;
  padding: 0 2em;
  color: white;
  text-decoration: none;
}
nav li:hover {
  background-color: #4b9544;
  cursor: pointer;
}

@media (min-width: 31em) {
  header h1 {
    font-size: 120px;
    font-size: 7.5rem;
  }
  header p:first-child {
    font-size: 40px;
    font-size: 2.5rem;
  }
  header p:last-child {
    font-size: 27px;
    font-size: 1.6875rem;
  }
}
@media (min-width: 37.5em) {
  nav ul {
    border: none;
  }
  nav li {
    border: none;
    display: inline-block;
  }
  nav a {
    font-size: 26px;
    font-size: 1.625rem;
    padding: 0 1em;
  }
}
@media (min-width: 50em) {
  header h1 {
    font-size: 180px;
    font-size: 11.25rem;
  }
  header p:first-child {
    font-size: 59px;
    font-size: 3.6875rem;
  }
  header p:last-child {
    font-size: 40px;
    font-size: 2.5rem;
  }

  nav a {
    font-size: 30px;
    font-size: 1.875rem;
  }
}
@media (min-width: 59em) {
  nav a {
    padding: 0 2em;
  }
}
section .block {
  padding: 1.5em;
}
section h2 {
  font-size: 50px;
  font-size: 3.125rem;
  font-family: 'rokkittregular', serif;
  margin: 0;
  line-height: .8em;
}

.block {
  -webkit-box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.16), 0 2px 5px 0 rgba(0, 0, 0, 0.26);
  -moz-box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.16), 0 2px 5px 0 rgba(0, 0, 0, 0.26);
  -ms-box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.16), 0 2px 5px 0 rgba(0, 0, 0, 0.26);
  -o-box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.16), 0 2px 5px 0 rgba(0, 0, 0, 0.26);
  box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.16), 0 2px 5px 0 rgba(0, 0, 0, 0.26);
}

#news div {
  margin: 0;
  padding: 0;
  position: relative;
}
#news h2 {
  position: absolute;
  padding-bottom: .3em;
}
#news #inner-wrapper {
  position: relative;
}
#news #inner-wrapper ul#selector {
  position: absolute;
  top: 3.5em;
  left: -1em;
  width: 2em;
}
#news #inner-wrapper ul#selector li {
  display: inline-block;
  width: 1.25em;
  height: 1.25em;
  margin: 0 .2em;
  border: 2px solid white;
  background-color: #4ec042;
  cursor: pointer;
  -webkit-transition: background-color 1000ms cubic-bezier(0.645, 0.045, 0.355, 1);
  -moz-transition: background-color 1000ms cubic-bezier(0.645, 0.045, 0.355, 1);
  -ms-transition: background-color 1000ms cubic-bezier(0.645, 0.045, 0.355, 1);
  -o-transition: background-color 1000ms cubic-bezier(0.645, 0.045, 0.355, 1);
  transition: background-color 1000ms cubic-bezier(0.645, 0.045, 0.355, 1);
}
#news #inner-wrapper ul#selector li:hover {
  background-color: #95dd8f;
}
#news #inner-wrapper ul#selector li.current {
  background-color: #2d2d2d;
}
#news #carousel {
  position: relative;
  overflow: hidden;
}
#news #carousel li {
  opacity: 1;
  -webkit-transition: opacity 1000ms cubic-bezier(0.645, 0.045, 0.355, 1);
  -moz-transition: opacity 1000ms cubic-bezier(0.645, 0.045, 0.355, 1);
  -ms-transition: opacity 1000ms cubic-bezier(0.645, 0.045, 0.355, 1);
  -o-transition: opacity 1000ms cubic-bezier(0.645, 0.045, 0.355, 1);
  transition: opacity 1000ms cubic-bezier(0.645, 0.045, 0.355, 1);
  position: relative;
  top: 0;
}
#news #carousel li img {
  width: 100%;
  max-height: 15em;
  padding-top: 3em;
}
#news #carousel li p {
  padding-top: 1em;
}
#news #carousel li:not(.current) {
  position: absolute;
  opacity: 0;
}

#projects > ul > li {
  cursor: pointer;
  margin: 1%;
  width: 47%;
  background-color: #555;
  float: left;
}
#projects > ul > li > img {
  width: 100%;
  -webkit-transition: all .5s ease;
  transition: all .5s ease;
}
#projects > ul > li > img:hover {
  -webkit-box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.16), 0 2px 5px 0 rgba(0, 0, 0, 0.26);
  -moz-box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.16), 0 2px 5px 0 rgba(0, 0, 0, 0.26);
  -ms-box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.16), 0 2px 5px 0 rgba(0, 0, 0, 0.26);
  -o-box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.16), 0 2px 5px 0 rgba(0, 0, 0, 0.26);
  box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.19), 0 8px 17px 0 rgba(0, 0, 0, 0.2);
  transform: scale(1.025);
}

#contact h2, #contact p {
  text-align: right;
}
#contact input, #contact textarea {
  outline: none;
  border: none;
  width: 100%;
  background-color: #e9e9e9;
  padding: .5em;
}
#contact textarea {
  min-height: 7em;
}
#contact input[type=submit] {
  background-color: #4ec042;
  width: auto;
  color: white;
  margin-top: 1em;
  float: right;
  padding: .5em 1em;
}
#contact input:focus, #contact textarea:focus {
  outline: 1px solid #4ec042;
}
#contact input[type=submit]:focus {
  outline: none;
}
#contact input[type=submit]:active {
  background-color: #4b9544;
}

#about img {
  max-width: 230px;
  float: right;
  margin: 0 1em 0 1.5em;
}
#about h2 {
  display: inline-block;
  padding: .3em 0;
}
#about p {
  padding-right: 5em;
}

@media (min-width: 37.5em) {
  #projects > ul > li {
    width: 31.3%;
  }
}
@media (min-width: 50em) {
  #about img {
    float: left;
    margin: 0 3em 0 1em;
  }
}
@media (min-width: 60em) {
  #news #inner-wrapper ul#selector {
    position: absolute;
    width: 68%;
    text-align: center;
    bottom: -1em;
    right: 0;
    top: auto;
    left: auto;
  }
  #news #carousel li img {
    width: 68%;
    position: absolute;
    right: 0;
    height: 100%;
    max-height: none;
    padding-top: 0;
  }
  #news #carousel li p {
    padding-top: 3em;
    padding-right: .5em;
    width: 32%;
    float: left;
  }
}
.modal {
  background-color: #2d2d2d;
  background-color: rgba(0, 0, 0, 0.6);
  position: fixed;
  overflow: auto;
  overflow-x: hidden;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  padding: 0 2%;
  margin: 0;
  cursor: auto;
}
.modal div {
  padding: 0;
}
.modal .modal-wrap.in {
  top: 0;
}
.modal .modal-wrap {
  -webkit-box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.16), 0 2px 5px 0 rgba(0, 0, 0, 0.26);
  -moz-box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.16), 0 2px 5px 0 rgba(0, 0, 0, 0.26);
  -ms-box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.16), 0 2px 5px 0 rgba(0, 0, 0, 0.26);
  -o-box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.16), 0 2px 5px 0 rgba(0, 0, 0, 0.26);
  box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.19), 0 8px 17px 0 rgba(0, 0, 0, 0.2);
  background-color: white;
  max-width: 1000px;
  margin: auto;
  margin-top: 1em;
  top: 0;
  padding: 0;
  position: relative;
  overflow: hidden;
}
.modal .modal-wrap h3 {
  font-size: 65px;
  font-size: 4.0625rem;
  line-height: 65px;
  line-height: 4.0625rem;
  font-family: 'bebas_neueregular';
  font-weight: normal;
  margin: 0;
  display: inline-block;
}
.modal .modal-wrap img {
  max-width: 100%;
}
.modal .modal-wrap .game-link {
  display: inline-block;
  padding-left: 1em;
}
.modal .modal-wrap .modal-center {
  width: 90%;
  padding: 2em 1%;
  margin-left: 5%;
  position: relative;
}
.modal .modal-wrap .modal-center .bigpic {
  transition: all .5s ease;
  opacity: 1;
  overflow: hidden;
  text-align: center;
  background-image: url(./spinner.gif);
  background-repeat: no-repeat;
  background-position: center center;
}
.modal .modal-wrap .modal-center .bigpic img {
  width: auto;
  height: auto;
  max-height: 100%;
}
.modal .modal-wrap .modal-left, .modal .modal-wrap .modal-right {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
  width: 5%;
  cursor: pointer;
  text-align: center;
  font-size: 30px;
  font-weight: bold;
  position: absolute;
  color: #999;
  top: 0;
  bottom: 0;
  transition: background-color .3s ease-out, color .3s ease-out;
}
.modal .modal-wrap .modal-left span, .modal .modal-wrap .modal-right span {
  font-size: 50px;
  font-size: 3.125rem;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  display: block;
  position: absolute;
  width: 100%;
  top: 50%;
}
.modal .modal-wrap .modal-right {
  right: 0;
}
.modal .modal-wrap .modal-left:hover, .modal .modal-wrap .modal-right:hover {
  background-color: #e9e9e9;
  color: #2d2d2d;
}
.modal .modal-wrap .images ul {
  padding-top: .5em;
}
.modal .modal-wrap .images ul li {
  list-style: none;
  max-width: 12%;
  margin: 0;
  margin-right: .5%;
  float: left;
  cursor: pointer;
}
.modal .modal-wrap .images ul li img {
  -webkit-transition: all .5s ease;
  transition: all .5s ease;
}
.modal .modal-wrap .images ul li img:hover {
  -webkit-box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.16), 0 2px 5px 0 rgba(0, 0, 0, 0.26);
  -moz-box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.16), 0 2px 5px 0 rgba(0, 0, 0, 0.26);
  -ms-box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.16), 0 2px 5px 0 rgba(0, 0, 0, 0.26);
  -o-box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.16), 0 2px 5px 0 rgba(0, 0, 0, 0.26);
  box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.16), 0 2px 5px 0 rgba(0, 0, 0, 0.26);
}

.close {
  display: block;
  position: absolute;
  right: 14px;
  top: 10px;
  text-decoration: none;
  color: black;
  font-family: Arial, sans-serif;
  font-weight: bold;
  z-index: 10;
  color: #999;
  padding: 0 6px;
}

.close:hover {
  background-color: #ddd;
  color: #2d2d2d;
}

.close:active {
  color: #999;
}

@media (min-width: 60em) {
  .modal-wrap .modal-left:hover, .modal-wrap .modal-right:hover {
    -webkit-box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.16), 0 2px 5px 0 rgba(0, 0, 0, 0.26);
    -moz-box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.16), 0 2px 5px 0 rgba(0, 0, 0, 0.26);
    -ms-box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.16), 0 2px 5px 0 rgba(0, 0, 0, 0.26);
    -o-box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.16), 0 2px 5px 0 rgba(0, 0, 0, 0.26);
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.16), 0 2px 5px 0 rgba(0, 0, 0, 0.26);
  }
  .modal-wrap .images {
    width: 60%;
    float: left;
  }
  .modal-wrap .about {
    width: 39%;
    margin-left: 1%;
    float: left;
    padding: 1em;
    /*background-color: #eeeeee;*/
  }
}
* {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 16px;
  font-size: 1rem;
  font-family: 'source_sans_proregular' sans-serif;
  margin: 0;
  padding: 0;
}

body {
  background-color: #555;
}

strong {
  font-family: 'source_sans_probold';
  font-weight: normal;
}

p, ul, h2 {
  margin: 0;
  padding: 0;
  list-style: none;
}

header, nav, section, footer {
  max-width: 1000px;
  margin: auto;
}

section {
  background-color: #c0c0c0;
  padding: 1px 1% 1% 1%;
}
section .block {
  background-color: white;
  vertical-align: top;
  margin: 1.5% 1%;
}

input, textarea {
  display: block;
}

#news, #game {
  margin-bottom: 0;
}

#about {
  clear: both;
}

#col2 {
  margin: 0;
  padding: 0;
  width: 100%;
  background: transparent;
  overflow: hidden;
}

#news, #projects, #contact, #about, #game, .modal-wrap {
  background-image: url(./triangle.png);
  background-repeat: no-repeat;
  background-position: top left;
}

footer {
  margin: 1em auto;
  text-align: center;
  color: #2d2d2d;
}

@media (min-width: 58em) {
  #projects {
    width: 65%;
    margin-right: 0;
  }

  #contact {
    width: 32%;
  }

  #projects, #contact {
    float: left;
    padding-bottom: 100%;
    margin-bottom: -98%;
  }
}

/*# sourceMappingURL=base.css.map */
