@font-face {
  font-family: "rajdhani";
  src: url("../fonts/Rajdhani-SemiBold.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

:root {
  --font-rajdhani: "rajdhani", sans-serif;
}

* {
  padding: 0;
  margin: 0;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  background: #222;
  color: #ddd;

  font-family: var(--font-rajdhani);
}

.settings {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.settings > h2 {
  margin: 0.2rem;
}

.settings > div > div {
  margin: 2rem;
}

.flex {
  display: flex;
  gap: 0.25rem;
  /* justify-content: center; */
  /* align-items: center; */
}

input {
  padding: 0.25rem;
  border-radius: 0.25rem;

  width: 100%;

  color: #ddd;
  background: #111;

  border: none;
  outline: none;
}

button {
  margin-top: 1rem;
  width: 100%;
  background: #111;
  outline: none;
  border: none;
  padding: 0.4rem;
  border-radius: 0.4rem;
  color: #aaa;
  font-weight: 700;
  transition: 200ms;
  cursor: pointer;
}

button:hover {
  background: #000;
}

main {
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  cursor: pointer;

  display: flex;
  justify-content: center;
  align-items: center;
}

.hidden {
  display: none !important;
}

.clock {
  display: flex;
  justify-content: center;
  align-items: center;

  gap: 1vh;
  width: 75%;
}

.clock > h1 {
  font-size: clamp(6rem, 15vw, 18rem);
}

.clock > h1.num {
  width: 2ch;
}

h3 {
  margin-top: 0.5rem;
}

#euro {
  margin-right: 1rem;
}

#value {
  text-align: center;
}

@media (max-width: 770px) {
  .settings > .flex {
    flex-direction: column;
  }
  .clock {
    width: 90%;
  }
}
