*, ::before, ::after {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

:root {
  --accent: #fd9500;
}

html, body {
  margin: 0;
  padding: 0;
  -ms-overflow-style: -ms-autohiding-scrollbar;
}

.has-scrollbar::-webkit-scrollbar, .has-scrollbar ::-webkit-scrollbar {
  width: 0.7rem;
}

.has-scrollbar::-webkit-scrollbar-thumb, .has-scrollbar ::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.3);
}

.has-scrollbar::-webkit-scrollbar-thumb:hover, .has-scrollbar ::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.6);
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  font-family: 'Fira Sans', 'Segoe UI', 'San Francisco', 'Roboto', 'Segoe UI Emoji', 'Apple Emoji Color', 'Noto Color Emoji', sans-serif;
  line-height: 1.45;
  background: url('./images/bg-final.jpg') center / cover no-repeat;
  background-color: #000000;
}

@media screen and (min-width: 740px) {
  body {
    background-attachment: fixed;
  }
}

header {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  padding: 2rem 0;
  box-sizing: border-box;
  margin-bottom: 5rem;
  transition: background-color 600ms ease, -webkit-backdrop-filter 600ms ease;
  z-index: 5;
}

header.bg {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

header a {
  text-decoration: none;
  position: relative;
}

header a::before {
  content: '';
  position: absolute;
  left: -2px;
  right: -2px;
  border-bottom: 2px solid #fd9500;
  border-bottom: 2px solid var(--accent);
  bottom: -3px;
  transform: scaleX(0);
  transition: transform 300ms ease;
}

header a:focus::before {
  transform: scaleX(1);
  transition: transform 300ms ease;
}

@media (pointer: fine) {
  header a:hover::before {
    transform: scaleX(1);
    transition: transform 300ms ease;
  }
}

header a:focus {
  outline: none;
}

header a.to-top:focus {
  outline: 1px solid #ffffff;
  outline: 1px solid var(--accent, #ffffff);
}

header a.to-top::before {
  content: none;
}

header a.active-link {
  color: #fd9500;
  color: var(--accent);
}

.hero a:focus, main a:focus {
  outline: none;
  color: var(--accent);
  font-weight: 600;
}

.img-container a:focus {
  outline: 2px solid#fff;
  outline: 2px solid var(--accent, #fff);
}

ul, nav {
  margin: 0;
  padding: 0;
}

header ul {
  display: flex;
  list-style: none;
  margin: 0;
}

header ul li {
  margin-right: 1rem;
}

header ul li:last-child {
  margin-left: auto;
  margin-right: 0;
}

p {
  max-width: 50em;
}

a {
  color: currentColor;
}

svg {
  margin: 3rem 0;
  max-width: 850px;
  width: 70%;
}

@media screen and (max-height: 950px) {
  svg {
    max-height: 380px;
  }
}

@media screen and (max-height: 800px) {
  svg {
    max-height: 260px;
  }
}

@media screen and (max-height: 660px) {
  svg {
    margin: 0.5rem 0 0;
  }
}

@media screen and (max-height: 600px) {
  svg {
    max-height: 200px;
  }
}

svg>* {
  transition: opacity 200ms ease-in;
  opacity: 0;
}

main {
  box-sizing: border-box;
  padding: 2rem;
  width: 100%;
}

strong, h1, h2, h3, h4, h5 {
  font-weight: 600;
}

main, footer, .hero, header nav {
  max-width: 1000px;
  font-weight: 300;
}

header nav {
  margin: 0 auto;
  padding: 0 2rem;
  box-sizing: border-box;
}

.hero {
  width: 100%;
  padding: 2rem;
  padding-top: 7rem;
  min-height: 100vh;
  box-sizing: border-box;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero__text {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
}

.hero__text>p, .hero__text a, .hero__text h1, .hero__text h2 {
  margin: 0;
  width: 100%;
}

.hero__text h1 {
  color: var(--accent);
  margin-bottom: 1em;
}

.hero__text p.slogan {
  margin-top: 1em;
}

@media screen and (min-height: 570px) {
  .hero__text p.slogan {
    font-size: 1.2em;
  }
}

.hero__text p a {
  margin-top: 0.3em;
}

.time {
  font-weight: 600;
  margin-right: 0.5em;
}

#programm h4 {
  margin-bottom: 0.5em;
}

#programm h4+p {
  margin-top: 0;
}

#programm ul {
  list-style: none;
  margin-bottom: 2rem;
}

#programm ul li {
  margin: 0.3em 0;
  margin-left: 0.8em;
}

.li-indent {
  padding-left: 4rem;
}

.li-indent::before {
  content: '• ';
}

section {
  padding-top: 6rem;
  margin-top: -6rem;
  position: relative;
  margin-bottom: 2rem;
}

.img-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.img-container img {
  flex-basis: auto;
  flex-shrink: 1;
  min-width: 110px;
  margin: 1rem;
  max-width: 180px;
}

section::before, footer::before {
  content: '';
  position: absolute;
  top: 6rem;
  left: 0;
  width: 100%;
  border-bottom: 1px solid #fff;
  border-bottom: 1px solid var(--accent, #fff);
}

footer::before {
  top: 0;
  left: 2rem;
  right: 2rem;
  width: auto;
}

footer {
  width: 100%;
  padding: 2rem;
  box-sizing: border-box;
  font-size: 0.9rem;
  text-align: center;
  display: flex;
  justify-content: center;
  position: relative;
}

footer p {
  margin: 0;
  width: 100%;
}