#h {
    /* margin: auto; */
    /* display: flex; */
    /* margin-left: 50%; */
    /* left: 50%;
    right: 50%; */
    width: 95%;
    background-color: rgb(184, 120, 30);
    /* position: absolute; */
    border: 10px;
    border-color: rgb(15, 14, 14);
    z-index: 9999;
    border-style: dashed;
    margin: auto;
}

body {
    align-items: center;
    justify-content: center;
    /* position: relative; */
    display: flex;
}

h1 {
    color: rgb(89, 175, 175);
    /* padding-left: 50%; */
    /* position: absolute; */
    /* height: 100px; */
    background-color: rgb(204, 230, 170);
    text-align-last: center;
}

#pall {
    /* position: absolute; */
    color: rgb(97, 77, 77);
    background-color: rgb(94, 128, 94);
    display: flex;
    justify-content: center;
    align-items: center;
}

p {
    font-size: 20px;
    padding: -1;
}

p:hover {
    background-color: rgb(234, 206, 51);
    color: black;
}

h1:hover {
    background-color: rgb(234, 206, 51);
    color: black;
}

p:active {
    background-color: rgb(240, 79, 20);
}

h2 {
    background-color: rgb(123, 183, 223, 0.5);
}

#timenow {
    margin: 10px auto;
    border: 5px double green;
    width: 400px;
    height: 100px;
    line-height: 100px;
    text-align: center;
    /* font: bold; */
    color: rgb(204, 79, 79);
    font-size: 20px;
}


/* 格子 */

.grid1 {
    background-color: rgb(124, 178, 178);
    width: 50px;
    height: 100px;
    border: 5px ridge rgba(225, 181, 4, 0.6);
    text-align: center;
    line-height: 31px;
    line-height: 100px;
    font-size: 3rem;
    font-weight: bolder;
    color: black;
}

.w {
	    width: 50px;
    height: 100px;

    color: rgb(255, 1, 1);
}

.grid1:after {
    display: inline-block;
    width: 100%;
    content: "";
}

.grid {
    width: 60px;
    height: 100px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20px, 0fr));
    /* grid-template-columns: repeat(40, minmax(20px, 1fr)); */
    grid-gap: 0px;
    /* grid-template-rows: repeat(auto-fit, minmax(60px, 1fr)); */
    border: 5px solid rgb(105, 108, 105);
}

.grid2 {
    width: 62px;
    height: 100px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20px, 1fr));
    /* grid-template-columns: repeat(40, minmax(20px, 1fr)); */
    grid-gap: 0px;
    /* grid-template-rows: repeat(auto-fit, minmax(60px, 1fr)); */
    /* border: 5px solid rgb(105, 108, 105); */
}

.grid-item {
    height: 20px;
    width: 20px;
}

.grid-item:nth-child(odd) {
    background-color: lightblue;
}

.grid-item:nth-child(even) {
    background-color: lightgreen;
}

#pall2 {
    /* position: absolute; */
    color: rgb(97, 77, 77);
    background-color: rgb(94, 128, 94);
    display: flex;
    justify-content: center;
    align-items: center;
}