/*
 * © 2026 Jannik and GKnirps.
 * This file is part of Kängururechner.
 * Kängururechner is free software: you can redistribute it and/or modify it under the terms of the Affero GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
 * Kängururechner is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Affero GNU General Public License for more details.
 *
 * You should have received a copy of the Affero GNU General Public License along with Kängururechner. If not, see <https://www.gnu.org/licenses/>.
 */
body {
  font-family: 'Indie Flower', cursive;
  font-size: 1.2rem;

  max-width: 60rem;
  margin: auto;
  padding: 0.5em;
}

a {
  color: #004784;
  text-decoration: none;
}

@media (prefers-color-scheme: dark) {
  body {
    background-color: #000;
    color: #fff;
  }
  a {
    color: #66aefa;
  }
}

body ::selection {
  background: #ffb7b7;
}

p {
  margin-bottom: 0;
}

main {
  display: flex;
  justify-content: space-between;
  gap: 1em;

  margin-top: 1em;
  margin-bottom: 1em;
}

@media (max-width: 50rem) {
  main {
    flex-direction: column;
  }
  a {
    color: #5599ff;
  }
}

.calculator-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

input.number {
  width: 2em;
  text-align: center;
  border-style: none;
  padding: 0;
  font-size: 5rem;
  line-height: 5rem;
  font-family: inherit;
  color: inherit;
  background-color: inherit;

  &#schwarzmarkt {
    width: 3em;
  }
}

footer {
  ul {
    margin-top: 2rem;
    border-top: 1px solid #ddd;
    padding-top: 1rem;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 1em;
    font-size: 1.2em;
  }
  li {
    list-style: none;
    padding: 0;
  }
}
