* { 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: 37%; left: 25%; width: 50%; } #RightPosition{ position: absolute; top: 37%; right: 25%; width: 50%; } .logo { position: absolute; margin: auto; top: 0; right: 0; bottom: 0; left: -35px; width: 160px; height: 160px; z-index: 5; } .logo img{ max-height: 160px; width: 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.5; 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); } .headline img{ width: auto; height: 220px; } .LandCHI{ font-size: 30px; line-height: 100%; letter-spacing: 20px; margin-left: 20px; } @media screen and (max-width: 1024px) { #LeftPosition{ width: 60%; left: 10%; } #RightPosition{ width: 60%; right: 10%; } .LandCHI{ font-size: 24px; line-height: 100%; letter-spacing: 10px; margin-left: 10px; } .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; } .headline img{ width: auto; height: 180px; } } @media screen and (max-width: 768px) { .logo { width: 140px; height: 140px; } .logo img{ max-height: 140px; 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%; } .LandCHI{ font-size: 18px; line-height: 100%; letter-spacing: 5px; margin-left: 5px; } .headline img{ max-width: 220px; width: 100%; height: auto; } }