/************************
  Allgemein
************************/

* {
    border: 0;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    max-width: 600px;
    margin: auto;
    background: black;
    color: white;
    position: relative;
    width: 100%;
}

img {
    width: 100%;
}

header img {
    object-fit: cover;
    max-height: 50vh;
    min-height: 50vh;
}

main, .center {
    background: #539192;
    margin-top: -4px;
    padding: 30px;
}

section {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/************************
  Font
************************/

@font-face {
    font-family: schrift;
    src: url(../font/AvenirNextLTPro-Regular.otf);
}

@font-face {
    font-family: ueberschrift;
    src: url(../font/AVENIRNEXTLTPRO-BOLD.OTF);
}

h1, h2 {
    font-family: ueberschrift;
}

p, ul, li {
    font-family: schrift;
}

li {
    margin-left: 20px;
    padding-left: 10px;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

p {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

a {
    font-family: schrift;
    text-decoration: none;
    color: #e05a47;
}

.wlink {
    text-decoration: underline;
    color: #ffffff;
}

/************************
  Nav
************************/

nav {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 5;
    max-width: 600px;
}

#close {
    width: 30px;
    cursor: pointer;
}

/************************
  Karte
************************/

#map {
    min-height: 80vh;
    width: 100%;

}

/************************
  Button
************************/

button {
    cursor: pointer;
    padding: 6px;
    background: #e05a47;
    font-family: schrift;
    transition-duration: 0.4s;
    font-weight: 600;
    font-size: 1rem;
    color: #fff;
    font-size: 1rem;
    border: 2px #fff solid;
    border: 2px #e05a47 solid;
    padding-left: 12px;
    padding-right: 12px;
    box-sizing: border-box;
    font-family: ueberschrift;
}

button:hover {
    background: #e05a47;
    color: white;
    border: 2px #e05a47 solid;
    border: 2px #fff solid;
}

/************************
  Player
************************/

.btn {
    display: inline;
    width: 30px;
    padding: 5px;
    background: #e05a47;
    border-radius: 20px;
    cursor: pointer;
}

.btn:hover {
    background: #f0998e;
}

#timeline {
    width: 100%;
    background: rgb(0, 98, 98);
    height: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
}

#castline {
    margin-bottom: 10px;
    background: #e05a47;
    height: 10px;
    border-radius: 5px;
    position: relative;
    width: 0px;
    z-index: 9;
}

#castcounter {
    color: white;
}

.player {
    text-align: center;
}

.ongoing {
    background: #eeeeee;
    height: 8px;
    width: 0;
    border-radius: 4px;
    transition: width .5s ease;
    max-width: 100%;
}

/************************
  Pfeil
************************/

.row {
  display: flex;
  flex-wrap: wrap;
}

.weiter {
    text-align: right;
    flex: 50%;
    max-width: 50%;
    padding: 10px;
    box-sizing: border-box;
}

.zurueck {
    flex: 50%;
    max-width: 50%;
    padding: 10px;
    box-sizing: border-box;

}

.pfeil {
    width: 50px;
}

.pfeil-txt {
    color: white;
    padding-top: 0px;
}

/************************
  Footer
************************/

footer {
    text-align: center;
    padding: 40px;
    background: rgb(0, 98, 98);
    color: white;
}

footer a {
    color: white;
    text-decoration: none;
}