body {
    margin: 0;
    padding: 0;
    font-family: 'Source Sans Pro', sans-serif;
    background-color: #c7dc8d;
}

header {
    background-color: #f8f8f1;
    position: fixed;
    top: 0;
    width: 100%;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

#headerImg {
    width: 100%;
    position: fixed;
    z-index: 0;
}

main {
    margin-top: 200px;
    margin-bottom: 60px;
    position: relative;
    background-color: #c7dc8d;
    box-shadow: 0px -1px 1px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

nav {
    text-align: center;
}

nav ul {
    padding: 0;
}

nav li {
    display: inline;
    margin: 15px;
    letter-spacing: 0.05em;
}

nav a {
    text-decoration: none;
    color: #000;
    padding-top: 1px;
    padding-bottom: 2px;
    padding-left: 6px;
    padding-right: 6px;
}

nav a.active {
    background-color: #789d3b;
    ;
    color: #fff;
}

#menu {
    display: none;
    font-size: 2em;
    margin: 15px;
    cursor: pointer;
}

.mobileNav main {
    display: none;
}

.mobileNav header {
    min-height: 100vh;
    position: absolute;
}

.mobileNav nav ul {
    display: block;
    box-shadow: 0px -1px 1px rgba(0, 0, 0, 0.1);
}

.mobileNav nav li {
    display: inherit;
    margin: 0;
}

.mobileNav nav a {
    display: block;
    border-top: solid 1px #fff;
    border-bottom: solid 1px #e3e3d2;
    padding-top: 10px;
    padding-bottom: 12px;
}

#languages {
    position: absolute;
    top: 0;
    right: 0;
}

#languages span {
    padding: 0 6px 0 6px;
    cursor: pointer;
}

#languages span.active {
    background: #789d3b;
    color: #fff;
    cursor: inherit;
}

h2,
p {
    hyphens: auto;
}

h1 {
    color: #2a6468;
    font-weight: 200;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: min(6.6vw, 3em);
    text-align: center;
    margin-bottom: 0;
}

h2 {
    font-weight: 500;
    color: #3d6529;
}

h3 {
    font-weight: 500;
    color: #2a6468;
}

.quote {
    background-color: #d6e5e4;
    cursor: pointer;
}

.quote:hover {
    background-color: #bbd9d7;
}

.quote h2 {
    font-size: max(1.4em, 3vh);
    font-weight: 200;
    font-style: italic;
    text-align: center;
    color: #000;
    hyphens: none;
}

.quote_author {
    text-align: center;
    font-size: 0.9em;
}

p,
li {
    letter-spacing: 0.02em;
    line-height: 1.4em;
}

section {
    background-color: #fff;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
}

article {
    margin: 20px;
    margin-right: 5%;
    margin-left: 5%;
    width: 90%;
    max-width: 850px;
}

article img {
    max-width: 100%;
}

.imgTxt {
    display: flex;
    align-items: center;
}

#leistungen img {
    width: 220px;
    margin-left: 0px;
    margin-right: 25px;
    flex-shrink: 0;
}

a {
    text-decoration: none;
    color: #000;
}

article a {
    color: #8aa440;
    white-space: nowrap;
}

article a:before {
    content: url(https://landschaftsleistungen.ch//img/pfeil.svg);
    display: inline-block;
    width: 15px;
    margin-left: 3px;
    margin-right: 3px;
}

main a.email:before {
    content: url(https://landschaftsleistungen.ch//img/envelope.svg);
}

footer {
    margin: 10px;
    font-size: 12px;
    position: fixed;
    bottom: 0px;
}

footer,
footer a {
    color: #7b8857;
}

hr {
    border: none;
    height: 1px;
    background-color: #b7d06a;
}

/****************** Listen **********************/

main ul,
main ol {
    list-style-position: outside;
    padding-left: 1.5em;
}

main ul,
main ol {
    list-style-type: none;
    margin-top: 12px;
    margin-bottom: 25px;
}

main li {
    margin-bottom: 0.5em;
}

main li::before {
    display: inline-block;
    width: 1.2em;
    margin-left: -1.2em;
}

main ul li::before {
    content: "\2022";
    color: #b7d06a;
}

/********************* Praxisbeispiele ***********************/
#visuals {
    display: flex;
    flex-wrap: wrap;
    margin: 20px 0px;
}

#projectlist h2 {
    margin-top: 5px;
}

/*
#projectlist .description {
    position: relative;
    flex-grow: 1;
}

.truncated {
    cursor: pointer;
}

.truncated>div {
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0;
    right: 0;
    overflow: hidden;
}

.truncated>div:after {
    content: 'weiterlesen';
    position: absolute;
    bottom: 0px;
    background: linear-gradient(0deg, rgba(255, 255, 255, 1)20%, rgba(255, 255, 255, 0) 100%);
    width: 100%;
    padding-top: 100px;
    color: #789d3b;
}

.fulltext:after {
    content: 'schliessen';
    color: #789d3b;
}
*/
.visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30%;
    height: 22vh;
    flex-grow: 1;
    flex-shrink: 0;
    cursor: pointer;
    box-shadow: inset 0px 0px 0px 1px #fff;
}

.visual .bg {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    overflow: hidden;
    background-position: center;
    background-size: cover;
    filter: sepia(1)saturate(0.8)hue-rotate(40deg);
    opacity: 0.75;
}


.visual.active .bg {
    filter: none;
    opacity: 1;
}

#descriptions>div {
    display: none;
}

.visual h2 {
    position: relative;
    background: #789d3b;
    color: #fff;
    padding: 5px 10px;
    box-shadow: 0px 0px 5px rgb(0 0 0 / 30%);
    pointer-events: none;
    text-align: center;
}

#conclusions em {
    font-weight: bold;
    color: #8aa440;
}

@media (max-width: 1000px) {
    #projectlist article {
        flex-direction: column;
    }

    .truncated>div {
        position: inherit;
        height: 200px;
        overflow: hidden;
    }

    #projectlist h2 {
        margin-top: 15px;
    }
}


/********************* Publications ***********************/

.pub li {
    font-size: 0.95em;
}

.pub em {
    font-size: 1.15em;
}

.pub span {
    font-weight: 400;
    font-size: 0.95em;
}

@media (max-width:1100px) {
    .imgTxt {
        flex-wrap: wrap;
    }

    .imgTxt>div {
        width: 100%;
    }
}

@media (max-width:1100px) {
    nav ul {
        display: none;
    }

    #menu {
        display: block;
    }
}

/******************** VIDEO ******************************/

.video {
    position: relative;
    width: 100%;
    padding-bottom: 55%;
    overflow: hidden;
    margin-bottom: 1em;
}

.video iframe,
.video object,
.video embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}