* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

::selection {
    background-color: var(--alt-color);
    color: white;
}

/*
html, body {
    height: 100vh;    
    scroll-behavior: smooth;      
}
*/

html, body {
    scroll-behavior: smooth;     
}

body {
    font-family: maria;
    font-size: 1em;
}

a {
    text-decoration: none;
}

main a {
    text-decoration: underline;
    /*text-decoration-color: black;*/
    color: black;
    transition: 300ms;
}

main a:hover {
    text-decoration: none;
}

em {
    background-color: var(--main-color);
    font-style: normal;
}

strong {
    font-family: formula;
    /* font-size: 1.25rem; */
}

hr {
    border-bottom: none;
    margin: 1em var(--side-space);
}

p {
    font-size: 1.05em;
    line-height: 1.3;
}

h1 {
    font-family: formula;
    font-size: 6em;
    line-height: 1;
    /*letter-spacing: -0.005em;*/
}

h2 {
    font-family: formula;
    font-size: 5.25em;
    text-transform: uppercase;
    line-height: 1;
    /*letter-spacing: -0.005em;*/
}

h3 {
    font-family: maria;
    font-size: 2.5em;
    line-height: 1;
    padding-top: 0.5em;
    padding-bottom: 0.25em;
}

h4 {
    font-family: maria;
    font-size: 2.5em;
    line-height: 1;
}

h5 {
    font-family: formula;
    font-size: 2em;
    padding-top: 0.5em;
}

main h4 + p {
    margin: 0;
    margin-bottom: 0.5em;
}

header nav ul a {
    color: black;
    display: block;
    margin-bottom: -0.25em;
    /*padding: 0.35em 0.25em 0.25em 0.25em;*/
    padding: 0;
    white-space: nowrap;
    /*background-color: white;*/

}

header nav > ul > li > a.white {
    color: white;
}

.menu a:hover, .menu li.current-menu-item a, .menu li.current-menu-item a:hover {
    text-decoration: underline;
}

.menu li.current-menu-item ul li a {
    text-decoration: none;
}

header nav ul > li > ul {  
    position: absolute;
    transition: 300ms;
    visibility: hidden;
    display: flex;
    flex-direction: column;   
    opacity: 0; 
    line-height: 1.2;
}

header nav ul > li > ul a {
    padding-bottom: 0.5em;
    text-decoration: none;
}

header nav ul > li:hover > ul, ul.opened {
    visibility: visible;
    margin-top: 0.25em;
    opacity: 1;
}

input[type="text"], input[type="password"], input[type="email"], button {
    padding: 0.5em;
    border: 1px solid var(--main-color);
    outline: none;
    font-family: maria;
    font-size: 1em;
}

input[type="password"] ~ button {
    border-left: none;
}

button {
    background-color: var(--main-color);     
    text-transform: uppercase;
    margin: 0.5em 0;
}

button:hover {
    background-color: white;    
    cursor: pointer;
}

/*
main {
    scroll-behavior: smooth;    
    height: 100vh;
    overflow: auto;
	scroll-snap-type: y mandatory;
}
*/

main > *:not(.alignfull):not(.wp-block-gallery) {
    padding-left: var(--side-space);
    padding-right: var(--side-space);
}

main > *:first-child:not(section):not(.is-style-centered) {
    padding-top: 15vh;
}

main > *:last-child {
    padding-bottom: 15vh;
}

main section:not(.intro):not(.final) > *:first-child {
    padding-top: 15vh;
}

main section {
    min-height: 100vh;
    background-attachment: fixed;
    position: relative;

    scroll-snap-align: start;
    scroll-snap-stop: always;
}

main p:not(.no-space) {
    margin: 1em 0;
    max-width: 80ch;
}

main > p:not(.no-space) {
    max-width: 100%;
}

main p.sub {
    width: 90%;
    margin: auto;
    font-size: 1.5em;
    text-align: center;
    margin-bottom: 1em;
}

main ul {
    margin-bottom: 1em;        
}

main ul li {
    list-style-image: url(../img/leaf.svg);
    margin-left: 1.5em;
    margin-bottom: 0.25em;
    font-size: 1.25em;
}

main ul li::marker {
    font-size: 3em;
    line-height: 0;
}

[class*="question"] ul li {
    list-style-image: none;
    list-style: inside;
    font-size: 1em;   
    margin-left: 0.5em; 
}

[class*="question"] ul li::marker {
    font-size: 1em;
    line-height: 0;
}

main ul li:last-child {
    margin-bottom: 1em;
}

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

    padding: 1em 2vw;
    transition: background-color 300ms;

    background-color: transparent;
}

header .logo {    
    width: 200px;
    display: block;
}

header .logo img {
    height: 100%;
}

header nav {
    margin-left: auto;
    width: 650px;
}

header nav ul {
    display: flex;
    justify-content: space-between;
    list-style: none;
    letter-spacing: 0.03em;

}

header nav ul ul { 
    padding: 1em;
    background-color: white;    
}

footer {
    position: fixed;
    bottom: 0;
    
    opacity: 0;
    transition: opacity 300ms;
    display: flex;
    align-items: center;
    width: 100vw;
    background-color: white;
    padding: 0.5em 0;
    font-size: 0.9em;
}

footer nav {  
    display: flex;
    justify-content: flex-start;    
}

footer nav ul {
    list-style: none;
    display: flex;
}

footer nav ul li:before {
    content: '/';
}


footer nav ul li:first-child:before {
    content: '';
    margin-left: 1em;
}

footer a {
    color: black;
    padding: 0.25em;
}

footer .sm {
    margin-left: auto;
    margin-right: 20px;
}

footer .sm img {
    width: 20px;
    margin-right: 0.5vw;
}

summary {
    font-size: 1.5em;
    margin-bottom: 0.5em;
    cursor: pointer;
}

blockquote {
    background-image: url(../img/leaf.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    padding: 4em 0;

    font-family: formula;
    font-size: 1.5em;

    position: relative;

    line-height: 0.8;
}

blockquote p {
    line-height: 1.2 !important;
}

cite {
    position: absolute !important;
    right: 20vw;
    top: 0;
    display: block;
    padding: 1.75em;
    background-image: url(../img/disrupter.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;   

    font-size: 1.5em;
    font-style: normal;    
    line-height: 1.3 !important;
}

cite:hover {
    background-image: url(../img/disrupter_filled.svg);
}

cite a {
    color: black;
    transform: rotate(-15deg); 
    display: block;    
}

.final blockquote {
    background-image: url(../img/leaf_up_white.svg); 
    background-position: center;  
    margin: 0;
}

.final .wp-block-pullquote {
    padding: 0;
    transform: rotate(-15deg);
    text-transform: uppercase;
    margin-left: auto;
    position: relative;
    top: -6em;
}

.final blockquote p {
    text-decoration: none;
    font-family: maria;
    font-size: 0.8em !important;
    font-weight: 400;
    
    padding-left: 6em;
    padding-top: 2em;
}

.final blockquote p a {
    text-decoration: none;
}

.intro {
    background-image: url(../img/leaf_rotate.svg);
    background-position: 5vw 20vh;
    background-size: 35vw;   
    background-repeat: no-repeat;  
    background-attachment: scroll;      
    background-color: var(--main-color);
}

.intro .wp-block-columns, .intro ul {
    margin-bottom: 0;
}

.final {
    background-image: url(../img/leaf_rotate2.svg);
    background-position: -7.5vw 10vh;
    background-size: 30vw;   
    background-repeat: no-repeat;  
    background-attachment: scroll;      
    background-color: var(--main-color);    
}

.final-leaf {
    background-image: url(../img/leaf_up_white.svg);
    background-size: cover;
    background-repeat: no-repeat;
    
    width: 300px;
    height: 300px;
    transform: rotate(-20deg);
}

.final-leaf a {
    text-decoration: none;
    font-size: 1.5em;
}

.big-leaf, .big-leaf-white {
    background-image: url(../img/leaf.svg);
    background-position: -17.5vw -32.5vh;
    background-size: 112.5vw;
    background-repeat: no-repeat;  
    background-attachment: scroll;  
}

.big-leaf-white {    
    background-color: var(--main-color);    
    background-image: url(../img/leaf_white.svg);    
}

.one-leaf {
    background-image: url("../img/leaf_up.svg");
    background-position: 15vw 15vh;
    background-size: 70vw;
    background-repeat: no-repeat;    
    background-attachment: scroll;
}

.two-leaf, .two-leaf-white { 
    background-image: url(../img/leaf.svg), url(../img/leaf.svg);
    background-size: 33vw, 100vw;
    background-position: -10vw -15vh, 20vw 70vh;
    background-repeat: no-repeat;
}

.two-leaf-white {
    background-color: var(--main-color);    
    background-image: url(../img/leaf_white.svg), url(../img/leaf_white.svg);
}

.three-leaf, .three-leaf-white {
    background-image: url(../img/logo_people.svg), url(../img/leaf.svg), url(../img/leaf.svg), url(../img/leaf.svg);
    background-size: 20vw, 35vw, 25vw, 80vw;
    background-position:  75vw 80vh, -10vw -15vh, 85vw 25vh, -10vw 70vh;
    background-repeat: no-repeat;   
}

.three-leaf-white {
    background-color: var(--main-color);    
    background-image: url(../img/logo_people.svg), url(../img/leaf_white.svg), url(../img/leaf_white.svg), url(../img/leaf_white.svg);  
}

.four-leaf, .four-leaf-white {
    background-image: url(../img/leaf.svg), url(../img/leaf.svg), url(../img/leaf.svg), url(../img/leaf.svg);
    background-size: 15vw, 35vw, 40vw, 10vw;
    background-position: 10vw 15vh, -15vw 70vh, 70vw 30vh, 60vw 80vh; 
    background-repeat: no-repeat;
}

.four-leaf-white {
    background-color: var(--main-color);     
    background-image: url(../img/leaf_white.svg), url(../img/leaf_white.svg), url(../img/leaf_white.svg), url(../img/leaf_white.svg);
}

.one-leaf-question-white {
    background-image: url(../img/leaf_question.svg);
    background-position: 45vw 20vh;
    background-size: 30vw;   
    background-repeat: no-repeat;  
    background-attachment: fixed;      
    background-color: var(--main-color);    
}

.one-leaf-question-big-white {
    background-image: url(../img/leaf_question.svg);
    background-position: 50vw -15vh;
    background-size: 100vh;   
    background-repeat: no-repeat;  
    background-attachment: fixed;      
    background-color: var(--main-color);     
}

.one-leaf-question-huge {
    background-image: url(../img/leaf_question_rotate.svg);
    background-position: -20vw -25vh;
    background-size: 120vw;   
    background-repeat: no-repeat;  
    background-attachment: fixed;       
}

[class$="leaf-white"] em {
        background-color: white;
}

/*
.arrow {
    background-image: url(../img/arrow_black.svg);
    background-size: 3vw;
    background-position: center;
    background-repeat: no-repeat;
    position: fixed;
    bottom: 5vh;
    padding: 3em;
    left: 50vw;
    transform: translate(-50%);
    cursor: pointer;
}
*/

a[href^="mailto"]:before, a[href$="klimarat"]:before, a[target="_blank"]:before {
    content: url(../img/icons/mail.svg);
    display: inline-block;
    height: 1em;
    width: 1em;
    padding-right: 0.25em;
    position: relative;
    top: 0.15em;

}

a[target="_blank"]:before {
    content: url(../img/icons/ext.svg);
}

a[href$="klimarat"]:before {
    content: url(../img/icons/helping.svg);
}

[class*="white"] a[target="_blank"]:before {
    content: url(../img/icons/ext_white.svg);
}


.sm a:before {
    content: none;
}

details details {
    margin-left: 1em;
}

/* QUEST */

[class*="question"] ul.focus li {
    list-style: none;
}

#fragen, #so {
    position: relative;
    font-size: 1.1em;
}

ul.focus:before {
 content: '➡';
 font-size: 20vw;
 position: absolute;
 margin-top: -0.25em;
 left: -10px;
}



/* DOCU */

.docu .wp-block-column {
    background-color: white;
}

.docu figcaption {
    font-size: 1.35em;
    line-height: 1.2;
    padding-left: 1em;
}

/* CAROUSEL */

.intro .carousel {
    height: 100vh;
    overflow: hidden;
    position: relative;
}

.intro .carousel li:after {
    position: absolute;
    content: '';
    font-size: 100px;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(to top, transparent 70%, #000 100%);      
}

.carousel {
    pointer-events: none;
}

.carousel li {
    display: none;
    margin-left: 0;
}

.carousel li:first-child {
    display: block;
}

.carousel li strong {
    font-family: formula;
    font-size: 3em;
    padding: 1em 0;
    text-align: center;
    display: block;
}

.carousel img {
    width: 100% !important;    
    height: auto !important;
    display: block;
}

/*
.carousel img:after {
    display: block;
    position: absolute;
    content: '';
    font-size: 100px;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(to top, transparent 70%, #000000 100%);  
}
*/

.left, .right{
    content: ' ';
    background-image: url(../img/icons/arrow.svg);    
    background-size: 3vw;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;    
    top: 50vh;
    padding: 3em;  
    cursor: pointer;
    display: block;
    pointer-events: all;
}

.left {
    left: 2vw;
    transform: rotate(90deg);
}

.right {
    right: 2vw;
    transform: rotate(-90deg);
}

.indicators {
    position: relative;
    top: -15vh;
    display: flex;
    justify-content: center;
    margin-top: -15px;
}

.indicators div {
    margin: 0 10px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: white;
    cursor: pointer;
}

.indicators div.active {
    background-color: var(--main-color);    
}

.icon {
    cursor: pointer;
    width: 20px;
    margin-left: 1em;
    padding: 0;
}

.hidden {
    display: none;
}

/* POSTS */

.post {
    display: flex;
    text-decoration: none;
}

.post img {
    width: 25vw;
    margin-right: 2.5vw;
    margin-bottom: 5vh;
    height: auto;
    border-left: 15px solid transparent;
}

.post:hover img {
    border-color: var(--main-color);
}

/* COOKIE */

.cookie {
    position: fixed;
    z-index: 100;
    left: 2.5vw;
    bottom: 3.5em;
    width: 200px;
    background-color: black;
    color: white;
    padding: 0.5em;
    padding-right: 1.5em;
}

.cookie a {
    color: white;
    text-decoration: underline;
}

.cookie .close {
    position: absolute;
    right: 0.5em;
    top: 0.5em;
    text-decoration: none;
    cursor: pointer;
}

/* REGISTER */

#register_error {
    color: var(--alt-color);
    margin-top: 1em;
}

/* WP */

.has-text-align-center {
    max-width: 100% !important;
}

.has-medium-font-size {
    font-size: 1.35em;
}

.wp-block-button__link {
    background-color: black;
    border: 2px solid black;    
    font-size: 0.9em;
    margin-top: 1em;
    padding: 1em;
    color: white;
    text-decoration: none;
}

.wp-block-button__link:hover {
    background-color: white;
    color: black;
}

.wp-block-separator {
    border-top: 1px solid var(--main-color);
    border-bottom: 1px solid var(--main-color);
    margin: 0;
}

.wp-block-column:empty {
    background-color: transparent;
}

/* GALLERY */
.wp-block-gallery.has-nested-images {
    margin-left: calc(-1 * var(--side-space));
    min-width: 100vw;
    overflow: hidden;
    display: flex;
    flex-wrap: nowrap;
}

.wp-block-gallery figure {
    margin: 0em !important;   
    padding: 0.25em; 
    height: auto;
    width: auto !important;
    /*flex-basis: 15%;*/
    min-width: 20vw;
    display: block;
    
}

.wp-block-gallery img {
    height: auto !important;
    width: auto !important;
}

/* GALLERY OLD

.wp-block-gallery {
    min-width: 100vw;
    overflow: hidden;
    display: inline-flex;
}

.blocks-gallery-grid {
    flex-wrap: nowrap;
}

.blocks-gallery-item {
    margin: 0.25em !important;    
    height: 25vh !important;
    width: auto !important;
    min-width: 25%;
}

.blocks-gallery-item img {
    height: auto !important;
    width: auto !important;
}

*/

/* STYLES */

.is-style-centered {
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding-top: 0;
}

.is-style-centered .wp-block-columns {
    align-items: center;    
}

.is-style-uppercase {
    text-transform: uppercase;
    font-family: formula;
    font-style: normal;
    letter-spacing: 0.025em;
    font-size: 1.25em;
}

.is-style-formula {
    font-family: formula;
    font-style: normal;    
    letter-spacing: 0.025em;
    font-size: 2em;   
    max-width: 80ch;
}

.is-style-arial {
    font-family: arial;
}

.is-style-sourcesans {
    font-family: sourcesans;
    font-weight: 400;
}

.is-style-sourcesans strong {
    font-family: sourcesans;
    font-weight: 700;
}

h1.has-background, h2.has-background {
    padding: 0.25em 0;
}