body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background-color: #f4f4f4;
}

button {
  display: inline-flex;
  align-items: center;
  padding: clamp(1vh, 2vw, 3rem);
  cursor: pointer;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5vw;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #0056b3;
}

img, svg {
  max-width: 100%;
  max-height: 40vh;
}

button img, button svg{
  width: 1.5em;
  height: 1em;
  border: none;
  margin-right: 0.3em;
}

#whole {
  display: flex;
  font-size: clamp(5vw, 10vh, 5rem);
  color: #333;
  text-align: center;
  height: 95vh;
  width: 95vw; 
  flex-direction: initial;
  justify-content: space-evenly;
  align-items: flex-end;
  flex-wrap: wrap;
  align-content: stretch;
}

button#zenith {
  font-size: clamp(5vw, 5vh, 3rem);
  max-width: 80vw;
  margin: 0 auto;
}

#answer {
  margin: auto;
  width: inherit;
  height: 60vh;
  margin-top: 1vh;
  color: #aaa;
  transition: opacity 0.1s ease;
}

button#hash {
  font-size: 3.5vw;
  max-width: 100%;
  margin-top: 1vh;
}

button#info {
  position: absolute;
  top: 3vh;
  right: 3vw;
  margin: 0;
  padding-bottom: 0;
}

.dialog { 
	display:none;
	position:fixed;
	top:0;left:0;
	width:100%;
	height:100%;
	overflow-y:scroll;
	background:rgba(0,0,0,0.8);
}
.dialog-padding {
	background:#fff;
	margin:15% auto;
	padding:20px;
	width:80%;
	max-width:600px;
}
.dialog-content {
	margin:0;
	padding:0;
	width:100%;
	height:100%;
}

.c {
	color: #aaa;    
	float: right;
	font-size: 2rem;
	font-weight: bold;
}

.c:hover {
	color: #000;
	text-decoration: none;
	cursor: pointer;
}

@media (prefers-color-scheme: dark) {
  html, body {
    background: #000;
    color: #ccc;
  }
  a {
    color: #666;
  }
  #answer {
    color: #aaa;
  }
  .dialog-padding {
    background: #222;
  }
}
