#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 222000;
}
#modal {
  background-color: #333;
  color: #fff;
  padding: 20px;
  border-radius: 5px;
  text-align: center;
  width: 80%;
  max-width: 400px;
}
.buttons {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
button {
  background-color: #555;
  color: #fff;
  border: none;
  padding: 10px 20px;
  margin: 5px;
  cursor: pointer;
  flex: 1;
  max-width: 48%;
}
button:hover {
  background-color: #777;
}