*{  
	margin: 0;
	padding: 0;
	box-sizing:border-box;	
}
body {background-color:#000;
   background-image: url("fon.png");
background-color:#000;
background-position: center center;
background-attachment: fixed;
}

@media (min-width: 320px) {
	body {
		background-size: cover;
	}
}

@media (min-width: 768px) {
	body {
		background-size: auto 100%;
    background-repeat: no-repeat;
	}
}



p { color: #376f5b; }

.marg{   
	width: 400px;
	height: 450px;
  margin-left: -185px;
	font-family: Arial;
	font-size: 40px;
	font-weight: bold;
  background-position: center;
  left: 50%;
  position:fixed;
}

@media (min-width: 320px) {
	.marg {
    bottom: 0;
	}
}

@media (min-width: 768px) {
	.marg {
    top: 40%;
	}
}

p{
	width: 100%;
	height: 50px;
	line-height: 50px;
}
.marg>p span{
	color: #818282;
}

Jiugongge
.main{
	width: 400px;
	height: 400px;
	background-color: #bbada0;
	border-radius: 20px;
  background-position: center;
}

.cell{
	width: 90px;
	height: 90px;
	margin:5px 0px 0px 5px;
	border-radius: 5px;
  display: flex;
    justify-content: center;
    align-items: center;
	background-color: #ccc0b3;
	float: left;
	text-align: center;
	line-height: 140px;
}

.gameover{
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(55,55,55,0.3);
	display: none;	
}
.over{
	width: 300px;
	position: absolute;
	top: 50%;
	left: 50%;
	border: 1px solid black;
	border-radius: 5px;
	background-color: #fff;
	text-align: center;
	font-size: 30px;
	margin-left: -150px;
	margin-top: -120px; 
}
.over a{
	display: inline-block;
	text-decoration:none;
	width: 150px;
	height: 50px;
	line-height: 50px;
	font-size: 30px;
	font-weight: bold;
	color: #fff;
	outline: none;
	border: none;
	border-radius: 4px;
	background-color: #9F8D77;
	margin-bottom: 5px;
	cursor: pointer;
  }

.n2{background: url("1.png");color: rgba(0,0,0,0)}
.n4{background: url("2.png");color: rgba(0,0,0,0)}
.n8{background: url("3.png");color: rgba(0,0,0,0)}
.n16{background: url("4.png");color: rgba(0,0,0,0)}
.n32{background: url("5.png");color: rgba(0,0,0,0)}
.n64{background: url("6.png");color: rgba(0,0,0,0)}
.n128{background: url("7.png");color: rgba(0,0,0,0)}
.n256{background: url("8.png");color: rgba(0,0,0,0)}
.n512{background: url("9.png");color: rgba(0,0,0,0)}
.n1024{background: url("10.png");color: rgba(0,0,0,0)}
.n2048{background: url("11.png");color: rgba(0,0,0,0)}
.n4096{background: url("12.png");color: rgba(0,0,0,0)}