* {
  box-sizing: border-box;
  margin: 0px;
  padding: 0px;
}
#div1 {
  width: 240px;
  height: 240px;
  text-align: center;
  border: 1px solid #aaaaaa;
  float: right;
  padding: 50px 35px;
  background: url("board.jpg");
  background-size: 240px 240px;
  margin-top: 30px;
}
#div1 img {
  width: 100%;
}
.imageitem {
  width: 50px;
  height: 150px;
}

#img {
  height: 240px;
  margin-top: 25px;
}
#sub {
  float: right;
  padding: 10px 20px;
  margin: 130px 30px 90px 70px;
  background-color: rgb(77, 153, 77);
  border-radius: 5px;
  color: whitesmoke;
}
#sub:focus,
#sub:hover {
  color: rgb(77, 153, 77);
  background-color: whitesmoke;
}

#reset {
  padding: 10px 20px;
  margin-top: 20px;
  background-color: rgb(77, 153, 77);
  border-radius: 5px;
  color: whitesmoke;
}
#reset:focus,
#reset:hover {
  color: rgb(77, 153, 77);
  background-color: whitesmoke;
}
