//Media queries for mobile view @mobile_screen_size: 561px; .OnMobile(@rules) { @media screen and (max-width:@mobile_screen_size){ @rules(); } }; @white: #fff; @black: #000; @green: #224c2a; @light-blue: #4ec1b9; @orange: #e69431; @dark-red: #aa182c; @light-gray: #f3f3f1; @gray: #707070; h1, h2 { margin-bottom: 36px; } .OnMobile({ h1, h2 { font-size: 42px; margin-bottom: 30px; } .px-5 { padding-right: 2rem!important; padding-left: 2rem!important; } .pt-5 { padding-top: 1rem!important; } }); p { font-size: 20px; color: gray; font-weight: 100; .OnMobile({ font-size: 17px; font-weight: 400; }); } .container { max-width: 1200px !important; } .green-bck { background-color: @green; color: @white; } nav { background-color: @green; .OnMobile({ .navbar-toggler { margin-right: 0 !important; } .navbar-nav { padding: 85px 0; .nav-item { border: none; .nav-link { text-align: center; margin: 10px 0; padding: 5px 0px; border: 2px solid @white; &.active {} } } } .lang-social { padding-bottom: 50px; .lang { float: right; } } #main-navbar { margin-right: 0 !important; } }); } .icon::before { color: @white; } .social, .lang { float: left; color: @white; margin: 0 15px; } .lang a { text-decoration: none; font-size: 0.8em; } .social a { margin: 0 2px; } .nav-item { border: 1px solid @white; padding: 0 25px; } .nav-item a { padding: 0 0; } .hero { background: url(../assets/hero-ugao.png), url(../assets/hero.png); background-size: cover, cover; background-repeat: no-repeat, no-repeat; background-position: top,bottom; height: 680px; z-index: 1; img { max-width: 350px; } .OnMobile({ height: 340px; img { max-width: 185px; } }); } .hide-on-desktop { display: none; } .OnMobile({ .hide-on-mobile { display: none !important; } .hide-on-desktop { display: block; } }); .hero_mlin { background-image: url(../assets/mlin.png); background-size: cover; background-repeat: no-repeat; background-position: bottom; height: 600px; .OnMobile({ height: 340px; }); } .container { max-width: 1000px; } #vatra-section { .OnMobile({ img { max-width: 85px; margin-bottom: 10px; } }); } #zanat-section { .text { padding-right: 5em; } .OnMobile({ padding-top: 25px; .reverse-order { display: flex; flex-direction: column-reverse; } .zanat_text { padding-top: 35px; } img { max-width: 120%; margin: 0 -10% 0 -10%; } }); } #bellow-zanat-section { background-color: #4ec1b9; margin-top: -140px; p { color: @white; } .OnMobile({ margin-top: 0; p { padding-top: 20px; padding-bottom: 25px; } }); } #footer { background-color: @green; color: @white; margin-top: 10rem; p { font-size: 16px; } img { max-width: 130px; } .social { float: right; .icon { font-size: 2em; padding: 0 5px; } .OnMobile({ float: unset; margin-bottom: 10px; }); } .text-end { font-size: 0.8rem; } .OnMobile({ .main-logo { padding: 45px 0; img { max-width: 105px; } } .tekst { padding-bottom: 40px; } .remove-left-padding { padding-left: 15px !important; } margin-top: 3rem; .container { text-align: center; } .text-end { text-align: center !important; max-width: 58%; margin-left: auto; margin-right: auto; margin-bottom: 30px; } }); } .bottom-line { border-bottom: 3px solid @white; padding: 15px 0; } .remove-left-padding { padding-left: 0 !important; } .remove-right-padding { padding-right: 0 !important; } #coffee-machine-section { img { box-shadow: 100px 370px 0px -35px @orange; -webkit-box-shadow: 100px 370px 0px -35px @orange; -moz-box-shadow: 100px 370px 0px -35px @orange; } p { color: @white; padding-left: 30%; padding-right: 15%; } .OnMobile({ img { max-width: 85%; box-shadow: 50px 185px 0px 10px @orange, 50px 409px 0px 10px @orange, 50px 500px 0px 10px @orange; -webkit-box-shadow: 50px 185px 0px 10px @orange, 50px 380px 0px 10px @orange, 50px 500px 0px 10px @orange; -moz-box-shadow: 50px 185px 0px 10px @orange, 50px 409px 0px 10px @orange, 50px 500px 0px 10px @orange; } p { padding-left: 20%; padding-right: 5%; padding-top: 20px; } }); } #podnaslov-section { img { max-width: 80%; box-shadow: 35px 40px 0px 0px @orange; -webkit-box-shadow: 35px 40px 0px 0px @orange; -moz-box-shadow: 35px 40px 0px 0px @orange; } .pt-5 { padding-top: 7rem!important; } .pl-5 { padding-left: 3rem!important; } } .product-section { .icon { &::before { color: @black; font-size: 28px; } } h2 { margin-bottom: 1px; } .bottom-line { border-color: @black; margin-bottom: 25px; } .dots { float: right; } .OnMobile({ margin-top: -20px; }); } #kombi-section { background-color: @dark-red; background-image: url(../assets/kombi-ugao.png); height: 675px; background-repeat: no-repeat; color: @white; p { color: @white; } .OnMobile({ height: 450px; background-size: 100%; }); } .circle-section { img { max-width: 80%; } &.gray-bck { background-color: @light-gray; } .OnMobile({ .image-krug { text-align: center; padding-bottom: 30px; padding-top: 30px; } .reverse-column { flex-direction: column-reverse; } }); } .color-white { color: @white !important } #kontakt-section { .OnMobile({ padding-top: 25px; }); } .kontakt { h2 { margin-bottom: 15px; } ::placeholder { color: @white; opacity: 1; } :-ms-input-placeholder { color: @white; } ::-ms-input-placeholder { color: @white; } .form-control { color: @white; background-color: transparent; border-top: none; border-left: none; border-right: none; border-radius: 0; border-width: 2px; } .btn-primary { border-width: 2px; color: @white; background-color: transparent; border-color: @white; width: 100%; border-radius: 0; } .form-label { margin-bottom: 0; } textarea { border: 2px solid @white !important; } .kontakt-social { margin: 0; display: flex; justify-content: space-between; width: 210px; .icon { font-size: 36px; } } .OnMobile({ .googleMap { height: 450px; margin-left: -7%; margin-right: -7%; width: 114%; } }); #footer { margin-top: 0; .container { padding-top: 0 !important; } .row.bottom-line { .col-md-2, .col-md-3, .col-md-7 { display: none; .OnMobile({ display: block; }); } } } }