@font-face {
  font-family: "Zpix";
  src: url("./font/zpix.ttf");
}

body{
    min-width: 600px;
    font-family: "Zpix";
    -webkit-font-smoothing: antialiased;
    background: url('./images/bg.jpg') no-repeat center center;
	background-size: cover;
    background-attachment: fixed;
    z-index: -1;
}

.wrap_header{
    width: 100%;
    height: 100px;
    border-bottom: 3px solid #ccc;
    position: relative;
    background-color: white;
    z-index: 999;
}

.Top_header{
    height: 33px;
    background-color: #831f0f;
    z-index: 0;
}

.title{
    color: white;
    margin-left: 50px;
    padding-top: 3px;
    font-size: 16px;
}

.copyright{
    float: right;
    margin-right: 50px;
}

.main_header{
    height: 67px;
    width: 100%;
    opacity: 0.9;
    z-index: 999;
}

.main_header img{
    margin: auto;
    margin-top: 20px;
    display: block;
}

.nesnes-container with-title{
    margin-left: 20px;
    margin-right: 20px;
}

.properties{
    width: 500px;
    height: 650px;
    margin: auto;
    padding-top: 20px;
    padding-bottom: 20px;
    display: grid;  /*变成网格*/
    grid-template-columns: 47% 6% 47% ;
    grid-template-rows: 40% 9% 40% 9% 2%;
    justify-self: center;
    /*background-color: tomato;*/
}

.grid_item {
    background-color: rgba(255, 255, 255, 0.5);
    font-size: 18px;
    text-align: center;
}

.grid_item img{
    margin-top: 30px;
}

.grid_item input{
    width: 200px;
    height: 42px;
    text-align: center;
    border-image-repeat: space;
}

.button{
    width: 100%;
    margin: auto;
    text-align: center;
}

.nes-btn{
    font-weight: bold;
    border-style: solid;
    border-image-repeat: stretch; /*这样就不会因为拉伸产生像素点了*/
}

.hint{
    text-align: center;
    color: white;
    font-weight: bolder;
    margin-top: 20px;
    margin-bottom: 5px;
}

.bg {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
    z-index: -2;
}

canvas {
	position: absolute;
    top: 33px;
    left: 0;
    width: 100%;
    height: calc(100% - 33px);
	display: block;
    z-index: -1;
	/* 	background: radial-gradient(#ffc38c, #ff9b40); */
}