html,
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    letter-spacing: 0.02em;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    background-color: #143132;
}

nav {
    position: fixed;
    right: 0;
    top: 15px;
    text-align: right;
    z-index: 200;
}

nav.start {
    display: none;
}

nav #menu {
    font-size: 30px;
    margin-right: 20px;
}

nav ul {
    margin-top: 20px;
    text-align: left;
    list-style: none;
    padding-left: 16px;
    padding-right: 22px;
    padding-bottom: 7px;
    background: #fff;
    box-shadow: -1px 3px 3px rgba(0, 0, 0, 0.3);
    display: none;
}

nav li {
    margin-bottom: 4px;
}

nav a {
    text-decoration: none;
    font-size: 0.9em;
}

.anchor {
    position: relative;
    display: block;
    top: -70px;
}

header.start {
    position: absolute;
    bottom: 0;
    pointer-events: none;
}

header.start #panel {
    width: 90%;
    max-width: 650px;
    padding-bottom: 30px;
}

header.start .content {
    flex-direction: column;
    text-align: center;
    margin-right: 40px;
    margin-left: 40px;
}

header.start h2,
header.start p {
    display: block;
}

header.start #logo_energyscape {
    width: 200px;
    margin-right: 0;
}

.fullscreen_image:first-of-type.start {
    opacity: 0.4;
}

.fullscreen_image:first-of-type {
    height: 150vh;
    opacity: 1;
    transition: opacity 1s;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
}

header #panel {
    position: relative;
    background: #fff;
    -webkit-box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.3);
    width: 100%;
    transition: width 0.2s;
    pointer-events: all;
}

header h2,
header p {
    display: none;
}

header .content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    max-width: none;
    margin-right: 20px;
    margin-left: 20px;
}

header .content p {
    margin: 0;
    font-size: 0.8em;
}

header #logos {
    display: none;
    margin-top: 10px;
    align-items: center;
}

header.start #logos {
    display: flex;
}

header #logos img {
    height: 35px;
    opacity: 0.7;
    margin: 10px;
    margin-bottom: 0;
}

header #logos img:nth-child(2) {
    height: 17px;
}

#logo_energyscape {
    width: 75px;
    margin-right: 20px;
    transition: width 0.2s;
}

div#languages {
    position: absolute;
    top: 26px;
    right: 70px;
    color: #999;

}

#languages a {
    text-decoration: none;
}

#languages .active {
    color: #8fbab3;
    font-weight: bold;
}

header.start div#languages {
    top: 15px;
    right: 20px;
}

h1 {
    font-size: 1.5em;
    letter-spacing: 0.04em;
    margin: 0;
}

h2 {
    font-size: 3em;
}

p {
    line-height: 1.4em;
}

a {
    color: #666;
}

.fullscreen_image {
    position: relative;
    height: 100vh;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    -webkit-box-shadow: inset 0px 0px 3px rgba(0, 0, 0, 0.3);
    box-shadow: inset 0px 0px 3px rgba(0, 0, 0, 0.3);
}

article {
    background: #fff;
}

article .content {
    margin: 0 auto;
    width: 90%;
    max-width: 800px;
    padding-top: 2em;
    padding-bottom: 2em;
}

img.fullwidth {
    width: 100%;
    display: block;
    margin: 0 auto;
}

article .content img.center {
    width: 100%;
    max-width: 600px;
    display: block;
    margin: 0 auto;
    margin-top: 40px;
    margin-bottom: 30px;
    user-select: none;
    pointer-events: none;
}

#window_full {
    display: none;
    position: fixed;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.7);
}

#window_full #container,
#window_full #container #zoomed {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

#window_full > div {
    position: fixed;
    top: 5%;
    bottom: 5%;
    left: 5%;
    right: 5%;
    background: #fff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.9);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

#window_full > div .help > div {
    position: absolute;
    display: none;
    top: -1px;
    right: -1px;
    font-size: 13px;
    width: 300px;
    background: #fff;
    padding: 15px;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.08);
    border: solid 1px #ececec;
}

#window_full > div .close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    margin: 0;
    cursor: pointer;
    z-index: 100;
}

#window_full > div .help {
    cursor: pointer;
    position: absolute;
    background: #fff;
    z-index: 100;
    right: 47px;
    font-size: 20px;
    font-weight: bold;
    border: solid 1px #999;
    width: 25px;
    height: 25px;
    text-align: center;
    top: 16px;
}

#window_full > div .help > div {
    text-align: left;
    font-weight: normal;
}

#window_full > div .help:hover > div {
    display: block;
}

#window_full #container #zoomed {
    display: flex;
    align-items: center;
    justify-content: center;
}

#zoomed div {
    width: 95%;
    height: 95%;
    max-width: 1200px;
    max-height: 800px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    margin: 20px;
}

.more {
    margin-bottom: 1.5em;
    display: none;
    overflow: hidden;
    padding-top: 15px;
    padding-left: 15px;
    padding-bottom: 12px;
    border-bottom: solid 1px;
    border-left: solid 1px;
}

.switch {
    line-height: 24px;
}

.switch,
.zoom {
    display: block;
    border: solid 1px;
    width: 25px;
    height: 25px;
    text-align: center;
    font-size: 22px;
    background: #fff;
    cursor: pointer;
}

.zoom {
    position: absolute;
    top: 0px;
}

.more p:first-child {
    margin-top: 0;
}

.more p:last-child {
    margin-bottom: 0;
}

.thumb > img {
    width: 100%;
    opacity: 0.7;
    filter: brightness(0.9);
    cursor: pointer;
}

.thumb {
    width: 130px;
    position: relative;
}

.thumb:hover {
    opacity: 1;
    filter: grayscale(0);
}

.zoom img {
    width: 100%;
}

.centerbutton {
    text-align: center;
}

.centerbutton button {
    margin-bottom: 30px;
    background: #ffffff;
    border: solid 1px #757575;
    padding: 10px;
    color: #525151;
    font-size: 1em;
    letter-spacing: 0.02em;
    padding-left: 18px;
    padding-right: 18px;
    cursor: pointer;
}

.centerbutton button:hover,
.switch:hover {
    box-shadow: 0px 0px 0px 1px #757575;
}

.audiobuttons {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: space-evenly;
    -ms-flex-pack: space-evenly;
    justify-content: space-evenly;
    margin-bottom: 8em;
    position: sticky;
    position: -webkit-sticky;
    top: 20vh;
    padding-top: 20vh;
}

.audiobutton {
    width: 5em;
    height: 5em;
    border-radius: 100%;
    background: #444;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    cursor: pointer;
}

.audiobutton img {
    width: 60%;
    margin-bottom: 0.2em;
}

.audiobutton.playing {
    background: #000;
}

.animated_list {
    position: sticky;
    position: -webkit-sticky;
    top: 32vh;
}

.animated_list .items {
    position: relative;
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
    font-size: 3em;
    line-height: normal;
    font-weight: bold;
}

.animated_list .items div {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.2s;
    -webkit-transition: opacity 0.2s;
}

#forschungsfragen {
    position: relative;
    text-align: center;
    height: 150vh;
    padding-bottom: 5em;
    background-color: #8fbab3;
    background-image: url("../pics/dot.png");
}

#making_of_audio {
    position: relative;
    background-color: #b8d266;
    background-image: url("../pics/dot.png");
    height: 100vh;
}

#audio_bg {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition-property: opacity;
    transition-duration: 1s;
    background-position: center;
    background-size: cover;
}

@media (max-width:800px) {
    .fullscreen_image {
        height: 500px;
        background-attachment: inherit;
    }
    .animated_list .items {
        font-size: 2em;
    }
    header h2 {
        font-size: 6vw;
    }
}

@media (max-width:500px) {
    h1 {
        display: none;
    }
    .start h1 {
        display: inherit;
    }
}
