/* remove margins on typography to keep margins consistent */
h1,
h2,
h3,
p {
  margin: 0;
}

body {
  margin: 0;
  text-align: center;
}

button {
  background-color: royalblue;
  color: white;
  border: none;
  padding: 15px 30px;
  cursor: pointer;
  margin-top: 15px;
}

button:hover,
button:focus {
  color: white;
  background-color: blue;
}

#modal {
  position: relative;
  /* background-color: orange; */
  padding: 20px;
  height: 200px;
  margin: 20px auto;
  max-width: 500px;
  background-color: white;
  top: 30%;
}

#overlay {
  display: none;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  /* reduce opacity */
  background-color: rgba(0, 0, 0, 0.3);
}
