/*login样式*/
div.login{
  width: 100%;
  background-color: black;
  color:white;
  min-height: 900px;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1000;
  height: 100vh;
  
}
.title{
  width: 100%;
  text-align: center;
  font-size: 50px;
  margin: 50px auto;
}
.main{
  width: 40%;
  margin:0 auto;
  background-color: #111;
  padding-right: 60px;
  padding-top: 40px;
  padding-bottom: 20px;
  border: 2px solid #ddd;
  border-radius: 7px;
}
.btn_reset{
  width: 20%;
  display: block;
  margin-left: 48%;
}
div.col-sm-9>p{
  color:red;
  font-size: 20px;
}
/*得分样式*/
p {
  width: 480px;
  margin: 0 auto;
  font-family: Arial;
  font-weight: bold;
  font-size: 40px;
  padding-top: 15px;
}
#gridPanel{
  animation: scoreTurn 2000ms linear infinite alternate ;
  -webkit-animation: scoreTurn 2000ms linear infinite alternate ;
  -moz-animation: scoreTurn 2000ms linear infinite alternate ;
}
@keyframes scoreTurn {
  0%{
    transform: scale(1);
  }
  100%{
    transform: scale(0.95);

  }
}
@-webkit-keyframes scoreTurn {
  0%{
    transform: scale(1);
  }
  100%{
    transform: scale(0.95);

  }
}
@-moz-keyframes scoreTurn {
  0%{
    transform: scale(1);
  }
  100%{
    transform: scale(0.95);

  }
}
/*设置游戏结束界面*/
#gameover {
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: black;
  top: 0;
  left: 0;
  display: none;
  z-index: 1000;
  cursor: url('../img/ng.png'),default;
}

#gameover div {
  width: 100%;
  height: 100%;
  background-color: #555;
  opacity: 0.5;
}

#gameover p {
  width: 300px;
  height: 200px;
  border: 1px solid #edcf72;
  line-height: 1.6em;
  text-align: center;
  background-color: #fff;
  border-radius: 10px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -100px;
  margin-left: -150px;
  color: #080808;
}

.btn {
  padding: 10px;
  border-radius: 6px;
  background-color: #9f8b77;
  color: #fff;
  cursor: pointer;
  margin-bottom: 5px;
}
/*排行榜样式*/
div.rank{
  background-color: black;
  color: white;
  position: absolute;
  top:0;
  right:100px;
  text-align: center;
  width: 220px;
  z-index: 500;
  cursor: pointer;
}
div.rank .rankTitle{
  height:40px;
  line-height: 40px;
  vertical-align: middle;
  font-size: 20px;
  border-radius: 4px;
  background-color: #111;
  border: 1px solid white;

}
div.rank .rankTitle:hover{
  color:#09c;
  transition: color 500ms linear;
}
div.rank .rankMain{
  display: none;
}
th{
  text-align: center;
}
.table{
  margin-bottom: 0;
}
