:root {
  --textColor: #333;
  --primaryColor: #A9B6C8;
  --secondaryColor: #2EBCBD
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  color: var(--textColor);
  text-align: left;
}

a {
  color: var(--secondaryColor);
}

main {
  text-align: center;
  color: var(--primaryColor)
}

#background {
  z-index: -1;
  position: absolute;
  width: 100%;
  height: 100%;
}

/* Dialog */
.dialog {
  font-size: 1rem;
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.dialog-content {
  overflow: scroll;
  background-color: #fff;
  padding: 20px;
  border: 1px solid #888;
  width: 100%;
  height: 100%;
  margin: auto;
}

.dialog-close-button {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.dialog-close-button:hover,
.dialog-close-button:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

footer {
  position: absolute;
  bottom: 5px;
  font-size: .6em;
}

footer a {
  text-decoration: underline;
  color: #A9B6C8;
}

/* View on Tabled and above */
@media (min-width:577px) {
  .dialog-content {
    max-width: 500px;
    margin: 5% auto;
    max-height: 80%;
  }
}