/*/////////////////////////////// Allgemeines Definitionen und Elemente /////////////////////////////// */ /*/////////////////////////////// FARBEN /////////////////////////////// */ @gruen:#00ff06; @dunkelgruen:#192615; @hellgruen:#e3eee5; @menuegruen:#527053; /* Fonts */ .book(){ font-family: "futura-pt",sans-serif; font-style: normal; font-weight: 400; } .heavy(){ font-family: "futura-pt",sans-serif; font-style: normal; font-weight: 700; } .headline h1, .headline h2{ font-size: 80px; font-family: "futura-pt",sans-serif; font-style: italic; font-weight: 300; color: @gruen; text-transform: uppercase; line-height: 66px; } div, a, ul, li, header, footer, section, input, select {box-sizing: border-box;} .mainWrapper {max-width:1280px; margin:auto; padding:0 115px;} @media (max-width: 1040px) { .mainWrapper {padding:0 60px;} } .transition (@trans: all 400ms ease) { -webkit-transition: @trans; -moz-transition: @trans; -o-transition: @trans; transition: @trans; } .rotate(@rotation:0deg){ -moz-transform: rotate(@rotation); -ms-transform: rotate(@rotation); -o-transform: rotate(@rotation); -webkit-transform: rotate(@rotation); transform: rotate(@rotation); } section {padding:120px; position:relative;} main {overflow:hidden;width:100%;} @media (max-width: 1280px) { section{padding:120px 0;} } .headline,.content { width:50%; } @media (max-width: 1040px) { .headline,.content { width:100%; } } .left img, .headline img { margin-bottom:100px; } @media (max-width: 1040px) { .left { text-align:center; } .left img, .headline img { margin-bottom:60px; } } @media (max-width: 850px) { .left img, .headline img, .right img, .content img { width:50%; height:auto; } .content p { font-size:25px; } .left img, .headline img { margin-bottom:40px; } } @media (max-height: 375px) { .left img, .headline img, .right img, .content img { width:30%; height:auto; } } @media (max-width: 375px) { .mainWrapper {padding:0 40px!important;} .left img, .headline img, .right img, .content img { width:60%; } .content p{ font-size:20px; } } a { color:@dunkelgruen; &:hover {color:@gruen;} .transition(); } /*/////////////////////////////// Text & Linkdefinitionen /////////////////////////////// */ body { .book(); color:@dunkelgruen; } p {font-size:30px; line-height:1.3em; margin-top:0;} .klein p {font-size:20px;} .bigHeadline {font-size:50px; line-height:70px; margin-bottom:60px; line-height:1.3em;} .left {float:left;} .right {float:right;} .greenText {color:@gruen;} @media (max-width: 1040px) { .left {float:none;} .right {float:none;} } /*/////////////////////////////// Logo /////////////////////////////// */ .logo {margin:80px auto 80px auto; width:220px;} /*/////////////////////////////// Navigation /////////////////////////////// */ /* Mobile Burger Menue */ .mtoggle{ display:none; position:fixed; top:0; right:0; background:none; z-index:1200; box-sizing:content-box!important; } .navicon { float: right; height: 6px; width: 34px; margin: 20px; border-top: 18px double @gruen; border-bottom: 6px solid @gruen; font-size: 0; padding-left:0; background:none; } /* Main Nav */ .nav-container { height:80px; &.fix-nav { .mainMenue { .rotate(0deg); position:fixed; top:0; left:0; width:100%; a { height:51px; padding-top:8px; } } } } @media (max-width: 1040px) { .mtoggle{display:block;} } .mainMenue { background:@hellgruen; .rotate(-1.5deg); z-index:1000; img {position:absolute; right:200px; top:-50px;} * {.transition();} ul { max-width:1280px; margin:auto; padding:0; display:block; li { list-style:none; float:left; width:12.5%; a { display:inline-block; vertical-align: middle; color:@menuegruen; text-decoration:none; display:inline-block; text-transform:uppercase; text-align:center; width:100%; height:80px; padding-top:24px; font-size:17px; line-height: 17px; &:hover {background:@gruen; color:@dunkelgruen;} } } } } @media (max-width: 1040px) { .nav-container { z-index:1100; position:fixed; top:0; left:0; width:110%; margin-left:-5%; height:0; .mainMenue { background:white; border-bottom:3px solid @gruen; width:100%; display:none; ul { max-width:100%; li{ float:none; width:100%; a{ height:80px; padding-top:26px; } } } } } } @media (max-height: 375px) { .mainMenue ul li a {height:50px!important; padding-top:10px!important;} } /*/////////////////////////////// Sections /////////////////////////////// */ @-webkit-keyframes movehands { 0% {top: -120px;} 50% {top: -150px;} 100% {top: -120px;} } @-moz-keyframes movehands { 0% {top: -120px;} 50% {top: -150px;} 100% {top: -120px;} } @-o-keyframes movehands { 0% {top: -120px;} 50% {top: -150px;} 100% {top: -120px;} } @keyframes movehands { 0% {top: -120px;} 50% {top: -150px;} 100% {top: -120px;} } .wer{ .background{ display:none; .rotate(1.5deg); background-color:@hellgruen; } } @media (max-width: 1040px) { .wer{ .background{ display:block; }} } @media (max-width: 850px) { .wer { .left img, .content img {width:35%;} } } .waskann { a { color: white; &:hover {color:@gruen;} .transition(); } color:white; position:relative; .background{ background-color:@dunkelgruen; height:100%; width:120%; .rotate(1.5deg); text-align:center; img { position:absolute; top:-150px; left:30%; -webkit-animation: movehands 7s infinite; /* Safari 4+ */ -moz-animation: movehands 7s infinite; /* Fx 5+ */ -o-animation: movehands 7s infinite; /* Opera 12+ */ animation: movehands 7s infinite; /* IE 10+, Fx 29+ */ } } } @media (max-width: 850px) { .waskann { .left img, .content img {width:40%;} } } .warum{ padding:100px 0 170px 0; img {margin-bottom:30px;} .background{ background-color:@hellgruen; .rotate(1.5deg); } } .referenzen { @-webkit-keyframes movehandswhite { 0% {bottom: -70px;} 50% {bottom: -100px;} 100% {bottom: -70px;} } @-moz-keyframes movehandswhite { 0% {bottom: -70px;} 50% {bottom: -100px;} 100% {bottom: -70px;} } @-o-keyframes movehandswhite { 0% {bottom: -70px;} 50% {bottom: -100px;} 100% {bottom: -70px;} } @keyframes movehandswhite { 0% {bottom: -70px;} 50% {bottom: -100px;} 100% {bottom: -70px;} } color:white; text-align:center; margin-top:-70px; p,a {text-align:left;} a {color:white;&:hover{color:@gruen;}} .background img { position:absolute; bottom:-100px; left:22%; -webkit-animation: movehandswhite 7s infinite; /* Safari 4+ */ -moz-animation: movehandswhite 7s infinite; /* Fx 5+ */ -o-animation: movehandswhite 7s infinite; /* Opera 12+ */ animation: movehandswhite 7s infinite; /* IE 10+, Fx 29+ */ } } @media (max-width: 850px) { .warum { .left img, .headline img{width:80%} .right,.content { text-align:center; } } } .law { .background{background-color:@hellgruen;.rotate(1.5deg);} margin-bottom:-50px; } .background{ position:absolute; height:100%; width:110%; top:0; left:-5%; background:@dunkelgruen; .rotate(-2deg); z-index:-5; }