*,
*::before,
*::after {
  box-sizing: border-box;
  user-select: none;
  -webkit-user-select: none;
}
html,
body {
  margin: 0;
  padding: 0;
}
body {
  background-color: #285943;
  color: #DFF8EB;
  font-size: 16px;
  font-family: sans-serif;
}
main {
  position: fixed;
  top: 0;
  left: 0;
  width: 100dvw;
  height: 100dvh;
  overflow: hidden;
}
rt {
  margin-bottom: 0.1em;
  font-size: 0.5em;
}
/* Reset default styles for form elements */
input,
button,
textarea,
select {
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
  background: none;
  font: inherit;
  color: inherit;
}
/* Remove default appearance for specific elements */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
/* Reset styles for select elements */
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
/* Reset specific styles for text inputs and textareas */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
nav {
  --size: 5dvw;
  position: fixed;
  top: 2.5dvw;
  left: 2.5dvw;
}
nav > a {
  display: block;
  width: var(--size);
  height: var(--size);
  padding-bottom: calc(var(--size) / 10);
  box-shadow: inset 0 calc((var(--size) / 10) * -1) 0 0 #ab6300;
  border-radius: calc(var(--size) / 10);
  background-color: #FFA62B;
  color: #042A2B;
  font-size: calc(var(--size) / 1.75);
  text-align: center;
}
.analogclock {
  --size: 50vw;
  --face-background-color: gray;
  --face-border-color: yellow;
  --face-text-color: blue;
  --hour-hand-color: red;
  --minute-hand-color: purple;
}
.analogclock {
  position: relative;
  width: var(--size);
  height: var(--size);
  aspect-ratio: 1 / 1;
}
.analogclock > .face {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: calc(var(--size) / 50) solid var(--face-border-color);
  background-color: var(--face-background-color);
}
.analogclock > .face > .number {
  position: absolute;
  transform: rotate(calc(30deg * var(--value)));
  inset: calc(var(--size) / 25);
  text-align: center;
  font-size: calc(var(--size) / 12.5);
  color: var(--face-text-color);
}
.analogclock > .face > .number > b {
  display: inline-block;
  transform: rotate(calc(-30deg * var(--value)));
}
.analogclock > .face::before {
  content: "";
  position: absolute;
  width: calc(var(--size) / 12.5);
  height: calc(var(--size) / 12.5);
  border-radius: 50%;
  background-color: var(--face-border-color);
  z-index: 1;
}
.analogclock .hand {
  position: absolute;
  top: calc(var(--size) / 2);
  left: calc(var(--size) / 2 - ((var(--size) / 25) / 2));
  transform-origin: top center;
}
.analogclock .hand > i {
  display: inline-block;
  width: calc(var(--size) / 25);
  border-radius: calc(var(--size) / 25);
}
.analogclock .hand.hour > i {
  background-color: var(--hour-hand-color);
  height: calc(var(--size) / 4);
}
.analogclock .hand.minute > i {
  background-color: var(--minute-hand-color);
  height: calc(var(--size) / 3);
}
.numberselector {
  --size: 20dvh;
  --button-color: #333;
  --button-background-color: #ccc;
  --button-shadow-color: #666;
  --output-color: #333;
  --output-background-color: #eee;
}
.numberselector {
  display: flex;
  gap: calc(var(--size) / 10);
}
.numberselector > button,
.numberselector > output,
.numberselector > label {
  display: block;
  width: auto;
  height: var(--size);
  border-radius: calc(var(--size) / 10);
}
.numberselector > button {
  width: var(--size);
  height: var(--size);
  padding-bottom: calc(var(--size) / 10);
  box-shadow: inset 0 calc((var(--size) / 10) * -1) 0 0 var(--button-shadow-color);
  background-color: var(--button-background-color);
  color: var(--button-color);
  font-size: calc(var(--size) / 1.75);
  text-align: center;
  touch-action: manipulation;
}
.numberselector > button.pressed {
  box-shadow: none;
  padding-bottom: unset;
  transform: translateY(calc(var(--size) / 10));
  height: calc(var(--size) - (var(--size) / 10));
}
.numberselector > output {
  width: calc(var(--size) * 1.5);
  text-align: center;
  font-size: calc(var(--size) / 1.5);
  font-weight: bold;
  background-color: var(--output-background-color);
  color: var(--output-color);
}
.numberselector > label {
  font-size: calc(var(--size) / 2);
  font-weight: bold;
}
body {
  background-color: #285943;
  color: #DFF8EB;
}
main {
  display: flex;
}
#visual,
#console {
  --gap: 5dvw;
  --width: 50dvw;
}
#visual,
#console {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100dvh;
  overflow: hidden;
  padding: var(--gap);
}
#visual {
  width: var(--width);
}
#console {
  flex-direction: column;
  gap: var(--gap);
  width: var(--width);
  padding-left: 0;
}
#hour,
#minute {
  display: flex;
  justify-content: center;
  position: relative;
  border: 0.5dvw solid #DFF8EB;
  border-radius: 1em;
  padding: 1em;
  font-size: 2.5dvw;
}
#hour > h1,
#minute > h1 {
  display: inline-block;
  position: absolute;
  top: calc(1.5em * -1);
  left: 1em;
  margin: 0;
  padding: 0 0.25em;
  background-color: #285943;
  color: #DFF8EB;
  font-size: 1em;
}
.analogclock {
  --size: calc(var(--width) - var(--gap) * 2);
  --face-background-color: #DFF8EB;
  --face-border-color: #000000;
  --face-text-color: #000000;
  --hour-hand-color: #000000;
  --minute-hand-color: #000000;
}
.numberselector {
  --size: 9dvw;
  --button-color: #042A2B;
  --button-background-color: #FFA62B;
  --button-shadow-color: #ab6300;
  --output-color: #DFF8EB;
  --output-background-color: #306b50;
}
/*
@media (min-aspect-ratio: 1/1) {
}

@media (max-aspect-ratio: 1/1) {
}
*/
