/* universal */

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

@font-face {
  font-family: "League Spartan";
  src: url("../fonts/League_Spartan/LeagueSpartan-VariableFont_wght.ttf");
}

body {
  background: #000;
  color: #dedede;
  font-family: 'League Spartan', helvetica, arial, sans-serif;
  font-size: 30px;
  line-height: 40px;
}

img {
  width: 100%;
}

/* top navigation */

nav#top {
  width: 100%;
  color: #fff;
  font-size: 24px;
  line-height: 20px;
  padding: 10px 20px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  z-index: 999;
  font-family: 'League Spartan', helvetica, arial, sans-serif;
  font-weight: 700;
}

nav#top a {
  color: #fff;
  margin-right:24px;
  line-height: 1.4em;
  text-transform: uppercase;
  text-shadow: 2px 2px 1px #000;
}

nav#top a:last-child {
  margin-right: 0;
}

#top-left {
  display:flex;
  align-items: center;
  width:50%;
}

#top-right {
  width:50%;
  text-align: right;
}

nav#top img {
  width:40px;
  height:40px;
  align-items: center;
}

a.newemail::before {
  content: "New: ";
  color: #5D0000;
}

/* logo zone */

header {
  width: 100%;
  margin: 0 0 20px 0;
  box-sizing: border-box;
}

header h1 {
  display:none;
}

#cover {
  width: 600px;
  height: auto;
  margin: 200px auto 0 auto;
  box-sizing: border-box;
}

cover img {
  width: 100%;
  auto;
}

#cover:hover img {

}


/* sections and headlines */

h1, h2 {
  color: #999;
  line-height: 42px;
  margin-bottom: 32px;
  font-family: 'League Spartan', helvetica, arial, sans-serif;
  font-weight: 700;
}

h2 {
  font-size: 1.5em;
}

#games h1, #intro h1 {
  color:#ccc;
  font-family: 'League Spartan', helvetica, arial, sans-serif;
  font-weight: 700;
}

#games h1 {
 font-size:2.5em;
 margin:30px 0;
}

#intro h1 {
  font-size:3em;
  line-height: 0.9;
  margin-bottom:80px;
  margin-top:-100px;
  text-align: center;
  color: #fff;
}

.gamedisplay h3 {
  background:black;
  display:inline-block;
  box-sizing: border-box;
  margin-right:40px;
  padding:7px 7px 0px 7px;
  text-transform: uppercase;
  position: absolute;
  top: 7px;
  left: 7px;
  z-index: 9;
  font-family: 'League Spartan', helvetica, arial, sans-serif;
  font-weight: 700;
  line-height: 0.9em;
}

.gamedisplay:hover h3 {
  transform: translateY(-4px);
  transition: 0.1s;
}

section {
  max-width: 800px;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
  margin: 0 auto;
  margin-bottom: 50px;
}

section.justtext p {
  margin-bottom: 22px;
}

section.justtext a, #games li a {
  text-decoration: underline;
}

section.justtext a:hover, #games li a:hover {
  text-decoration: none;
}

section#intro {
  margin-bottom: 0px;
}


/* signup form */

input#email {
  border: 3px solid #666;
  color: #666;
  padding: 10px 12px;
  margin: 0 auto 24px auto;
  background: #000;
  width: 400px;
  display: block;
  box-sizing: border-box;
}

section#signup {
  text-align: center;
}

section#signup #submit {
  font-size: 1.7em;
  background: #5D0000;
  color: #eee;
  padding: 14px 32px;
  text-shadow: 2px 2px #000;
  -webkit-appearance: none;
  font-family: 'League Spartan', helvetica, arial, sans-serif;
  font-weight: 700;
}

section#signup #submit:hover {
  background: red;
  color: #eee;
  padding: 14px 32px;
  text-shadow: 2px 2px #000;
  cursor: pointer;
  transition: 0.2s;
  -webkit-appearance: none;
}

#recaptcha-wrapper {
  width: 304px;
  margin: 0 auto;
}

.g-recaptcha {
  display: inline-block;
}

section#signup p {
  font-size: 0.8em;
  line-height: 1.4em;
  width: 400px;
  margin: 12px auto;
}

section#signup button:hover {
  background: red;
  color: #ccc;
  padding: 14px 32px;
  text-shadow: 2px 2px #000;
  cursor: pointer;
  transition: 0.2s;
}

div#signup-smallprint {
  font-size: 20px;
  line-height: 26px;
  width: 304px;
  margin: 26px auto 0 auto;
}

/* custom links */

#discordinvite {
  display:block;
  box-sizing: border-box;
  max-width:800px;
  width:100%;
  margin:40px auto;
  height: 240px;
  color: #fff;
  text-shadow: 2px 2px 1px #000;
  background: #657fdf;
  font-family: 'League Spartan', helvetica, arial, sans-serif;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2em;
}

#discordinvite:hover {
  background: #958fff;
}

/* games */

div.gamedisplay {
  width: 100%;
  border: 3px solid #666;
  box-sizing: border-box;
  color: #efefef;
  text-shadow: 2px 2px #000;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

div.gamedisplay:hover {
  border: 3px solid #fff;
}

.gamedisplay img {
  overflow: hidden;
  width: 100%;
  opacity: 0.6;
}

.gamedisplay:hover img {
  transform: scale(1.05);
  transition: 0.2s;
  opacity: 1.0;
}

.gameimg img {
  width: 100%;
  height: auto;
  margin: 0;
  display: block;
}

.gamelist {
  margin:0 0 80px 0;
}

.gamedisplay p {
  font-size: 0.8em;
  color: #ccc;
}

.gamedescrip {
  margin-bottom:80px;
}

h3 span {
  color: #A50000;
}

ul {
  margin-top: 12px;
}

/* team list */

section#team ul {
  font-size: 20px;
  line-height: 24px;
  text-align: center;
  margin-top: 50px;
}

section#team span {
  font-size: 30px;
  display: block;
  margin-bottom: 12px;
}

section#team ul li {
  margin-bottom: 52px;
}

a {
  color: #918d83;
}

a:hover, #top a:hover {
  color: #ccc;
}

/* footer */

footer {
  border-top: 4px solid #5D0000;
  width: 100%;
  color: #5D0000;
  font-size: 24px;
  line-height: 20px;
  padding: 10px 20px;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  text-transform: uppercase;
  font-family: 'League Spartan', helvetica, arial, sans-serif;
  font-weight: 700;
}

footer a, #top a {
  margin-left: 10px;
  color: #A50000;
}

/* anchor scroll offset */

section#games, section#team, section#contact {
  padding-top: 80px;
  margin-top: -80px;
}

/* for small browsers */

@media all and (max-width: 760px) {
  #top-left a {
    display: block;
    margin-top: 20px;
    line-height: 30px;
  }

  #cover {
    margin: 0 auto 0 auto;
    width: 200px;
  }

  #intro h1 {
    font-size: 60px;
    margin-top: -60px;
  }

  nav#top {
    display: block;
    position: relative;
    padding-top: 20px;
    text-align: center;
  }

  #top-right, #top-left {
    text-align: left;
    display:block;
    width:100%;
    margin-bottom:60px;
  }

  #top-right a {
    display: block;
  }

  #top-left img {
    margin-bottom:-10px;
  }

  nav#top a {
    margin-bottom:12px;
  }

  header {
  }
}
