* { margin: 0; padding: 0; } html, body { height: 100%; } a { color: #f7f7f7; } a:hover { text-decoration: none; } p { margin: 0 0 7px 0; font-size: 15px; } h1 { margin: 0 0 10px; font-size: 22px; } h1, p { color: #f7f7f7; } @font-face { font-family: Montserrat; src: url(../fonts/Montserrat-Regular.ttf); } /* switcher & img */ #bg-body { background: #D2D2D0; height: 200%; left: -50%; position: fixed; top: -50%; width: 200%; z-index: 1; } #bg-body > img, #bg-body > div.bg-body-html > img { bottom: 0; left: 0; margin: auto; height: 50%; width: 50%; object-fit: cover; position: absolute; right: 0; top: 0; } /* switcher loader */ #bg-body-loader { background: url("../images/loading.gif") no-repeat scroll center center rgba(0, 0, 0, 0); height: 10px; left: 50%; margin: -5px 0 0 -40px; position: absolute; top: 50%; width: 80px; } #bg-body.loading #bg-body-loader { display: block !important; z-index: 9999; } /* switcher bullets */ #bg-body-navigation { position: fixed; left: 0; bottom: 100px; width: 100%; height: 15px; text-align: center; z-index: 1; } #bg-body-navigation > a { display: inline-block; width: 15px; height: 15px; border-radius: 50%; background: #ccc; margin: 0 5px; } #bg-body-navigation > a:hover, #bg-body-navigation > a.active { background: #000; opacity: .7; } /* switcher nav */ #bg-body-prevnext-wrapper { position: fixed; left: 0; bottom: 20px; width: 100%; height: 72px; z-index: 1; } .bg-body-prevnext-link { display: block; width: 35px; height: 72px; position: absolute; } #bg-body-previous-link { background: url(../images/ico-prev-sprite.png) no-repeat 0 0; left: 0; } #bg-body-previous-link:hover { background: url(../images/ico-prev-sprite.png) no-repeat 0 -72px; } #bg-body-next-link { background: url(../images/ico-next-sprite.png) no-repeat 0 0; right: 0; } #bg-body-next-link:hover { background: url(../images/ico-next-sprite.png) no-repeat 0 -72px; } #wrapper { position: relative; width: 100%; height: 100%; margin: 0 auto; } #leftInfo { position: absolute; width: 50%; height: 100%; left: 0; top: 0; background-color: rgba(0, 0, 0, 0.2); z-index: 2; } #rightInfo { position: absolute; width: 50%; height: 100%; right: 0; top: 0; background-color: rgba(0, 0, 0, 0.2); z-index: 1; } #LeftPosition { position: absolute; top: 48%; left: 20%; width: 50%; } #RightPosition { position: absolute; top: 48%; right: 20%; width: 50%; } .logo { position: absolute; margin: auto; top: 0; right: 0; bottom: 0; left: -100px; width: 120px; height: 160px; z-index: 5; } .logo img { max-height: 120px; width: auto; } .headline img { width: 100%; max-width: 350px; height: auto; } .item { text-align: center; float: left; margin: 0; position: relative; } .item, .item-hover, .item-hover .mask, .item-img, .item-info { width: 100%; height: 100%; overflow-y: hidden; } .item-hover, .item-hover .mask { position: absolute; top: 0; left: 0%; } .item-type-zoom .item-hover { z-index: 5; -webkit-transition: all 300ms ease-out; -moz-transition: all 300ms ease-out; -o-transition: all 300ms ease-out; transition: all 300ms ease-out; opacity: 0; cursor: pointer; display: block; text-decoration: none; text-align: center; } .item-type-zoom .item-info { width: 50%; z-index: 10; color: #ffffff; display: table-cell; vertical-align: middle; position: relative; z-index: 5; -webkit-transform: scale(0, 0); -moz-transform: scale(0, 0); -ms-transform: scale(0, 0); transform: scale(0, 0); -webkit-transition: all 300ms ease-out; -moz-transition: all 300ms ease-out; -o-transition: all 300ms ease-out; transition: all 300ms ease-out; } .item-type-zoom .item-info .headline { font-family: Montserrat; font-size: 40px; margin: 0 auto; border: 0px solid #ffffff; text-align: center; line-height: 90%; } .item-type-zoom .item-info .enter { font-size: 14px; } .item-type-zoom .item-hover .mask { background-color: #000; opacity: 0.4; filter: alpha(opacity=50); z-index: 0; } .item-type-zoom .item-hover:hover { opacity: 1; } .item-type-zoom .item-hover:hover .item-info { -webkit-transform: scale(1, 1); -moz-transform: scale(1, 1); -ms-transform: scale(1, 1); transform: scale(1, 1); } .Mobile{ display: none; } @media screen and (max-width: 1024px) { #LeftPosition { width: 60%; left: 10%; top: 48%; } #RightPosition { width: 60%; right: 10%; top: 48%; } .item-type-zoom .item-hover .item-info { -webkit-transform: scale(1, 1); -moz-transform: scale(1, 1); -ms-transform: scale(1, 1); transform: scale(1, 1); } .item-type-zoom .item-hover { opacity: 1; } .item-type-zoom .item-info .headline { font-family: Montserrat; font-size: 30px; } .logo { position: absolute; margin: auto; top: 0; right: 0; bottom: 0; left: -80px; width: 120px; height: 160px; z-index: 5; } .logo img { max-height: 110px; width: auto; } .headline img { width: 100%; max-width: 300px; height: auto; } } @media screen and (max-width: 768px) { .logo { width: 100px; height: 100px; } .logo img { max-height: 100px; width: auto; } .item-type-zoom .item-info .headline { font-size: 18px; padding: 10px 10px; } #LeftPosition { width: 80%; position: absolute; top: auto; bottom: 5%; } #RightPosition { width: 80%; position: absolute; top: auto; bottom: 5%; } .headline img { margin: 0 auto; width: 100%; max-width: 180px; height: auto; } .Desktop{ display: none; } .Mobile{ display: block; } }