* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  display: flex;
  min-height: 100vh;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: #333;
  font-family: Arial, Helvetica, sans-serif;
}

h1 {
  color: #fff;
  margin: 20px 0;
}

.area {
  width: 300px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 30px;
}
.area .item {
  width: 100px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 60px;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
}
.item:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

.item.t {
  border-top: 1px solid #fff;
}
.item.l {
  border-left: 1px solid #fff;
}
.item.r {
  border-right: 1px solid #fff;
}
.item.b {
  border-bottom: 1px solid #fff;
}

.info {
  width: 300px;
  display: flex;
  margin-top: 30px;
  border: 1px dotted #fff;
  padding: 10px;
}
.infoitem {
  flex: 1;
}
.infotitle {
  text-align: center;
  color: #fff;
  margin-bottom: 10px;
}
.infobody {
  text-align: center;
  color: #fff;
  font-size: 20px;
}

.reset {
  border: 1px solid #000;
  background-color: rgba(0, 0, 0, 0.2);
  color: #fff;
  padding: 10px;
  margin-top: 20px;
}
.reset:hover {
  background-color: rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

footer {
  margin-top: 20px;
  color: #fff;
  font-size: 13px;
}
footer a {
  text-decoration: none;
  color: #fff;
  font-size: 13px;
}
