* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  line-height: 1;
  font-family: 'Lato', sans-serif;
}
html {
  min-height: 100%;
  font-size: 10px;
}

html:after {
  content: '';
  display: block;
  position: fixed;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #000 url('bg.jpg') no-repeat 0 0 / cover;
}

body {
  height: 100%;
  padding: 20px;
  font: 14px/1 'Lato', sans-serif;
}

h1 {
  margin-bottom: 40px;
  font-size: 24px;
  font-weight: 100;
  text-align: center;
  opacity: .5;
}

h2 {
  margin-bottom: 20px;
  text-align: center;
  line-height: 1.2;
}

p,
li {
  margin-bottom: 20px;
  line-height: 1.5;
}

a {
  color: #006dcd;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a:hover {
  color: rgba(0, 109, 205, 0.5);
}

@media (min-width: 600px) {
  h1 {
    font-size: 40px;
  }
}

nav {
  text-align: center;
  margin-bottom: 40px;
}

nav a {
  display: block;
  margin-bottom: 20px;
  padding: 3px;
  text-transform: capitalize;
  text-decoration: none;
  font-size: 24px;
  color: #006dcd;
  font-weight: 300;
}

nav a.current {
  font-weight: bold;
  border-bottom-color: rgba(0, 109, 205, 0.5);
}

@media (min-width: 600px) {
  nav a {
    display: inline-block;
    margin: 0 0 0 40px;
    border-bottom: 3px solid transparent;
    transition: border-bottom-color .3s;
  }
  nav a:hover {
    border-bottom-color: rgba(0, 109, 205, 0.5);
  }

  nav a:first-child {
    margin-left: 0;
  }
}

table {
  table-layout: fixed;
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}

tbody tr {
  border-top: 1px solid #ccc;
}

th > div,
td > div {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

th {
  color: #666;
}

.headers th {
  text-transform: uppercase;
}

.page {
  margin: 0 auto;
  padding: 20px;
  background: rgba(255,255,255,.9);
  border-radius: 4px;
  box-shadow: 0 0 5px rgba(0,0,0,1);
  transform: translate3d(0,0,0);
  will-change: scroll-position;
}

.home .page,
.signup .page,
.info .page  {
  max-width: 600px;
}

.signup-confirm {
  font-size: 2rem;
}

.signup-confirm.signup-error {
  color: red;
}

.leaderboard .page {
  border-radius: 0;
  box-shadow: none;
}

.leaderboard-wrap .team {
  border-top: 1px solid #ccc;
  height: 4rem;
  overflow: hidden;
  border-left: 1px solid transparent;
  border-right: 1px solid transparent;
  transition: height .3s;
}

.leaderboard-wrap .team tbody .name-col .cut {
  text-decoration: line-through;
}

.leaderboard-wrap .team tbody .name-col .cut:after {
  content: '(CUT)';
  display: inline-block;
  margin-left: 3px;
}

.leaderboard-wrap .team.expanded {
  height: 28rem;
  background: rgba(255,255,255,.5);
  border-left-color: #ccc;
  border-right-color: #ccc;
}

.leaderboard-wrap .team.expanded th {
  color: #000;
}

.leaderboard-wrap .name-col > div {
  line-height: normal;
}

.leaderboard-wrap.allExpanded .headers .name-col a:after,
.leaderboard-wrap .team.expanded a:after {
  transform: rotateZ(-180deg);
}

.leaderboard-wrap th,
.leaderboard-wrap td {
  text-align: center;
  position: relative;
  vertical-align: middle;
  height: 4rem;
  padding: 0 1rem;
}

.leaderboard-wrap tr > :first-child {
  width: 4rem;
  padding: 0;
}

.leaderboard-wrap .name-col {
  text-align: right;
  width: 30%;
}

.leaderboard-wrap .team .rank-col div {
  display: inline-block;
  width: 30px;
  height: 30px;
  border-radius: 30px;
  background: #ccc;
  line-height: 30px;
}

.leaderboard-wrap .team .rank-col.active div {
  background: rgba(83, 177, 83, 1);
  color: #fff;
  /* box-shadow: 0 0 0 rgba(83, 177, 83, .4);
  animation: pulse 3s infinite;
  will-change: box-shadow; */
}

/* @keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(83, 177, 83, .4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(83, 177, 83,0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(83, 177, 83, 0);
  }
} */

.leaderboard-wrap .team tbody .rank-col div {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.leaderboard-wrap .name-col a {
  display: inline-block;
}

.leaderboard-wrap .name-col a:after {
  content: '';
  display: inline-block;
  position: relative;
  top: .5rem;
  margin: 0 0 0 .5rem;
  width: 0;
  height: 0;
  border-width: .5rem;
  border-style: solid;
  border-color: transparent;
  border-top-color: rgba(0, 109, 205, 0.5);
  transform: rotateZ(0);
  transition: transform .3s;
  transform-origin: 50% 25%;
}

.leaderboard-wrap .headers {
  border-left: 1px solid transparent;
  border-right: 1px solid transparent;
}

.leaderboard-wrap .headers th {
  height: auto;
}

.leaderboard-wrap .headers .score-col {
  padding: 0;
}

.leaderboard-wrap .headers .score-col a {
  padding: 0 10px;
  cursor: pointer;
  transition: background .2s;
  color: #666;
}

.leaderboard-wrap .headers .score-col a:hover {
  background: #ccc;
  color: #333;
}

.leaderboard-wrap .headers .score-col a {
  display: block;
  line-height: 40px;
}

.leaderboard-wrap .headers .score-col.sorted a:after {
  display: inline-block;
  content: '\279E';
  transform: rotateZ(270deg);
}

.leaderboard-wrap .headers .score-col.sorted.desc a:after {
  transform: rotateZ(90deg);
}

.leaderboard-wrap .sorted {
  background: #ddd;
}

.leaderboard-wrap .round-col {
  opacity: .3;
}

.leaderboard-wrap .round-col.current {
  opacity: 1;
}

.leaderboard-wrap .trending-up {
  color: green;
}

.leaderboard-wrap .trending-down {
  color: red;
}

.leaderboard-wrap .team tbody td.worst div {
  opacity: .3;
  font-style: italic;
}

.leaderboard-wrap .team tbody td.name-col.worst > div {
  display: inline-block;
  margin-right: 5px;
  vertical-align: middle;
}

.leaderboard-wrap .team tbody td.name-col.worst:after {
  content: '[High Man]';
  display: inline-block;
  margin-left: -3px;
}

.leaderboard-wrap .team.expanded .sorted {
  background: rgba(221, 221, 221, 0.5);
}

@media (min-width: 600px) {
  .page {
    padding: 40px;
  }
}

.field {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

input[type='text'],
input[type='email'] {
  display: block;
  width: 100%;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
}

select {
  width: 100%;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  font-size: 16px;
}

.submit {
  margin-top: 40px;
  text-align: center;
}

button {
  padding: 10px 20px;
  border: none;
  background: #006dcd;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
  font-size: 18px;
  transition: background .3s, padding .3s;
}
button:hover {
  background: #0088ff;
  padding: 10px 30px;
}

.shank-alert {
  display: block;
  position: relative;
  background: red;
  color: #fff;
  text-align: center;
  font-size: 40px;
  padding: 20px;
}

.winners {
  max-width: 60rem;
  margin: 0 auto;
}

.winner {
  border-top: 1px solid #ccc;
  padding: 40px 0 20px;
}

.winner:first-child {
  border-top: none;
  padding-top: 0;
}

.winners-notice {
  display: block;
  font-size: 40px;
  text-align: center;
  background: green;
  color: #fff;
  padding: 20px;
  margin-bottom: 40px;
  transition: opacity .3s;
}

.winners-notice:hover {
  color: #fff;
  opacity: .8;
}

.credit {
  color: #666;
  font-style: italic;
  font-weight: normal;
}

small {
  font-size: 12px;
}

.good-bye {
  max-width: 700px;
  margin: 0 auto;
}

.team-map {
  text-align: center;
}
.team-map img {
  display: inline-block;
  vertical-align: top;
  margin: 2rem 0;
}

.flags {
  font-size: 120px;
  text-align: center;
}

.pay-banner {
  background: #c0e1ff;
  font-size: 18px;
  text-align: center;
  margin: -20px -20px 20px;
  padding: 20px;
}

.pay-banner p {
  margin: 0;
}

@media (min-width: 600px) {
  .pay-banner {
    font-size: 30px;
  }
}



