/*##################################################################################*/ /* Colors */ /*##################################################################################*/ @main-color: #3c5487; @oldtimer: #c6a368; @lightgray: #757575; @darkgray: #222529; @text: #222529; /*##################################################################################*/ /* Fonts */ /*##################################################################################*/ @font-face { font-family: 'Avenir Italic'; src: url('../fonts/AvenirNext-Italic.woff2') format('woff2'), url('../fonts/AvenirNext-Italic.woff') format('woff'); font-weight: normal; font-style: italic; } @font-face { font-family: 'Avenir Bold'; src: url('../fonts/AvenirNext-Bold.woff2') format('woff2'), url('../fonts/AvenirNext-Bold.woff') format('woff'); font-weight: bold; font-style: normal; } @font-face { font-family: 'Avenir Medium'; src: url('../fonts/AvenirNext-Medium.woff2') format('woff2'), url('../fonts/AvenirNext-Medium.woff') format('woff'); font-weight: 500; font-style: normal; } @font-face { font-family: 'Avenir'; src: url('../fonts/AvenirNext-Regular.woff2') format('woff2'), url('../fonts/AvenirNext-Regular.woff') format('woff'); font-weight: normal; font-style: normal; } .avenir(){ font-family: 'Avenir'; font-weight: normal; font-style: normal; } .avenir-italic(){ font-family: 'Avenir Italic'; font-weight: normal; font-style: italic; } .avenir-medium(){ font-family: 'Avenir Medium'; font-weight: 500; font-style: normal; } .avenir-bold(){ font-family: 'Avenir Bold'; font-weight: bold; font-style: normal; } h1{ .avenir-bold(); font-size: 40px; letter-spacing: .02em; } h2{ margin-bottom: 50px; font-size: 25px; } h3{ .avenir-bold(); font-size: 24px; letter-spacing: .05em; } p{ font-size: 18px; line-height: 32px; } .bottom{ margin-bottom: 0px; } .more{ color: black; .avenir-bold(); letter-spacing: .03em; text-decoration: underline; } a{ color: black; text-decoration: underline; .transition(); &:hover{ color: @lightgray; .transition(); } } @media only screen and (max-width : 991px) { .bottom{ margin-bottom: 30px; } } @media only screen and (max-width : 767px) { h1{ font-size: 35px; } h2{ font-size: 25px; } } /*##################################################################################*/ /* Basic */ /*##################################################################################*/ html, body { -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; .avenir(); } body{ margin-bottom: 0px; } .transition(){ -webkit-transition: all 0.5s; transition: all 0.5s; -webkit-transition-timing-function: cubic-bezier(0.17, 0.67, 0.05, 1.29); transition-timing-function: cubic-bezier(0.17, 0.67, 0.05, 1.29); } .buffer-start{ margin-top: 150px; } .buffer-top{ margin-top: 100px; } @media only screen and (max-width : 767px) { .buffer-top{ margin-top: 40px; } } .mobile{ display: none; } @media only screen and (max-width : 991px) { .desktop{ display: none; } .mobile{ display: block; } } .partnerlogo{ max-width: 220px; max-height: 220px; } /*##################################################################################*/ /* Bildakzente */ /*##################################################################################*/ .transporte-img{ border-bottom: 7px solid @main-color; } .oldtimer-img{ border-bottom: 7px solid @oldtimer; } .showtruck-img{ border-bottom: 7px solid black; } /*##################################################################################*/ /* Menu */ /*##################################################################################*/ .shade{ background-image: url(../img/shade.png); background-repeat: repeat-x; position: fixed; top: -10px; left: 0px; z-index: 998; width: 100%; height: 120px; background-size: contain; } @media only screen and (max-width : 767px) { .shade{ background-image: none; background-color: white; width: 100%; height: 105px; -webkit-box-shadow: 0px -4px 49px 0px rgba(0,0,0,0.23); -moz-box-shadow: 0px -4px 49px 0px rgba(0,0,0,0.23); box-shadow: 0px -4px 49px 0px rgba(0,0,0,0.23); } } .logo{ position: fixed; width: 70px; z-index: 999; left: 30px; top: 30px; } .transport-logo{ position: fixed; width: 70px; z-index: 999; left: 30px; top: 30px; } .menu-icon { height: 30px; width: 30px; position: fixed; z-index: 2; right: 60px; top: 40px; cursor: pointer; z-index: 999; } .menu-icon__line { height: 3px; width: 40px; display: block; background-color: black; margin-bottom: 7px; transition: background-color .5s ease, -webkit-transform .2s ease; transition: transform .2s ease, background-color .5s ease; transition: transform .2s ease, background-color .5s ease, -webkit-transform .2s ease; } .menu-icon__line-left { width: 40px; } .menu-icon__line-right { width: 40px; } .nav { position: fixed; z-index: 1; visibility: hidden; z-index: 998; top: 0; } .nav:before, .nav:after { content: ""; position: fixed; width: 100vw; height: 100vh; background: @main-color; z-index: -1; transition: -webkit-transform cubic-bezier(0.77, 0, 0.175, 1) 0.8s; transition: transform cubic-bezier(0.77, 0, 0.175, 1) 0.8s; transition: transform cubic-bezier(0.77, 0, 0.175, 1) 0.8s, -webkit-transform cubic-bezier(0.77, 0, 0.175, 1) 0.8s; -webkit-transform: translateX(0%) translateY(-100%); transform: translateX(0%) translateY(-100%); } .nav:after { //background: rgba(230, 230, 230, 1); background: white; transition-delay: 0s; } .nav:before { transition-delay: .1s; } .nav__content { position: fixed; top: 50%; -webkit-transform: translate(0%, -50%); transform: translate(0%, -50%); width: 100%; text-align: center; .avenir-medium(); font-size: 35px; cursor: pointer; } .nav__list-item { position: relative; display: inline-block; transition-delay: 0.8s; opacity: 0; -webkit-transform: translate(0%, 100%); transform: translate(0%, 100%); transition: opacity .2s ease, -webkit-transform .3s ease; transition: opacity .2s ease, transform .3s ease; transition: opacity .2s ease, transform .3s ease, -webkit-transform .3s ease; margin-right: 100px; } .nav__list-item:before { content: ""; position: absolute; background: #000000; width: 30px; height: 3px; top: 100%; -webkit-transform: translate(0%, 0%); transform: translate(0%, 0%); transition: all .3s ease; z-index: -1; } .nav__list-item:hover:before { width: 100%; } body.nav-active .menu-icon__line { background-color: #000; -webkit-transform: translateX(0px) rotate(-45deg); transform: translateX(0px) rotate(-45deg); } body.nav-active .menu-icon__line-left { -webkit-transform: translateX(0px) translateY(10px) rotate(45deg); transform: translateX(0px) translateY(10px) rotate(45deg); } body.nav-active .menu-icon__line-right { -webkit-transform: translateX(-2px) rotate(45deg); transform: translateX(-2px) rotate(45deg); opacity: 0; } body.nav-active .nav { visibility: visible; z-index: 998; } body.nav-active .nav:before, body.nav-active .nav:after { -webkit-transform: translateX(0%) translateY(0%); transform: translateX(0%) translateY(0%); } body.nav-active .nav:after { transition-delay: .1s; } body.nav-active .nav:before { transition-delay: 0s; } .nav__list a{ color: black; text-decoration: none; } body.nav-active .nav__list-item { opacity: 1; -webkit-transform: translateX(0%); transform: translateX(0%); transition: opacity .3s ease, color .3s ease, -webkit-transform .3s ease; transition: opacity .3s ease, transform .3s ease, color .3s ease; transition: opacity .3s ease, transform .3s ease, color .3s ease, -webkit-transform .3s ease; } body.nav-active .nav__list-item:nth-child(0) { transition-delay: 0.5s; } body.nav-active .nav__list-item:nth-child(1) { transition-delay: 0.6s; } body.nav-active .nav__list-item:nth-child(2) { transition-delay: 0.7s; } body.nav-active .nav__list-item:nth-child(3) { transition-delay: 0.8s; } body.nav-active .nav__list-item:nth-child(4) { transition-delay: 0.9s; } body.nav-active .nav__list-item:nth-child(5) { transition-delay: 1s; } @media only screen and (max-width : 1310px) { .nav__list-item { margin-right: 70px; } .nav__content{ font-size: 30px; } } @media only screen and (max-width : 1100px) { .nav__list-item{ display: block; margin-right: 0px; margin-bottom: 40px; } .nav__list{ padding-left: 0px; } .nav__list-item:before{ display: none; } .nav__content{ font-size: 28px; margin-top: 130px; position: relative; width: 100vw; transform: none; -webkit-transform: none; } } @media only screen and (max-width : 767px) { .menu-icon { right: 40px; top: 37px; } .logo{ width: 50px; left: 20px; top: 20px; } .transport-logo{ width: 50px; left: 20px; top: 20px; } .menu-margin{ margin-top: 80px; } } @media only screen and (max-width : 400px) { .nav__list-item{ margin-bottom: 30px; } .nav__content{ font-size: 23px; } } /*##################################################################################*/ /* Hero */ /*##################################################################################*/ .hero-images{ padding: 0; .hero-image{ -webkit-transition: all 0.5s; transition: all 0.5s; z-index: -1; &:hover{ -webkit-transition: all 0.8s; transition: all 0.8s; } } } .hero-desktop{ display: block; } .hero-mobile{ display: none; } .content{ margin-top: 120px; margin-bottom: 120px; } .col-lg-4{ position: relative; overflow: hidden; .hero-image-text{ position: absolute; z-index: 1; bottom: 25px; left: 50px; .avenir-bold(); letter-spacing: .03em; font-size: 65px; color: white; text-shadow: 0px 0px 20px rgba(0,0,0,0.62); &:after{ position: absolute; content: ''; background-color: white; width: 50%; height: 10px; left: 0; bottom: 0; -webkit-transition: all 0.5s ease; transition: all 0.5s ease; } } &:hover .hero-image-text:after{ width: 100%; -webkit-transition: all 0.5s ease; transition: all 0.5s ease; } } @media only screen and (max-width : 1500px) { .col-lg-4{ .hero-image-text{ font-size: 4vw; } } } @media only screen and (max-width : 991px) { .hero-images{ .col-lg-4{ overflow: hidden; .hero-image-text{ font-size: 12vw; left: 20px; border: 0px; } } } .hero-mobile{ display: block; } .hero-desktop{ display: none; } } @media only screen and (max-width : 767px) { .content{ margin-top: 50px; margin-bottom: 50px; } } /*##################################################################################*/ /* Anfragen */ /*##################################################################################*/ .anfragen{ background-color: #e7e7e7; padding: 60px 100px 40px 100px; position: relative; .anfrage-bild{ position: absolute; width: 160px; right: -60px; top: -60px; } } @media only screen and (max-width : 992px) { .anfragen{ padding: 100px 20px 10px 30px; .anfrage-bild{ width: 120px; right: auto; left: 50%; margin-left: -60px; } } } /*##################################################################################*/ /* Team */ /*##################################################################################*/ .team-name{ .avenir-bold(); margin-top: 20px; letter-spacing: .03em; margin-bottom: 0px; } .team-funktion{ font-style: italic; margin-bottom: 10px; } .team-kontaktdaten{ font-size: 16px; line-height: 24px; letter-spacing: .04em; } .team-img{ margin-top: 70px; border-bottom: 7px solid @main-color; } .friends{ width: 150px; margin-bottom: 50px; } /*##################################################################################*/ /* Oldtimer */ /*##################################################################################*/ .buffer-top-sm{ margin-top: 50px; } .oldtimer{ .buffer-top{ margin-top: 100px; } ul{ margin: 0 0; padding: 0 0; margin-left: 15px; li ul{ margin-left: 50px; } } ul li{ margin-bottom: 10px; font-size: 18px; ul li{ margin-bottom: 5px; } } .besonderheiten{ padding-left: 20px !important; } .daten{ padding: 30px 70px 0px 70px; background-color: #e7e7e7; .name{ text-align: center; .avenir-bold(); font-size: 27px; margin-bottom: 70px; } .text-center{ margin-bottom: 80px; } .info{ .avenir-bold(); font-size: 23px; } .btn-primary{ position: absolute; left: 50%; bottom: -20px; margin-left: -85px; background-color: @oldtimer; border: none; .avenir-medium(); } } hr{ margin-top: 100px; margin-bottom: 100px; border: 2px solid @oldtimer; } .daten-page{ padding: 90px 70px 0px 70px; background-color: @oldtimer; color: white; position: relative; .text-center{ margin-bottom: 100px; } .info{ .avenir-bold(); font-size: 30px; } .btn-primary{ position: absolute; left: 50%; bottom: -15px; margin-left: -105px; background-color: black; border: none; .avenir-medium(); } } @media only screen and (max-width : 992px) { .daten{ padding: 30px 30px 20px 30px; .text-center{ margin-bottom: 50px; } .name{ font-size: 27px; } } .daten-page{ padding: 60px 30px 40px 30px; .text-center{ margin-bottom: 50px; } } } } /*##################################################################################*/ /* Anfragen */ /*##################################################################################*/ .anfrage{ ul{ margin-bottom: 60px; } ul li{ margin-bottom: 10px; } } /*##################################################################################*/ /* Footer */ /*##################################################################################*/ .footer{ width: 100%; .avenir-medium(); line-height: 25px; background: @main-color; color: white; padding-left: 0px; padding-right: 0px; padding-bottom: 20px; .footer-header{ background: white; padding-left: 0px; padding-right: 0px; p{ text-transform: uppercase; .avenir-bold(); letter-spacing: .03em; position: relative; color: @main-color; line-height: normal; margin-bottom: 6px; font-size: 16px; } } .header{ } .container{ max-width: 1200px; margin-top: 50px; } .footerstroke-1{ width: 360px; height: 22px; display: block; } .footerlogo{ position: absolute; left: 360px; top: 25px; } .footerstroke-2{ position: absolute; right: 0; top: 25px; height: 22px; width: ~"calc(100% - 400px)"; } .footer-content{ margin-top: 30px; a{ color: white; text-decoration: underline; } .text{ padding-right: 30px; margin-bottom: 30px; } .footer-links{ margin: 0; padding: 0; list-style-type: none; } @media only screen and (max-width : 767px) { .imprint{ text-align: center; line-height: 40px; } } .imprint{ margin-bottom: 30px; } } } @media only screen and (max-width : 767px) { .footer-header{ font-size: 14px; } .footer{ .footer-content{ margin-top: 0px; } } }