html { margin: 0; padding: 0; } html, body { width: 100%; height: 100%; margin: 0px; padding: 0px; font-family: 'Lato', sans-serif; font-size: 16px; } .social-icon a { position: fixed; background: white; color: white; display: inline-block; width: 100px; height: 100px; transform: translate(-50%, -50%) rotate(45deg); transition: .15s ease; z-index: 30; } .social-icon i { position: absolute; font-size: 1.8em; pointer-events: none; z-index: 1000; } .social-icon:hover a { transform: translate(-50%, -50%) rotate(45deg) scale(1.05); } .youtube a { top: 100%; left: 0%; box-shadow: 0px 0px 15px 5px rgba(230, 33, 23, 0.5); } .youtube i { left: 8px; bottom: 8px; color: #E62117; } .github a { top: 100%; left: 100%; box-shadow: 0px 0px 15px 3px rgba(126, 126, 126, 0.5); } .github i { right: 8px; bottom: 8px; } #canvas-container-1 { height: 100%; width: 80%; margin: 0 auto; } #canvas-1 { display: block; position: relative; top: 50%; left: 50%; transform: translate(-50%, -50%); } #site-link { color: #0099ff; display: inline-block; position: fixed; bottom: 4%; left: 50%; transform: translate(-50%, 0%); font-variant: small-caps; } body { background: url(../../home/images/bg_1.jpg); background-size: cover; } .fn_1 { width: 200px; height: 170px; background: url(../../home/images/fn_1.png) no-repeat; background-size: 100%; } .fn_1:hover { background: url(../../home/images/fn_1_h.png) no-repeat; background-size: 100%; } .fn_2 { width: 200px; height: 170px; background: url(../../home/images/fn_3.png) no-repeat; background-size: 100%; } .fn_2:hover { background: url(../../home/images/fn_3_h.png) no-repeat; background-size: 100%; } .fn_3 { width: 200px; height: 170px; background: url(../../home/images/fn_2.png) no-repeat; background-size: 100%; } .fn_3:hover { background: url(../../home/images/fn_2_h.png) no-repeat; background-size: 100%; } .fn_4 { width: 200px; height: 170px; background: url(../../home/images/fn_4.png) no-repeat; background-size: 100%; } .fn_4:hover { background: url(../../home/images/fn_4_h.png) no-repeat; background-size: 100%; } .fn_5 { width: 200px; height: 170px; background: url(../../home/images/fn_5.png) no-repeat; background-size: 100%; } .fn_5:hover { background: url(../../home/images/fn_5_h.png) no-repeat; background-size: 100%; } .sci-wheel { position: absolute; top: 0; right: 0; width: 100px; } .header { width: 100%; height: 100px; line-height: 100px; padding: 0 40px; background: rgba(0, 0, 0, 0.3); } .header .image { float: left; margin: 27px 10px; width: 60px; } .header .title { float: left; font-size: 30px; color: white; letter-spacing: 3px; } .header .login{ float: right; width: 270px; margin: 30px 60px 0 0px; } .header .login a:first-child{ float: left; width: 40px; height: 40px; border: 1px solid #ccc; background-color: #cccccc3f; border-radius: 5px; } .header .login a:first-child img{ float: left; padding: 10px; } .header .login a:nth-child(2){ float: left; width: 100px; height: 40px; border: 1px solid #ccc; line-height: 40px; text-align: center; color: #ccc; background-color: #cccccc3f; border-radius: 5px; } .header .login a:nth-child(3){ float: left; width: 100px; height: 40px; border: 1px solid #ccc; line-height: 40px; text-align: center; color: #ccc; background-color: #cccccc3f; border-radius: 5px; } .header .home-btn { float: left; margin-top: 20px; width: 74px; height: 74px; border: 1px solid #102262; border-radius: 5px; background: url(../../home/images/login/icon.png) no-repeat center center; background-size: 45% 45%; cursor: pointer; } .center { position: absolute; top: 20px; bottom: 0; left: 0; right: 0; margin: auto; width: 930px; height: 500px; z-index: 999; background: rgba(5, 19, 44, 0.6); } .center .list { display: block; float: left; margin: 60px 29px; } .center .list:nth-child(1) { position: relative; left: 75px; top: 60px; } .center .list:nth-child(2) { position: relative; left: 80px; top: 0; } .center .list:nth-child(3) { position: relative; left: 85px; top: 60px; } .center .list:nth-child(4) { position: relative; left: -187px; top: -145px; } .center .list:nth-child(5) { position: relative; top: -145px; left: 606px; } .center .list p { text-align: center; color: #00BAF1; font-size: 35px; margin-top: 190px; }