/* Space4Life Custom Styling */

@font-face {
    font-family: 'mont';
    src: url('fonts/mont-black-webfont.woff2') format('woff2'),
         url('fonts/mont-black-webfont.woff') format('woff');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'mont';
    src: url('fonts/mont-bold-webfont.woff2') format('woff2'),
         url('fonts/mont-bold-webfont.woff') format('woff');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'mont';
    src: url('fonts/Mont-ExtraLight.woff2') format('woff2'),
        url('fonts/Mont-ExtraLight.woff') format('woff');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: 'mont';
    src: url('fonts/mont-heavy-webfont.woff2') format('woff2'),
         url('fonts/mont-heavy-webfont.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'mont';
    src: url('fonts/mont-regular-webfont.woff2') format('woff2'),
         url('fonts/mont-regular-webfont.woff') format('woff');
    font-weight: 500;
    font-style: normal;

}


@font-face {
    font-family: 'Source Sans Pro Bold';
    src: url('fonts/SourceSansPro-Bold.woff2') format('woff2'),
        url('fonts/SourceSansPro-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Source Sans Pro Regular';
    src: url('fonts/SourceSansPro-Regular.woff2') format('woff2'),
        url('fonts/SourceSansPro-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'broadcast-matter';
    src: url('fonts/Broadcast_Matter.woff2') format('woff2'),
        url('fonts/Broadcast_Matter.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

html{
    scroll-behavior: smooth;
}

h1{
    font-family: 'mont';
    font-weight: 300;
    font-size: 7em;
}

h3{
    font-family: 'broadcast-matter';
    font-size: 5em;
    line-height: 1;
}

h4{
    font-family: 'mont';
    font-weight: 600;
    font-size: 2.6em;
}

h5{
    font-family: 'broadcast-matter';
    font-size: 4em;  
}

p{
    font-family: 'Source Sans Pro Regular';
    font-weight: normal;
    font-size: 1.1em;
    line-height: 2;
    letter-spacing: 0;
}

#background{
    background-image: url('img/ppm_kueche_28_landscape-min.jpg');
    background-repeat: no-repeat;
    background-position: center;
    height: 70vh;
    background-size: cover;
    opacity: 0;
}

#philosophie img{
    padding-left: 50px;
    margin-top: 11vw;
}

#impressum h1{
    font-weight: 600;
    font-size: 4em;
}

#kontakt{
    position: fixed;
    right: 6vw;
    top: -200px;
    z-index: 999;
}

#kontakt div{
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
    background: black;
    padding: 20px 100px 20px 20px;
}

#kontakt a{
    color: white;
}

#kontakt a:hover{
    text-decoration: none;
}

#start > section:first-of-type .container h1{
    text-align: center;
}

#start #start-header{
    padding-top: 15vh;
    height: 75vh;
}

.mitglieder a{
    width: 25%;
    text-align: center;
    min-height: 250px;
    display: flex;
    margin: 5px;
    justify-content: center;
    align-items: center;
}
.animiert{
    opacity: 0;
}

#impressum a{
    color: black;
    font-size: 1.2em;
    letter-spacing: 2px;
}

#impressum section{
    margin-top: 20vh;
}

#impressum h1{
    padding-bottom: 5%;
}

.navi{
    position: fixed;
    top: 150px;
    left: -100px;
    z-index: 9999;
}



.navi ul{
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);        
    -o-transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
}

.navi ul li{
    padding-right: 20px;
}

a{
    font-family: 'mont';
    font-weight: 600;
    color: black;
    font-size: 1.2em;
    line-height: 1.6em;
    letter-spacing: 1px;
}

a:hover{
    text-decoration: underline overline;
    color: black;
}

.ml5 {
  position: relative;
  font-size: 8em;
  color: black;
  text-align: center;
}

.ml5 .text-wrapper {
  position: relative;
  display: inline-block;
  padding-top: 0.1em;
  padding-right: 0.05em;
  padding-bottom: 0.15em;
  line-height: 1em;
}

.ml5 .line {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  height: 3px;
  width: 100%;
  background-color: black;
  transform-origin: 0.5 0;
}

.ml5 .ampersand {
    font-weight: 600;
}

.ml5 .letters {
  display: inline-block;
  opacity: 0;
}

.ml5 .letters-left{
    margin-right: -0.2em;
}

.ml5 .letters-right{
    margin-left: -0.25em;
}

#start > section:first-of-type > .container > a{
    line-height: 1;
    font-size: 1em;
}

#philosophie{
    padding: 12vh 0 0 0;
}

.philo-text{
    padding: 60px 5% 20px 8%;
    margin-top: -25vh;
    background: white;
}

.philo-text h3{
    margin-bottom: 20px;
}

.row{
    max-width: 100%;
}

#mitglied{
    padding: 13vh 0;
}

.mitglieder h3{
    position: relative;
    display: grid;
    grid-template-columns: 400px 1fr;
}

.mitglieder h3 span{
    align-self: center;
    height: 3px;
    width: 100%;
    background-color: black;
    transform-origin: 0.5 0;
}

.mitglieder.kooperationspartner h3{
    grid-template-columns: 600px 1fr;
}


.mitglieder > span {
    display: block;
    margin: 40px 0 0 0;
    height: 3px;
    width: 100%;
    background-color: black;
    transform-origin: 0.5 0;
}

.mitglieder a span{
    position: absolute;
    width: 20%;
    font-family: 'Source Sans Pro Regular';
    line-height: 1.6;
    font-size: 0.9em;
    display: none;
    letter-spacing: 0.2;
    font-weight: normal;
}

.philo-text a:hover{
    text-decoration: none;
}

.mitglieder{
    padding: 0 30px 0 50px;
}

.mitglieder .row > div{
    min-height: 200px;
}

.mitglieder .row > div a{
    display: block;
    transform: translate(0, 100%);
}

.mitglieder.kooperationspartner a:hover{
    text-decoration: none;
}

.visible-xs-flex{
    display: none !important;
}

@media(min-width: 1400px){
    #start .container{
        max-width: 1250px !important;
    }

}

@media(min-width: 1200px){
    #start .container{
        max-width: 1000px;
    }
}


@media(max-width: 1500px){
    #philosophie img{
        margin-top: 13vw;
    }
    .mitglieder.kooperationspartner h3 {
        grid-template-columns: 485px 1fr;
    }
    .mitglieder h3{
        grid-template-columns: 325px 1fr;
    }
    h3{
        font-size: 4em;
    }

    p{
        font-size: 0.9em;
        line-height: 2;
    }

    .philo-text{
        padding: 60px 0 20px 10%;
    }
    .ml5{
        font-size: 7em;
    }

}

@media(max-width: 1400px){

    h5{
        font-size: 3em;
    }

    h1, .ml5{
        font-size: 6em;
    }

    #start-header{
        padding-top: 15vh;
    }

    .navi{
        left: -110px;
    }

    .mitglieder a img{
        max-width: 155px;
        max-height: 160px;
        width: 100%;
        object-fit: contain;
    }

    .mitglieder.mitglieder.kooperationspartner a img{
        max-width: 230px;
    }


}

@media(max-width: 1200px){
    .mitglieder a{
        width: 25%;
    }

}

@media (max-width: 1024px){
    #start .container{
        max-width: 620px;
    }

    .navi{
        left: -100px;
    }

    .mitglieder a img{
        max-height: 135px;
    }

    h4{
        font-size: 2em;
    }

    .mitglieder a{
        min-height: 200px;
    }

}

@media(max-width: 760px){
    #mitglied {
        padding: 13vh 0 8vh;
    }
    .visible-xs-flex{
        display: flex !important;
    }
    .hidden-xs{
        display: none !important;
    }
    .mitglieder h3 {
        grid-template-columns: 275px 1fr;
    }
    .mitglieder.kooperationspartner h3 {
        grid-template-columns: 400px 1fr;
    }
    .mitglieder{
        padding: 0 30px 0 30px;
    }

    #philosophie img{
        padding: 0;
        margin: 0;
    }
    .ml5{
        font-size: 4em;
    }

    h3{
        font-size: 3.4em;
    }

    h4{
        font-size: 1.8em;
    }

    a, #impresum a{
        font-size: 1em;
    }

    #kontakt{
        right: 59px;
    }

    .mitglieder a img{
        max-width: 130px;
    }

    .mitglieder a .gh-logo,
    .mitglieder a .drapilux-logo{
        max-width: 160px;
    }

    .mitglieder a .haefele-logo{
        max-width: 170px;
    }

    .mitglieder a .lts-logo{
        max-width: 75px;
    }

    #start #start-header{
        height: 60vh;
    }

    .mitglieder > span{
        margin: 5px 0 0 0;
    }

    .mitglieder a span{
        display: none !important;
    }

    #start a img{
        display: block !important;
    }

    .mitglieder.kooperationspartner h3 {
        grid-template-columns: 240px 1fr;
        white-space: break-spaces;
    }
    .mitglieder.kooperationspartner h3 span{
        margin-top: 50px;
    }
    .mitglieder h3 {
        grid-template-columns: 230px 1fr;
    }
    #impressum .row{
        max-width: 100%;
    }

    #impressum section{
        margin-top: 10vh;
    }
    #impressum h3 {
        white-space: normal;
    }
    .mitglieder a,
    .mitglieder a span{
        width: 40%;
        min-height: 110px;
    }

    #start-header h3{
        margin-left: 20px;
    }

    .ml5{
        font-size: 3.4em;
        white-space: nowrap;
    }

    a, #impressum a{
        letter-spacing: 0;
    }

    .navi{
        top: 120px;
    }
    #start #start-header > .container {
        max-width: unset;
        padding: 0 40px;
    }


    #start a img{
        max-width: 150px;
    }

    #start > section:first-of-type .container h1{
        text-align: start;
    }

    h1, #impressum h1{
        font-size: 3em;
    }

    #kontakt{
        position: fixed;
        width: 80px;

    }

    #kontakt div{
        padding: 15px 160px 15px 18px;
    }


    h3{
        font-size: 2.8em;
        white-space: nowrap;
    }

    #start #start-header{
        padding-top: 150px;
    }

    #impressum .navi{
        left: -110px;
    }

    .philo-text{
        padding: 0 0 20px 0;
        margin: 0;
    }

    #philosophie{
        padding: 5vh 30px 0 30px;
    }

    .row{
        max-width: unset;
    }

    #start-header .row{
        max-width: 100%;
    }


}


@media(max-width: 412px){

    .ml5{
        font-size: 3em;
    }

    #start a img{
        max-width: 100px;
        max-height: 100px;
        padding: 0;
    }
    #start .mitglieder.mitglieder.kooperationspartner a img{
        max-width: 125px;
    }
    #start a{
        padding: 15px 0 30px 0;
    }
}

@media(max-width: 375px){

    .philo-text h3{
        white-space: inherit;
    }

}