/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default padding */
/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Set core root defaults */
html {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* Remove list styles on ul, ol elements with a class attribute */
/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img {
  max-width: 100%;
  display: block;
}

/* Natural flow and rhythm in articles by default */
article > * + * {
  margin-top: 1em;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Blur images when they have no alt attribute */
img:not([alt]) {
  filter: blur(10px);
}

/* Remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
.visually-hidden,
.screen-reader-text {
  display: block;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px 1px 1px 1px);
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(1px);
  white-space: nowrap;
  position: absolute;
}

body {
  font-family: "Open Sans", sans-serif;
  color: #151721;
  background-color: #FAA61A;
  padding: 1rem;
}

.app {
  max-width: 600px;
  width: 100%;
  margin: auto;
  box-shadow: 2px 2px 7px 0px rgba(21, 23, 33, 0.75);
}
.app .header {
  padding: 1rem;
  background-color: #151721;
  color: white;
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.app .header p {
  font-size: 0.8rem;
}
.app h1 {
  font-size: 1.2rem;
}
.app h1 small {
  display: block;
  text-transform: uppercase;
}

.app__content {
  background-color: white;
  padding: 1rem;
}

.stationlist {
  margin: 0;
  padding: 0;
  list-style: none;
}
.stationlist li + li {
  margin-top: 1rem;
}
.stationlist ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.stationlist strong {
  display: block;
  border-bottom: 2px solid #151721;
}
.stationlist a {
  display: block;
  text-decoration: none;
  padding: 0.3em 0.5em;
  background-color: #FAA61A;
  color: #151721;
}
.stationlist a:after {
  content: " >";
  font-weight: bold;
}

.flow > * + * {
  margin-top: 1rem;
}

p > label {
  display: block;
  font-weight: bold;
  max-width: max-content;
  border-bottom: 1px solid #FAA61A;
  margin-bottom: 1rem;
}

.imgContainer canvas {
  width: 100%;
}
.imgContainer[hidden] {
  display: none;
}

.btn {
  border: 0px none;
  background-color: #FAA61A;
  color: #151721;
  width: 100%;
  text-align: center;
  margin: 0;
  font: inherit;
  border: 1px solid #151721;
  font-weight: 800;
  padding: 1rem;
  cursor: pointer;
}
.btn:focus {
  background-color: rgba(250, 166, 26, 0.74);
}
.btn-secondary {
  background-color: transparent;
  margin-top: 1rem;
}

.text {
  width: 100%;
  padding: 0.4rem;
  border: 0px none;
  font: inherit;
  border-bottom: 1px solid #151721;
}

.error {
  color: red;
  border-left: 2px solid red;
  padding-left: 1em;
}

p.error {
  font-size: 0.8rem;
}

.success {
  color: green;
  border-left: 2px solid green;
  padding-left: 1em;
}

.loading_screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background-color: white;
  transform: translateZ(0);
  will-change: auto;
  display: none;
}
.loading_screen svg, .loading_screen object {
  max-width: 100px;
}
.loading_screen svg path, .loading_screen object path {
  fill: #FAA61A !important;
}
.loading .loading_screen {
  display: grid;
}

.issues {
  max-width: 600px;
  margin: auto;
  padding: 1rem;
}
.issues a {
  color: #151721;
}

.imprint {
  max-width: 600px;
  margin: auto;
  text-align: center;
  font-size: 0.8rem;
}
