@charset "UTF-8";

/* Root elements */
:root {
  --text-color: #000;
  --back-color: #fff;
}
@media (prefers-color-scheme: dark) {
  :root {
    --text-color: #fff;
    --back-color: hsl(0, 0%, 10%);
  }
}

html {
  font-family: sans-serif;
  font-size: 24px;

  color: var(--text-color);
  background-color: var(--back-color);
}

body {
  margin: 0;
  padding: 0;

  height: 100vh;  /* for #centering height filling */
  display: flex;
  flex-direction: column;
}

a {
  color: hsl(240, 100%, 60%);
}
@media (prefers-color-scheme: dark) {
  a {
    color: hsl(240, 100%, 80%);
  }
}

/* Outline elements */
header {
  font-size: 1.8rem;
  text-align: center;
  font-weight: bold;
  border-bottom: solid hsl(0, 0%, 80%) 2px;

  width: 100%;
  box-sizing: border-box;
  padding: 0.2em;
}

.centering {
  width: 100%;
  flex-grow: 1; /* for set height to remaining space (is 100vh - <header height>) */

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}


/* Standard elements */
.text-large {
  font-size: 1.5rem;
  margin: 1em;
  line-height: 1.2em;
}
.text-normal {
  margin: 1em 0;
  line-height: 1.2em;
}
.text-small {
  font-size: 0.8rem;
  margin: 2em 0;
  line-height: 1.2em;
}


/* Input elements */
.input-button {
  display: inline-block;
  padding: 0.2em;
  color: var(--text-color);
  background-color: var(--back-color);
  border: solid 2px var(--text-color);
  border-radius: 4px;
  outline: none;

  font-size: inherit;
  line-height: 1.2em;

  cursor: pointer;
}
