@keyframes card-enter {
  from {
    opacity: 0;
    transform: translateY(2em);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

* {
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: url("./background.png");
  background-color: lavender;
  background-attachment: fixed;
  padding-top: 2em;
  font-family: 'Courier New', Courier, monospace;
  margin: 0;
  min-height: 100vh;
}

.cardwrapper:first-child {
  animation: none;
  margin-top: 2em;
}

.card {
  position: relative;
  animation: card-enter ease-out 500ms;
  border-radius: 8px;
  border: 1px solid lightslategray;
  background-color: whitesmoke;
  box-shadow: 0px 4px 4px rgba(0,0,0,0.2);
  width: 20em;
  height: 12em;
  text-align: center;
  padding: 1.5em 0.75em;
  margin-bottom: 1em;
  overflow: hidden;
}

.controls {
  margin-bottom: 10em;
}

.drawbutton {
  border-radius: 4px;
  font-family: 'Courier New', Courier, monospace;
  padding: 0.5em 1em;
  cursor: pointer;
  font-size: 1em;
}

.startover {
  background: none;
	color: inherit;
	border: none;
  font-size: 1.5em;
  text-decoration: underline dotted;
  font-family: 'Courier New', Courier, monospace;
}

.startover:hover {
  font-weight: bold;
}

footer {
  position: fixed;
  bottom: 1em;
  font-style: italic;
}