body {
  background-color: #333;
  font-family: sans-serif;
}

#controls {
  position: fixed;
  top: 0;
  left: 0;
  margin: 12px;
}

.button {
  font-size: 20px;
  color: #333;
  background-color: #bdceb1;
  width: 25px;
  height: 25px;
  text-align: center;
  margin-right: 5px;
  border: 1px solid #999;
  display: inline-block;
}

#download-button {
  width: auto;
  padding: 0 6px;
}

#download-dialog {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;

  background-color: white;

  transform: : translateY(0);
  transition: transform .2s;
}

#close-dialog-button {
  float: right;
  font-size: 1.4rem;
  font-weight: bold;
  width: 25px;
  text-align: right;
}

#download-dialog.hidden {
  transform: translateY(100%);
  transition: transform .2s;
}

.button,
#close-dialog-button {
  cursor: pointer;
}

hr {
  margin: 0;
  border-bottom: 1px solid #ccc;
  border-top: 0;
}

#download-dialog header {
  font-size: 1.3em;
}

#download-dialog header,
#download-dialog .body {
  padding: 1.25rem;
}

#download-dialog .body {
  padding-top: calc(1.25rem - 8px);
  padding-left: calc(1.25rem - 8px);
}

#image {
  width: 100vw;
  height: 100vh;
  max-height: 100vh;
}

a {
  text-decoration: none;
  color: unset;
}

.btn-group {
  display: inline-block;
  border: 1px solid #333;
  border-radius: 5px;
  margin-top: 8px;
  margin-left: 8px;
}

.btn {
  display: inline-block;
  padding: 0.6em 1em;
}

.btn:not(:first-child) {
  border-left: 1px solid #333;
}

.btn:hover {
  background-color: #333;
  color: white;
}

.btn-group:not(:last-child) {
/*   margin-right: 8px; */
}
