body {
  margin: 0px;
  padding: 0px;
  width: 100%;
  height: 100%;
  min-height: 400px;
  font-size: 14px;
  font-family: 'Open Sans', sans-serif;
  overflow: hidden;
}

#wrapper{
  width: 100%;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  /*background-color: #c0cde6;*/
  background-image: url('../images/background.png');
  background-repeat: repeat;
}

header{
  width: 100%;
  position: relative;
  height: 170px;
  z-index: 90;
}

main section div.leaderboard{
  width: 100%;
  display: flex;
  flex-flow: column;
  background-color: #c0dcc8;
  background-image: linear-gradient(to top, rgba(178, 194, 224, 0.8), rgba(178, 194, 224, 0));
  background-size: 100% 80px;
  background-repeat: no-repeat;
  background-position: bottom left;
  margin-top: 25px;
  box-sizing: border-box;
  padding: 15px;
}

main section div.leaderboard div.head{
  display: flex;
  width:100%;
  font-size:17px;
  font-weight:600;
}

main section div.leaderboard div.head p{
  margin: 0;
}

main section div.leaderboard div.head p:nth-of-type(2){
  margin-left: 30px;
}

main section div.leaderboard div.head p:nth-of-type(3){
  margin-left: auto;
  margin-right: 10px;
}

@keyframes animatedLogo {
  from {
    bottom: 300px;
  }
  to {
    bottom: -110px;
  }
}

header img{
  position: absolute;
  bottom: -110px;
  left: 0;
  right: 0;
  margin: auto;
  animation: animatedLogo 0.5s linear;
  z-index: 20;
}

@keyframes animatedBackground {
  from {
    background-position: 0 100vh;
  }
  to {
    background-position: bottom;
  }
}
main{
  width: 100%;
  height: calc(100vh - 170px);
  background-image: url('../images/buildings.png');
  background-position: bottom center;
  background-repeat: no-repeat;
  background-size: 100%;
  animation: animatedBackground 1s linear;
  position: relative;
  overflow-y: auto;
  z-index: 100;
}


@keyframes animatedCloud {
  from {
    bottom: -10%;
  }
  to {
    bottom: 100%;
  }
}

div.cloud{
  position: absolute;
  bottom: -10%;
  z-index: 1;
}

div.cloud1{
  max-width: 310px;
  width: 16%;
  left: 80%;
  animation: animatedCloud 20s linear infinite;
}

div.cloud1 img{
  max-width: 100%;
}

div.cloud2{
  max-width: 432px;
  width: 22%;
  left: 0%;
  animation: animatedCloud 20s linear infinite;
}

div.cloud2 img{
  max-width: 100%;
}

@keyframes animatedSection {
  0%{
    opacity: 0;
  }

  50%{
    opacity: 0;
  }
  100%{
    opacity: 1;
  }
}

main section{
  width: 90%;
  max-width: 566px;
  min-height: 600px;
  margin: auto;
  margin-top: 130px;
  background-color: rgba(255, 255, 255, 0.7);
  box-sizing: border-box;
  padding: 40px;
  animation: animatedSection 1.5s linear;
  position: relative;
  z-index: 10;
}

main section h1{
  font-weight: bold;
  text-align: center;
  font-size: 34px;
  line-height: 34px;
  color: #143A84;
  text-transform: uppercase;
  margin: 0;
}

main section p.subtitle{
  font-size: 28px;
  text-transform: uppercase;
  text-align: center;
  margin: 0;
  color: #676767;
}

main section form{
  margin-top: 15px;
  width: 100%;
  display: flex;
  flex-flow: column;
}

main section form label{
  font-size: 17px;
  text-transform: uppercase;
  color: #676767;
  margin-top: 15px;
}

main section form input{
  width: 100%;
  border:0;
  background-color: #FFF;
  border-radius: 10px;
  font-size: 20px;
  color: #676767;
  box-sizing: border-box;
  padding: 17px;
}

main section form input[type="submit"]{
  margin: auto;
  margin-top: 110px;
  width: auto;
  font-size: 32px;
  padding: 17px 80px;
  background-color: #E84E24;
  color: #FFF;
  font-weight: 700;
}

/******LEADERBOARD*******/

main section h2{
  width: 100%;
  text-align: center;
  text-transform: uppercase;
  font-weight:400;
  font-size:28px;
  color: #FFF;
  background-color:#4e33aa;
  margin: 0;
  margin-top: 35px;
}

main section div.leaderboard{
  width: 100%;
  display: flex;
  flex-flow: column;
  background-color: #c0dcc8;
  background-image: linear-gradient(to top, rgba(111, 145, 255, .8), rgba(160, 139, 232, 0));
  background-size: 100% 80px;
  background-repeat: no-repeat;
  background-position: bottom left;
  margin-top: 25px;
  box-sizing: border-box;
  padding: 15px;
}

main section div.leaderboard div.head{
  display: flex;
  width:100%;
  font-size:17px;
  font-weight:600;
}

main section div.leaderboard div.head p{
  margin: 0;
  width: 100px;
}

main section div.leaderboard div.head p:nth-of-type(3){
  margin-left: auto;
  text-align: center;
}

main section div.leaderboard ul{
  margin-top: 10px;
  padding:0;
  width:100%;
  list-style-type: none;
}

main section div.leaderboard ul li{
  width: 100%;
  display: flex;
  font-size:17px;
  border-bottom: 1px dotted #999;
  padding: 2px 0;
}

main section div.leaderboard ul li:last-of-type{
  border-bottom:0;
}

main section div.leaderboard ul li.bold{
  font-weight: 600;
}

main section div.leaderboard ul li p{
  margin: 0;
  width: 100px;
}

main section div.leaderboard ul li p:nth-of-type(2){
  width:auto;
}

main section div.leaderboard ul li p:nth-of-type(3){
  margin-left: auto;
  text-align: center;
}

main section div.leaderboard ul li p span.small{
  font-size: 9px;
  clear: both;
  display: block;
  text-transform: uppercase;
}


main section a.play{
  margin: auto;
  margin-top: 35px;
  width: auto;
  font-size: 32px;
  padding: 17px 80px;
  background-color: #E84E24;
  color: #FFF;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  display: table;
  text-transform: uppercase;
}

@keyframes animatedFooter {
  from {
    bottom: -300px;
  }
  to {
    bottom: 0;
  }
}

footer{
  width: 100%;
  height: auto;
  display: flex;
  justify-content: space-between;
  position: absolute;
  left: 0;
  bottom: 0;
  animation: animatedFooter 1.5s linear;
}

footer img.left{
  max-width: 678px;
  width: 35%;
  height: auto;
  min-height: 1px;
}

footer img.right{
  max-width: 500px;
  width: 50%;
  height: auto;
  min-height: 1px;
  margin-right: 25px;
  z-index: 2;
}

@media screen and (max-width:650px) {
  header{
    height: 110px;
  }

  header img{
    width: 90%;
    bottom: -70px;
  }
  main{
    height: calc(100vh - 110px);
  }

  main section{
    margin-top: 100px;
  }

}

@media screen and (max-width:360px) {
  header{
    height: 70px;
  }

  main{
    height: calc(100vh - 70px);
  }

  main section{
    margin-top: 80px;
  }

}
