diff --git a/.gitattributes b/.gitattributes index d929f1f7..02f84227 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,2 +1,16 @@ * linguist-vendored *.go linguist-vendored=false +* text=auto eol=lf + + +# Explicitly declare text files you want to always be normalized and converted +# to native line endings on checkout. +*.c text +*.h text + +# Declare files that will always have CRLF line endings on checkout. +*.sln text eol=crlf + +# Denote all files that are truly binary and should not be modified. +*.png binary +*.jpg binary \ No newline at end of file diff --git a/cmd/main.go b/cmd/main.go index 313c198d..31340b9b 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -71,9 +71,9 @@ func main() { rand.Seed(time.Now().UTC().UnixNano()) - //if *config.IsMonitor { - go monitor() - //} + if *config.IsMonitor { + go monitor() + } // There are two server mode // Overlord is coordinator. If the OvelordHost Param is `overlord`, we spawn a new host as Overlord. // else we spawn new server as normal server connecting to OverlordHost. diff --git a/document/implementation/README.md b/document/implementation/README.md index e1971a00..c4131ade 100644 --- a/document/implementation/README.md +++ b/document/implementation/README.md @@ -13,7 +13,7 @@ ├── static: static file for front end │ ├── js │ │ └── ws.js: client logic -│ ├── gameboy.html: frontend with gameboy ui +│ ├── game.html: frontend with gameboy ui │ └── index_ws.html: raw frontend without ui ├── cws │ └── cws.go: socket multiplexer library, used for signalling diff --git a/overlord/handlers.go b/overlord/handlers.go index c383e5a4..a1497a4b 100644 --- a/overlord/handlers.go +++ b/overlord/handlers.go @@ -15,8 +15,8 @@ import ( ) const ( - gameboyIndex = "./static/gameboy2.html" - debugIndex = "./static/gameboy2.html" + gameboyIndex = "./static/game.html" + debugIndex = "./static/game.html" gamePath = "games" ) diff --git a/static/css/font-awesome.css b/static/css/font-awesome.css new file mode 100644 index 00000000..b2a5fe2f --- /dev/null +++ b/static/css/font-awesome.css @@ -0,0 +1,2086 @@ +/*! + * Font Awesome 4.5.0 by @davegandy - http://fontawesome.io - @fontawesome + * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) + */ +/* FONT PATH + * -------------------------- */ +@font-face { + font-family: 'FontAwesome'; + src: url('../fonts/fontawesome-webfont.eot?v=4.5.0'); + src: url('../fonts/fontawesome-webfont.eot?#iefix&v=4.5.0') format('embedded-opentype'), url('../fonts/fontawesome-webfont.woff2?v=4.5.0') format('woff2'), url('../fonts/fontawesome-webfont.woff?v=4.5.0') format('woff'), url('../fonts/fontawesome-webfont.ttf?v=4.5.0') format('truetype'), url('../fonts/fontawesome-webfont.svg?v=4.5.0#fontawesomeregular') format('svg'); + font-weight: normal; + font-style: normal; +} +.fa { + display: inline-block; + font: normal normal normal 14px/1 FontAwesome; + font-size: inherit; + text-rendering: auto; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} +/* makes the font 33% larger relative to the icon container */ +.fa-lg { + font-size: 1.33333333em; + line-height: 0.75em; + vertical-align: -15%; +} +.fa-2x { + font-size: 2em; +} +.fa-3x { + font-size: 3em; +} +.fa-4x { + font-size: 4em; +} +.fa-5x { + font-size: 5em; +} +.fa-fw { + width: 1.28571429em; + text-align: center; +} +.fa-ul { + padding-left: 0; + margin-left: 2.14285714em; + list-style-type: none; +} +.fa-ul > li { + position: relative; +} +.fa-li { + position: absolute; + left: -2.14285714em; + width: 2.14285714em; + top: 0.14285714em; + text-align: center; +} +.fa-li.fa-lg { + left: -1.85714286em; +} +.fa-border { + padding: .2em .25em .15em; + border: solid 0.08em #eeeeee; + border-radius: .1em; +} +.fa-pull-left { + float: left; +} +.fa-pull-right { + float: right; +} +.fa.fa-pull-left { + margin-right: .3em; +} +.fa.fa-pull-right { + margin-left: .3em; +} +/* Deprecated as of 4.4.0 */ +.pull-right { + float: right; +} +.pull-left { + float: left; +} +.fa.pull-left { + margin-right: .3em; +} +.fa.pull-right { + margin-left: .3em; +} +.fa-spin { + -webkit-animation: fa-spin 2s infinite linear; + animation: fa-spin 2s infinite linear; +} +.fa-pulse { + -webkit-animation: fa-spin 1s infinite steps(8); + animation: fa-spin 1s infinite steps(8); +} +@-webkit-keyframes fa-spin { + 0% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } + 100% { + -webkit-transform: rotate(359deg); + transform: rotate(359deg); + } +} +@keyframes fa-spin { + 0% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } + 100% { + -webkit-transform: rotate(359deg); + transform: rotate(359deg); + } +} +.fa-rotate-90 { + filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1); + -webkit-transform: rotate(90deg); + -ms-transform: rotate(90deg); + transform: rotate(90deg); +} +.fa-rotate-180 { + filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2); + -webkit-transform: rotate(180deg); + -ms-transform: rotate(180deg); + transform: rotate(180deg); +} +.fa-rotate-270 { + filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3); + -webkit-transform: rotate(270deg); + -ms-transform: rotate(270deg); + transform: rotate(270deg); +} +.fa-flip-horizontal { + filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1); + -webkit-transform: scale(-1, 1); + -ms-transform: scale(-1, 1); + transform: scale(-1, 1); +} +.fa-flip-vertical { + filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1); + -webkit-transform: scale(1, -1); + -ms-transform: scale(1, -1); + transform: scale(1, -1); +} +:root .fa-rotate-90, +:root .fa-rotate-180, +:root .fa-rotate-270, +:root .fa-flip-horizontal, +:root .fa-flip-vertical { + filter: none; +} +.fa-stack { + position: relative; + display: inline-block; + width: 2em; + height: 2em; + line-height: 2em; + vertical-align: middle; +} +.fa-stack-1x, +.fa-stack-2x { + position: absolute; + left: 0; + width: 100%; + text-align: center; +} +.fa-stack-1x { + line-height: inherit; +} +.fa-stack-2x { + font-size: 2em; +} +.fa-inverse { + color: #ffffff; +} +/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen + readers do not read off random characters that represent icons */ +.fa-glass:before { + content: "\f000"; +} +.fa-music:before { + content: "\f001"; +} +.fa-search:before { + content: "\f002"; +} +.fa-envelope-o:before { + content: "\f003"; +} +.fa-heart:before { + content: "\f004"; +} +.fa-star:before { + content: "\f005"; +} +.fa-star-o:before { + content: "\f006"; +} +.fa-user:before { + content: "\f007"; +} +.fa-film:before { + content: "\f008"; +} +.fa-th-large:before { + content: "\f009"; +} +.fa-th:before { + content: "\f00a"; +} +.fa-th-list:before { + content: "\f00b"; +} +.fa-check:before { + content: "\f00c"; +} +.fa-remove:before, +.fa-close:before, +.fa-times:before { + content: "\f00d"; +} +.fa-search-plus:before { + content: "\f00e"; +} +.fa-search-minus:before { + content: "\f010"; +} +.fa-power-off:before { + content: "\f011"; +} +.fa-signal:before { + content: "\f012"; +} +.fa-gear:before, +.fa-cog:before { + content: "\f013"; +} +.fa-trash-o:before { + content: "\f014"; +} +.fa-home:before { + content: "\f015"; +} +.fa-file-o:before { + content: "\f016"; +} +.fa-clock-o:before { + content: "\f017"; +} +.fa-road:before { + content: "\f018"; +} +.fa-download:before { + content: "\f019"; +} +.fa-arrow-circle-o-down:before { + content: "\f01a"; +} +.fa-arrow-circle-o-up:before { + content: "\f01b"; +} +.fa-inbox:before { + content: "\f01c"; +} +.fa-play-circle-o:before { + content: "\f01d"; +} +.fa-rotate-right:before, +.fa-repeat:before { + content: "\f01e"; +} +.fa-refresh:before { + content: "\f021"; +} +.fa-list-alt:before { + content: "\f022"; +} +.fa-lock:before { + content: "\f023"; +} +.fa-flag:before { + content: "\f024"; +} +.fa-headphones:before { + content: "\f025"; +} +.fa-volume-off:before { + content: "\f026"; +} +.fa-volume-down:before { + content: "\f027"; +} +.fa-volume-up:before { + content: "\f028"; +} +.fa-qrcode:before { + content: "\f029"; +} +.fa-barcode:before { + content: "\f02a"; +} +.fa-tag:before { + content: "\f02b"; +} +.fa-tags:before { + content: "\f02c"; +} +.fa-book:before { + content: "\f02d"; +} +.fa-bookmark:before { + content: "\f02e"; +} +.fa-print:before { + content: "\f02f"; +} +.fa-camera:before { + content: "\f030"; +} +.fa-font:before { + content: "\f031"; +} +.fa-bold:before { + content: "\f032"; +} +.fa-italic:before { + content: "\f033"; +} +.fa-text-height:before { + content: "\f034"; +} +.fa-text-width:before { + content: "\f035"; +} +.fa-align-left:before { + content: "\f036"; +} +.fa-align-center:before { + content: "\f037"; +} +.fa-align-right:before { + content: "\f038"; +} +.fa-align-justify:before { + content: "\f039"; +} +.fa-list:before { + content: "\f03a"; +} +.fa-dedent:before, +.fa-outdent:before { + content: "\f03b"; +} +.fa-indent:before { + content: "\f03c"; +} +.fa-video-camera:before { + content: "\f03d"; +} +.fa-photo:before, +.fa-image:before, +.fa-picture-o:before { + content: "\f03e"; +} +.fa-pencil:before { + content: "\f040"; +} +.fa-map-marker:before { + content: "\f041"; +} +.fa-adjust:before { + content: "\f042"; +} +.fa-tint:before { + content: "\f043"; +} +.fa-edit:before, +.fa-pencil-square-o:before { + content: "\f044"; +} +.fa-share-square-o:before { + content: "\f045"; +} +.fa-check-square-o:before { + content: "\f046"; +} +.fa-arrows:before { + content: "\f047"; +} +.fa-step-backward:before { + content: "\f048"; +} +.fa-fast-backward:before { + content: "\f049"; +} +.fa-backward:before { + content: "\f04a"; +} +.fa-play:before { + content: "\f04b"; +} +.fa-pause:before { + content: "\f04c"; +} +.fa-stop:before { + content: "\f04d"; +} +.fa-forward:before { + content: "\f04e"; +} +.fa-fast-forward:before { + content: "\f050"; +} +.fa-step-forward:before { + content: "\f051"; +} +.fa-eject:before { + content: "\f052"; +} +.fa-chevron-left:before { + content: "\f053"; +} +.fa-chevron-right:before { + content: "\f054"; +} +.fa-plus-circle:before { + content: "\f055"; +} +.fa-minus-circle:before { + content: "\f056"; +} +.fa-times-circle:before { + content: "\f057"; +} +.fa-check-circle:before { + content: "\f058"; +} +.fa-question-circle:before { + content: "\f059"; +} +.fa-info-circle:before { + content: "\f05a"; +} +.fa-crosshairs:before { + content: "\f05b"; +} +.fa-times-circle-o:before { + content: "\f05c"; +} +.fa-check-circle-o:before { + content: "\f05d"; +} +.fa-ban:before { + content: "\f05e"; +} +.fa-arrow-left:before { + content: "\f060"; +} +.fa-arrow-right:before { + content: "\f061"; +} +.fa-arrow-up:before { + content: "\f062"; +} +.fa-arrow-down:before { + content: "\f063"; +} +.fa-mail-forward:before, +.fa-share:before { + content: "\f064"; +} +.fa-expand:before { + content: "\f065"; +} +.fa-compress:before { + content: "\f066"; +} +.fa-plus:before { + content: "\f067"; +} +.fa-minus:before { + content: "\f068"; +} +.fa-asterisk:before { + content: "\f069"; +} +.fa-exclamation-circle:before { + content: "\f06a"; +} +.fa-gift:before { + content: "\f06b"; +} +.fa-leaf:before { + content: "\f06c"; +} +.fa-fire:before { + content: "\f06d"; +} +.fa-eye:before { + content: "\f06e"; +} +.fa-eye-slash:before { + content: "\f070"; +} +.fa-warning:before, +.fa-exclamation-triangle:before { + content: "\f071"; +} +.fa-plane:before { + content: "\f072"; +} +.fa-calendar:before { + content: "\f073"; +} +.fa-random:before { + content: "\f074"; +} +.fa-comment:before { + content: "\f075"; +} +.fa-magnet:before { + content: "\f076"; +} +.fa-chevron-up:before { + content: "\f077"; +} +.fa-chevron-down:before { + content: "\f078"; +} +.fa-retweet:before { + content: "\f079"; +} +.fa-shopping-cart:before { + content: "\f07a"; +} +.fa-folder:before { + content: "\f07b"; +} +.fa-folder-open:before { + content: "\f07c"; +} +.fa-arrows-v:before { + content: "\f07d"; +} +.fa-arrows-h:before { + content: "\f07e"; +} +.fa-bar-chart-o:before, +.fa-bar-chart:before { + content: "\f080"; +} +.fa-twitter-square:before { + content: "\f081"; +} +.fa-facebook-square:before { + content: "\f082"; +} +.fa-camera-retro:before { + content: "\f083"; +} +.fa-key:before { + content: "\f084"; +} +.fa-gears:before, +.fa-cogs:before { + content: "\f085"; +} +.fa-comments:before { + content: "\f086"; +} +.fa-thumbs-o-up:before { + content: "\f087"; +} +.fa-thumbs-o-down:before { + content: "\f088"; +} +.fa-star-half:before { + content: "\f089"; +} +.fa-heart-o:before { + content: "\f08a"; +} +.fa-sign-out:before { + content: "\f08b"; +} +.fa-linkedin-square:before { + content: "\f08c"; +} +.fa-thumb-tack:before { + content: "\f08d"; +} +.fa-external-link:before { + content: "\f08e"; +} +.fa-sign-in:before { + content: "\f090"; +} +.fa-trophy:before { + content: "\f091"; +} +.fa-github-square:before { + content: "\f092"; +} +.fa-upload:before { + content: "\f093"; +} +.fa-lemon-o:before { + content: "\f094"; +} +.fa-phone:before { + content: "\f095"; +} +.fa-square-o:before { + content: "\f096"; +} +.fa-bookmark-o:before { + content: "\f097"; +} +.fa-phone-square:before { + content: "\f098"; +} +.fa-twitter:before { + content: "\f099"; +} +.fa-facebook-f:before, +.fa-facebook:before { + content: "\f09a"; +} +.fa-github:before { + content: "\f09b"; +} +.fa-unlock:before { + content: "\f09c"; +} +.fa-credit-card:before { + content: "\f09d"; +} +.fa-feed:before, +.fa-rss:before { + content: "\f09e"; +} +.fa-hdd-o:before { + content: "\f0a0"; +} +.fa-bullhorn:before { + content: "\f0a1"; +} +.fa-bell:before { + content: "\f0f3"; +} +.fa-certificate:before { + content: "\f0a3"; +} +.fa-hand-o-right:before { + content: "\f0a4"; +} +.fa-hand-o-left:before { + content: "\f0a5"; +} +.fa-hand-o-up:before { + content: "\f0a6"; +} +.fa-hand-o-down:before { + content: "\f0a7"; +} +.fa-arrow-circle-left:before { + content: "\f0a8"; +} +.fa-arrow-circle-right:before { + content: "\f0a9"; +} +.fa-arrow-circle-up:before { + content: "\f0aa"; +} +.fa-arrow-circle-down:before { + content: "\f0ab"; +} +.fa-globe:before { + content: "\f0ac"; +} +.fa-wrench:before { + content: "\f0ad"; +} +.fa-tasks:before { + content: "\f0ae"; +} +.fa-filter:before { + content: "\f0b0"; +} +.fa-briefcase:before { + content: "\f0b1"; +} +.fa-arrows-alt:before { + content: "\f0b2"; +} +.fa-group:before, +.fa-users:before { + content: "\f0c0"; +} +.fa-chain:before, +.fa-link:before { + content: "\f0c1"; +} +.fa-cloud:before { + content: "\f0c2"; +} +.fa-flask:before { + content: "\f0c3"; +} +.fa-cut:before, +.fa-scissors:before { + content: "\f0c4"; +} +.fa-copy:before, +.fa-files-o:before { + content: "\f0c5"; +} +.fa-paperclip:before { + content: "\f0c6"; +} +.fa-save:before, +.fa-floppy-o:before { + content: "\f0c7"; +} +.fa-square:before { + content: "\f0c8"; +} +.fa-navicon:before, +.fa-reorder:before, +.fa-bars:before { + content: "\f0c9"; +} +.fa-list-ul:before { + content: "\f0ca"; +} +.fa-list-ol:before { + content: "\f0cb"; +} +.fa-strikethrough:before { + content: "\f0cc"; +} +.fa-underline:before { + content: "\f0cd"; +} +.fa-table:before { + content: "\f0ce"; +} +.fa-magic:before { + content: "\f0d0"; +} +.fa-truck:before { + content: "\f0d1"; +} +.fa-pinterest:before { + content: "\f0d2"; +} +.fa-pinterest-square:before { + content: "\f0d3"; +} +.fa-google-plus-square:before { + content: "\f0d4"; +} +.fa-google-plus:before { + content: "\f0d5"; +} +.fa-money:before { + content: "\f0d6"; +} +.fa-caret-down:before { + content: "\f0d7"; +} +.fa-caret-up:before { + content: "\f0d8"; +} +.fa-caret-left:before { + content: "\f0d9"; +} +.fa-caret-right:before { + content: "\f0da"; +} +.fa-columns:before { + content: "\f0db"; +} +.fa-unsorted:before, +.fa-sort:before { + content: "\f0dc"; +} +.fa-sort-down:before, +.fa-sort-desc:before { + content: "\f0dd"; +} +.fa-sort-up:before, +.fa-sort-asc:before { + content: "\f0de"; +} +.fa-envelope:before { + content: "\f0e0"; +} +.fa-linkedin:before { + content: "\f0e1"; +} +.fa-rotate-left:before, +.fa-undo:before { + content: "\f0e2"; +} +.fa-legal:before, +.fa-gavel:before { + content: "\f0e3"; +} +.fa-dashboard:before, +.fa-tachometer:before { + content: "\f0e4"; +} +.fa-comment-o:before { + content: "\f0e5"; +} +.fa-comments-o:before { + content: "\f0e6"; +} +.fa-flash:before, +.fa-bolt:before { + content: "\f0e7"; +} +.fa-sitemap:before { + content: "\f0e8"; +} +.fa-umbrella:before { + content: "\f0e9"; +} +.fa-paste:before, +.fa-clipboard:before { + content: "\f0ea"; +} +.fa-lightbulb-o:before { + content: "\f0eb"; +} +.fa-exchange:before { + content: "\f0ec"; +} +.fa-cloud-download:before { + content: "\f0ed"; +} +.fa-cloud-upload:before { + content: "\f0ee"; +} +.fa-user-md:before { + content: "\f0f0"; +} +.fa-stethoscope:before { + content: "\f0f1"; +} +.fa-suitcase:before { + content: "\f0f2"; +} +.fa-bell-o:before { + content: "\f0a2"; +} +.fa-coffee:before { + content: "\f0f4"; +} +.fa-cutlery:before { + content: "\f0f5"; +} +.fa-file-text-o:before { + content: "\f0f6"; +} +.fa-building-o:before { + content: "\f0f7"; +} +.fa-hospital-o:before { + content: "\f0f8"; +} +.fa-ambulance:before { + content: "\f0f9"; +} +.fa-medkit:before { + content: "\f0fa"; +} +.fa-fighter-jet:before { + content: "\f0fb"; +} +.fa-beer:before { + content: "\f0fc"; +} +.fa-h-square:before { + content: "\f0fd"; +} +.fa-plus-square:before { + content: "\f0fe"; +} +.fa-angle-double-left:before { + content: "\f100"; +} +.fa-angle-double-right:before { + content: "\f101"; +} +.fa-angle-double-up:before { + content: "\f102"; +} +.fa-angle-double-down:before { + content: "\f103"; +} +.fa-angle-left:before { + content: "\f104"; +} +.fa-angle-right:before { + content: "\f105"; +} +.fa-angle-up:before { + content: "\f106"; +} +.fa-angle-down:before { + content: "\f107"; +} +.fa-desktop:before { + content: "\f108"; +} +.fa-laptop:before { + content: "\f109"; +} +.fa-tablet:before { + content: "\f10a"; +} +.fa-mobile-phone:before, +.fa-mobile:before { + content: "\f10b"; +} +.fa-circle-o:before { + content: "\f10c"; +} +.fa-quote-left:before { + content: "\f10d"; +} +.fa-quote-right:before { + content: "\f10e"; +} +.fa-spinner:before { + content: "\f110"; +} +.fa-circle:before { + content: "\f111"; +} +.fa-mail-reply:before, +.fa-reply:before { + content: "\f112"; +} +.fa-github-alt:before { + content: "\f113"; +} +.fa-folder-o:before { + content: "\f114"; +} +.fa-folder-open-o:before { + content: "\f115"; +} +.fa-smile-o:before { + content: "\f118"; +} +.fa-frown-o:before { + content: "\f119"; +} +.fa-meh-o:before { + content: "\f11a"; +} +.fa-gamepad:before { + content: "\f11b"; +} +.fa-keyboard-o:before { + content: "\f11c"; +} +.fa-flag-o:before { + content: "\f11d"; +} +.fa-flag-checkered:before { + content: "\f11e"; +} +.fa-terminal:before { + content: "\f120"; +} +.fa-code:before { + content: "\f121"; +} +.fa-mail-reply-all:before, +.fa-reply-all:before { + content: "\f122"; +} +.fa-star-half-empty:before, +.fa-star-half-full:before, +.fa-star-half-o:before { + content: "\f123"; +} +.fa-location-arrow:before { + content: "\f124"; +} +.fa-crop:before { + content: "\f125"; +} +.fa-code-fork:before { + content: "\f126"; +} +.fa-unlink:before, +.fa-chain-broken:before { + content: "\f127"; +} +.fa-question:before { + content: "\f128"; +} +.fa-info:before { + content: "\f129"; +} +.fa-exclamation:before { + content: "\f12a"; +} +.fa-superscript:before { + content: "\f12b"; +} +.fa-subscript:before { + content: "\f12c"; +} +.fa-eraser:before { + content: "\f12d"; +} +.fa-puzzle-piece:before { + content: "\f12e"; +} +.fa-microphone:before { + content: "\f130"; +} +.fa-microphone-slash:before { + content: "\f131"; +} +.fa-shield:before { + content: "\f132"; +} +.fa-calendar-o:before { + content: "\f133"; +} +.fa-fire-extinguisher:before { + content: "\f134"; +} +.fa-rocket:before { + content: "\f135"; +} +.fa-maxcdn:before { + content: "\f136"; +} +.fa-chevron-circle-left:before { + content: "\f137"; +} +.fa-chevron-circle-right:before { + content: "\f138"; +} +.fa-chevron-circle-up:before { + content: "\f139"; +} +.fa-chevron-circle-down:before { + content: "\f13a"; +} +.fa-html5:before { + content: "\f13b"; +} +.fa-css3:before { + content: "\f13c"; +} +.fa-anchor:before { + content: "\f13d"; +} +.fa-unlock-alt:before { + content: "\f13e"; +} +.fa-bullseye:before { + content: "\f140"; +} +.fa-ellipsis-h:before { + content: "\f141"; +} +.fa-ellipsis-v:before { + content: "\f142"; +} +.fa-rss-square:before { + content: "\f143"; +} +.fa-play-circle:before { + content: "\f144"; +} +.fa-ticket:before { + content: "\f145"; +} +.fa-minus-square:before { + content: "\f146"; +} +.fa-minus-square-o:before { + content: "\f147"; +} +.fa-level-up:before { + content: "\f148"; +} +.fa-level-down:before { + content: "\f149"; +} +.fa-check-square:before { + content: "\f14a"; +} +.fa-pencil-square:before { + content: "\f14b"; +} +.fa-external-link-square:before { + content: "\f14c"; +} +.fa-share-square:before { + content: "\f14d"; +} +.fa-compass:before { + content: "\f14e"; +} +.fa-toggle-down:before, +.fa-caret-square-o-down:before { + content: "\f150"; +} +.fa-toggle-up:before, +.fa-caret-square-o-up:before { + content: "\f151"; +} +.fa-toggle-right:before, +.fa-caret-square-o-right:before { + content: "\f152"; +} +.fa-euro:before, +.fa-eur:before { + content: "\f153"; +} +.fa-gbp:before { + content: "\f154"; +} +.fa-dollar:before, +.fa-usd:before { + content: "\f155"; +} +.fa-rupee:before, +.fa-inr:before { + content: "\f156"; +} +.fa-cny:before, +.fa-rmb:before, +.fa-yen:before, +.fa-jpy:before { + content: "\f157"; +} +.fa-ruble:before, +.fa-rouble:before, +.fa-rub:before { + content: "\f158"; +} +.fa-won:before, +.fa-krw:before { + content: "\f159"; +} +.fa-bitcoin:before, +.fa-btc:before { + content: "\f15a"; +} +.fa-file:before { + content: "\f15b"; +} +.fa-file-text:before { + content: "\f15c"; +} +.fa-sort-alpha-asc:before { + content: "\f15d"; +} +.fa-sort-alpha-desc:before { + content: "\f15e"; +} +.fa-sort-amount-asc:before { + content: "\f160"; +} +.fa-sort-amount-desc:before { + content: "\f161"; +} +.fa-sort-numeric-asc:before { + content: "\f162"; +} +.fa-sort-numeric-desc:before { + content: "\f163"; +} +.fa-thumbs-up:before { + content: "\f164"; +} +.fa-thumbs-down:before { + content: "\f165"; +} +.fa-youtube-square:before { + content: "\f166"; +} +.fa-youtube:before { + content: "\f167"; +} +.fa-xing:before { + content: "\f168"; +} +.fa-xing-square:before { + content: "\f169"; +} +.fa-youtube-play:before { + content: "\f16a"; +} +.fa-dropbox:before { + content: "\f16b"; +} +.fa-stack-overflow:before { + content: "\f16c"; +} +.fa-instagram:before { + content: "\f16d"; +} +.fa-flickr:before { + content: "\f16e"; +} +.fa-adn:before { + content: "\f170"; +} +.fa-bitbucket:before { + content: "\f171"; +} +.fa-bitbucket-square:before { + content: "\f172"; +} +.fa-tumblr:before { + content: "\f173"; +} +.fa-tumblr-square:before { + content: "\f174"; +} +.fa-long-arrow-down:before { + content: "\f175"; +} +.fa-long-arrow-up:before { + content: "\f176"; +} +.fa-long-arrow-left:before { + content: "\f177"; +} +.fa-long-arrow-right:before { + content: "\f178"; +} +.fa-apple:before { + content: "\f179"; +} +.fa-windows:before { + content: "\f17a"; +} +.fa-android:before { + content: "\f17b"; +} +.fa-linux:before { + content: "\f17c"; +} +.fa-dribbble:before { + content: "\f17d"; +} +.fa-skype:before { + content: "\f17e"; +} +.fa-foursquare:before { + content: "\f180"; +} +.fa-trello:before { + content: "\f181"; +} +.fa-female:before { + content: "\f182"; +} +.fa-male:before { + content: "\f183"; +} +.fa-gittip:before, +.fa-gratipay:before { + content: "\f184"; +} +.fa-sun-o:before { + content: "\f185"; +} +.fa-moon-o:before { + content: "\f186"; +} +.fa-archive:before { + content: "\f187"; +} +.fa-bug:before { + content: "\f188"; +} +.fa-vk:before { + content: "\f189"; +} +.fa-weibo:before { + content: "\f18a"; +} +.fa-renren:before { + content: "\f18b"; +} +.fa-pagelines:before { + content: "\f18c"; +} +.fa-stack-exchange:before { + content: "\f18d"; +} +.fa-arrow-circle-o-right:before { + content: "\f18e"; +} +.fa-arrow-circle-o-left:before { + content: "\f190"; +} +.fa-toggle-left:before, +.fa-caret-square-o-left:before { + content: "\f191"; +} +.fa-dot-circle-o:before { + content: "\f192"; +} +.fa-wheelchair:before { + content: "\f193"; +} +.fa-vimeo-square:before { + content: "\f194"; +} +.fa-turkish-lira:before, +.fa-try:before { + content: "\f195"; +} +.fa-plus-square-o:before { + content: "\f196"; +} +.fa-space-shuttle:before { + content: "\f197"; +} +.fa-slack:before { + content: "\f198"; +} +.fa-envelope-square:before { + content: "\f199"; +} +.fa-wordpress:before { + content: "\f19a"; +} +.fa-openid:before { + content: "\f19b"; +} +.fa-institution:before, +.fa-bank:before, +.fa-university:before { + content: "\f19c"; +} +.fa-mortar-board:before, +.fa-graduation-cap:before { + content: "\f19d"; +} +.fa-yahoo:before { + content: "\f19e"; +} +.fa-google:before { + content: "\f1a0"; +} +.fa-reddit:before { + content: "\f1a1"; +} +.fa-reddit-square:before { + content: "\f1a2"; +} +.fa-stumbleupon-circle:before { + content: "\f1a3"; +} +.fa-stumbleupon:before { + content: "\f1a4"; +} +.fa-delicious:before { + content: "\f1a5"; +} +.fa-digg:before { + content: "\f1a6"; +} +.fa-pied-piper:before { + content: "\f1a7"; +} +.fa-pied-piper-alt:before { + content: "\f1a8"; +} +.fa-drupal:before { + content: "\f1a9"; +} +.fa-joomla:before { + content: "\f1aa"; +} +.fa-language:before { + content: "\f1ab"; +} +.fa-fax:before { + content: "\f1ac"; +} +.fa-building:before { + content: "\f1ad"; +} +.fa-child:before { + content: "\f1ae"; +} +.fa-paw:before { + content: "\f1b0"; +} +.fa-spoon:before { + content: "\f1b1"; +} +.fa-cube:before { + content: "\f1b2"; +} +.fa-cubes:before { + content: "\f1b3"; +} +.fa-behance:before { + content: "\f1b4"; +} +.fa-behance-square:before { + content: "\f1b5"; +} +.fa-steam:before { + content: "\f1b6"; +} +.fa-steam-square:before { + content: "\f1b7"; +} +.fa-recycle:before { + content: "\f1b8"; +} +.fa-automobile:before, +.fa-car:before { + content: "\f1b9"; +} +.fa-cab:before, +.fa-taxi:before { + content: "\f1ba"; +} +.fa-tree:before { + content: "\f1bb"; +} +.fa-spotify:before { + content: "\f1bc"; +} +.fa-deviantart:before { + content: "\f1bd"; +} +.fa-soundcloud:before { + content: "\f1be"; +} +.fa-database:before { + content: "\f1c0"; +} +.fa-file-pdf-o:before { + content: "\f1c1"; +} +.fa-file-word-o:before { + content: "\f1c2"; +} +.fa-file-excel-o:before { + content: "\f1c3"; +} +.fa-file-powerpoint-o:before { + content: "\f1c4"; +} +.fa-file-photo-o:before, +.fa-file-picture-o:before, +.fa-file-image-o:before { + content: "\f1c5"; +} +.fa-file-zip-o:before, +.fa-file-archive-o:before { + content: "\f1c6"; +} +.fa-file-sound-o:before, +.fa-file-audio-o:before { + content: "\f1c7"; +} +.fa-file-movie-o:before, +.fa-file-video-o:before { + content: "\f1c8"; +} +.fa-file-code-o:before { + content: "\f1c9"; +} +.fa-vine:before { + content: "\f1ca"; +} +.fa-codepen:before { + content: "\f1cb"; +} +.fa-jsfiddle:before { + content: "\f1cc"; +} +.fa-life-bouy:before, +.fa-life-buoy:before, +.fa-life-saver:before, +.fa-support:before, +.fa-life-ring:before { + content: "\f1cd"; +} +.fa-circle-o-notch:before { + content: "\f1ce"; +} +.fa-ra:before, +.fa-rebel:before { + content: "\f1d0"; +} +.fa-ge:before, +.fa-empire:before { + content: "\f1d1"; +} +.fa-git-square:before { + content: "\f1d2"; +} +.fa-git:before { + content: "\f1d3"; +} +.fa-y-combinator-square:before, +.fa-yc-square:before, +.fa-hacker-news:before { + content: "\f1d4"; +} +.fa-tencent-weibo:before { + content: "\f1d5"; +} +.fa-qq:before { + content: "\f1d6"; +} +.fa-wechat:before, +.fa-weixin:before { + content: "\f1d7"; +} +.fa-send:before, +.fa-paper-plane:before { + content: "\f1d8"; +} +.fa-send-o:before, +.fa-paper-plane-o:before { + content: "\f1d9"; +} +.fa-history:before { + content: "\f1da"; +} +.fa-circle-thin:before { + content: "\f1db"; +} +.fa-header:before { + content: "\f1dc"; +} +.fa-paragraph:before { + content: "\f1dd"; +} +.fa-sliders:before { + content: "\f1de"; +} +.fa-share-alt:before { + content: "\f1e0"; +} +.fa-share-alt-square:before { + content: "\f1e1"; +} +.fa-bomb:before { + content: "\f1e2"; +} +.fa-soccer-ball-o:before, +.fa-futbol-o:before { + content: "\f1e3"; +} +.fa-tty:before { + content: "\f1e4"; +} +.fa-binoculars:before { + content: "\f1e5"; +} +.fa-plug:before { + content: "\f1e6"; +} +.fa-slideshare:before { + content: "\f1e7"; +} +.fa-twitch:before { + content: "\f1e8"; +} +.fa-yelp:before { + content: "\f1e9"; +} +.fa-newspaper-o:before { + content: "\f1ea"; +} +.fa-wifi:before { + content: "\f1eb"; +} +.fa-calculator:before { + content: "\f1ec"; +} +.fa-paypal:before { + content: "\f1ed"; +} +.fa-google-wallet:before { + content: "\f1ee"; +} +.fa-cc-visa:before { + content: "\f1f0"; +} +.fa-cc-mastercard:before { + content: "\f1f1"; +} +.fa-cc-discover:before { + content: "\f1f2"; +} +.fa-cc-amex:before { + content: "\f1f3"; +} +.fa-cc-paypal:before { + content: "\f1f4"; +} +.fa-cc-stripe:before { + content: "\f1f5"; +} +.fa-bell-slash:before { + content: "\f1f6"; +} +.fa-bell-slash-o:before { + content: "\f1f7"; +} +.fa-trash:before { + content: "\f1f8"; +} +.fa-copyright:before { + content: "\f1f9"; +} +.fa-at:before { + content: "\f1fa"; +} +.fa-eyedropper:before { + content: "\f1fb"; +} +.fa-paint-brush:before { + content: "\f1fc"; +} +.fa-birthday-cake:before { + content: "\f1fd"; +} +.fa-area-chart:before { + content: "\f1fe"; +} +.fa-pie-chart:before { + content: "\f200"; +} +.fa-line-chart:before { + content: "\f201"; +} +.fa-lastfm:before { + content: "\f202"; +} +.fa-lastfm-square:before { + content: "\f203"; +} +.fa-toggle-off:before { + content: "\f204"; +} +.fa-toggle-on:before { + content: "\f205"; +} +.fa-bicycle:before { + content: "\f206"; +} +.fa-bus:before { + content: "\f207"; +} +.fa-ioxhost:before { + content: "\f208"; +} +.fa-angellist:before { + content: "\f209"; +} +.fa-cc:before { + content: "\f20a"; +} +.fa-shekel:before, +.fa-sheqel:before, +.fa-ils:before { + content: "\f20b"; +} +.fa-meanpath:before { + content: "\f20c"; +} +.fa-buysellads:before { + content: "\f20d"; +} +.fa-connectdevelop:before { + content: "\f20e"; +} +.fa-dashcube:before { + content: "\f210"; +} +.fa-forumbee:before { + content: "\f211"; +} +.fa-leanpub:before { + content: "\f212"; +} +.fa-sellsy:before { + content: "\f213"; +} +.fa-shirtsinbulk:before { + content: "\f214"; +} +.fa-simplybuilt:before { + content: "\f215"; +} +.fa-skyatlas:before { + content: "\f216"; +} +.fa-cart-plus:before { + content: "\f217"; +} +.fa-cart-arrow-down:before { + content: "\f218"; +} +.fa-diamond:before { + content: "\f219"; +} +.fa-ship:before { + content: "\f21a"; +} +.fa-user-secret:before { + content: "\f21b"; +} +.fa-motorcycle:before { + content: "\f21c"; +} +.fa-street-view:before { + content: "\f21d"; +} +.fa-heartbeat:before { + content: "\f21e"; +} +.fa-venus:before { + content: "\f221"; +} +.fa-mars:before { + content: "\f222"; +} +.fa-mercury:before { + content: "\f223"; +} +.fa-intersex:before, +.fa-transgender:before { + content: "\f224"; +} +.fa-transgender-alt:before { + content: "\f225"; +} +.fa-venus-double:before { + content: "\f226"; +} +.fa-mars-double:before { + content: "\f227"; +} +.fa-venus-mars:before { + content: "\f228"; +} +.fa-mars-stroke:before { + content: "\f229"; +} +.fa-mars-stroke-v:before { + content: "\f22a"; +} +.fa-mars-stroke-h:before { + content: "\f22b"; +} +.fa-neuter:before { + content: "\f22c"; +} +.fa-genderless:before { + content: "\f22d"; +} +.fa-facebook-official:before { + content: "\f230"; +} +.fa-pinterest-p:before { + content: "\f231"; +} +.fa-whatsapp:before { + content: "\f232"; +} +.fa-server:before { + content: "\f233"; +} +.fa-user-plus:before { + content: "\f234"; +} +.fa-user-times:before { + content: "\f235"; +} +.fa-hotel:before, +.fa-bed:before { + content: "\f236"; +} +.fa-viacoin:before { + content: "\f237"; +} +.fa-train:before { + content: "\f238"; +} +.fa-subway:before { + content: "\f239"; +} +.fa-medium:before { + content: "\f23a"; +} +.fa-yc:before, +.fa-y-combinator:before { + content: "\f23b"; +} +.fa-optin-monster:before { + content: "\f23c"; +} +.fa-opencart:before { + content: "\f23d"; +} +.fa-expeditedssl:before { + content: "\f23e"; +} +.fa-battery-4:before, +.fa-battery-full:before { + content: "\f240"; +} +.fa-battery-3:before, +.fa-battery-three-quarters:before { + content: "\f241"; +} +.fa-battery-2:before, +.fa-battery-half:before { + content: "\f242"; +} +.fa-battery-1:before, +.fa-battery-quarter:before { + content: "\f243"; +} +.fa-battery-0:before, +.fa-battery-empty:before { + content: "\f244"; +} +.fa-mouse-pointer:before { + content: "\f245"; +} +.fa-i-cursor:before { + content: "\f246"; +} +.fa-object-group:before { + content: "\f247"; +} +.fa-object-ungroup:before { + content: "\f248"; +} +.fa-sticky-note:before { + content: "\f249"; +} +.fa-sticky-note-o:before { + content: "\f24a"; +} +.fa-cc-jcb:before { + content: "\f24b"; +} +.fa-cc-diners-club:before { + content: "\f24c"; +} +.fa-clone:before { + content: "\f24d"; +} +.fa-balance-scale:before { + content: "\f24e"; +} +.fa-hourglass-o:before { + content: "\f250"; +} +.fa-hourglass-1:before, +.fa-hourglass-start:before { + content: "\f251"; +} +.fa-hourglass-2:before, +.fa-hourglass-half:before { + content: "\f252"; +} +.fa-hourglass-3:before, +.fa-hourglass-end:before { + content: "\f253"; +} +.fa-hourglass:before { + content: "\f254"; +} +.fa-hand-grab-o:before, +.fa-hand-rock-o:before { + content: "\f255"; +} +.fa-hand-stop-o:before, +.fa-hand-paper-o:before { + content: "\f256"; +} +.fa-hand-scissors-o:before { + content: "\f257"; +} +.fa-hand-lizard-o:before { + content: "\f258"; +} +.fa-hand-spock-o:before { + content: "\f259"; +} +.fa-hand-pointer-o:before { + content: "\f25a"; +} +.fa-hand-peace-o:before { + content: "\f25b"; +} +.fa-trademark:before { + content: "\f25c"; +} +.fa-registered:before { + content: "\f25d"; +} +.fa-creative-commons:before { + content: "\f25e"; +} +.fa-gg:before { + content: "\f260"; +} +.fa-gg-circle:before { + content: "\f261"; +} +.fa-tripadvisor:before { + content: "\f262"; +} +.fa-odnoklassniki:before { + content: "\f263"; +} +.fa-odnoklassniki-square:before { + content: "\f264"; +} +.fa-get-pocket:before { + content: "\f265"; +} +.fa-wikipedia-w:before { + content: "\f266"; +} +.fa-safari:before { + content: "\f267"; +} +.fa-chrome:before { + content: "\f268"; +} +.fa-firefox:before { + content: "\f269"; +} +.fa-opera:before { + content: "\f26a"; +} +.fa-internet-explorer:before { + content: "\f26b"; +} +.fa-tv:before, +.fa-television:before { + content: "\f26c"; +} +.fa-contao:before { + content: "\f26d"; +} +.fa-500px:before { + content: "\f26e"; +} +.fa-amazon:before { + content: "\f270"; +} +.fa-calendar-plus-o:before { + content: "\f271"; +} +.fa-calendar-minus-o:before { + content: "\f272"; +} +.fa-calendar-times-o:before { + content: "\f273"; +} +.fa-calendar-check-o:before { + content: "\f274"; +} +.fa-industry:before { + content: "\f275"; +} +.fa-map-pin:before { + content: "\f276"; +} +.fa-map-signs:before { + content: "\f277"; +} +.fa-map-o:before { + content: "\f278"; +} +.fa-map:before { + content: "\f279"; +} +.fa-commenting:before { + content: "\f27a"; +} +.fa-commenting-o:before { + content: "\f27b"; +} +.fa-houzz:before { + content: "\f27c"; +} +.fa-vimeo:before { + content: "\f27d"; +} +.fa-black-tie:before { + content: "\f27e"; +} +.fa-fonticons:before { + content: "\f280"; +} +.fa-reddit-alien:before { + content: "\f281"; +} +.fa-edge:before { + content: "\f282"; +} +.fa-credit-card-alt:before { + content: "\f283"; +} +.fa-codiepie:before { + content: "\f284"; +} +.fa-modx:before { + content: "\f285"; +} +.fa-fort-awesome:before { + content: "\f286"; +} +.fa-usb:before { + content: "\f287"; +} +.fa-product-hunt:before { + content: "\f288"; +} +.fa-mixcloud:before { + content: "\f289"; +} +.fa-scribd:before { + content: "\f28a"; +} +.fa-pause-circle:before { + content: "\f28b"; +} +.fa-pause-circle-o:before { + content: "\f28c"; +} +.fa-stop-circle:before { + content: "\f28d"; +} +.fa-stop-circle-o:before { + content: "\f28e"; +} +.fa-shopping-bag:before { + content: "\f290"; +} +.fa-shopping-basket:before { + content: "\f291"; +} +.fa-hashtag:before { + content: "\f292"; +} +.fa-bluetooth:before { + content: "\f293"; +} +.fa-bluetooth-b:before { + content: "\f294"; +} +.fa-percent:before { + content: "\f295"; +} diff --git a/static/css/gameboy.css b/static/css/gameboy.css deleted file mode 100644 index 766ff69e..00000000 --- a/static/css/gameboy.css +++ /dev/null @@ -1,6921 +0,0 @@ -body { - color: white; - background-color: #000; /*Default bg, similar to the background's base color*/ - background-image: url("https://i.pinimg.com/originals/97/00/63/9700632b137d620cb3d67315bff3b9c5.jpg"); - background-position: right bottom; /*Positioning*/ - background-repeat: no-repeat; /*Prevent showing multiple background images*/ -} - -#game-screen { - width: 100%; - height: 100%; - display: none; - background-color: #222222; -} - -#menu-screen { - display:none; - width: 100%; - height: 100%; - background-image: url('https://data.whicdn.com/images/275493408/original.gif'); - background-size: cover; -} - -#menu-screen #box-art { - position: absolute; - width:55%; - height: 85%; - top: 5px; - left: 50%; - -webkit-transform: translate(-50%, -0%); - transform: translate(-50%, -0%); - border: 1px solid #ddd; -} - - -@font-face { - font-family: 'YourFontName'; /*a name to be used later*/ - src: url('/static/fonts/8-Bit-Madness.ttf'); /*URL to font*/ -} - -#menu-screen #title { - position: absolute; - width:100%; - height: 10%; - bottom: 0px; - font-family: 'YourFontName'; - overflow: hidden; -} - -#menu-screen #title p { - position: absolute; - width: 100%; - height: 100%; - margin: 0; - text-align: center; - /* Starting position */ - -moz-transform:translateX(50%); - -webkit-transform:translateX(50%); - transform:translateX(50%); - /* Apply animation to this element */ - -moz-animation: horizontally 5s linear infinite alternate; - -webkit-animation: horizontally 5s linear infinite alternate; - animation: horizontally 5s linear infinite alternate; -} -/* Move it (define the animation) */ -@-moz-keyframes horizontally { - 0% { -moz-transform: translateX(50%); } - 100% { -moz-transform: translateX(-50%); } -} -@-webkit-keyframes horizontally { - 0% { -webkit-transform: translateX(50%); } - 100% { -webkit-transform: translateX(-50%); } -} -@keyframes horizontally { - 0% { - -moz-transform: translateX(50%); /* Browser bug fix */ - -webkit-transform: translateX(50%); /* Browser bug fix */ - transform: translateX(50%); - } - 100% { - -moz-transform: translateX(-50%); /* Browser bug fix */ - -webkit-transform: translateX(-50%); /* Browser bug fix */ - transform: translateX(-50%); - } -} - - -#menu-screen .arrow { - position: absolute; - width:20px; - height: 20px; - right: 10px; - top: 50%; - -webkit-transform: translate(0%, -50%); - transform: translate(0%, -50%); - - -webkit-animation: breathing 1s infinite normal; - animation: breathing 1s infinite normal; -} - -#menu-screen .left { - left: 10px; - -webkit-transform: scaleX(-1) translate(0%, -50%); - transform: scaleX(-1) translate(0%, -50%); - - -webkit-animation: breathing 1s infinite normal; - animation: breathing 1s infinite normal; -} - - -@-webkit-keyframes breathing { - 0% { - opacity: 1; - } - - 25% { - opacity: 0.5; - } - - 50% { - opacity: 0; - } - - 75% { - opacity: 0.5; - } - - 100% { - opacity: 1; - } -} - -@keyframes breathing { - 0% { - opacity: 1; - } - - 25% { - opacity: 0.5; - } - - 50% { - opacity: 0; - } - - 75% { - opacity: 0.5; - } - - 100% { - opacity: 1; - } -} - - - -@import url(https://fonts.googleapis.com/css?family=Asap:400italic,700italic); -@import url(https://fonts.googleapis.com/css?family=Oxygen:700,300); -* { - box-sizing: border-box; -} -html { - background-color: #f0f0f0; - color: #222222; -} -body { - margin: 0; -} -#gameboy { - position: relative; - width: 340px; - height: 570px; - /*overflow: hidden;*/ - top: 17%; - margin: auto; - - line-height: 1; - border-radius: 15px 15px 170px 170px / 15px 15px 35px 35px; - -webkit-transform: translateZ(0) scale(1.5); - transform: translateZ(0) scale(1.5); - -webkit-mask-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAA5JREFUeNpiYGBgAAgwAAAEAAGbA+oJAAAAAElFTkSuQmCC); -} -#gameboy:hover div { - opacity: 0.7; -} -#gameboy:hover div[class="circuit"]::before, -#gameboy:hover div[class="circuit"]::after { - opacity: 0.5; -} -#gameboy:hover div[id^="screen-"][id$="-text"] { - opacity: 0; -} -#gameboy:hover div:not([id="speaker-holes"]):not([id^="cover-"]):not([id="power"]):not([class="capacitors"]):not([id$="-text"]):not([id="canvas"]):not([class="circuit"]):not([id="transistors"]):not([id="joystick-pad"]):not([id="control"]):not([id="start-select-button"]) { - box-shadow: 0 0 0 2px #222222; -} -#gameboy:hover #cover-vertical, -#gameboy:hover #cover-horizontal { - opacity: 0.1; -} -#gameboy:hover #gloss { - opacity: 0.2; -} -#gameboy.transparent:hover #cover-vertical, -#gameboy.transparent:hover #cover-horizontal { - opacity: 0.4; -} -#gameboy.transparent:hover #gloss { - opacity: 0.6; -} -@-moz-keyframes canvas { - 0% { - width: 0; - height: 120px; - border-radius: 15px 15px 0 0; - } - 3% { - width: 340px; - height: 120px; - } - 5.5% { - height: 520px; - } - 6.0% { - border-radius: 15px 15px 0 0; - } - 7.0% { - height: 570px; - border-radius: 15px 15px 170px 170px / 15px 15px 35px 35px; - } -} -@-webkit-keyframes canvas { - 0% { - width: 0; - height: 120px; - border-radius: 15px 15px 0 0; - } - 3% { - width: 340px; - height: 120px; - } - 5.5% { - height: 520px; - } - 6.0% { - border-radius: 15px 15px 0 0; - } - 7.0% { - height: 570px; - border-radius: 15px 15px 170px 170px / 15px 15px 35px 35px; - } -} -@keyframes canvas { - 0% { - width: 0; - height: 120px; - border-radius: 15px 15px 0 0; - } - 3% { - width: 340px; - height: 120px; - } - 5.5% { - height: 520px; - } - 6.0% { - border-radius: 15px 15px 0 0; - } - 7.0% { - height: 570px; - border-radius: 15px 15px 170px 170px / 15px 15px 35px 35px; - } -} -#canvas { - position: absolute; - width: 340px; - height: 570px; - top: 0; - right: 0; - border-radius: 15px 15px 170px 170px / 15px 15px 35px 35px; - background-color: #b0b0b0; - -webkit-animation: canvas 8s linear; - animation: canvas 8s linear; - z-index: 1; -} -@-moz-keyframes border { - 0% { - border-width: 0; - border-color: transparent; - width: 0; - height: 0; - } - 1% { - border-width: 4px; - border-top-color: #808080; - width: 0; - height: 10px; - } - 3% { - width: 318px; - border-left-color: transparent; - height: 10px; - } - 3.3% { - width: 318px; - border-left-color: #808080; - height: 10px; - } - 7.0% { - border-radius: 15px 15px 0 0; - } - 7.3% { - height: 526px; - border-radius: 15px 15px 170px 170px / 15px 15px 35px 35px; - } - 7.4% { - border-bottom-color: transparent; - } - 7.5% { - border-bottom-color: #808080; - } - 8.9% { - border-right-color: transparent; - } - 9% { - border-right-color: #808080; - } -} -@-webkit-keyframes border { - 0% { - border-width: 0; - border-color: transparent; - width: 0; - height: 0; - } - 1% { - border-width: 4px; - border-top-color: #808080; - width: 0; - height: 10px; - } - 3% { - width: 318px; - border-left-color: transparent; - height: 10px; - } - 3.3% { - width: 318px; - border-left-color: #808080; - height: 10px; - } - 7.0% { - border-radius: 15px 15px 0 0; - } - 7.3% { - height: 526px; - border-radius: 15px 15px 170px 170px / 15px 15px 35px 35px; - } - 7.4% { - border-bottom-color: transparent; - } - 7.5% { - border-bottom-color: #808080; - } - 8.9% { - border-right-color: transparent; - } - 9% { - border-right-color: #808080; - } -} -@keyframes border { - 0% { - border-width: 0; - border-color: transparent; - width: 0; - height: 0; - } - 1% { - border-width: 4px; - border-top-color: #808080; - width: 0; - height: 10px; - } - 3% { - width: 318px; - border-left-color: transparent; - height: 10px; - } - 3.3% { - width: 318px; - border-left-color: #808080; - height: 10px; - } - 7.0% { - border-radius: 15px 15px 0 0; - } - 7.3% { - height: 526px; - border-radius: 15px 15px 170px 170px / 15px 15px 35px 35px; - } - 7.4% { - border-bottom-color: transparent; - } - 7.5% { - border-bottom-color: #808080; - } - 8.9% { - border-right-color: transparent; - } - 9% { - border-right-color: #808080; - } -} -#border { - position: absolute; - width: 318px; - height: 526px; - right: 11px; - top: 20px; - border: 4px #808080 solid; - border-radius: 15px 15px 170px 170px / 15px 15px 35px 35px; - z-index: 2; - -webkit-animation: border 8s linear; - animation: border 8s linear; -} -#border-top, -#border-bottom { - position: absolute; - background-color: #b0b0b0; - width: 0; - height: 8px; - z-index: 3; -} -#border-left, -#border-right { - position: absolute; - background-color: #b0b0b0; - height: 0; - z-index: 3; -} -@-moz-keyframes border-top { - 0.5% { - width: 0; - } - 3.0% { - width: 318px; - right: 11px; - } - 3.5% { - width: 318px; - right: 11px; - } - 5% { - width: 0; - right: 309px; - } -} -@-webkit-keyframes border-top { - 0.5% { - width: 0; - } - 3.0% { - width: 318px; - right: 11px; - } - 3.5% { - width: 318px; - right: 11px; - } - 5% { - width: 0; - right: 309px; - } -} -@keyframes border-top { - 0.5% { - width: 0; - } - 3.0% { - width: 318px; - right: 11px; - } - 3.5% { - width: 318px; - right: 11px; - } - 5% { - width: 0; - right: 309px; - } -} -#border-top { - top: 20px; - right: 11px; - -webkit-animation: border-top 8s linear; - animation: border-top 8s linear; -} -@-moz-keyframes border-left { - 0% { - height: 0; - } - 3% { - height: 0; - } - 5% { - height: 326px; - top: 20px; - } - 7.5% { - height: 0; - top: 546px; - } -} -@-webkit-keyframes border-left { - 0% { - height: 0; - } - 3% { - height: 0; - } - 5% { - height: 326px; - top: 20px; - } - 7.5% { - height: 0; - top: 546px; - } -} -@keyframes border-left { - 0% { - height: 0; - } - 3% { - height: 0; - } - 5% { - height: 326px; - top: 20px; - } - 7.5% { - height: 0; - top: 546px; - } -} -#border-left { - left: 11px; - top: 20px; - width: 20px; - -webkit-animation: border-left 8s linear; - animation: border-left 8s linear; -} -@-moz-keyframes border-bottom { - 0% { - width: 0; - } - 6.5% { - width: 0; - } - 7.4% { - width: 318px; - left: 11px; - } - 9.0% { - width: 0; - left: 329px; - } -} -@-webkit-keyframes border-bottom { - 0% { - width: 0; - } - 6.5% { - width: 0; - } - 7.4% { - width: 318px; - left: 11px; - } - 9.0% { - width: 0; - left: 329px; - } -} -@keyframes border-bottom { - 0% { - width: 0; - } - 6.5% { - width: 0; - } - 7.4% { - width: 318px; - left: 11px; - } - 9.0% { - width: 0; - left: 329px; - } -} -#border-bottom { - top: 516px; - left: 11px; - height: 30px; - -webkit-animation: border-bottom 8s linear; - animation: border-bottom 8s linear; -} -@-moz-keyframes border-right { - 0% { - height: 0; - } - 8% { - height: 0; - } - 8.5% { - height: 496px; - top: 26px; - } - 9% { - height: 496px; - } - 11.5% { - height: 0; - top: 26px; - } - 100% { - top: 546px; - } -} -@-webkit-keyframes border-right { - 0% { - height: 0; - } - 8% { - height: 0; - } - 8.5% { - height: 496px; - top: 26px; - } - 9% { - height: 496px; - } - 11.5% { - height: 0; - top: 26px; - } - 100% { - top: 546px; - } -} -@keyframes border-right { - 0% { - height: 0; - } - 8% { - height: 0; - } - 8.5% { - height: 496px; - top: 26px; - } - 9% { - height: 496px; - } - 11.5% { - height: 0; - top: 26px; - } - 100% { - top: 546px; - } -} -#border-right { - right: 11px; - top: 26px; - width: 8px; - -webkit-animation: border-right 8s linear; - animation: border-right 8s linear; -} -.screw { - border-radius: 100%; - background-color: #222222; - z-index: 4; - position: absolute; -} -.screw.small { - width: 18px; - height: 18px; - top: 34px; -} -.screw.large { - width: 20px; - height: 20px; - top: 235px; -} -@-moz-keyframes screw-small-right { - 0% { - width: 0; - height: 0; - right: 34px; - top: 43px; - } - 2.5% { - width: 0; - height: 0; - right: 34px; - top: 43px; - } - 5.5% { - width: 18px; - height: 18px; - right: 25px; - top: 34px; - } -} -@-webkit-keyframes screw-small-right { - 0% { - width: 0; - height: 0; - right: 34px; - top: 43px; - } - 2.5% { - width: 0; - height: 0; - right: 34px; - top: 43px; - } - 5.5% { - width: 18px; - height: 18px; - right: 25px; - top: 34px; - } -} -@keyframes screw-small-right { - 0% { - width: 0; - height: 0; - right: 34px; - top: 43px; - } - 2.5% { - width: 0; - height: 0; - right: 34px; - top: 43px; - } - 5.5% { - width: 18px; - height: 18px; - right: 25px; - top: 34px; - } -} -#screw-small-right { - right: 25px; - -webkit-animation: screw-small-right 8s linear; - animation: screw-small-right 8s linear; -} -@-moz-keyframes screw-small-left { - 0% { - width: 0; - height: 0; - left: 34px; - top: 43px; - } - 3% { - width: 0; - height: 0; - left: 34px; - top: 43px; - } - 6% { - width: 18px; - height: 18px; - left: 25px; - top: 34px; - } -} -@-webkit-keyframes screw-small-left { - 0% { - width: 0; - height: 0; - left: 34px; - top: 43px; - } - 3% { - width: 0; - height: 0; - left: 34px; - top: 43px; - } - 6% { - width: 18px; - height: 18px; - left: 25px; - top: 34px; - } -} -@keyframes screw-small-left { - 0% { - width: 0; - height: 0; - left: 34px; - top: 43px; - } - 3% { - width: 0; - height: 0; - left: 34px; - top: 43px; - } - 6% { - width: 18px; - height: 18px; - left: 25px; - top: 34px; - } -} -#screw-small-left { - left: 25px; - -webkit-animation: screw-small-left 8s linear; - animation: screw-small-left 8s linear; -} -@-moz-keyframes screw-large-right { - 0% { - width: 0; - height: 0; - right: 13px; - top: 245px; - } - 5.5% { - width: 0; - height: 0; - right: 13px; - top: 245px; - } - 8.5% { - width: 20px; - height: 20px; - right: 3px; - top: 235px; - } -} -@-webkit-keyframes screw-large-right { - 0% { - width: 0; - height: 0; - right: 13px; - top: 245px; - } - 5.5% { - width: 0; - height: 0; - right: 13px; - top: 245px; - } - 8.5% { - width: 20px; - height: 20px; - right: 3px; - top: 235px; - } -} -@keyframes screw-large-right { - 0% { - width: 0; - height: 0; - right: 13px; - top: 245px; - } - 5.5% { - width: 0; - height: 0; - right: 13px; - top: 245px; - } - 8.5% { - width: 20px; - height: 20px; - right: 3px; - top: 235px; - } -} -#screw-large-right { - right: 3px; - -webkit-animation: screw-large-right 8s linear; - animation: screw-large-right 8s linear; -} -@-moz-keyframes screw-large-left { - 0% { - width: 0; - height: 0; - left: 13px; - top: 245px; - } - 6.5% { - width: 0; - height: 0; - left: 13px; - top: 245px; - } - 9.5% { - width: 20px; - height: 20px; - left: 3px; - top: 235px; - } -} -@-webkit-keyframes screw-large-left { - 0% { - width: 0; - height: 0; - left: 13px; - top: 245px; - } - 6.5% { - width: 0; - height: 0; - left: 13px; - top: 245px; - } - 9.5% { - width: 20px; - height: 20px; - left: 3px; - top: 235px; - } -} -@keyframes screw-large-left { - 0% { - width: 0; - height: 0; - left: 13px; - top: 245px; - } - 6.5% { - width: 0; - height: 0; - left: 13px; - top: 245px; - } - 9.5% { - width: 20px; - height: 20px; - left: 3px; - top: 235px; - } -} -#screw-large-left { - left: 3px; - -webkit-animation: screw-large-left 8s linear; - animation: screw-large-left 8s linear; -} -@-moz-keyframes backboard { - 0% { - width: 0; - height: 0; - left: 170px; - bottom: 340px; - } - 4.5% { - width: 0; - height: 0; - left: 170px; - } - 6.5% { - width: 36px; - height: 36px; - left: 152px; - } - 10% { - width: 220px; - left: 60px; - } - 10.5% { - height: 36px; - } - 14% { - height: 75px; - } -} -@-webkit-keyframes backboard { - 0% { - width: 0; - height: 0; - left: 170px; - bottom: 340px; - } - 4.5% { - width: 0; - height: 0; - left: 170px; - } - 6.5% { - width: 36px; - height: 36px; - left: 152px; - } - 10% { - width: 220px; - left: 60px; - } - 10.5% { - height: 36px; - } - 14% { - height: 75px; - } -} -@keyframes backboard { - 0% { - width: 0; - height: 0; - left: 170px; - bottom: 340px; - } - 4.5% { - width: 0; - height: 0; - left: 170px; - } - 6.5% { - width: 36px; - height: 36px; - left: 152px; - } - 10% { - width: 220px; - left: 60px; - } - 10.5% { - height: 36px; - } - 14% { - height: 75px; - } -} -#backboard { - z-index: 2; - width: 220px; - height: 75px; - position: absolute; - left: 60px; - bottom: 340px; - background-color: #222222; - -webkit-animation: backboard 8s linear; - animation: backboard 8s linear; -} -@-moz-keyframes motherboard { - 0% { - width: 0; - height: 0; - left: 170px; - top: 293px; - } - 6% { - width: 0; - height: 0; - left: 170px; - top: 293px; - } - 8% { - width: 56px; - height: 56px; - left: 142px; - top: 265px; - } - 8.5% { - height: 56px; - top: 265px; - } - 10.5% { - width: 56px; - height: 400px; - top: 75px; - } - 11% { - width: 56px; - left: 142px; - } - 16% { - width: 270px; - left: 35px; - } -} -@-webkit-keyframes motherboard { - 0% { - width: 0; - height: 0; - left: 170px; - top: 293px; - } - 6% { - width: 0; - height: 0; - left: 170px; - top: 293px; - } - 8% { - width: 56px; - height: 56px; - left: 142px; - top: 265px; - } - 8.5% { - height: 56px; - top: 265px; - } - 10.5% { - width: 56px; - height: 400px; - top: 75px; - } - 11% { - width: 56px; - left: 142px; - } - 16% { - width: 270px; - left: 35px; - } -} -@keyframes motherboard { - 0% { - width: 0; - height: 0; - left: 170px; - top: 293px; - } - 6% { - width: 0; - height: 0; - left: 170px; - top: 293px; - } - 8% { - width: 56px; - height: 56px; - left: 142px; - top: 265px; - } - 8.5% { - height: 56px; - top: 265px; - } - 10.5% { - width: 56px; - height: 400px; - top: 75px; - } - 11% { - width: 56px; - left: 142px; - } - 16% { - width: 270px; - left: 35px; - } -} -@-moz-keyframes motherboard-before { - 0% { - height: 0; - box-shadow: -6px 400px #66947d, 9px 400px #66947d; - } - 18% { - height: 0; - } - 20% { - height: 100%; - box-shadow: -6px 400px #66947d, 9px 400px #66947d; - } - 22% { - box-shadow: -6px 0 #66947d, 9px 400px #66947d; - } - 24% { - box-shadow: -6px 0 #66947d, 9px 0 #66947d; - } -} -@-webkit-keyframes motherboard-before { - 0% { - height: 0; - box-shadow: -6px 400px #66947d, 9px 400px #66947d; - } - 18% { - height: 0; - } - 20% { - height: 100%; - box-shadow: -6px 400px #66947d, 9px 400px #66947d; - } - 22% { - box-shadow: -6px 0 #66947d, 9px 400px #66947d; - } - 24% { - box-shadow: -6px 0 #66947d, 9px 0 #66947d; - } -} -@keyframes motherboard-before { - 0% { - height: 0; - box-shadow: -6px 400px #66947d, 9px 400px #66947d; - } - 18% { - height: 0; - } - 20% { - height: 100%; - box-shadow: -6px 400px #66947d, 9px 400px #66947d; - } - 22% { - box-shadow: -6px 0 #66947d, 9px 400px #66947d; - } - 24% { - box-shadow: -6px 0 #66947d, 9px 0 #66947d; - } -} -#motherboard { - z-index: 3; - position: absolute; - width: 270px; - height: 400px; - left: 35px; - top: 75px; - overflow: hidden; - background-color: #4ca879; - -webkit-animation: motherboard 8s linear; - animation: motherboard 8s linear; -} -#motherboard::before { - content: ""; - position: absolute; - left: 87px; - width: 2px; - height: 100%; - background-color: #66947d; - box-shadow: -6px 0 #66947d, 9px 0 #66947d; - -webkit-animation: motherboard-before 8s linear; - animation: motherboard-before 8s linear; -} -.chip { - z-index: 4; - background-color: #308d58; - position: absolute; -} -@-moz-keyframes chip-tall { - 0% { - width: 0; - height: 400px; - right: 35px; - } - 6.5% { - width: 0; - } - 8.5% { - width: 30px; - } -} -@-webkit-keyframes chip-tall { - 0% { - width: 0; - height: 400px; - right: 35px; - } - 6.5% { - width: 0; - } - 8.5% { - width: 30px; - } -} -@keyframes chip-tall { - 0% { - width: 0; - height: 400px; - right: 35px; - } - 6.5% { - width: 0; - } - 8.5% { - width: 30px; - } -} -@-moz-keyframes chip-tall-before { - 0% { - height: 0; - } - 10% { - height: 0; - } - 11.5% { - height: 100%; - } -} -@-webkit-keyframes chip-tall-before { - 0% { - height: 0; - } - 10% { - height: 0; - } - 11.5% { - height: 100%; - } -} -@keyframes chip-tall-before { - 0% { - height: 0; - } - 10% { - height: 0; - } - 11.5% { - height: 100%; - } -} -@-moz-keyframes chip-tall-after { - 0% { - height: 0; - } - 11.5% { - height: 0; - } - 13% { - height: 100%; - } -} -@-webkit-keyframes chip-tall-after { - 0% { - height: 0; - } - 11.5% { - height: 0; - } - 13% { - height: 100%; - } -} -@keyframes chip-tall-after { - 0% { - height: 0; - } - 11.5% { - height: 0; - } - 13% { - height: 100%; - } -} -#chip-tall { - width: 30px; - height: 400px; - top: 75px; - right: 35px; - -webkit-animation: chip-tall 8s linear; - animation: chip-tall 8s linear; -} -#chip-tall::before { - content: ""; - position: absolute; - right: 8px; - bottom: 0; - width: 4px; - height: 100%; - background-color: #267146; - -webkit-animation: chip-tall-before 8s linear; - animation: chip-tall-before 8s linear; -} -#chip-tall::after { - content: ""; - position: absolute; - right: 18px; - bottom: 0; - width: 4px; - height: 100%; - background-color: #267146; - -webkit-animation: chip-tall-after 8s linear; - animation: chip-tall-after 8s linear; -} -@-moz-keyframes chip-short { - 0% { - width: 0; - height: 200px; - right: 35px; - } - 6.5% { - width: 0; - } - 8.5% { - width: 30px; - height: 200px; - } - 10.5% { - width: 80px; - height: 140px; - } -} -@-webkit-keyframes chip-short { - 0% { - width: 0; - height: 200px; - right: 35px; - } - 6.5% { - width: 0; - } - 8.5% { - width: 30px; - height: 200px; - } - 10.5% { - width: 80px; - height: 140px; - } -} -@keyframes chip-short { - 0% { - width: 0; - height: 200px; - right: 35px; - } - 6.5% { - width: 0; - } - 8.5% { - width: 30px; - height: 200px; - } - 10.5% { - width: 80px; - height: 140px; - } -} -@-moz-keyframes chip-details { - 0% { - background-color: transparent; - box-shadow: 6px 0 transparent; - } - 18% { - background-color: transparent; - } - 20% { - box-shadow: 6px 0 transparent; - } - 24% { - background-color: #66947d; - } - 26% { - box-shadow: 6px 0 #66947d; - } -} -@-webkit-keyframes chip-details { - 0% { - background-color: transparent; - box-shadow: 6px 0 transparent; - } - 18% { - background-color: transparent; - } - 20% { - box-shadow: 6px 0 transparent; - } - 24% { - background-color: #66947d; - } - 26% { - box-shadow: 6px 0 #66947d; - } -} -@keyframes chip-details { - 0% { - background-color: transparent; - box-shadow: 6px 0 transparent; - } - 18% { - background-color: transparent; - } - 20% { - box-shadow: 6px 0 transparent; - } - 24% { - background-color: #66947d; - } - 26% { - box-shadow: 6px 0 #66947d; - } -} -@-moz-keyframes chip-details-diagonal { - 0% { - background-color: transparent; - box-shadow: 5px 4px transparent; - } - 18% { - background-color: transparent; - } - 20% { - box-shadow: 5px 4px transparent; - } - 24% { - background-color: #66947d; - } - 26% { - box-shadow: 5px 4px #66947d; - } -} -@-webkit-keyframes chip-details-diagonal { - 0% { - background-color: transparent; - box-shadow: 5px 4px transparent; - } - 18% { - background-color: transparent; - } - 20% { - box-shadow: 5px 4px transparent; - } - 24% { - background-color: #66947d; - } - 26% { - box-shadow: 5px 4px #66947d; - } -} -@keyframes chip-details-diagonal { - 0% { - background-color: transparent; - box-shadow: 5px 4px transparent; - } - 18% { - background-color: transparent; - } - 20% { - box-shadow: 5px 4px transparent; - } - 24% { - background-color: #66947d; - } - 26% { - box-shadow: 5px 4px #66947d; - } -} -#chip-short { - width: 80px; - height: 140px; - top: 75px; - right: 35px; - -webkit-animation: chip-short 8s linear; - animation: chip-short 8s linear; -} -#chip-short::before { - content: ""; - width: 2px; - height: 201px; - top: 199px; - background-color: #66947d; - position: absolute; - left: 36px; - box-shadow: 6px 0 #66947d; - -webkit-animation: chip-details 8s linear; - animation: chip-details 8s linear; -} -#chip-short::after { - content: ""; - width: 2px; - height: 100%; - background-color: #66947d; - position: absolute; - left: -14px; - box-shadow: 6px 0 #66947d; - -webkit-animation: chip-details 8s linear; - animation: chip-details 8s linear; -} -@-moz-keyframes chip-diagonal { - 0% { - width: 0; - height: 0; - } - 8.5% { - width: 0; - height: 0; - } - 10.5% { - width: 50px; - height: 78px; - } -} -@-webkit-keyframes chip-diagonal { - 0% { - width: 0; - height: 0; - } - 8.5% { - width: 0; - height: 0; - } - 10.5% { - width: 50px; - height: 78px; - } -} -@keyframes chip-diagonal { - 0% { - width: 0; - height: 0; - } - 8.5% { - width: 0; - height: 0; - } - 10.5% { - width: 50px; - height: 78px; - } -} -#chip-diagonal { - width: 50px; - height: 78px; - left: 275px; - bottom: 295px; - border-bottom-right-radius: 100% 100%; - -webkit-transform-origin: 0 100%; - transform-origin: 0 100%; - -webkit-transform: rotateZ(-40deg); - transform: rotateZ(-40deg); - -webkit-animation: chip-diagonal 8s linear; - animation: chip-diagonal 8s linear; -} -#chip-diagonal::before { - content: ""; - width: 2px; - height: 100%; - background-color: #66947d; - position: absolute; - left: -11px; - top: -9px; - box-shadow: 5px 4px #66947d; - -webkit-animation: chip-details-diagonal 8s linear; - animation: chip-details-diagonal 8s linear; -} -.capacitors { - position: absolute; - z-index: 5; - width: 10px; - height: 10px; - border-radius: 50%; - background-color: transparent; - box-shadow: 11px 0 1px #ffffff, 11px -35px 1px #ffffff, 31px -35px 1px #ffffff, 21px -24px 1px #ffffff, 21px -11px 1px #ffffff; -} -@-moz-keyframes chip-capacitors { - 0% { - box-shadow: none; - } - 12.5% { - box-shadow: 11px 0 1px transparent; - } - 13.5% { - box-shadow: 11px 0 1px #ffffff, 11px -35px 1px transparent, 31px -35px 1px transparent; - } - 14.5% { - box-shadow: 11px 0 1px #ffffff, 11px -35px 1px #ffffff, 31px -35px 1px #ffffff, 21px -24px 1px transparent; - } - 15.5% { - box-shadow: 11px 0 1px #ffffff, 11px -35px 1px #ffffff, 31px -35px 1px #ffffff, 21px -24px 1px #ffffff, 21px -11px 1px transparent; - } - 16.5% { - box-shadow: 11px 0 1px #ffffff, 11px -35px 1px #ffffff, 31px -35px 1px #ffffff, 21px -24px 1px #ffffff, 21px -11px 1px #ffffff; - } -} -@-webkit-keyframes chip-capacitors { - 0% { - box-shadow: none; - } - 12.5% { - box-shadow: 11px 0 1px transparent; - } - 13.5% { - box-shadow: 11px 0 1px #ffffff, 11px -35px 1px transparent, 31px -35px 1px transparent; - } - 14.5% { - box-shadow: 11px 0 1px #ffffff, 11px -35px 1px #ffffff, 31px -35px 1px #ffffff, 21px -24px 1px transparent; - } - 15.5% { - box-shadow: 11px 0 1px #ffffff, 11px -35px 1px #ffffff, 31px -35px 1px #ffffff, 21px -24px 1px #ffffff, 21px -11px 1px transparent; - } - 16.5% { - box-shadow: 11px 0 1px #ffffff, 11px -35px 1px #ffffff, 31px -35px 1px #ffffff, 21px -24px 1px #ffffff, 21px -11px 1px #ffffff; - } -} -@keyframes chip-capacitors { - 0% { - box-shadow: none; - } - 12.5% { - box-shadow: 11px 0 1px transparent; - } - 13.5% { - box-shadow: 11px 0 1px #ffffff, 11px -35px 1px transparent, 31px -35px 1px transparent; - } - 14.5% { - box-shadow: 11px 0 1px #ffffff, 11px -35px 1px #ffffff, 31px -35px 1px #ffffff, 21px -24px 1px transparent; - } - 15.5% { - box-shadow: 11px 0 1px #ffffff, 11px -35px 1px #ffffff, 31px -35px 1px #ffffff, 21px -24px 1px #ffffff, 21px -11px 1px transparent; - } - 16.5% { - box-shadow: 11px 0 1px #ffffff, 11px -35px 1px #ffffff, 31px -35px 1px #ffffff, 21px -24px 1px #ffffff, 21px -11px 1px #ffffff; - } -} -#chip-capacitors { - left: 240px; - top: 130px; - -webkit-animation: chip-capacitors 8s linear; - animation: chip-capacitors 8s linear; -} -@-moz-keyframes motherboard-capacitors { - 0% { - box-shadow: none; - } - 22.5% { - box-shadow: 11px 0 1px transparent; - } - 23.5% { - box-shadow: 11px 0 1px #ffffff, 11px -35px 1px transparent, 31px -35px 1px transparent; - } - 24.5% { - box-shadow: 11px 0 1px #ffffff, 11px -35px 1px #ffffff, 31px -35px 1px #ffffff, 21px -24px 1px transparent; - } - 25.5% { - box-shadow: 11px 0 1px #ffffff, 11px -35px 1px #ffffff, 31px -35px 1px #ffffff, 21px -24px 1px #ffffff, 21px -11px 1px transparent; - } - 26.5% { - box-shadow: 11px 0 1px #ffffff, 11px -35px 1px #ffffff, 31px -35px 1px #ffffff, 21px -24px 1px #ffffff, 21px -11px 1px #ffffff; - } -} -@-webkit-keyframes motherboard-capacitors { - 0% { - box-shadow: none; - } - 22.5% { - box-shadow: 11px 0 1px transparent; - } - 23.5% { - box-shadow: 11px 0 1px #ffffff, 11px -35px 1px transparent, 31px -35px 1px transparent; - } - 24.5% { - box-shadow: 11px 0 1px #ffffff, 11px -35px 1px #ffffff, 31px -35px 1px #ffffff, 21px -24px 1px transparent; - } - 25.5% { - box-shadow: 11px 0 1px #ffffff, 11px -35px 1px #ffffff, 31px -35px 1px #ffffff, 21px -24px 1px #ffffff, 21px -11px 1px transparent; - } - 26.5% { - box-shadow: 11px 0 1px #ffffff, 11px -35px 1px #ffffff, 31px -35px 1px #ffffff, 21px -24px 1px #ffffff, 21px -11px 1px #ffffff; - } -} -@keyframes motherboard-capacitors { - 0% { - box-shadow: none; - } - 22.5% { - box-shadow: 11px 0 1px transparent; - } - 23.5% { - box-shadow: 11px 0 1px #ffffff, 11px -35px 1px transparent, 31px -35px 1px transparent; - } - 24.5% { - box-shadow: 11px 0 1px #ffffff, 11px -35px 1px #ffffff, 31px -35px 1px #ffffff, 21px -24px 1px transparent; - } - 25.5% { - box-shadow: 11px 0 1px #ffffff, 11px -35px 1px #ffffff, 31px -35px 1px #ffffff, 21px -24px 1px #ffffff, 21px -11px 1px transparent; - } - 26.5% { - box-shadow: 11px 0 1px #ffffff, 11px -35px 1px #ffffff, 31px -35px 1px #ffffff, 21px -24px 1px #ffffff, 21px -11px 1px #ffffff; - } -} -#motherboard-capacitors { - left: 85px; - top: 265px; - -webkit-transform: rotateZ(-90deg); - transform: rotateZ(-90deg); - -webkit-animation: motherboard-capacitors 8s linear; - animation: motherboard-capacitors 8s linear; -} -@-moz-keyframes contrast-knob { - 0% { - width: 0; - height: 0; - left: 33px; - top: 194px; - } - 14% { - width: 0; - height: 0; - left: 33px; - top: 194px; - } - 16.5% { - width: 28px; - height: 28px; - left: 19px; - top: 180px; - } - 20% { - top: 180px; - } - 24% { - top: 165px; - } -} -@-webkit-keyframes contrast-knob { - 0% { - width: 0; - height: 0; - left: 33px; - top: 194px; - } - 14% { - width: 0; - height: 0; - left: 33px; - top: 194px; - } - 16.5% { - width: 28px; - height: 28px; - left: 19px; - top: 180px; - } - 20% { - top: 180px; - } - 24% { - top: 165px; - } -} -@keyframes contrast-knob { - 0% { - width: 0; - height: 0; - left: 33px; - top: 194px; - } - 14% { - width: 0; - height: 0; - left: 33px; - top: 194px; - } - 16.5% { - width: 28px; - height: 28px; - left: 19px; - top: 180px; - } - 20% { - top: 180px; - } - 24% { - top: 165px; - } -} -@-moz-keyframes contrast-knob-before { - 0% { - width: 0; - height: 0; - left: -1px; - top: 14px; - } - 16% { - width: 0; - height: 0; - left: -1px; - top: 14px; - } - 18% { - width: 32px; - height: 32px; - left: -17px; - top: -2px; - } -} -@-webkit-keyframes contrast-knob-before { - 0% { - width: 0; - height: 0; - left: -1px; - top: 14px; - } - 16% { - width: 0; - height: 0; - left: -1px; - top: 14px; - } - 18% { - width: 32px; - height: 32px; - left: -17px; - top: -2px; - } -} -@keyframes contrast-knob-before { - 0% { - width: 0; - height: 0; - left: -1px; - top: 14px; - } - 16% { - width: 0; - height: 0; - left: -1px; - top: 14px; - } - 18% { - width: 32px; - height: 32px; - left: -17px; - top: -2px; - } -} -#contrast-knob { - z-index: 4; - position: absolute; - top: 165px; - left: 19px; - width: 28px; - height: 28px; - background-color: #808080; - -webkit-animation: contrast-knob 8s linear; - animation: contrast-knob 8s linear; -} -#contrast-knob:before { - content: ''; - position: absolute; - top: -2px; - left: -17px; - width: 32px; - height: 32px; - border-radius: 50%; - background-color: #303030; - -webkit-animation: contrast-knob-before 8s linear; - animation: contrast-knob-before 8s linear; -} -@-moz-keyframes link-port { - 0% { - width: 0; - height: 0; - left: 36px; - } - 14% { - width: 0; - height: 0; - left: 36px; - } - 16.5% { - width: 34px; - height: 34px; - left: 19px; - } - 18.5% { - left: 19px; - } - 20.5% { - left: 3px; - } -} -@-webkit-keyframes link-port { - 0% { - width: 0; - height: 0; - left: 36px; - } - 14% { - width: 0; - height: 0; - left: 36px; - } - 16.5% { - width: 34px; - height: 34px; - left: 19px; - } - 18.5% { - left: 19px; - } - 20.5% { - left: 3px; - } -} -@keyframes link-port { - 0% { - width: 0; - height: 0; - left: 36px; - } - 14% { - width: 0; - height: 0; - left: 36px; - } - 16.5% { - width: 34px; - height: 34px; - left: 19px; - } - 18.5% { - left: 19px; - } - 20.5% { - left: 3px; - } -} -#link-port { - z-index: 4; - position: absolute; - top: 123px; - left: 3px; - width: 34px; - height: 34px; - background-color: #ffffff; - -webkit-animation: link-port 8s linear; - animation: link-port 8s linear; -} -.circuit { - z-index: 4; - position: absolute; - box-shadow: inset 0 0 0 1px #ffffff; - border-radius: 50% / 25%; - opacity: 0.5; -} -.circuit::before { - content: ""; - position: absolute; - left: 50%; - top: 0; - width: 50%; - height: 0%; - background-color: #4ca879; -} -.circuit::after { - content: ""; - position: absolute; - left: 0; - bottom: 0; - width: 50%; - height: 0%; - background-color: #4ca879; -} -@-moz-keyframes circuit-bottom { - 0% { - opacity: 0; - } - 13.4% { - opacity: 0; - } - 13.5% { - opacity: 0.5; - } -} -@-webkit-keyframes circuit-bottom { - 0% { - opacity: 0; - } - 13.4% { - opacity: 0; - } - 13.5% { - opacity: 0.5; - } -} -@keyframes circuit-bottom { - 0% { - opacity: 0; - } - 13.4% { - opacity: 0; - } - 13.5% { - opacity: 0.5; - } -} -@-moz-keyframes "circuit-bottom-before" { - 0% { - height: 100%; - } - 13.5% { - height: 100%; - } - 15.5% { - height: 0%; - } -} -@-webkit-keyframes "circuit-bottom-before" { - 0% { - height: 100%; - } - 13.5% { - height: 100%; - } - 15.5% { - height: 0%; - } -} -@keyframes "circuit-bottom-before" { - 0% { - height: 100%; - } - 13.5% { - height: 100%; - } - 15.5% { - height: 0%; - } -} -@-moz-keyframes "circuit-bottom-after" { - 0% { - height: 100%; - } - 15.5% { - height: 100%; - } - 17.5% { - height: 0%; - } -} -@-webkit-keyframes "circuit-bottom-after" { - 0% { - height: 100%; - } - 15.5% { - height: 100%; - } - 17.5% { - height: 0%; - } -} -@keyframes "circuit-bottom-after" { - 0% { - height: 100%; - } - 15.5% { - height: 100%; - } - 17.5% { - height: 0%; - } -} -#circuit-bottom { - width: 30px; - height: 60px; - top: 330px; - left: 155px; - -webkit-transform: rotateZ(-90deg); - transform: rotateZ(-90deg); - -webkit-animation: circuit-bottom 8s linear; - animation: circuit-bottom 8s linear; -} -#circuit-bottom::before { - -webkit-animation: circuit-bottom-before 8s linear; - animation: circuit-bottom-before 8s linear; -} -#circuit-bottom::after { - -webkit-animation: circuit-bottom-after 8s linear; - animation: circuit-bottom-after 8s linear; -} -@-moz-keyframes circuit-top { - 0% { - opacity: 0; - } - 16.4% { - opacity: 0; - } - 16.5% { - opacity: 0.5; - } -} -@-webkit-keyframes circuit-top { - 0% { - opacity: 0; - } - 16.4% { - opacity: 0; - } - 16.5% { - opacity: 0.5; - } -} -@keyframes circuit-top { - 0% { - opacity: 0; - } - 16.4% { - opacity: 0; - } - 16.5% { - opacity: 0.5; - } -} -@-moz-keyframes "circuit-top-before" { - 0% { - height: 100%; - } - 16.5% { - height: 100%; - } - 18.5% { - height: 0%; - } -} -@-webkit-keyframes "circuit-top-before" { - 0% { - height: 100%; - } - 16.5% { - height: 100%; - } - 18.5% { - height: 0%; - } -} -@keyframes "circuit-top-before" { - 0% { - height: 100%; - } - 16.5% { - height: 100%; - } - 18.5% { - height: 0%; - } -} -@-moz-keyframes "circuit-top-after" { - 0% { - height: 100%; - } - 18.5% { - height: 100%; - } - 20.5% { - height: 0%; - } -} -@-webkit-keyframes "circuit-top-after" { - 0% { - height: 100%; - } - 18.5% { - height: 100%; - } - 20.5% { - height: 0%; - } -} -@keyframes "circuit-top-after" { - 0% { - height: 100%; - } - 18.5% { - height: 100%; - } - 20.5% { - height: 0%; - } -} -#circuit-top { - width: 40px; - height: 80px; - top: 100px; - left: 70px; - -webkit-animation: circuit-top 8s linear; - animation: circuit-top 8s linear; -} -#circuit-top::before { - -webkit-animation: circuit-top-before 8s linear; - animation: circuit-top-before 8s linear; -} -#circuit-top::after { - -webkit-animation: circuit-top-after 8s linear; - animation: circuit-top-after 8s linear; -} -@-moz-keyframes transistors { - 0% { - opacity: 0; - box-shadow: none; - } - 17% { - opacity: 0; - box-shadow: 16px 0 transparent; - } - 19% { - opacity: 1; - box-shadow: 16px 0, 32px 0 transparent; - } - 21% { - box-shadow: 16px 0, 32px 0, 48px 0 transparent; - } - 23% { - box-shadow: 16px 0, 32px 0, 48px 0; - } -} -@-webkit-keyframes transistors { - 0% { - opacity: 0; - box-shadow: none; - } - 17% { - opacity: 0; - box-shadow: 16px 0 transparent; - } - 19% { - opacity: 1; - box-shadow: 16px 0, 32px 0 transparent; - } - 21% { - box-shadow: 16px 0, 32px 0, 48px 0 transparent; - } - 23% { - box-shadow: 16px 0, 32px 0, 48px 0; - } -} -@keyframes transistors { - 0% { - opacity: 0; - box-shadow: none; - } - 17% { - opacity: 0; - box-shadow: 16px 0 transparent; - } - 19% { - opacity: 1; - box-shadow: 16px 0, 32px 0 transparent; - } - 21% { - box-shadow: 16px 0, 32px 0, 48px 0 transparent; - } - 23% { - box-shadow: 16px 0, 32px 0, 48px 0; - } -} -#transistors { - z-index: 4; - position: absolute; - top: 310px; - left: 50px; - width: 8px; - height: 8px; - border-radius: 50%; - background-color: #303030; - box-shadow: 16px 0, 32px 0, 48px 0; - -webkit-animation: transistors 8s linear; - animation: transistors 8s linear; -} -@-moz-keyframes processor { - 0% { - width: 0; - height: 0; - left: 170px; - top: 313px; - } - 12% { - width: 0; - height: 0; - left: 170px; - top: 313px; - } - 14% { - width: 56px; - height: 56px; - left: 142px; - top: 285px; - } -} -@-webkit-keyframes processor { - 0% { - width: 0; - height: 0; - left: 170px; - top: 313px; - } - 12% { - width: 0; - height: 0; - left: 170px; - top: 313px; - } - 14% { - width: 56px; - height: 56px; - left: 142px; - top: 285px; - } -} -@keyframes processor { - 0% { - width: 0; - height: 0; - left: 170px; - top: 313px; - } - 12% { - width: 0; - height: 0; - left: 170px; - top: 313px; - } - 14% { - width: 56px; - height: 56px; - left: 142px; - top: 285px; - } -} -@-moz-keyframes processor-before { - 0% { - width: 0; - } - 16% { - width: 0; - } - 18% { - width: 50px; - } -} -@-webkit-keyframes processor-before { - 0% { - width: 0; - } - 16% { - width: 0; - } - 18% { - width: 50px; - } -} -@keyframes processor-before { - 0% { - width: 0; - } - 16% { - width: 0; - } - 18% { - width: 50px; - } -} -@-moz-keyframes processor-after { - 0% { - width: 0; - } - 18% { - width: 0; - } - 20% { - width: 50px; - } -} -@-webkit-keyframes processor-after { - 0% { - width: 0; - } - 18% { - width: 0; - } - 20% { - width: 50px; - } -} -@keyframes processor-after { - 0% { - width: 0; - } - 18% { - width: 0; - } - 20% { - width: 50px; - } -} -#processor { - position: absolute; - width: 56px; - height: 56px; - top: 285px; - left: 142px; - z-index: 4; - background-color: #222222; - color: #ffffff; - font-size: 15px; - letter-spacing: 3px; - font-weight: 700; - font-family: 'Oxygen', Helvetica, arial, sans-serif; - -webkit-animation: processor 8s linear; - animation: processor 8s linear; -} -#processor::before { - content: "llllll"; - position: absolute; - width: 50px; - overflow: hidden; - text-shadow: -1px 0 0 #808080; - -webkit-transform: rotateZ(-90deg); - transform: rotateZ(-90deg); - -webkit-transform-origin: 0 0; - transform-origin: 0 0; - left: 48px; - bottom: -9px; - -webkit-animation: processor-before 8s linear; - animation: processor-before 8s linear; -} -#processor::after { - content: "llllll"; - position: absolute; - width: 50px; - overflow: hidden; - text-shadow: -1px 0 0 #808080; - -webkit-transform: rotateZ(90deg) rotateY(180deg); - transform: rotateZ(90deg) rotateY(180deg); - -webkit-transform-origin: 0 0; - transform-origin: 0 0; - left: 7px; - top: 50px; - -webkit-animation: processor-after 8s linear; - animation: processor-after 8s linear; -} -@-moz-keyframes component { - 0% { - width: 0; - height: 0; - left: 251px; - top: 310.5px; - } - 20.5% { - width: 0; - height: 0; - left: 251px; - top: 310.5px; - } - 23.5% { - width: 14px; - height: 55px; - left: 244px; - top: 283px; - } - 24.5% { - left: 244px; - top: 283px; - } - 28% { - left: 228px; - top: 283px; - } -} -@-webkit-keyframes component { - 0% { - width: 0; - height: 0; - left: 251px; - top: 310.5px; - } - 20.5% { - width: 0; - height: 0; - left: 251px; - top: 310.5px; - } - 23.5% { - width: 14px; - height: 55px; - left: 244px; - top: 283px; - } - 24.5% { - left: 244px; - top: 283px; - } - 28% { - left: 228px; - top: 283px; - } -} -@keyframes component { - 0% { - width: 0; - height: 0; - left: 251px; - top: 310.5px; - } - 20.5% { - width: 0; - height: 0; - left: 251px; - top: 310.5px; - } - 23.5% { - width: 14px; - height: 55px; - left: 244px; - top: 283px; - } - 24.5% { - left: 244px; - top: 283px; - } - 28% { - left: 228px; - top: 283px; - } -} -#component { - z-index: 4; - position: absolute; - top: 283px; - left: 228px; - background-color: #222222; - border-left: 2px #808080 dotted; - border-top-right-radius: 3px; - border-bottom-right-radius: 3px; - width: 14px; - height: 55px; - -webkit-animation: component 8s linear; - animation: component 8s linear; -} -@-moz-keyframes controller { - 0% { - width: 0; - height: 110px; - left: 170px; - top: 390px; - } - 12% { - width: 0; - left: 170px; - } - 16% { - width: 204px; - left: 68px; - } -} -@-webkit-keyframes controller { - 0% { - width: 0; - height: 110px; - left: 170px; - top: 390px; - } - 12% { - width: 0; - left: 170px; - } - 16% { - width: 204px; - left: 68px; - } -} -@keyframes controller { - 0% { - width: 0; - height: 110px; - left: 170px; - top: 390px; - } - 12% { - width: 0; - left: 170px; - } - 16% { - width: 204px; - left: 68px; - } -} -@-moz-keyframes controller-before { - 0% { - width: 0; - height: 0; - left: -9px; - bottom: 28px; - } - 18% { - width: 0; - height: 0; - left: -9px; - bottom: 28px; - } - 21.5% { - width: 18px; - height: 6px; - left: -18px; - bottom: 25px; - } -} -@-webkit-keyframes controller-before { - 0% { - width: 0; - height: 0; - left: -9px; - bottom: 28px; - } - 18% { - width: 0; - height: 0; - left: -9px; - bottom: 28px; - } - 21.5% { - width: 18px; - height: 6px; - left: -18px; - bottom: 25px; - } -} -@keyframes controller-before { - 0% { - width: 0; - height: 0; - left: -9px; - bottom: 28px; - } - 18% { - width: 0; - height: 0; - left: -9px; - bottom: 28px; - } - 21.5% { - width: 18px; - height: 6px; - left: -18px; - bottom: 25px; - } -} -@-moz-keyframes controller-after { - 0% { - width: 0; - height: 0; - left: 102px; - bottom: 0; - } - 20% { - width: 0; - height: 0; - left: 102px; - bottom: 0; - } - 22.5% { - width: 114px; - height: 24px; - left: 45px; - bottom: -24px; - } -} -@-webkit-keyframes controller-after { - 0% { - width: 0; - height: 0; - left: 102px; - bottom: 0; - } - 20% { - width: 0; - height: 0; - left: 102px; - bottom: 0; - } - 22.5% { - width: 114px; - height: 24px; - left: 45px; - bottom: -24px; - } -} -@keyframes controller-after { - 0% { - width: 0; - height: 0; - left: 102px; - bottom: 0; - } - 20% { - width: 0; - height: 0; - left: 102px; - bottom: 0; - } - 22.5% { - width: 114px; - height: 24px; - left: 45px; - bottom: -24px; - } -} -#controller { - position: absolute; - z-index: 4; - width: 204px; - height: 110px; - top: 390px; - left: 68px; - background-color: #9d9d9d; - -webkit-animation: controller 8s linear; - animation: controller 8s linear; -} -#controller::before { - content: ""; - position: absolute; - background-color: #222222; - width: 18px; - height: 6px; - left: -18px; - bottom: 25px; - -webkit-animation: controller-before 8s linear; - animation: controller-before 8s linear; -} -#controller::after { - content: ""; - position: absolute; - width: 114px; - height: 24px; - bottom: -24px; - left: 45px; - background-color: #303030; - -webkit-animation: controller-after 8s linear; - animation: controller-after 8s linear; -} -@-moz-keyframes speaker { - 0% { - width: 0; - height: 0; - bottom: 90px; - right: 60px; - } - 12% { - width: 0; - height: 0; - bottom: 90px; - right: 60px; - } - 15.5% { - width: 80px; - height: 80px; - bottom: 50px; - right: 20px; - } - 19.5% { - bottom: 50px; - } - 26% { - bottom: 24px; - } -} -@-webkit-keyframes speaker { - 0% { - width: 0; - height: 0; - bottom: 90px; - right: 60px; - } - 12% { - width: 0; - height: 0; - bottom: 90px; - right: 60px; - } - 15.5% { - width: 80px; - height: 80px; - bottom: 50px; - right: 20px; - } - 19.5% { - bottom: 50px; - } - 26% { - bottom: 24px; - } -} -@keyframes speaker { - 0% { - width: 0; - height: 0; - bottom: 90px; - right: 60px; - } - 12% { - width: 0; - height: 0; - bottom: 90px; - right: 60px; - } - 15.5% { - width: 80px; - height: 80px; - bottom: 50px; - right: 20px; - } - 19.5% { - bottom: 50px; - } - 26% { - bottom: 24px; - } -} -#speaker { - position: absolute; - z-index: 5; - width: 80px; - height: 80px; - right: 20px; - bottom: 24px; - border-radius: 100%; - background-color: #222222; - -webkit-animation: speaker 8s linear; - animation: speaker 8s linear; -} -#speaker::after { - content: ""; - position: absolute; - z-index: 6; - width: 42%; - height: 42%; - left: 50%; - margin-left: -21%; - top: 50%; - margin-top: -21%; - border-radius: 100%; - background-color: #808080; -} -@-moz-keyframes whitescreen { - 0% { - width: 0; - height: 0; - left: 170px; - top: 105px; - border: 0px; - } - 22% { - width: 0; - height: 0; - left: 170px; - top: 105px; - } - 26% { - width: 178px; - height: 160px; - left: 81px; - top: 60px; - border: 0px transparent; - } - 28% { - width: 188px; - height: 170px; - border: 5px #808080 solid; - left: 76px; - top: 55px; - } -} -@-webkit-keyframes whitescreen { - 0% { - width: 0; - height: 0; - left: 170px; - top: 105px; - border: 0px; - } - 22% { - width: 0; - height: 0; - left: 170px; - top: 105px; - } - 26% { - width: 178px; - height: 160px; - left: 81px; - top: 60px; - border: 0px transparent; - } - 28% { - width: 188px; - height: 170px; - border: 5px #808080 solid; - left: 76px; - top: 55px; - } -} -@keyframes whitescreen { - 0% { - width: 0; - height: 0; - left: 170px; - top: 105px; - border: 0px; - } - 22% { - width: 0; - height: 0; - left: 170px; - top: 105px; - } - 26% { - width: 178px; - height: 160px; - left: 81px; - top: 60px; - border: 0px transparent; - } - 28% { - width: 188px; - height: 170px; - border: 5px #808080 solid; - left: 76px; - top: 55px; - } -} -#whitescreen { - position: absolute; - z-index: 6; - width: 188px; - height: 170px; - top: 55px; - left: 76px; - background-color: #ffffff; - border: 5px #808080 solid; - -webkit-animation: whitescreen 8s linear; - animation: whitescreen 8s linear; -} -@-moz-keyframes screen { - 0% { - width: 0; - height: 0; - bottom: 389px; - left: 170px; - border-radius: 0; - } - 16% { - width: 0; - height: 0; - bottom: 389px; - left: 170px; - border-radius: 0; - } - 19.5% { - width: 36px; - height: 34px; - left: 152px; - bottom: 372px; - border-radius: 0; - } - 23.5% { - bottom: 278px; - height: 34px; - border-radius: 0 0 25% 25% / 0 0 10px 10px; - } - 27.5% { - height: 263px; - width: 36px; - left: 152px; - border-radius: 0 0 50% 50% / 0 0 20px 20px; - } - 32.5% { - width: 294px; - left: 23px; - border-radius: 10px 10px 50% 50% / 10px 10px 20px 20px; - } -} -@-webkit-keyframes screen { - 0% { - width: 0; - height: 0; - bottom: 389px; - left: 170px; - border-radius: 0; - } - 16% { - width: 0; - height: 0; - bottom: 389px; - left: 170px; - border-radius: 0; - } - 19.5% { - width: 36px; - height: 34px; - left: 152px; - bottom: 372px; - border-radius: 0; - } - 23.5% { - bottom: 278px; - height: 34px; - border-radius: 0 0 25% 25% / 0 0 10px 10px; - } - 27.5% { - height: 263px; - width: 36px; - left: 152px; - border-radius: 0 0 50% 50% / 0 0 20px 20px; - } - 32.5% { - width: 294px; - left: 23px; - border-radius: 10px 10px 50% 50% / 10px 10px 20px 20px; - } -} -@keyframes screen { - 0% { - width: 0; - height: 0; - bottom: 389px; - left: 170px; - border-radius: 0; - } - 16% { - width: 0; - height: 0; - bottom: 389px; - left: 170px; - border-radius: 0; - } - 19.5% { - width: 36px; - height: 34px; - left: 152px; - bottom: 372px; - border-radius: 0; - } - 23.5% { - bottom: 278px; - height: 34px; - border-radius: 0 0 25% 25% / 0 0 10px 10px; - } - 27.5% { - height: 263px; - width: 36px; - left: 152px; - border-radius: 0 0 50% 50% / 0 0 20px 20px; - } - 32.5% { - width: 294px; - left: 23px; - border-radius: 10px 10px 50% 50% / 10px 10px 20px 20px; - } -} -#glass { - position: absolute; - z-index: 14; - width: 294px; - height: 263px; - left: 23px; - bottom: 278px; - border-radius: 10px 10px 50% 50% / 10px 10px 20px 20px; - background-color: #222222; - -webkit-animation: screen 8s linear; - animation: screen 8s linear; -} -@-moz-keyframes glass-gameboy-text { - 0% { - width: 0; - } - 38% { - width: 0; - } - 42% { - width: 95px; - } -} -@-webkit-keyframes glass-gameboy-text { - 0% { - width: 0; - } - 38% { - width: 0; - } - 42% { - width: 95px; - } -} -@keyframes glass-gameboy-text { - 0% { - width: 0; - } - 38% { - width: 0; - } - 42% { - width: 95px; - } -} -#glass-gameboy-text { - position: absolute; - z-index: 15; - top: 242px; - left: 90px; - width: 95px; - color: #b0b0b0; - overflow: hidden; - font-size: 22px; - font-weight: 400; - font-style: italic; - font-family: 'Asap', sans-serif; - letter-spacing: -2px; - white-space: nowrap; - -webkit-transform: skew(-5deg); - transform: skew(-5deg); - -webkit-animation: glass-gameboy-text 8s linear; - animation: glass-gameboy-text 8s linear; -} -@-moz-keyframes glass-color-text { - 0% { - color: transparent; - } - 42% { - color: transparent; - } - 42.5% { - color: #ff0151; - } -} -@-webkit-keyframes glass-color-text { - 0% { - color: transparent; - } - 42% { - color: transparent; - } - 42.5% { - color: #ff0151; - } -} -@keyframes glass-color-text { - 0% { - color: transparent; - } - 42% { - color: transparent; - } - 42.5% { - color: #ff0151; - } -} -@-moz-keyframes glass-color-text-before { - 0% { - color: transparent; - border-color: transparent; - } - 42.5% { - border-color: transparent; - } - 43% { - color: transparent; - border-color: #5151dd; - } - 43.5% { - color: #85e367; - } -} -@-webkit-keyframes glass-color-text-before { - 0% { - color: transparent; - border-color: transparent; - } - 42.5% { - border-color: transparent; - } - 43% { - color: transparent; - border-color: #5151dd; - } - 43.5% { - color: #85e367; - } -} -@keyframes glass-color-text-before { - 0% { - color: transparent; - border-color: transparent; - } - 42.5% { - border-color: transparent; - } - 43% { - color: transparent; - border-color: #5151dd; - } - 43.5% { - color: #85e367; - } -} -@-moz-keyframes glass-color-text-after { - 0% { - color: transparent; - border-color: transparent; - } - 43.5% { - border-color: transparent; - } - 44% { - color: transparent; - border-color: #f9e52e; - } - 44.5% { - color: #01b4dd; - } -} -@-webkit-keyframes glass-color-text-after { - 0% { - color: transparent; - border-color: transparent; - } - 43.5% { - border-color: transparent; - } - 44% { - color: transparent; - border-color: #f9e52e; - } - 44.5% { - color: #01b4dd; - } -} -@keyframes glass-color-text-after { - 0% { - color: transparent; - border-color: transparent; - } - 43.5% { - border-color: transparent; - } - 44% { - color: transparent; - border-color: #f9e52e; - } - 44.5% { - color: #01b4dd; - } -} -#glass-color-text { - z-index: 15; - color: #ff0151; - position: absolute; - top: 242px; - left: 186px; - font-family: 'Comic Sans', 'Comic Sans MS', 'ChalkboardSE-Bold', sans-serif, cursive; - font-size: 23px; - letter-spacing: -2px; - font-weight: 700; - -webkit-animation: glass-color-text 8s linear; - animation: glass-color-text 8s linear; -} -#glass-color-text::before { - content: "L"; - position: absolute; - left: 12px; - top: 5px; - line-height: 5px; - text-indent: 10px; - color: #85e367; - border: 4px #5151dd solid; - border-radius: 50%; - width: 7px; - height: 7px; - -webkit-animation: glass-color-text-before 8s linear; - animation: glass-color-text-before 8s linear; -} -#glass-color-text::after { - content: "R"; - position: absolute; - left: 36px; - top: 5px; - line-height: 5px; - text-indent: 10px; - color: #01b4dd; - border: 4px #f9e52e solid; - border-radius: 50%; - width: 7px; - height: 7px; - -webkit-animation: glass-color-text-after 8s linear; - animation: glass-color-text-after 8s linear; -} -@-moz-keyframes glass { - 0% { - width: 0; - height: 0; - top: 86px; - left: 170px; - } - 28% { - width: 0; - height: 0; - top: 86px; - left: 170px; - } - 30% { - width: 36px; - height: 32px; - top: 70px; - left: 152px; - } - 34% { - top: 130px; - width: 36px; - left: 152px; - } - 37% { - width: 180px; - left: 80px; - height: 32px; - top: 130px; - } - 40% { - height: 160px; - top: 60px; - } -} -@-webkit-keyframes glass { - 0% { - width: 0; - height: 0; - top: 86px; - left: 170px; - } - 28% { - width: 0; - height: 0; - top: 86px; - left: 170px; - } - 30% { - width: 36px; - height: 32px; - top: 70px; - left: 152px; - } - 34% { - top: 130px; - width: 36px; - left: 152px; - } - 37% { - width: 180px; - left: 80px; - height: 32px; - top: 130px; - } - 40% { - height: 160px; - top: 60px; - } -} -@keyframes glass { - 0% { - width: 0; - height: 0; - top: 86px; - left: 170px; - } - 28% { - width: 0; - height: 0; - top: 86px; - left: 170px; - } - 30% { - width: 36px; - height: 32px; - top: 70px; - left: 152px; - } - 34% { - top: 130px; - width: 36px; - left: 152px; - } - 37% { - width: 180px; - left: 80px; - height: 32px; - top: 130px; - } - 40% { - height: 160px; - top: 60px; - } -} -#screen { - position: absolute; - z-index: 15; - width: 180px; - height: 160px; - left: 80px; - top: 60px; - background-color: #f0f0f0; - -webkit-animation: glass 8s linear; - animation: glass 8s linear; -} -@-moz-keyframes screen-gameboy-text { - 0% { - color: #f9e52e; - background-position: -120px; - opacity: 0; - } - 63.9% { - opacity: 0; - } - 64% { - color: #f9e52e; - background-position: -120px; - opacity: 1; - } - 66.5% { - color: #f9e52e; - } - 67% { - color: #ff0151; - } - 69.5% { - color: #ff0151; - } - 70% { - color: #ff52e8; - } - 72.5% { - color: #ff52e8; - } - 73% { - color: #85e367; - } - 75.5% { - color: #85e367; - } - 76% { - color: #3232fc; - } - 78% { - background-position: 130px; - } - 87% { - opacity: 1; - } - 92% { - opacity: 0; - } -} -@-webkit-keyframes screen-gameboy-text { - 0% { - color: #f9e52e; - background-position: -120px; - opacity: 0; - } - 63.9% { - opacity: 0; - } - 64% { - color: #f9e52e; - background-position: -120px; - opacity: 1; - } - 66.5% { - color: #f9e52e; - } - 67% { - color: #ff0151; - } - 69.5% { - color: #ff0151; - } - 70% { - color: #ff52e8; - } - 72.5% { - color: #ff52e8; - } - 73% { - color: #85e367; - } - 75.5% { - color: #85e367; - } - 76% { - color: #3232fc; - } - 78% { - background-position: 130px; - } - 87% { - opacity: 1; - } - 92% { - opacity: 0; - } -} -@keyframes screen-gameboy-text { - 0% { - color: #f9e52e; - background-position: -120px; - opacity: 0; - } - 63.9% { - opacity: 0; - } - 64% { - color: #f9e52e; - background-position: -120px; - opacity: 1; - } - 66.5% { - color: #f9e52e; - } - 67% { - color: #ff0151; - } - 69.5% { - color: #ff0151; - } - 70% { - color: #ff52e8; - } - 72.5% { - color: #ff52e8; - } - 73% { - color: #85e367; - } - 75.5% { - color: #85e367; - } - 76% { - color: #3232fc; - } - 78% { - background-position: 130px; - } - 87% { - opacity: 1; - } - 92% { - opacity: 0; - } -} -#screen-gameboy-text { - position: absolute; - font-family: 'Asap', sans-serif; - font-size: 32px; - font-weight: 700; - font-style: italic; - letter-spacing: -2px; - text-align: center; - opacity: 0; - width: 500px; - left: -80px; - top: 106px; - -webkit-transform: skew(-5deg); - transform: skew(-5deg); - overflow: hidden; - white-space: nowrap; - z-index: 16; - color: #3232fc; - background: -webkit-linear-gradient(0deg, #3232fc 40%, #85e367 40%, #85e367 45%, #ff52e8 45%, #ff52e8 50%, #ff0151 50%, #ff0151 55%, #f9e52e 55%, #f9e52e 60%, #f0f0f0 60%); - background-position: 130px; - -webkit-background-clip: text; - -webkit-text-fill-color: transparent; - -webkit-animation: screen-gameboy-text 8s linear; - animation: screen-gameboy-text 8s linear; -} -@-moz-keyframes screen-nintendo-text { - 0% { - opacity: 0; - } - 56% { - opacity: 0; - } - 57% { - opacity: 1; - } - 87% { - opacity: 1; - } - 92% { - opacity: 0; - } -} -@-webkit-keyframes screen-nintendo-text { - 0% { - opacity: 0; - } - 56% { - opacity: 0; - } - 57% { - opacity: 1; - } - 87% { - opacity: 1; - } - 92% { - opacity: 0; - } -} -@keyframes screen-nintendo-text { - 0% { - opacity: 0; - } - 56% { - opacity: 0; - } - 57% { - opacity: 1; - } - 87% { - opacity: 1; - } - 92% { - opacity: 0; - } -} -#screen-nintendo-text { - z-index: 16; - position: absolute; - opacity: 0; - top: 167px; - left: 138px; - font-family: Arial Black, sans-serif; - font-weight: 700; - font-size: 13px; - -webkit-animation: screen-nintendo-text 8s linear; - animation: screen-nintendo-text 8s linear; -} -@-moz-keyframes joystick-pad { - 0% { - width: 0; - height: 0; - left: 66px; - bottom: 185px; - border: 0 transparent solid; - box-shadow: 0 0; - } - 14% { - width: 0; - height: 0; - left: 66px; - bottom: 185px; - } - 18% { - width: 110px; - height: 110px; - left: 11px; - bottom: 130px; - } - 18.5% { - border: 0 transparent solid; - } - 20% { - box-shadow: 0 0; - } - 20.5% { - border: 5px #808080 solid; - } - 21.5% { - border-width: 5px; - box-shadow: 2px 4px; - } - 22% { - border-width: 4px; - box-shadow: 2px 3px; - } -} -@-webkit-keyframes joystick-pad { - 0% { - width: 0; - height: 0; - left: 66px; - bottom: 185px; - border: 0 transparent solid; - box-shadow: 0 0; - } - 14% { - width: 0; - height: 0; - left: 66px; - bottom: 185px; - } - 18% { - width: 110px; - height: 110px; - left: 11px; - bottom: 130px; - } - 18.5% { - border: 0 transparent solid; - } - 20% { - box-shadow: 0 0; - } - 20.5% { - border: 5px #808080 solid; - } - 21.5% { - border-width: 5px; - box-shadow: 2px 4px; - } - 22% { - border-width: 4px; - box-shadow: 2px 3px; - } -} -@keyframes joystick-pad { - 0% { - width: 0; - height: 0; - left: 66px; - bottom: 185px; - border: 0 transparent solid; - box-shadow: 0 0; - } - 14% { - width: 0; - height: 0; - left: 66px; - bottom: 185px; - } - 18% { - width: 110px; - height: 110px; - left: 11px; - bottom: 130px; - } - 18.5% { - border: 0 transparent solid; - } - 20% { - box-shadow: 0 0; - } - 20.5% { - border: 5px #808080 solid; - } - 21.5% { - border-width: 5px; - box-shadow: 2px 4px; - } - 22% { - border-width: 4px; - box-shadow: 2px 3px; - } -} -#joystick-pad { - position: absolute; - z-index: 5; - width: 110px; - height: 110px; - border-radius: 100%; - border: 4px #808080 solid; - box-shadow: 2px 3px; - background-color: #f0f0f0; - left: 11px; - bottom: 130px; - -webkit-animation: joystick-pad 8s linear; - animation: joystick-pad 8s linear; -} -@-moz-keyframes joystick { - 0% { - color: transparent; - font-size: 12px; - line-height: 101px; - text-indent: 54px; - } - 18% { - font-size: 12px; - line-height: 101px; - text-indent: 54px; - } - 20% { - color: transparent; - } - 23.5% { - color: #222222; - font-size: 102px; - line-height: 44px; - text-indent: 43px; - } -} -@-webkit-keyframes joystick { - 0% { - color: transparent; - font-size: 12px; - line-height: 101px; - text-indent: 54px; - } - 18% { - font-size: 12px; - line-height: 101px; - text-indent: 54px; - } - 20% { - color: transparent; - } - 23.5% { - color: #222222; - font-size: 102px; - line-height: 44px; - text-indent: 43px; - } -} -@keyframes joystick { - 0% { - color: transparent; - font-size: 12px; - line-height: 101px; - text-indent: 54px; - } - 18% { - font-size: 12px; - line-height: 101px; - text-indent: 54px; - } - 20% { - color: transparent; - } - 23.5% { - color: #222222; - font-size: 102px; - line-height: 44px; - text-indent: 43px; - } -} -@-moz-keyframes joystick-control { - 0% { - width: 0; - height: 0; - padding: 0; - padding-top: 5px; - font-size: 0; - line-height: 1px; - color: transparent; - top: 55px; - left: 55px; - } - 18% { - width: 0; - height: 0; - padding: 0; - padding-top: 5px; - font-size: 0; - line-height: 1px; - color: transparent; - top: 55px; - left: 55px; - } - 20% { - color: transparent; - } - 23.5% { - width: 26px; - height: 86px; - padding-left: 5px; - padding-right: 5px; - padding-top: 0; - font-size: 16px; - line-height: 21px; - color: #222222; - top: 12px; - left: 42px; - } -} -@-webkit-keyframes joystick-control { - 0% { - width: 0; - height: 0; - padding: 0; - padding-top: 5px; - font-size: 0; - line-height: 1px; - color: transparent; - top: 55px; - left: 55px; - } - 18% { - width: 0; - height: 0; - padding: 0; - padding-top: 5px; - font-size: 0; - line-height: 1px; - color: transparent; - top: 55px; - left: 55px; - } - 20% { - color: transparent; - } - 23.5% { - width: 26px; - height: 86px; - padding-left: 5px; - padding-right: 5px; - padding-top: 0; - font-size: 16px; - line-height: 21px; - color: #222222; - top: 12px; - left: 42px; - } -} -@keyframes joystick-control { - 0% { - width: 0; - height: 0; - padding: 0; - padding-top: 5px; - font-size: 0; - line-height: 1px; - color: transparent; - top: 55px; - left: 55px; - } - 18% { - width: 0; - height: 0; - padding: 0; - padding-top: 5px; - font-size: 0; - line-height: 1px; - color: transparent; - top: 55px; - left: 55px; - } - 20% { - color: transparent; - } - 23.5% { - width: 26px; - height: 86px; - padding-left: 5px; - padding-right: 5px; - padding-top: 0; - font-size: 16px; - line-height: 21px; - color: #222222; - top: 12px; - left: 42px; - } -} -#joystick { - position: absolute; - z-index: 14; - width: 110px; - height: 110px; - bottom: 130px; - left: 11px; - font-size: 102px; - font-weight: 700; - font-family: 'Oxygen', Helvetica, arial, sans-serif; - line-height: 44px; - text-indent: 43px; - color: #222222; - -webkit-animation: joystick 8s linear; - animation: joystick 8s linear; -} -#joystick::before, -#joystick::after { - position: absolute; - content: "\025B2\03000\03000\025BC"; - box-sizing: border-box; - z-index: -1; - left: 42px; - top: 12px; - text-indent: 0; - width: 26px; - height: 86px; - padding-left: 5px; - padding-right: 5px; - line-height: 21px; - border-radius: 3px; - background-color: #303030; - word-wrap: break-word; - text-align: center; - font-size: 16px; - color: #222222; - -webkit-animation: joystick-control 8s linear; - animation: joystick-control 8s linear; -} -#joystick::after { - -webkit-transform: rotateZ(-90deg); - transform: rotateZ(-90deg); -} -@-moz-keyframes control { - 0% { - width: 0; - height: 0; - border: 0 transparent solid; - box-shadow: 0 0; - right: 86px; - bottom: 186px; - } - 16% { - width: 0; - height: 0; - right: 86px; - bottom: 186px; - -webkit-transform: rotate(18deg); - transform: rotate(18deg); - } - 18.5% { - width: 122px; - height: 52px; - right: 25px; - bottom: 160px; - -webkit-transform: rotate(-18deg); - transform: rotate(-18deg); - } - 20% { - border: 0 #808080 solid; - } - 22% { - border-width: 6px; - box-shadow: 0 0; - } - 24% { - border-width: 4px; - box-shadow: 0 4px; - } - 26% { - box-shadow: 0 3px; - } - 100% { - -webkit-transform: rotate(-18deg); - transform: rotate(-18deg); - } -} -@-webkit-keyframes control { - 0% { - width: 0; - height: 0; - border: 0 transparent solid; - box-shadow: 0 0; - right: 86px; - bottom: 186px; - } - 16% { - width: 0; - height: 0; - right: 86px; - bottom: 186px; - -webkit-transform: rotate(18deg); - transform: rotate(18deg); - } - 18.5% { - width: 122px; - height: 52px; - right: 25px; - bottom: 160px; - -webkit-transform: rotate(-18deg); - transform: rotate(-18deg); - } - 20% { - border: 0 #808080 solid; - } - 22% { - border-width: 6px; - box-shadow: 0 0; - } - 24% { - border-width: 4px; - box-shadow: 0 4px; - } - 26% { - box-shadow: 0 3px; - } - 100% { - -webkit-transform: rotate(-18deg); - transform: rotate(-18deg); - } -} -@keyframes control { - 0% { - width: 0; - height: 0; - border: 0 transparent solid; - box-shadow: 0 0; - right: 86px; - bottom: 186px; - } - 16% { - width: 0; - height: 0; - right: 86px; - bottom: 186px; - -webkit-transform: rotate(18deg); - transform: rotate(18deg); - } - 18.5% { - width: 122px; - height: 52px; - right: 25px; - bottom: 160px; - -webkit-transform: rotate(-18deg); - transform: rotate(-18deg); - } - 20% { - border: 0 #808080 solid; - } - 22% { - border-width: 6px; - box-shadow: 0 0; - } - 24% { - border-width: 4px; - box-shadow: 0 4px; - } - 26% { - box-shadow: 0 3px; - } - 100% { - -webkit-transform: rotate(-18deg); - transform: rotate(-18deg); - } -} -#control { - position: absolute; - z-index: 5; - background-color: #f0f0f0; - width: 122px; - height: 52px; - bottom: 160px; - right: 25px; - border-radius: 20% / 50%; - border: 4px #808080 solid; - box-shadow: 0 3px; - -webkit-transform: rotate(-18deg); - transform: rotate(-18deg); - -webkit-animation: control 8s linear; - animation: control 8s linear; -} -.control-button { - position: absolute; - z-index: 14; - width: 40px; - height: 40px; - background-color: #303030; - border-radius: 100%; - color: transparent; - text-shadow: 0 0 1px #222222; - line-height: 38px; - text-align: center; - font-size: 25px; - font-weight: 300; - font-family: 'Oxygen', Helvetica, arial, sans-serif; -} -@-moz-keyframes control-b { - 0% { - width: 0; - height: 0; - right: 117px; - bottom: 176px; - font-size: 0; - } - 18.5% { - width: 0; - height: 0; - right: 117px; - bottom: 176px; - } - 20% { - font-size: 0; - } - 21% { - width: 40px; - height: 40px; - right: 97px; - bottom: 156px; - font-size: 25px; - } -} -@-webkit-keyframes control-b { - 0% { - width: 0; - height: 0; - right: 117px; - bottom: 176px; - font-size: 0; - } - 18.5% { - width: 0; - height: 0; - right: 117px; - bottom: 176px; - } - 20% { - font-size: 0; - } - 21% { - width: 40px; - height: 40px; - right: 97px; - bottom: 156px; - font-size: 25px; - } -} -@keyframes control-b { - 0% { - width: 0; - height: 0; - right: 117px; - bottom: 176px; - font-size: 0; - } - 18.5% { - width: 0; - height: 0; - right: 117px; - bottom: 176px; - } - 20% { - font-size: 0; - } - 21% { - width: 40px; - height: 40px; - right: 97px; - bottom: 156px; - font-size: 25px; - } -} -#control-b { - color: white; - right: 97px; - bottom: 156px; - -webkit-animation: control-b 8s linear; - animation: control-b 8s linear; -} -@-moz-keyframes control-a { - 0% { - width: 0; - height: 0; - right: 54px; - bottom: 196px; - font-size: 0; - } - 20% { - width: 0; - height: 0; - right: 54px; - bottom: 196px; - } - 21.5% { - font-size: 0; - } - 22.5% { - width: 40px; - height: 40px; - right: 34px; - bottom: 176px; - font-size: 25px; - } -} -@-webkit-keyframes control-a { - 0% { - width: 0; - height: 0; - right: 54px; - bottom: 196px; - font-size: 0; - } - 20% { - width: 0; - height: 0; - right: 54px; - bottom: 196px; - } - 21.5% { - font-size: 0; - } - 22.5% { - width: 40px; - height: 40px; - right: 34px; - bottom: 176px; - font-size: 25px; - } -} -@keyframes control-a { - 0% { - width: 0; - height: 0; - right: 54px; - bottom: 196px; - font-size: 0; - } - 20% { - width: 0; - height: 0; - right: 54px; - bottom: 196px; - } - 21.5% { - font-size: 0; - } - 22.5% { - width: 40px; - height: 40px; - right: 34px; - bottom: 176px; - font-size: 25px; - } -} -#control-a { - color: white; - right: 34px; - bottom: 176px; - -webkit-animation: control-a 8s linear; - animation: control-a 8s linear; -} -@-moz-keyframes start-select-box { - 0% { - width: 0; - left: 170px; - } - 18% { - width: 0; - left: 170px; - } - 21.5% { - width: 100px; - left: 120px; - } -} -@-webkit-keyframes start-select-box { - 0% { - width: 0; - left: 170px; - } - 18% { - width: 0; - left: 170px; - } - 21.5% { - width: 100px; - left: 120px; - } -} -@keyframes start-select-box { - 0% { - width: 0; - left: 170px; - } - 18% { - width: 0; - left: 170px; - } - 21.5% { - width: 100px; - left: 120px; - } -} -@-moz-keyframes start-select-pad { - 0% { - width: 0; - height: 0; - left: 21px; - bottom: 8.5px; - box-shadow: 58px 0 #9d9d9d; - } - 22% { - width: 0; - height: 0; - left: 21px; - bottom: 8.5px; - box-shadow: 58px 0 #9d9d9d; - } - 26% { - width: 40px; - height: 13px; - left: 1px; - bottom: 2px; - box-shadow: 58px 0 #9d9d9d; - } - 28.5% { - left: 5px; - box-shadow: 50px 0 #9d9d9d; - } -} -@-webkit-keyframes start-select-pad { - 0% { - width: 0; - height: 0; - left: 21px; - bottom: 8.5px; - box-shadow: 58px 0 #9d9d9d; - } - 22% { - width: 0; - height: 0; - left: 21px; - bottom: 8.5px; - box-shadow: 58px 0 #9d9d9d; - } - 26% { - width: 40px; - height: 13px; - left: 1px; - bottom: 2px; - box-shadow: 58px 0 #9d9d9d; - } - 28.5% { - left: 5px; - box-shadow: 50px 0 #9d9d9d; - } -} -@keyframes start-select-pad { - 0% { - width: 0; - height: 0; - left: 21px; - bottom: 8.5px; - box-shadow: 58px 0 #9d9d9d; - } - 22% { - width: 0; - height: 0; - left: 21px; - bottom: 8.5px; - box-shadow: 58px 0 #9d9d9d; - } - 26% { - width: 40px; - height: 13px; - left: 1px; - bottom: 2px; - box-shadow: 58px 0 #9d9d9d; - } - 28.5% { - left: 5px; - box-shadow: 50px 0 #9d9d9d; - } -} -#start-select-box { - border-top: 4px #808080 solid; - border-bottom: 4px #808080 solid; - position: absolute; - z-index: 5; - width: 100px; - height: 25px; - bottom: 85px; - left: 120px; - background-color: #f0f0f0; - -webkit-animation: start-select-box 8s linear; - animation: start-select-box 8s linear; -} -#start-select-box::before { - content: ""; - position: absolute; - z-index: 6; - bottom: 2px; - width: 40px; - height: 13px; - border-radius: 10px; - background-color: #9d9d9d; - left: 5px; - box-shadow: 50px 0 #9d9d9d; - -webkit-animation: start-select-pad 8s linear; - animation: start-select-pad 8s linear; -} -@-moz-keyframes start-select-button { - 0% { - width: 0; - height: 0; - bottom: 97.5px; - left: 145px; - } - 29.5% { - width: 0; - height: 0; - bottom: 97.5px; - left: 145px; - } - 34% { - width: 32px; - height: 9px; - bottom: 93px; - left: 129px; - } -} -@-webkit-keyframes start-select-button { - 0% { - width: 0; - height: 0; - bottom: 97.5px; - left: 145px; - } - 29.5% { - width: 0; - height: 0; - bottom: 97.5px; - left: 145px; - } - 34% { - width: 32px; - height: 9px; - bottom: 93px; - left: 129px; - } -} -@keyframes start-select-button { - 0% { - width: 0; - height: 0; - bottom: 97.5px; - left: 145px; - } - 29.5% { - width: 0; - height: 0; - bottom: 97.5px; - left: 145px; - } - 34% { - width: 32px; - height: 9px; - bottom: 93px; - left: 129px; - } -} -#start-select-button { - position: absolute; - z-index: 14; - width: 32px; - height: 9px; - bottom: 93px; - left: 129px; - background-color: #303030; - border-radius: 80% / 100%; - box-shadow: 50px 0 #303030; - -webkit-animation: start-select-button 8s linear; - animation: start-select-button 8s linear; -} -#cover-vertical { - position: absolute; - z-index: 12; - width: 34px; - height: 570px; - bottom: 0; -} -@-moz-keyframes cover-vertical-transparent { - 0% { - width: 0; - height: 0; - box-shadow: none; - } - 39% { - width: 34px; - height: 0; - } - 39.90909091% { - height: 285px; - box-shadow: 34px 570px rgba(140, 46, 217, 0.125), 68px 570px rgba(140, 46, 217, 0.125), 102px 570px rgba(140, 46, 217, 0.125), 136px 570px rgba(140, 46, 217, 0.125), 170px 570px rgba(140, 46, 217, 0.125), 204px 570px rgba(140, 46, 217, 0.125), 238px 570px rgba(140, 46, 217, 0.125), 272px 570px rgba(140, 46, 217, 0.125), 306px 570px rgba(140, 46, 217, 0.125); - } - 40.81818182% { - height: 570px; - box-shadow: 34px 285px rgba(140, 46, 217, 0.125), 68px 570px rgba(140, 46, 217, 0.125), 102px 570px rgba(140, 46, 217, 0.125), 136px 570px rgba(140, 46, 217, 0.125), 170px 570px rgba(140, 46, 217, 0.125), 204px 570px rgba(140, 46, 217, 0.125), 238px 570px rgba(140, 46, 217, 0.125), 272px 570px rgba(140, 46, 217, 0.125), 306px 570px rgba(140, 46, 217, 0.125); - } - 41.72727273% { - box-shadow: 34px 0 rgba(140, 46, 217, 0.125), 68px 285px rgba(140, 46, 217, 0.125), 102px 570px rgba(140, 46, 217, 0.125), 136px 570px rgba(140, 46, 217, 0.125), 170px 570px rgba(140, 46, 217, 0.125), 204px 570px rgba(140, 46, 217, 0.125), 238px 570px rgba(140, 46, 217, 0.125), 272px 570px rgba(140, 46, 217, 0.125), 306px 570px rgba(140, 46, 217, 0.125); - } - 42.63636364% { - box-shadow: 34px 0 rgba(140, 46, 217, 0.125), 68px 0 rgba(140, 46, 217, 0.125), 102px 285px rgba(140, 46, 217, 0.125), 136px 570px rgba(140, 46, 217, 0.125), 170px 570px rgba(140, 46, 217, 0.125), 204px 570px rgba(140, 46, 217, 0.125), 238px 570px rgba(140, 46, 217, 0.125), 272px 570px rgba(140, 46, 217, 0.125), 306px 570px rgba(140, 46, 217, 0.125); - } - 43.54545455% { - box-shadow: 34px 0 rgba(140, 46, 217, 0.125), 68px 0 rgba(140, 46, 217, 0.125), 102px 0 rgba(140, 46, 217, 0.125), 136px 285px rgba(140, 46, 217, 0.125), 170px 570px rgba(140, 46, 217, 0.125), 204px 570px rgba(140, 46, 217, 0.125), 238px 570px rgba(140, 46, 217, 0.125), 272px 570px rgba(140, 46, 217, 0.125), 306px 570px rgba(140, 46, 217, 0.125); - } - 44.45454545% { - box-shadow: 34px 0 rgba(140, 46, 217, 0.125), 68px 0 rgba(140, 46, 217, 0.125), 102px 0 rgba(140, 46, 217, 0.125), 136px 0 rgba(140, 46, 217, 0.125), 170px 285px rgba(140, 46, 217, 0.125), 204px 570px rgba(140, 46, 217, 0.125), 238px 570px rgba(140, 46, 217, 0.125), 272px 570px rgba(140, 46, 217, 0.125), 306px 570px rgba(140, 46, 217, 0.125); - } - 45.36363636% { - box-shadow: 34px 0 rgba(140, 46, 217, 0.125), 68px 0 rgba(140, 46, 217, 0.125), 102px 0 rgba(140, 46, 217, 0.125), 136px 0 rgba(140, 46, 217, 0.125), 170px 0 rgba(140, 46, 217, 0.125), 204px 285px rgba(140, 46, 217, 0.125), 238px 570px rgba(140, 46, 217, 0.125), 272px 570px rgba(140, 46, 217, 0.125), 306px 570px rgba(140, 46, 217, 0.125); - } - 46.27272727% { - box-shadow: 34px 0 rgba(140, 46, 217, 0.125), 68px 0 rgba(140, 46, 217, 0.125), 102px 0 rgba(140, 46, 217, 0.125), 136px 0 rgba(140, 46, 217, 0.125), 170px 0 rgba(140, 46, 217, 0.125), 204px 0 rgba(140, 46, 217, 0.125), 238px 285px rgba(140, 46, 217, 0.125), 272px 570px rgba(140, 46, 217, 0.125), 306px 570px rgba(140, 46, 217, 0.125); - } - 47.18181818% { - box-shadow: 34px 0 rgba(140, 46, 217, 0.125), 68px 0 rgba(140, 46, 217, 0.125), 102px 0 rgba(140, 46, 217, 0.125), 136px 0 rgba(140, 46, 217, 0.125), 170px 0 rgba(140, 46, 217, 0.125), 204px 0 rgba(140, 46, 217, 0.125), 238px 0 rgba(140, 46, 217, 0.125), 272px 285px rgba(140, 46, 217, 0.125), 306px 570px rgba(140, 46, 217, 0.125); - } - 48.09090909% { - box-shadow: 34px 0 rgba(140, 46, 217, 0.125), 68px 0 rgba(140, 46, 217, 0.125), 102px 0 rgba(140, 46, 217, 0.125), 136px 0 rgba(140, 46, 217, 0.125), 170px 0 rgba(140, 46, 217, 0.125), 204px 0 rgba(140, 46, 217, 0.125), 238px 0 rgba(140, 46, 217, 0.125), 272px 0 rgba(140, 46, 217, 0.125), 306px 285px rgba(140, 46, 217, 0.125); - } - 49% { - box-shadow: 34px 0 rgba(140, 46, 217, 0.125), 68px 0 rgba(140, 46, 217, 0.125), 102px 0 rgba(140, 46, 217, 0.125), 136px 0 rgba(140, 46, 217, 0.125), 170px 0 rgba(140, 46, 217, 0.125), 204px 0 rgba(140, 46, 217, 0.125), 238px 0 rgba(140, 46, 217, 0.125), 272px 0 rgba(140, 46, 217, 0.125), 306px 0 rgba(140, 46, 217, 0.125); - } -} -@-webkit-keyframes cover-vertical-transparent { - 0% { - width: 0; - height: 0; - box-shadow: none; - } - 39% { - width: 34px; - height: 0; - } - 39.90909091% { - height: 285px; - box-shadow: 34px 570px rgba(140, 46, 217, 0.125), 68px 570px rgba(140, 46, 217, 0.125), 102px 570px rgba(140, 46, 217, 0.125), 136px 570px rgba(140, 46, 217, 0.125), 170px 570px rgba(140, 46, 217, 0.125), 204px 570px rgba(140, 46, 217, 0.125), 238px 570px rgba(140, 46, 217, 0.125), 272px 570px rgba(140, 46, 217, 0.125), 306px 570px rgba(140, 46, 217, 0.125); - } - 40.81818182% { - height: 570px; - box-shadow: 34px 285px rgba(140, 46, 217, 0.125), 68px 570px rgba(140, 46, 217, 0.125), 102px 570px rgba(140, 46, 217, 0.125), 136px 570px rgba(140, 46, 217, 0.125), 170px 570px rgba(140, 46, 217, 0.125), 204px 570px rgba(140, 46, 217, 0.125), 238px 570px rgba(140, 46, 217, 0.125), 272px 570px rgba(140, 46, 217, 0.125), 306px 570px rgba(140, 46, 217, 0.125); - } - 41.72727273% { - box-shadow: 34px 0 rgba(140, 46, 217, 0.125), 68px 285px rgba(140, 46, 217, 0.125), 102px 570px rgba(140, 46, 217, 0.125), 136px 570px rgba(140, 46, 217, 0.125), 170px 570px rgba(140, 46, 217, 0.125), 204px 570px rgba(140, 46, 217, 0.125), 238px 570px rgba(140, 46, 217, 0.125), 272px 570px rgba(140, 46, 217, 0.125), 306px 570px rgba(140, 46, 217, 0.125); - } - 42.63636364% { - box-shadow: 34px 0 rgba(140, 46, 217, 0.125), 68px 0 rgba(140, 46, 217, 0.125), 102px 285px rgba(140, 46, 217, 0.125), 136px 570px rgba(140, 46, 217, 0.125), 170px 570px rgba(140, 46, 217, 0.125), 204px 570px rgba(140, 46, 217, 0.125), 238px 570px rgba(140, 46, 217, 0.125), 272px 570px rgba(140, 46, 217, 0.125), 306px 570px rgba(140, 46, 217, 0.125); - } - 43.54545455% { - box-shadow: 34px 0 rgba(140, 46, 217, 0.125), 68px 0 rgba(140, 46, 217, 0.125), 102px 0 rgba(140, 46, 217, 0.125), 136px 285px rgba(140, 46, 217, 0.125), 170px 570px rgba(140, 46, 217, 0.125), 204px 570px rgba(140, 46, 217, 0.125), 238px 570px rgba(140, 46, 217, 0.125), 272px 570px rgba(140, 46, 217, 0.125), 306px 570px rgba(140, 46, 217, 0.125); - } - 44.45454545% { - box-shadow: 34px 0 rgba(140, 46, 217, 0.125), 68px 0 rgba(140, 46, 217, 0.125), 102px 0 rgba(140, 46, 217, 0.125), 136px 0 rgba(140, 46, 217, 0.125), 170px 285px rgba(140, 46, 217, 0.125), 204px 570px rgba(140, 46, 217, 0.125), 238px 570px rgba(140, 46, 217, 0.125), 272px 570px rgba(140, 46, 217, 0.125), 306px 570px rgba(140, 46, 217, 0.125); - } - 45.36363636% { - box-shadow: 34px 0 rgba(140, 46, 217, 0.125), 68px 0 rgba(140, 46, 217, 0.125), 102px 0 rgba(140, 46, 217, 0.125), 136px 0 rgba(140, 46, 217, 0.125), 170px 0 rgba(140, 46, 217, 0.125), 204px 285px rgba(140, 46, 217, 0.125), 238px 570px rgba(140, 46, 217, 0.125), 272px 570px rgba(140, 46, 217, 0.125), 306px 570px rgba(140, 46, 217, 0.125); - } - 46.27272727% { - box-shadow: 34px 0 rgba(140, 46, 217, 0.125), 68px 0 rgba(140, 46, 217, 0.125), 102px 0 rgba(140, 46, 217, 0.125), 136px 0 rgba(140, 46, 217, 0.125), 170px 0 rgba(140, 46, 217, 0.125), 204px 0 rgba(140, 46, 217, 0.125), 238px 285px rgba(140, 46, 217, 0.125), 272px 570px rgba(140, 46, 217, 0.125), 306px 570px rgba(140, 46, 217, 0.125); - } - 47.18181818% { - box-shadow: 34px 0 rgba(140, 46, 217, 0.125), 68px 0 rgba(140, 46, 217, 0.125), 102px 0 rgba(140, 46, 217, 0.125), 136px 0 rgba(140, 46, 217, 0.125), 170px 0 rgba(140, 46, 217, 0.125), 204px 0 rgba(140, 46, 217, 0.125), 238px 0 rgba(140, 46, 217, 0.125), 272px 285px rgba(140, 46, 217, 0.125), 306px 570px rgba(140, 46, 217, 0.125); - } - 48.09090909% { - box-shadow: 34px 0 rgba(140, 46, 217, 0.125), 68px 0 rgba(140, 46, 217, 0.125), 102px 0 rgba(140, 46, 217, 0.125), 136px 0 rgba(140, 46, 217, 0.125), 170px 0 rgba(140, 46, 217, 0.125), 204px 0 rgba(140, 46, 217, 0.125), 238px 0 rgba(140, 46, 217, 0.125), 272px 0 rgba(140, 46, 217, 0.125), 306px 285px rgba(140, 46, 217, 0.125); - } - 49% { - box-shadow: 34px 0 rgba(140, 46, 217, 0.125), 68px 0 rgba(140, 46, 217, 0.125), 102px 0 rgba(140, 46, 217, 0.125), 136px 0 rgba(140, 46, 217, 0.125), 170px 0 rgba(140, 46, 217, 0.125), 204px 0 rgba(140, 46, 217, 0.125), 238px 0 rgba(140, 46, 217, 0.125), 272px 0 rgba(140, 46, 217, 0.125), 306px 0 rgba(140, 46, 217, 0.125); - } -} -@keyframes cover-vertical-transparent { - 0% { - width: 0; - height: 0; - box-shadow: none; - } - 39% { - width: 34px; - height: 0; - } - 39.90909091% { - height: 285px; - box-shadow: 34px 570px rgba(140, 46, 217, 0.125), 68px 570px rgba(140, 46, 217, 0.125), 102px 570px rgba(140, 46, 217, 0.125), 136px 570px rgba(140, 46, 217, 0.125), 170px 570px rgba(140, 46, 217, 0.125), 204px 570px rgba(140, 46, 217, 0.125), 238px 570px rgba(140, 46, 217, 0.125), 272px 570px rgba(140, 46, 217, 0.125), 306px 570px rgba(140, 46, 217, 0.125); - } - 40.81818182% { - height: 570px; - box-shadow: 34px 285px rgba(140, 46, 217, 0.125), 68px 570px rgba(140, 46, 217, 0.125), 102px 570px rgba(140, 46, 217, 0.125), 136px 570px rgba(140, 46, 217, 0.125), 170px 570px rgba(140, 46, 217, 0.125), 204px 570px rgba(140, 46, 217, 0.125), 238px 570px rgba(140, 46, 217, 0.125), 272px 570px rgba(140, 46, 217, 0.125), 306px 570px rgba(140, 46, 217, 0.125); - } - 41.72727273% { - box-shadow: 34px 0 rgba(140, 46, 217, 0.125), 68px 285px rgba(140, 46, 217, 0.125), 102px 570px rgba(140, 46, 217, 0.125), 136px 570px rgba(140, 46, 217, 0.125), 170px 570px rgba(140, 46, 217, 0.125), 204px 570px rgba(140, 46, 217, 0.125), 238px 570px rgba(140, 46, 217, 0.125), 272px 570px rgba(140, 46, 217, 0.125), 306px 570px rgba(140, 46, 217, 0.125); - } - 42.63636364% { - box-shadow: 34px 0 rgba(140, 46, 217, 0.125), 68px 0 rgba(140, 46, 217, 0.125), 102px 285px rgba(140, 46, 217, 0.125), 136px 570px rgba(140, 46, 217, 0.125), 170px 570px rgba(140, 46, 217, 0.125), 204px 570px rgba(140, 46, 217, 0.125), 238px 570px rgba(140, 46, 217, 0.125), 272px 570px rgba(140, 46, 217, 0.125), 306px 570px rgba(140, 46, 217, 0.125); - } - 43.54545455% { - box-shadow: 34px 0 rgba(140, 46, 217, 0.125), 68px 0 rgba(140, 46, 217, 0.125), 102px 0 rgba(140, 46, 217, 0.125), 136px 285px rgba(140, 46, 217, 0.125), 170px 570px rgba(140, 46, 217, 0.125), 204px 570px rgba(140, 46, 217, 0.125), 238px 570px rgba(140, 46, 217, 0.125), 272px 570px rgba(140, 46, 217, 0.125), 306px 570px rgba(140, 46, 217, 0.125); - } - 44.45454545% { - box-shadow: 34px 0 rgba(140, 46, 217, 0.125), 68px 0 rgba(140, 46, 217, 0.125), 102px 0 rgba(140, 46, 217, 0.125), 136px 0 rgba(140, 46, 217, 0.125), 170px 285px rgba(140, 46, 217, 0.125), 204px 570px rgba(140, 46, 217, 0.125), 238px 570px rgba(140, 46, 217, 0.125), 272px 570px rgba(140, 46, 217, 0.125), 306px 570px rgba(140, 46, 217, 0.125); - } - 45.36363636% { - box-shadow: 34px 0 rgba(140, 46, 217, 0.125), 68px 0 rgba(140, 46, 217, 0.125), 102px 0 rgba(140, 46, 217, 0.125), 136px 0 rgba(140, 46, 217, 0.125), 170px 0 rgba(140, 46, 217, 0.125), 204px 285px rgba(140, 46, 217, 0.125), 238px 570px rgba(140, 46, 217, 0.125), 272px 570px rgba(140, 46, 217, 0.125), 306px 570px rgba(140, 46, 217, 0.125); - } - 46.27272727% { - box-shadow: 34px 0 rgba(140, 46, 217, 0.125), 68px 0 rgba(140, 46, 217, 0.125), 102px 0 rgba(140, 46, 217, 0.125), 136px 0 rgba(140, 46, 217, 0.125), 170px 0 rgba(140, 46, 217, 0.125), 204px 0 rgba(140, 46, 217, 0.125), 238px 285px rgba(140, 46, 217, 0.125), 272px 570px rgba(140, 46, 217, 0.125), 306px 570px rgba(140, 46, 217, 0.125); - } - 47.18181818% { - box-shadow: 34px 0 rgba(140, 46, 217, 0.125), 68px 0 rgba(140, 46, 217, 0.125), 102px 0 rgba(140, 46, 217, 0.125), 136px 0 rgba(140, 46, 217, 0.125), 170px 0 rgba(140, 46, 217, 0.125), 204px 0 rgba(140, 46, 217, 0.125), 238px 0 rgba(140, 46, 217, 0.125), 272px 285px rgba(140, 46, 217, 0.125), 306px 570px rgba(140, 46, 217, 0.125); - } - 48.09090909% { - box-shadow: 34px 0 rgba(140, 46, 217, 0.125), 68px 0 rgba(140, 46, 217, 0.125), 102px 0 rgba(140, 46, 217, 0.125), 136px 0 rgba(140, 46, 217, 0.125), 170px 0 rgba(140, 46, 217, 0.125), 204px 0 rgba(140, 46, 217, 0.125), 238px 0 rgba(140, 46, 217, 0.125), 272px 0 rgba(140, 46, 217, 0.125), 306px 285px rgba(140, 46, 217, 0.125); - } - 49% { - box-shadow: 34px 0 rgba(140, 46, 217, 0.125), 68px 0 rgba(140, 46, 217, 0.125), 102px 0 rgba(140, 46, 217, 0.125), 136px 0 rgba(140, 46, 217, 0.125), 170px 0 rgba(140, 46, 217, 0.125), 204px 0 rgba(140, 46, 217, 0.125), 238px 0 rgba(140, 46, 217, 0.125), 272px 0 rgba(140, 46, 217, 0.125), 306px 0 rgba(140, 46, 217, 0.125); - } -} -#gameboy.transparent #cover-vertical { - background-color: rgba(140, 46, 217, 0.125); - -webkit-animation: cover-vertical-transparent 8s linear; - animation: cover-vertical-transparent 8s linear; - box-shadow: 34px 0 rgba(140, 46, 217, 0.125), 68px 0 rgba(140, 46, 217, 0.125), 102px 0 rgba(140, 46, 217, 0.125), 136px 0 rgba(140, 46, 217, 0.125), 170px 0 rgba(140, 46, 217, 0.125), 204px 0 rgba(140, 46, 217, 0.125), 238px 0 rgba(140, 46, 217, 0.125), 272px 0 rgba(140, 46, 217, 0.125), 306px 0 rgba(140, 46, 217, 0.125); -} -@-moz-keyframes cover-vertical-teal { - 0% { - width: 0; - height: 0; - box-shadow: none; - } - 39% { - width: 34px; - height: 0; - } - 39.90909091% { - height: 285px; - box-shadow: 34px 570px #01b4dd, 68px 570px #01b4dd, 102px 570px #01b4dd, 136px 570px #01b4dd, 170px 570px #01b4dd, 204px 570px #01b4dd, 238px 570px #01b4dd, 272px 570px #01b4dd, 306px 570px #01b4dd; - } - 40.81818182% { - height: 570px; - box-shadow: 34px 285px #01b4dd, 68px 570px #01b4dd, 102px 570px #01b4dd, 136px 570px #01b4dd, 170px 570px #01b4dd, 204px 570px #01b4dd, 238px 570px #01b4dd, 272px 570px #01b4dd, 306px 570px #01b4dd; - } - 41.72727273% { - box-shadow: 34px 0 #01b4dd, 68px 285px #01b4dd, 102px 570px #01b4dd, 136px 570px #01b4dd, 170px 570px #01b4dd, 204px 570px #01b4dd, 238px 570px #01b4dd, 272px 570px #01b4dd, 306px 570px #01b4dd; - } - 42.63636364% { - box-shadow: 34px 0 #01b4dd, 68px 0 #01b4dd, 102px 285px #01b4dd, 136px 570px #01b4dd, 170px 570px #01b4dd, 204px 570px #01b4dd, 238px 570px #01b4dd, 272px 570px #01b4dd, 306px 570px #01b4dd; - } - 43.54545455% { - box-shadow: 34px 0 #01b4dd, 68px 0 #01b4dd, 102px 0 #01b4dd, 136px 285px #01b4dd, 170px 570px #01b4dd, 204px 570px #01b4dd, 238px 570px #01b4dd, 272px 570px #01b4dd, 306px 570px #01b4dd; - } - 44.45454545% { - box-shadow: 34px 0 #01b4dd, 68px 0 #01b4dd, 102px 0 #01b4dd, 136px 0 #01b4dd, 170px 285px #01b4dd, 204px 570px #01b4dd, 238px 570px #01b4dd, 272px 570px #01b4dd, 306px 570px #01b4dd; - } - 45.36363636% { - box-shadow: 34px 0 #01b4dd, 68px 0 #01b4dd, 102px 0 #01b4dd, 136px 0 #01b4dd, 170px 0 #01b4dd, 204px 285px #01b4dd, 238px 570px #01b4dd, 272px 570px #01b4dd, 306px 570px #01b4dd; - } - 46.27272727% { - box-shadow: 34px 0 #01b4dd, 68px 0 #01b4dd, 102px 0 #01b4dd, 136px 0 #01b4dd, 170px 0 #01b4dd, 204px 0 #01b4dd, 238px 285px #01b4dd, 272px 570px #01b4dd, 306px 570px #01b4dd; - } - 47.18181818% { - box-shadow: 34px 0 #01b4dd, 68px 0 #01b4dd, 102px 0 #01b4dd, 136px 0 #01b4dd, 170px 0 #01b4dd, 204px 0 #01b4dd, 238px 0 #01b4dd, 272px 285px #01b4dd, 306px 570px #01b4dd; - } - 48.09090909% { - box-shadow: 34px 0 #01b4dd, 68px 0 #01b4dd, 102px 0 #01b4dd, 136px 0 #01b4dd, 170px 0 #01b4dd, 204px 0 #01b4dd, 238px 0 #01b4dd, 272px 0 #01b4dd, 306px 285px #01b4dd; - } - 49% { - box-shadow: 34px 0 #01b4dd, 68px 0 #01b4dd, 102px 0 #01b4dd, 136px 0 #01b4dd, 170px 0 #01b4dd, 204px 0 #01b4dd, 238px 0 #01b4dd, 272px 0 #01b4dd, 306px 0 #01b4dd; - } -} -@-webkit-keyframes cover-vertical-teal { - 0% { - width: 0; - height: 0; - box-shadow: none; - } - 39% { - width: 34px; - height: 0; - } - 39.90909091% { - height: 285px; - box-shadow: 34px 570px #01b4dd, 68px 570px #01b4dd, 102px 570px #01b4dd, 136px 570px #01b4dd, 170px 570px #01b4dd, 204px 570px #01b4dd, 238px 570px #01b4dd, 272px 570px #01b4dd, 306px 570px #01b4dd; - } - 40.81818182% { - height: 570px; - box-shadow: 34px 285px #01b4dd, 68px 570px #01b4dd, 102px 570px #01b4dd, 136px 570px #01b4dd, 170px 570px #01b4dd, 204px 570px #01b4dd, 238px 570px #01b4dd, 272px 570px #01b4dd, 306px 570px #01b4dd; - } - 41.72727273% { - box-shadow: 34px 0 #01b4dd, 68px 285px #01b4dd, 102px 570px #01b4dd, 136px 570px #01b4dd, 170px 570px #01b4dd, 204px 570px #01b4dd, 238px 570px #01b4dd, 272px 570px #01b4dd, 306px 570px #01b4dd; - } - 42.63636364% { - box-shadow: 34px 0 #01b4dd, 68px 0 #01b4dd, 102px 285px #01b4dd, 136px 570px #01b4dd, 170px 570px #01b4dd, 204px 570px #01b4dd, 238px 570px #01b4dd, 272px 570px #01b4dd, 306px 570px #01b4dd; - } - 43.54545455% { - box-shadow: 34px 0 #01b4dd, 68px 0 #01b4dd, 102px 0 #01b4dd, 136px 285px #01b4dd, 170px 570px #01b4dd, 204px 570px #01b4dd, 238px 570px #01b4dd, 272px 570px #01b4dd, 306px 570px #01b4dd; - } - 44.45454545% { - box-shadow: 34px 0 #01b4dd, 68px 0 #01b4dd, 102px 0 #01b4dd, 136px 0 #01b4dd, 170px 285px #01b4dd, 204px 570px #01b4dd, 238px 570px #01b4dd, 272px 570px #01b4dd, 306px 570px #01b4dd; - } - 45.36363636% { - box-shadow: 34px 0 #01b4dd, 68px 0 #01b4dd, 102px 0 #01b4dd, 136px 0 #01b4dd, 170px 0 #01b4dd, 204px 285px #01b4dd, 238px 570px #01b4dd, 272px 570px #01b4dd, 306px 570px #01b4dd; - } - 46.27272727% { - box-shadow: 34px 0 #01b4dd, 68px 0 #01b4dd, 102px 0 #01b4dd, 136px 0 #01b4dd, 170px 0 #01b4dd, 204px 0 #01b4dd, 238px 285px #01b4dd, 272px 570px #01b4dd, 306px 570px #01b4dd; - } - 47.18181818% { - box-shadow: 34px 0 #01b4dd, 68px 0 #01b4dd, 102px 0 #01b4dd, 136px 0 #01b4dd, 170px 0 #01b4dd, 204px 0 #01b4dd, 238px 0 #01b4dd, 272px 285px #01b4dd, 306px 570px #01b4dd; - } - 48.09090909% { - box-shadow: 34px 0 #01b4dd, 68px 0 #01b4dd, 102px 0 #01b4dd, 136px 0 #01b4dd, 170px 0 #01b4dd, 204px 0 #01b4dd, 238px 0 #01b4dd, 272px 0 #01b4dd, 306px 285px #01b4dd; - } - 49% { - box-shadow: 34px 0 #01b4dd, 68px 0 #01b4dd, 102px 0 #01b4dd, 136px 0 #01b4dd, 170px 0 #01b4dd, 204px 0 #01b4dd, 238px 0 #01b4dd, 272px 0 #01b4dd, 306px 0 #01b4dd; - } -} -@keyframes cover-vertical-teal { - 0% { - width: 0; - height: 0; - box-shadow: none; - } - 39% { - width: 34px; - height: 0; - } - 39.90909091% { - height: 285px; - box-shadow: 34px 570px #01b4dd, 68px 570px #01b4dd, 102px 570px #01b4dd, 136px 570px #01b4dd, 170px 570px #01b4dd, 204px 570px #01b4dd, 238px 570px #01b4dd, 272px 570px #01b4dd, 306px 570px #01b4dd; - } - 40.81818182% { - height: 570px; - box-shadow: 34px 285px #01b4dd, 68px 570px #01b4dd, 102px 570px #01b4dd, 136px 570px #01b4dd, 170px 570px #01b4dd, 204px 570px #01b4dd, 238px 570px #01b4dd, 272px 570px #01b4dd, 306px 570px #01b4dd; - } - 41.72727273% { - box-shadow: 34px 0 #01b4dd, 68px 285px #01b4dd, 102px 570px #01b4dd, 136px 570px #01b4dd, 170px 570px #01b4dd, 204px 570px #01b4dd, 238px 570px #01b4dd, 272px 570px #01b4dd, 306px 570px #01b4dd; - } - 42.63636364% { - box-shadow: 34px 0 #01b4dd, 68px 0 #01b4dd, 102px 285px #01b4dd, 136px 570px #01b4dd, 170px 570px #01b4dd, 204px 570px #01b4dd, 238px 570px #01b4dd, 272px 570px #01b4dd, 306px 570px #01b4dd; - } - 43.54545455% { - box-shadow: 34px 0 #01b4dd, 68px 0 #01b4dd, 102px 0 #01b4dd, 136px 285px #01b4dd, 170px 570px #01b4dd, 204px 570px #01b4dd, 238px 570px #01b4dd, 272px 570px #01b4dd, 306px 570px #01b4dd; - } - 44.45454545% { - box-shadow: 34px 0 #01b4dd, 68px 0 #01b4dd, 102px 0 #01b4dd, 136px 0 #01b4dd, 170px 285px #01b4dd, 204px 570px #01b4dd, 238px 570px #01b4dd, 272px 570px #01b4dd, 306px 570px #01b4dd; - } - 45.36363636% { - box-shadow: 34px 0 #01b4dd, 68px 0 #01b4dd, 102px 0 #01b4dd, 136px 0 #01b4dd, 170px 0 #01b4dd, 204px 285px #01b4dd, 238px 570px #01b4dd, 272px 570px #01b4dd, 306px 570px #01b4dd; - } - 46.27272727% { - box-shadow: 34px 0 #01b4dd, 68px 0 #01b4dd, 102px 0 #01b4dd, 136px 0 #01b4dd, 170px 0 #01b4dd, 204px 0 #01b4dd, 238px 285px #01b4dd, 272px 570px #01b4dd, 306px 570px #01b4dd; - } - 47.18181818% { - box-shadow: 34px 0 #01b4dd, 68px 0 #01b4dd, 102px 0 #01b4dd, 136px 0 #01b4dd, 170px 0 #01b4dd, 204px 0 #01b4dd, 238px 0 #01b4dd, 272px 285px #01b4dd, 306px 570px #01b4dd; - } - 48.09090909% { - box-shadow: 34px 0 #01b4dd, 68px 0 #01b4dd, 102px 0 #01b4dd, 136px 0 #01b4dd, 170px 0 #01b4dd, 204px 0 #01b4dd, 238px 0 #01b4dd, 272px 0 #01b4dd, 306px 285px #01b4dd; - } - 49% { - box-shadow: 34px 0 #01b4dd, 68px 0 #01b4dd, 102px 0 #01b4dd, 136px 0 #01b4dd, 170px 0 #01b4dd, 204px 0 #01b4dd, 238px 0 #01b4dd, 272px 0 #01b4dd, 306px 0 #01b4dd; - } -} -#gameboy.teal #cover-vertical { - background-color: #01b4dd; - -webkit-animation: cover-vertical-teal 8s linear; - animation: cover-vertical-teal 8s linear; - box-shadow: 34px 0 #01b4dd, 68px 0 #01b4dd, 102px 0 #01b4dd, 136px 0 #01b4dd, 170px 0 #01b4dd, 204px 0 #01b4dd, 238px 0 #01b4dd, 272px 0 #01b4dd, 306px 0 #01b4dd; -} -@-moz-keyframes cover-vertical-yellow { - 0% { - width: 0; - height: 0; - box-shadow: none; - } - 39% { - width: 34px; - height: 0; - } - 39.90909091% { - height: 285px; - box-shadow: 34px 570px #f9e52e, 68px 570px #f9e52e, 102px 570px #f9e52e, 136px 570px #f9e52e, 170px 570px #f9e52e, 204px 570px #f9e52e, 238px 570px #f9e52e, 272px 570px #f9e52e, 306px 570px #f9e52e; - } - 40.81818182% { - height: 570px; - box-shadow: 34px 285px #f9e52e, 68px 570px #f9e52e, 102px 570px #f9e52e, 136px 570px #f9e52e, 170px 570px #f9e52e, 204px 570px #f9e52e, 238px 570px #f9e52e, 272px 570px #f9e52e, 306px 570px #f9e52e; - } - 41.72727273% { - box-shadow: 34px 0 #f9e52e, 68px 285px #f9e52e, 102px 570px #f9e52e, 136px 570px #f9e52e, 170px 570px #f9e52e, 204px 570px #f9e52e, 238px 570px #f9e52e, 272px 570px #f9e52e, 306px 570px #f9e52e; - } - 42.63636364% { - box-shadow: 34px 0 #f9e52e, 68px 0 #f9e52e, 102px 285px #f9e52e, 136px 570px #f9e52e, 170px 570px #f9e52e, 204px 570px #f9e52e, 238px 570px #f9e52e, 272px 570px #f9e52e, 306px 570px #f9e52e; - } - 43.54545455% { - box-shadow: 34px 0 #f9e52e, 68px 0 #f9e52e, 102px 0 #f9e52e, 136px 285px #f9e52e, 170px 570px #f9e52e, 204px 570px #f9e52e, 238px 570px #f9e52e, 272px 570px #f9e52e, 306px 570px #f9e52e; - } - 44.45454545% { - box-shadow: 34px 0 #f9e52e, 68px 0 #f9e52e, 102px 0 #f9e52e, 136px 0 #f9e52e, 170px 285px #f9e52e, 204px 570px #f9e52e, 238px 570px #f9e52e, 272px 570px #f9e52e, 306px 570px #f9e52e; - } - 45.36363636% { - box-shadow: 34px 0 #f9e52e, 68px 0 #f9e52e, 102px 0 #f9e52e, 136px 0 #f9e52e, 170px 0 #f9e52e, 204px 285px #f9e52e, 238px 570px #f9e52e, 272px 570px #f9e52e, 306px 570px #f9e52e; - } - 46.27272727% { - box-shadow: 34px 0 #f9e52e, 68px 0 #f9e52e, 102px 0 #f9e52e, 136px 0 #f9e52e, 170px 0 #f9e52e, 204px 0 #f9e52e, 238px 285px #f9e52e, 272px 570px #f9e52e, 306px 570px #f9e52e; - } - 47.18181818% { - box-shadow: 34px 0 #f9e52e, 68px 0 #f9e52e, 102px 0 #f9e52e, 136px 0 #f9e52e, 170px 0 #f9e52e, 204px 0 #f9e52e, 238px 0 #f9e52e, 272px 285px #f9e52e, 306px 570px #f9e52e; - } - 48.09090909% { - box-shadow: 34px 0 #f9e52e, 68px 0 #f9e52e, 102px 0 #f9e52e, 136px 0 #f9e52e, 170px 0 #f9e52e, 204px 0 #f9e52e, 238px 0 #f9e52e, 272px 0 #f9e52e, 306px 285px #f9e52e; - } - 49% { - box-shadow: 34px 0 #f9e52e, 68px 0 #f9e52e, 102px 0 #f9e52e, 136px 0 #f9e52e, 170px 0 #f9e52e, 204px 0 #f9e52e, 238px 0 #f9e52e, 272px 0 #f9e52e, 306px 0 #f9e52e; - } -} -@-webkit-keyframes cover-vertical-yellow { - 0% { - width: 0; - height: 0; - box-shadow: none; - } - 39% { - width: 34px; - height: 0; - } - 39.90909091% { - height: 285px; - box-shadow: 34px 570px #f9e52e, 68px 570px #f9e52e, 102px 570px #f9e52e, 136px 570px #f9e52e, 170px 570px #f9e52e, 204px 570px #f9e52e, 238px 570px #f9e52e, 272px 570px #f9e52e, 306px 570px #f9e52e; - } - 40.81818182% { - height: 570px; - box-shadow: 34px 285px #f9e52e, 68px 570px #f9e52e, 102px 570px #f9e52e, 136px 570px #f9e52e, 170px 570px #f9e52e, 204px 570px #f9e52e, 238px 570px #f9e52e, 272px 570px #f9e52e, 306px 570px #f9e52e; - } - 41.72727273% { - box-shadow: 34px 0 #f9e52e, 68px 285px #f9e52e, 102px 570px #f9e52e, 136px 570px #f9e52e, 170px 570px #f9e52e, 204px 570px #f9e52e, 238px 570px #f9e52e, 272px 570px #f9e52e, 306px 570px #f9e52e; - } - 42.63636364% { - box-shadow: 34px 0 #f9e52e, 68px 0 #f9e52e, 102px 285px #f9e52e, 136px 570px #f9e52e, 170px 570px #f9e52e, 204px 570px #f9e52e, 238px 570px #f9e52e, 272px 570px #f9e52e, 306px 570px #f9e52e; - } - 43.54545455% { - box-shadow: 34px 0 #f9e52e, 68px 0 #f9e52e, 102px 0 #f9e52e, 136px 285px #f9e52e, 170px 570px #f9e52e, 204px 570px #f9e52e, 238px 570px #f9e52e, 272px 570px #f9e52e, 306px 570px #f9e52e; - } - 44.45454545% { - box-shadow: 34px 0 #f9e52e, 68px 0 #f9e52e, 102px 0 #f9e52e, 136px 0 #f9e52e, 170px 285px #f9e52e, 204px 570px #f9e52e, 238px 570px #f9e52e, 272px 570px #f9e52e, 306px 570px #f9e52e; - } - 45.36363636% { - box-shadow: 34px 0 #f9e52e, 68px 0 #f9e52e, 102px 0 #f9e52e, 136px 0 #f9e52e, 170px 0 #f9e52e, 204px 285px #f9e52e, 238px 570px #f9e52e, 272px 570px #f9e52e, 306px 570px #f9e52e; - } - 46.27272727% { - box-shadow: 34px 0 #f9e52e, 68px 0 #f9e52e, 102px 0 #f9e52e, 136px 0 #f9e52e, 170px 0 #f9e52e, 204px 0 #f9e52e, 238px 285px #f9e52e, 272px 570px #f9e52e, 306px 570px #f9e52e; - } - 47.18181818% { - box-shadow: 34px 0 #f9e52e, 68px 0 #f9e52e, 102px 0 #f9e52e, 136px 0 #f9e52e, 170px 0 #f9e52e, 204px 0 #f9e52e, 238px 0 #f9e52e, 272px 285px #f9e52e, 306px 570px #f9e52e; - } - 48.09090909% { - box-shadow: 34px 0 #f9e52e, 68px 0 #f9e52e, 102px 0 #f9e52e, 136px 0 #f9e52e, 170px 0 #f9e52e, 204px 0 #f9e52e, 238px 0 #f9e52e, 272px 0 #f9e52e, 306px 285px #f9e52e; - } - 49% { - box-shadow: 34px 0 #f9e52e, 68px 0 #f9e52e, 102px 0 #f9e52e, 136px 0 #f9e52e, 170px 0 #f9e52e, 204px 0 #f9e52e, 238px 0 #f9e52e, 272px 0 #f9e52e, 306px 0 #f9e52e; - } -} -@keyframes cover-vertical-yellow { - 0% { - width: 0; - height: 0; - box-shadow: none; - } - 39% { - width: 34px; - height: 0; - } - 39.90909091% { - height: 285px; - box-shadow: 34px 570px #f9e52e, 68px 570px #f9e52e, 102px 570px #f9e52e, 136px 570px #f9e52e, 170px 570px #f9e52e, 204px 570px #f9e52e, 238px 570px #f9e52e, 272px 570px #f9e52e, 306px 570px #f9e52e; - } - 40.81818182% { - height: 570px; - box-shadow: 34px 285px #f9e52e, 68px 570px #f9e52e, 102px 570px #f9e52e, 136px 570px #f9e52e, 170px 570px #f9e52e, 204px 570px #f9e52e, 238px 570px #f9e52e, 272px 570px #f9e52e, 306px 570px #f9e52e; - } - 41.72727273% { - box-shadow: 34px 0 #f9e52e, 68px 285px #f9e52e, 102px 570px #f9e52e, 136px 570px #f9e52e, 170px 570px #f9e52e, 204px 570px #f9e52e, 238px 570px #f9e52e, 272px 570px #f9e52e, 306px 570px #f9e52e; - } - 42.63636364% { - box-shadow: 34px 0 #f9e52e, 68px 0 #f9e52e, 102px 285px #f9e52e, 136px 570px #f9e52e, 170px 570px #f9e52e, 204px 570px #f9e52e, 238px 570px #f9e52e, 272px 570px #f9e52e, 306px 570px #f9e52e; - } - 43.54545455% { - box-shadow: 34px 0 #f9e52e, 68px 0 #f9e52e, 102px 0 #f9e52e, 136px 285px #f9e52e, 170px 570px #f9e52e, 204px 570px #f9e52e, 238px 570px #f9e52e, 272px 570px #f9e52e, 306px 570px #f9e52e; - } - 44.45454545% { - box-shadow: 34px 0 #f9e52e, 68px 0 #f9e52e, 102px 0 #f9e52e, 136px 0 #f9e52e, 170px 285px #f9e52e, 204px 570px #f9e52e, 238px 570px #f9e52e, 272px 570px #f9e52e, 306px 570px #f9e52e; - } - 45.36363636% { - box-shadow: 34px 0 #f9e52e, 68px 0 #f9e52e, 102px 0 #f9e52e, 136px 0 #f9e52e, 170px 0 #f9e52e, 204px 285px #f9e52e, 238px 570px #f9e52e, 272px 570px #f9e52e, 306px 570px #f9e52e; - } - 46.27272727% { - box-shadow: 34px 0 #f9e52e, 68px 0 #f9e52e, 102px 0 #f9e52e, 136px 0 #f9e52e, 170px 0 #f9e52e, 204px 0 #f9e52e, 238px 285px #f9e52e, 272px 570px #f9e52e, 306px 570px #f9e52e; - } - 47.18181818% { - box-shadow: 34px 0 #f9e52e, 68px 0 #f9e52e, 102px 0 #f9e52e, 136px 0 #f9e52e, 170px 0 #f9e52e, 204px 0 #f9e52e, 238px 0 #f9e52e, 272px 285px #f9e52e, 306px 570px #f9e52e; - } - 48.09090909% { - box-shadow: 34px 0 #f9e52e, 68px 0 #f9e52e, 102px 0 #f9e52e, 136px 0 #f9e52e, 170px 0 #f9e52e, 204px 0 #f9e52e, 238px 0 #f9e52e, 272px 0 #f9e52e, 306px 285px #f9e52e; - } - 49% { - box-shadow: 34px 0 #f9e52e, 68px 0 #f9e52e, 102px 0 #f9e52e, 136px 0 #f9e52e, 170px 0 #f9e52e, 204px 0 #f9e52e, 238px 0 #f9e52e, 272px 0 #f9e52e, 306px 0 #f9e52e; - } -} -#gameboy.yellow #cover-vertical { - background-color: #f9e52e; - -webkit-animation: cover-vertical-yellow 8s linear; - animation: cover-vertical-yellow 8s linear; - box-shadow: 34px 0 #f9e52e, 68px 0 #f9e52e, 102px 0 #f9e52e, 136px 0 #f9e52e, 170px 0 #f9e52e, 204px 0 #f9e52e, 238px 0 #f9e52e, 272px 0 #f9e52e, 306px 0 #f9e52e; -} -@-moz-keyframes cover-vertical-green { - 0% { - width: 0; - height: 0; - box-shadow: none; - } - 39% { - width: 34px; - height: 0; - } - 39.90909091% { - height: 285px; - box-shadow: 34px 570px #85e367, 68px 570px #85e367, 102px 570px #85e367, 136px 570px #85e367, 170px 570px #85e367, 204px 570px #85e367, 238px 570px #85e367, 272px 570px #85e367, 306px 570px #85e367; - } - 40.81818182% { - height: 570px; - box-shadow: 34px 285px #85e367, 68px 570px #85e367, 102px 570px #85e367, 136px 570px #85e367, 170px 570px #85e367, 204px 570px #85e367, 238px 570px #85e367, 272px 570px #85e367, 306px 570px #85e367; - } - 41.72727273% { - box-shadow: 34px 0 #85e367, 68px 285px #85e367, 102px 570px #85e367, 136px 570px #85e367, 170px 570px #85e367, 204px 570px #85e367, 238px 570px #85e367, 272px 570px #85e367, 306px 570px #85e367; - } - 42.63636364% { - box-shadow: 34px 0 #85e367, 68px 0 #85e367, 102px 285px #85e367, 136px 570px #85e367, 170px 570px #85e367, 204px 570px #85e367, 238px 570px #85e367, 272px 570px #85e367, 306px 570px #85e367; - } - 43.54545455% { - box-shadow: 34px 0 #85e367, 68px 0 #85e367, 102px 0 #85e367, 136px 285px #85e367, 170px 570px #85e367, 204px 570px #85e367, 238px 570px #85e367, 272px 570px #85e367, 306px 570px #85e367; - } - 44.45454545% { - box-shadow: 34px 0 #85e367, 68px 0 #85e367, 102px 0 #85e367, 136px 0 #85e367, 170px 285px #85e367, 204px 570px #85e367, 238px 570px #85e367, 272px 570px #85e367, 306px 570px #85e367; - } - 45.36363636% { - box-shadow: 34px 0 #85e367, 68px 0 #85e367, 102px 0 #85e367, 136px 0 #85e367, 170px 0 #85e367, 204px 285px #85e367, 238px 570px #85e367, 272px 570px #85e367, 306px 570px #85e367; - } - 46.27272727% { - box-shadow: 34px 0 #85e367, 68px 0 #85e367, 102px 0 #85e367, 136px 0 #85e367, 170px 0 #85e367, 204px 0 #85e367, 238px 285px #85e367, 272px 570px #85e367, 306px 570px #85e367; - } - 47.18181818% { - box-shadow: 34px 0 #85e367, 68px 0 #85e367, 102px 0 #85e367, 136px 0 #85e367, 170px 0 #85e367, 204px 0 #85e367, 238px 0 #85e367, 272px 285px #85e367, 306px 570px #85e367; - } - 48.09090909% { - box-shadow: 34px 0 #85e367, 68px 0 #85e367, 102px 0 #85e367, 136px 0 #85e367, 170px 0 #85e367, 204px 0 #85e367, 238px 0 #85e367, 272px 0 #85e367, 306px 285px #85e367; - } - 49% { - box-shadow: 34px 0 #85e367, 68px 0 #85e367, 102px 0 #85e367, 136px 0 #85e367, 170px 0 #85e367, 204px 0 #85e367, 238px 0 #85e367, 272px 0 #85e367, 306px 0 #85e367; - } -} -@-webkit-keyframes cover-vertical-green { - 0% { - width: 0; - height: 0; - box-shadow: none; - } - 39% { - width: 34px; - height: 0; - } - 39.90909091% { - height: 285px; - box-shadow: 34px 570px #85e367, 68px 570px #85e367, 102px 570px #85e367, 136px 570px #85e367, 170px 570px #85e367, 204px 570px #85e367, 238px 570px #85e367, 272px 570px #85e367, 306px 570px #85e367; - } - 40.81818182% { - height: 570px; - box-shadow: 34px 285px #85e367, 68px 570px #85e367, 102px 570px #85e367, 136px 570px #85e367, 170px 570px #85e367, 204px 570px #85e367, 238px 570px #85e367, 272px 570px #85e367, 306px 570px #85e367; - } - 41.72727273% { - box-shadow: 34px 0 #85e367, 68px 285px #85e367, 102px 570px #85e367, 136px 570px #85e367, 170px 570px #85e367, 204px 570px #85e367, 238px 570px #85e367, 272px 570px #85e367, 306px 570px #85e367; - } - 42.63636364% { - box-shadow: 34px 0 #85e367, 68px 0 #85e367, 102px 285px #85e367, 136px 570px #85e367, 170px 570px #85e367, 204px 570px #85e367, 238px 570px #85e367, 272px 570px #85e367, 306px 570px #85e367; - } - 43.54545455% { - box-shadow: 34px 0 #85e367, 68px 0 #85e367, 102px 0 #85e367, 136px 285px #85e367, 170px 570px #85e367, 204px 570px #85e367, 238px 570px #85e367, 272px 570px #85e367, 306px 570px #85e367; - } - 44.45454545% { - box-shadow: 34px 0 #85e367, 68px 0 #85e367, 102px 0 #85e367, 136px 0 #85e367, 170px 285px #85e367, 204px 570px #85e367, 238px 570px #85e367, 272px 570px #85e367, 306px 570px #85e367; - } - 45.36363636% { - box-shadow: 34px 0 #85e367, 68px 0 #85e367, 102px 0 #85e367, 136px 0 #85e367, 170px 0 #85e367, 204px 285px #85e367, 238px 570px #85e367, 272px 570px #85e367, 306px 570px #85e367; - } - 46.27272727% { - box-shadow: 34px 0 #85e367, 68px 0 #85e367, 102px 0 #85e367, 136px 0 #85e367, 170px 0 #85e367, 204px 0 #85e367, 238px 285px #85e367, 272px 570px #85e367, 306px 570px #85e367; - } - 47.18181818% { - box-shadow: 34px 0 #85e367, 68px 0 #85e367, 102px 0 #85e367, 136px 0 #85e367, 170px 0 #85e367, 204px 0 #85e367, 238px 0 #85e367, 272px 285px #85e367, 306px 570px #85e367; - } - 48.09090909% { - box-shadow: 34px 0 #85e367, 68px 0 #85e367, 102px 0 #85e367, 136px 0 #85e367, 170px 0 #85e367, 204px 0 #85e367, 238px 0 #85e367, 272px 0 #85e367, 306px 285px #85e367; - } - 49% { - box-shadow: 34px 0 #85e367, 68px 0 #85e367, 102px 0 #85e367, 136px 0 #85e367, 170px 0 #85e367, 204px 0 #85e367, 238px 0 #85e367, 272px 0 #85e367, 306px 0 #85e367; - } -} -@keyframes cover-vertical-green { - 0% { - width: 0; - height: 0; - box-shadow: none; - } - 39% { - width: 34px; - height: 0; - } - 39.90909091% { - height: 285px; - box-shadow: 34px 570px #85e367, 68px 570px #85e367, 102px 570px #85e367, 136px 570px #85e367, 170px 570px #85e367, 204px 570px #85e367, 238px 570px #85e367, 272px 570px #85e367, 306px 570px #85e367; - } - 40.81818182% { - height: 570px; - box-shadow: 34px 285px #85e367, 68px 570px #85e367, 102px 570px #85e367, 136px 570px #85e367, 170px 570px #85e367, 204px 570px #85e367, 238px 570px #85e367, 272px 570px #85e367, 306px 570px #85e367; - } - 41.72727273% { - box-shadow: 34px 0 #85e367, 68px 285px #85e367, 102px 570px #85e367, 136px 570px #85e367, 170px 570px #85e367, 204px 570px #85e367, 238px 570px #85e367, 272px 570px #85e367, 306px 570px #85e367; - } - 42.63636364% { - box-shadow: 34px 0 #85e367, 68px 0 #85e367, 102px 285px #85e367, 136px 570px #85e367, 170px 570px #85e367, 204px 570px #85e367, 238px 570px #85e367, 272px 570px #85e367, 306px 570px #85e367; - } - 43.54545455% { - box-shadow: 34px 0 #85e367, 68px 0 #85e367, 102px 0 #85e367, 136px 285px #85e367, 170px 570px #85e367, 204px 570px #85e367, 238px 570px #85e367, 272px 570px #85e367, 306px 570px #85e367; - } - 44.45454545% { - box-shadow: 34px 0 #85e367, 68px 0 #85e367, 102px 0 #85e367, 136px 0 #85e367, 170px 285px #85e367, 204px 570px #85e367, 238px 570px #85e367, 272px 570px #85e367, 306px 570px #85e367; - } - 45.36363636% { - box-shadow: 34px 0 #85e367, 68px 0 #85e367, 102px 0 #85e367, 136px 0 #85e367, 170px 0 #85e367, 204px 285px #85e367, 238px 570px #85e367, 272px 570px #85e367, 306px 570px #85e367; - } - 46.27272727% { - box-shadow: 34px 0 #85e367, 68px 0 #85e367, 102px 0 #85e367, 136px 0 #85e367, 170px 0 #85e367, 204px 0 #85e367, 238px 285px #85e367, 272px 570px #85e367, 306px 570px #85e367; - } - 47.18181818% { - box-shadow: 34px 0 #85e367, 68px 0 #85e367, 102px 0 #85e367, 136px 0 #85e367, 170px 0 #85e367, 204px 0 #85e367, 238px 0 #85e367, 272px 285px #85e367, 306px 570px #85e367; - } - 48.09090909% { - box-shadow: 34px 0 #85e367, 68px 0 #85e367, 102px 0 #85e367, 136px 0 #85e367, 170px 0 #85e367, 204px 0 #85e367, 238px 0 #85e367, 272px 0 #85e367, 306px 285px #85e367; - } - 49% { - box-shadow: 34px 0 #85e367, 68px 0 #85e367, 102px 0 #85e367, 136px 0 #85e367, 170px 0 #85e367, 204px 0 #85e367, 238px 0 #85e367, 272px 0 #85e367, 306px 0 #85e367; - } -} -#gameboy.green #cover-vertical { - background-color: #85e367; - -webkit-animation: cover-vertical-green 8s linear; - animation: cover-vertical-green 8s linear; - box-shadow: 34px 0 #85e367, 68px 0 #85e367, 102px 0 #85e367, 136px 0 #85e367, 170px 0 #85e367, 204px 0 #85e367, 238px 0 #85e367, 272px 0 #85e367, 306px 0 #85e367; -} -@-moz-keyframes cover-vertical-purple { - 0% { - width: 0; - height: 0; - box-shadow: none; - } - 39% { - width: 34px; - height: 0; - } - 39.90909091% { - height: 285px; - box-shadow: 34px 570px #5151dd, 68px 570px #5151dd, 102px 570px #5151dd, 136px 570px #5151dd, 170px 570px #5151dd, 204px 570px #5151dd, 238px 570px #5151dd, 272px 570px #5151dd, 306px 570px #5151dd; - } - 40.81818182% { - height: 570px; - box-shadow: 34px 285px #5151dd, 68px 570px #5151dd, 102px 570px #5151dd, 136px 570px #5151dd, 170px 570px #5151dd, 204px 570px #5151dd, 238px 570px #5151dd, 272px 570px #5151dd, 306px 570px #5151dd; - } - 41.72727273% { - box-shadow: 34px 0 #5151dd, 68px 285px #5151dd, 102px 570px #5151dd, 136px 570px #5151dd, 170px 570px #5151dd, 204px 570px #5151dd, 238px 570px #5151dd, 272px 570px #5151dd, 306px 570px #5151dd; - } - 42.63636364% { - box-shadow: 34px 0 #5151dd, 68px 0 #5151dd, 102px 285px #5151dd, 136px 570px #5151dd, 170px 570px #5151dd, 204px 570px #5151dd, 238px 570px #5151dd, 272px 570px #5151dd, 306px 570px #5151dd; - } - 43.54545455% { - box-shadow: 34px 0 #5151dd, 68px 0 #5151dd, 102px 0 #5151dd, 136px 285px #5151dd, 170px 570px #5151dd, 204px 570px #5151dd, 238px 570px #5151dd, 272px 570px #5151dd, 306px 570px #5151dd; - } - 44.45454545% { - box-shadow: 34px 0 #5151dd, 68px 0 #5151dd, 102px 0 #5151dd, 136px 0 #5151dd, 170px 285px #5151dd, 204px 570px #5151dd, 238px 570px #5151dd, 272px 570px #5151dd, 306px 570px #5151dd; - } - 45.36363636% { - box-shadow: 34px 0 #5151dd, 68px 0 #5151dd, 102px 0 #5151dd, 136px 0 #5151dd, 170px 0 #5151dd, 204px 285px #5151dd, 238px 570px #5151dd, 272px 570px #5151dd, 306px 570px #5151dd; - } - 46.27272727% { - box-shadow: 34px 0 #5151dd, 68px 0 #5151dd, 102px 0 #5151dd, 136px 0 #5151dd, 170px 0 #5151dd, 204px 0 #5151dd, 238px 285px #5151dd, 272px 570px #5151dd, 306px 570px #5151dd; - } - 47.18181818% { - box-shadow: 34px 0 #5151dd, 68px 0 #5151dd, 102px 0 #5151dd, 136px 0 #5151dd, 170px 0 #5151dd, 204px 0 #5151dd, 238px 0 #5151dd, 272px 285px #5151dd, 306px 570px #5151dd; - } - 48.09090909% { - box-shadow: 34px 0 #5151dd, 68px 0 #5151dd, 102px 0 #5151dd, 136px 0 #5151dd, 170px 0 #5151dd, 204px 0 #5151dd, 238px 0 #5151dd, 272px 0 #5151dd, 306px 285px #5151dd; - } - 49% { - box-shadow: 34px 0 #5151dd, 68px 0 #5151dd, 102px 0 #5151dd, 136px 0 #5151dd, 170px 0 #5151dd, 204px 0 #5151dd, 238px 0 #5151dd, 272px 0 #5151dd, 306px 0 #5151dd; - } -} -@-webkit-keyframes cover-vertical-purple { - 0% { - width: 0; - height: 0; - box-shadow: none; - } - 39% { - width: 34px; - height: 0; - } - 39.90909091% { - height: 285px; - box-shadow: 34px 570px #5151dd, 68px 570px #5151dd, 102px 570px #5151dd, 136px 570px #5151dd, 170px 570px #5151dd, 204px 570px #5151dd, 238px 570px #5151dd, 272px 570px #5151dd, 306px 570px #5151dd; - } - 40.81818182% { - height: 570px; - box-shadow: 34px 285px #5151dd, 68px 570px #5151dd, 102px 570px #5151dd, 136px 570px #5151dd, 170px 570px #5151dd, 204px 570px #5151dd, 238px 570px #5151dd, 272px 570px #5151dd, 306px 570px #5151dd; - } - 41.72727273% { - box-shadow: 34px 0 #5151dd, 68px 285px #5151dd, 102px 570px #5151dd, 136px 570px #5151dd, 170px 570px #5151dd, 204px 570px #5151dd, 238px 570px #5151dd, 272px 570px #5151dd, 306px 570px #5151dd; - } - 42.63636364% { - box-shadow: 34px 0 #5151dd, 68px 0 #5151dd, 102px 285px #5151dd, 136px 570px #5151dd, 170px 570px #5151dd, 204px 570px #5151dd, 238px 570px #5151dd, 272px 570px #5151dd, 306px 570px #5151dd; - } - 43.54545455% { - box-shadow: 34px 0 #5151dd, 68px 0 #5151dd, 102px 0 #5151dd, 136px 285px #5151dd, 170px 570px #5151dd, 204px 570px #5151dd, 238px 570px #5151dd, 272px 570px #5151dd, 306px 570px #5151dd; - } - 44.45454545% { - box-shadow: 34px 0 #5151dd, 68px 0 #5151dd, 102px 0 #5151dd, 136px 0 #5151dd, 170px 285px #5151dd, 204px 570px #5151dd, 238px 570px #5151dd, 272px 570px #5151dd, 306px 570px #5151dd; - } - 45.36363636% { - box-shadow: 34px 0 #5151dd, 68px 0 #5151dd, 102px 0 #5151dd, 136px 0 #5151dd, 170px 0 #5151dd, 204px 285px #5151dd, 238px 570px #5151dd, 272px 570px #5151dd, 306px 570px #5151dd; - } - 46.27272727% { - box-shadow: 34px 0 #5151dd, 68px 0 #5151dd, 102px 0 #5151dd, 136px 0 #5151dd, 170px 0 #5151dd, 204px 0 #5151dd, 238px 285px #5151dd, 272px 570px #5151dd, 306px 570px #5151dd; - } - 47.18181818% { - box-shadow: 34px 0 #5151dd, 68px 0 #5151dd, 102px 0 #5151dd, 136px 0 #5151dd, 170px 0 #5151dd, 204px 0 #5151dd, 238px 0 #5151dd, 272px 285px #5151dd, 306px 570px #5151dd; - } - 48.09090909% { - box-shadow: 34px 0 #5151dd, 68px 0 #5151dd, 102px 0 #5151dd, 136px 0 #5151dd, 170px 0 #5151dd, 204px 0 #5151dd, 238px 0 #5151dd, 272px 0 #5151dd, 306px 285px #5151dd; - } - 49% { - box-shadow: 34px 0 #5151dd, 68px 0 #5151dd, 102px 0 #5151dd, 136px 0 #5151dd, 170px 0 #5151dd, 204px 0 #5151dd, 238px 0 #5151dd, 272px 0 #5151dd, 306px 0 #5151dd; - } -} -@keyframes cover-vertical-purple { - 0% { - width: 0; - height: 0; - box-shadow: none; - } - 39% { - width: 34px; - height: 0; - } - 39.90909091% { - height: 285px; - box-shadow: 34px 570px #5151dd, 68px 570px #5151dd, 102px 570px #5151dd, 136px 570px #5151dd, 170px 570px #5151dd, 204px 570px #5151dd, 238px 570px #5151dd, 272px 570px #5151dd, 306px 570px #5151dd; - } - 40.81818182% { - height: 570px; - box-shadow: 34px 285px #5151dd, 68px 570px #5151dd, 102px 570px #5151dd, 136px 570px #5151dd, 170px 570px #5151dd, 204px 570px #5151dd, 238px 570px #5151dd, 272px 570px #5151dd, 306px 570px #5151dd; - } - 41.72727273% { - box-shadow: 34px 0 #5151dd, 68px 285px #5151dd, 102px 570px #5151dd, 136px 570px #5151dd, 170px 570px #5151dd, 204px 570px #5151dd, 238px 570px #5151dd, 272px 570px #5151dd, 306px 570px #5151dd; - } - 42.63636364% { - box-shadow: 34px 0 #5151dd, 68px 0 #5151dd, 102px 285px #5151dd, 136px 570px #5151dd, 170px 570px #5151dd, 204px 570px #5151dd, 238px 570px #5151dd, 272px 570px #5151dd, 306px 570px #5151dd; - } - 43.54545455% { - box-shadow: 34px 0 #5151dd, 68px 0 #5151dd, 102px 0 #5151dd, 136px 285px #5151dd, 170px 570px #5151dd, 204px 570px #5151dd, 238px 570px #5151dd, 272px 570px #5151dd, 306px 570px #5151dd; - } - 44.45454545% { - box-shadow: 34px 0 #5151dd, 68px 0 #5151dd, 102px 0 #5151dd, 136px 0 #5151dd, 170px 285px #5151dd, 204px 570px #5151dd, 238px 570px #5151dd, 272px 570px #5151dd, 306px 570px #5151dd; - } - 45.36363636% { - box-shadow: 34px 0 #5151dd, 68px 0 #5151dd, 102px 0 #5151dd, 136px 0 #5151dd, 170px 0 #5151dd, 204px 285px #5151dd, 238px 570px #5151dd, 272px 570px #5151dd, 306px 570px #5151dd; - } - 46.27272727% { - box-shadow: 34px 0 #5151dd, 68px 0 #5151dd, 102px 0 #5151dd, 136px 0 #5151dd, 170px 0 #5151dd, 204px 0 #5151dd, 238px 285px #5151dd, 272px 570px #5151dd, 306px 570px #5151dd; - } - 47.18181818% { - box-shadow: 34px 0 #5151dd, 68px 0 #5151dd, 102px 0 #5151dd, 136px 0 #5151dd, 170px 0 #5151dd, 204px 0 #5151dd, 238px 0 #5151dd, 272px 285px #5151dd, 306px 570px #5151dd; - } - 48.09090909% { - box-shadow: 34px 0 #5151dd, 68px 0 #5151dd, 102px 0 #5151dd, 136px 0 #5151dd, 170px 0 #5151dd, 204px 0 #5151dd, 238px 0 #5151dd, 272px 0 #5151dd, 306px 285px #5151dd; - } - 49% { - box-shadow: 34px 0 #5151dd, 68px 0 #5151dd, 102px 0 #5151dd, 136px 0 #5151dd, 170px 0 #5151dd, 204px 0 #5151dd, 238px 0 #5151dd, 272px 0 #5151dd, 306px 0 #5151dd; - } -} -#gameboy.purple #cover-vertical { - background-color: #5151dd; - -webkit-animation: cover-vertical-purple 8s linear; - animation: cover-vertical-purple 8s linear; - box-shadow: 34px 0 #5151dd, 68px 0 #5151dd, 102px 0 #5151dd, 136px 0 #5151dd, 170px 0 #5151dd, 204px 0 #5151dd, 238px 0 #5151dd, 272px 0 #5151dd, 306px 0 #5151dd; -} -@-moz-keyframes cover-vertical-red { - 0% { - width: 0; - height: 0; - box-shadow: none; - } - 39% { - width: 34px; - height: 0; - } - 39.90909091% { - height: 285px; - box-shadow: 34px 570px #ff0151, 68px 570px #ff0151, 102px 570px #ff0151, 136px 570px #ff0151, 170px 570px #ff0151, 204px 570px #ff0151, 238px 570px #ff0151, 272px 570px #ff0151, 306px 570px #ff0151; - } - 40.81818182% { - height: 570px; - box-shadow: 34px 285px #ff0151, 68px 570px #ff0151, 102px 570px #ff0151, 136px 570px #ff0151, 170px 570px #ff0151, 204px 570px #ff0151, 238px 570px #ff0151, 272px 570px #ff0151, 306px 570px #ff0151; - } - 41.72727273% { - box-shadow: 34px 0 #ff0151, 68px 285px #ff0151, 102px 570px #ff0151, 136px 570px #ff0151, 170px 570px #ff0151, 204px 570px #ff0151, 238px 570px #ff0151, 272px 570px #ff0151, 306px 570px #ff0151; - } - 42.63636364% { - box-shadow: 34px 0 #ff0151, 68px 0 #ff0151, 102px 285px #ff0151, 136px 570px #ff0151, 170px 570px #ff0151, 204px 570px #ff0151, 238px 570px #ff0151, 272px 570px #ff0151, 306px 570px #ff0151; - } - 43.54545455% { - box-shadow: 34px 0 #ff0151, 68px 0 #ff0151, 102px 0 #ff0151, 136px 285px #ff0151, 170px 570px #ff0151, 204px 570px #ff0151, 238px 570px #ff0151, 272px 570px #ff0151, 306px 570px #ff0151; - } - 44.45454545% { - box-shadow: 34px 0 #ff0151, 68px 0 #ff0151, 102px 0 #ff0151, 136px 0 #ff0151, 170px 285px #ff0151, 204px 570px #ff0151, 238px 570px #ff0151, 272px 570px #ff0151, 306px 570px #ff0151; - } - 45.36363636% { - box-shadow: 34px 0 #ff0151, 68px 0 #ff0151, 102px 0 #ff0151, 136px 0 #ff0151, 170px 0 #ff0151, 204px 285px #ff0151, 238px 570px #ff0151, 272px 570px #ff0151, 306px 570px #ff0151; - } - 46.27272727% { - box-shadow: 34px 0 #ff0151, 68px 0 #ff0151, 102px 0 #ff0151, 136px 0 #ff0151, 170px 0 #ff0151, 204px 0 #ff0151, 238px 285px #ff0151, 272px 570px #ff0151, 306px 570px #ff0151; - } - 47.18181818% { - box-shadow: 34px 0 #ff0151, 68px 0 #ff0151, 102px 0 #ff0151, 136px 0 #ff0151, 170px 0 #ff0151, 204px 0 #ff0151, 238px 0 #ff0151, 272px 285px #ff0151, 306px 570px #ff0151; - } - 48.09090909% { - box-shadow: 34px 0 #ff0151, 68px 0 #ff0151, 102px 0 #ff0151, 136px 0 #ff0151, 170px 0 #ff0151, 204px 0 #ff0151, 238px 0 #ff0151, 272px 0 #ff0151, 306px 285px #ff0151; - } - 49% { - box-shadow: 34px 0 #ff0151, 68px 0 #ff0151, 102px 0 #ff0151, 136px 0 #ff0151, 170px 0 #ff0151, 204px 0 #ff0151, 238px 0 #ff0151, 272px 0 #ff0151, 306px 0 #ff0151; - } -} -@-webkit-keyframes cover-vertical-red { - 0% { - width: 0; - height: 0; - box-shadow: none; - } - 39% { - width: 34px; - height: 0; - } - 39.90909091% { - height: 285px; - box-shadow: 34px 570px #ff0151, 68px 570px #ff0151, 102px 570px #ff0151, 136px 570px #ff0151, 170px 570px #ff0151, 204px 570px #ff0151, 238px 570px #ff0151, 272px 570px #ff0151, 306px 570px #ff0151; - } - 40.81818182% { - height: 570px; - box-shadow: 34px 285px #ff0151, 68px 570px #ff0151, 102px 570px #ff0151, 136px 570px #ff0151, 170px 570px #ff0151, 204px 570px #ff0151, 238px 570px #ff0151, 272px 570px #ff0151, 306px 570px #ff0151; - } - 41.72727273% { - box-shadow: 34px 0 #ff0151, 68px 285px #ff0151, 102px 570px #ff0151, 136px 570px #ff0151, 170px 570px #ff0151, 204px 570px #ff0151, 238px 570px #ff0151, 272px 570px #ff0151, 306px 570px #ff0151; - } - 42.63636364% { - box-shadow: 34px 0 #ff0151, 68px 0 #ff0151, 102px 285px #ff0151, 136px 570px #ff0151, 170px 570px #ff0151, 204px 570px #ff0151, 238px 570px #ff0151, 272px 570px #ff0151, 306px 570px #ff0151; - } - 43.54545455% { - box-shadow: 34px 0 #ff0151, 68px 0 #ff0151, 102px 0 #ff0151, 136px 285px #ff0151, 170px 570px #ff0151, 204px 570px #ff0151, 238px 570px #ff0151, 272px 570px #ff0151, 306px 570px #ff0151; - } - 44.45454545% { - box-shadow: 34px 0 #ff0151, 68px 0 #ff0151, 102px 0 #ff0151, 136px 0 #ff0151, 170px 285px #ff0151, 204px 570px #ff0151, 238px 570px #ff0151, 272px 570px #ff0151, 306px 570px #ff0151; - } - 45.36363636% { - box-shadow: 34px 0 #ff0151, 68px 0 #ff0151, 102px 0 #ff0151, 136px 0 #ff0151, 170px 0 #ff0151, 204px 285px #ff0151, 238px 570px #ff0151, 272px 570px #ff0151, 306px 570px #ff0151; - } - 46.27272727% { - box-shadow: 34px 0 #ff0151, 68px 0 #ff0151, 102px 0 #ff0151, 136px 0 #ff0151, 170px 0 #ff0151, 204px 0 #ff0151, 238px 285px #ff0151, 272px 570px #ff0151, 306px 570px #ff0151; - } - 47.18181818% { - box-shadow: 34px 0 #ff0151, 68px 0 #ff0151, 102px 0 #ff0151, 136px 0 #ff0151, 170px 0 #ff0151, 204px 0 #ff0151, 238px 0 #ff0151, 272px 285px #ff0151, 306px 570px #ff0151; - } - 48.09090909% { - box-shadow: 34px 0 #ff0151, 68px 0 #ff0151, 102px 0 #ff0151, 136px 0 #ff0151, 170px 0 #ff0151, 204px 0 #ff0151, 238px 0 #ff0151, 272px 0 #ff0151, 306px 285px #ff0151; - } - 49% { - box-shadow: 34px 0 #ff0151, 68px 0 #ff0151, 102px 0 #ff0151, 136px 0 #ff0151, 170px 0 #ff0151, 204px 0 #ff0151, 238px 0 #ff0151, 272px 0 #ff0151, 306px 0 #ff0151; - } -} -@keyframes cover-vertical-red { - 0% { - width: 0; - height: 0; - box-shadow: none; - } - 39% { - width: 34px; - height: 0; - } - 39.90909091% { - height: 285px; - box-shadow: 34px 570px #ff0151, 68px 570px #ff0151, 102px 570px #ff0151, 136px 570px #ff0151, 170px 570px #ff0151, 204px 570px #ff0151, 238px 570px #ff0151, 272px 570px #ff0151, 306px 570px #ff0151; - } - 40.81818182% { - height: 570px; - box-shadow: 34px 285px #ff0151, 68px 570px #ff0151, 102px 570px #ff0151, 136px 570px #ff0151, 170px 570px #ff0151, 204px 570px #ff0151, 238px 570px #ff0151, 272px 570px #ff0151, 306px 570px #ff0151; - } - 41.72727273% { - box-shadow: 34px 0 #ff0151, 68px 285px #ff0151, 102px 570px #ff0151, 136px 570px #ff0151, 170px 570px #ff0151, 204px 570px #ff0151, 238px 570px #ff0151, 272px 570px #ff0151, 306px 570px #ff0151; - } - 42.63636364% { - box-shadow: 34px 0 #ff0151, 68px 0 #ff0151, 102px 285px #ff0151, 136px 570px #ff0151, 170px 570px #ff0151, 204px 570px #ff0151, 238px 570px #ff0151, 272px 570px #ff0151, 306px 570px #ff0151; - } - 43.54545455% { - box-shadow: 34px 0 #ff0151, 68px 0 #ff0151, 102px 0 #ff0151, 136px 285px #ff0151, 170px 570px #ff0151, 204px 570px #ff0151, 238px 570px #ff0151, 272px 570px #ff0151, 306px 570px #ff0151; - } - 44.45454545% { - box-shadow: 34px 0 #ff0151, 68px 0 #ff0151, 102px 0 #ff0151, 136px 0 #ff0151, 170px 285px #ff0151, 204px 570px #ff0151, 238px 570px #ff0151, 272px 570px #ff0151, 306px 570px #ff0151; - } - 45.36363636% { - box-shadow: 34px 0 #ff0151, 68px 0 #ff0151, 102px 0 #ff0151, 136px 0 #ff0151, 170px 0 #ff0151, 204px 285px #ff0151, 238px 570px #ff0151, 272px 570px #ff0151, 306px 570px #ff0151; - } - 46.27272727% { - box-shadow: 34px 0 #ff0151, 68px 0 #ff0151, 102px 0 #ff0151, 136px 0 #ff0151, 170px 0 #ff0151, 204px 0 #ff0151, 238px 285px #ff0151, 272px 570px #ff0151, 306px 570px #ff0151; - } - 47.18181818% { - box-shadow: 34px 0 #ff0151, 68px 0 #ff0151, 102px 0 #ff0151, 136px 0 #ff0151, 170px 0 #ff0151, 204px 0 #ff0151, 238px 0 #ff0151, 272px 285px #ff0151, 306px 570px #ff0151; - } - 48.09090909% { - box-shadow: 34px 0 #ff0151, 68px 0 #ff0151, 102px 0 #ff0151, 136px 0 #ff0151, 170px 0 #ff0151, 204px 0 #ff0151, 238px 0 #ff0151, 272px 0 #ff0151, 306px 285px #ff0151; - } - 49% { - box-shadow: 34px 0 #ff0151, 68px 0 #ff0151, 102px 0 #ff0151, 136px 0 #ff0151, 170px 0 #ff0151, 204px 0 #ff0151, 238px 0 #ff0151, 272px 0 #ff0151, 306px 0 #ff0151; - } -} -#gameboy.red #cover-vertical { - background-color: #ff0151; - -webkit-animation: cover-vertical-red 8s linear; - animation: cover-vertical-red 8s linear; - box-shadow: 34px 0 #ff0151, 68px 0 #ff0151, 102px 0 #ff0151, 136px 0 #ff0151, 170px 0 #ff0151, 204px 0 #ff0151, 238px 0 #ff0151, 272px 0 #ff0151, 306px 0 #ff0151; -} -#cover-horizontal { - position: absolute; - z-index: 12; - width: 340px; - height: 38px; - bottom: 0; - left: 0; -} -@-moz-keyframes cover-horizontal-transparent { - 0% { - width: 0; - height: 0; - box-shadow: none; - } - 39% { - width: 0; - height: 38px; - } - 39.625% { - width: 170px; - box-shadow: -340px -38px rgba(140, 46, 217, 0.125), -340px -76px rgba(140, 46, 217, 0.125), -340px -114px rgba(140, 46, 217, 0.125), -340px -152px rgba(140, 46, 217, 0.125), -340px -190px rgba(140, 46, 217, 0.125), -340px -228px rgba(140, 46, 217, 0.125), -340px -266px rgba(140, 46, 217, 0.125), -340px -304px rgba(140, 46, 217, 0.125), -340px -342px rgba(140, 46, 217, 0.125), -340px -380px rgba(140, 46, 217, 0.125), -340px -418px rgba(140, 46, 217, 0.125), -340px -456px rgba(140, 46, 217, 0.125), -340px -494px rgba(140, 46, 217, 0.125), -340px -532px rgba(140, 46, 217, 0.125); - } - 40.25% { - width: 340px; - box-shadow: -170px -38px rgba(140, 46, 217, 0.125), -340px -76px rgba(140, 46, 217, 0.125), -340px -114px rgba(140, 46, 217, 0.125), -340px -152px rgba(140, 46, 217, 0.125), -340px -190px rgba(140, 46, 217, 0.125), -340px -228px rgba(140, 46, 217, 0.125), -340px -266px rgba(140, 46, 217, 0.125), -340px -304px rgba(140, 46, 217, 0.125), -340px -342px rgba(140, 46, 217, 0.125), -340px -380px rgba(140, 46, 217, 0.125), -340px -418px rgba(140, 46, 217, 0.125), -340px -456px rgba(140, 46, 217, 0.125), -340px -494px rgba(140, 46, 217, 0.125), -340px -532px rgba(140, 46, 217, 0.125); - } - 40.875% { - box-shadow: 0 -38px rgba(140, 46, 217, 0.125), -170px -76px rgba(140, 46, 217, 0.125), -340px -114px rgba(140, 46, 217, 0.125), -340px -152px rgba(140, 46, 217, 0.125), -340px -190px rgba(140, 46, 217, 0.125), -340px -228px rgba(140, 46, 217, 0.125), -340px -266px rgba(140, 46, 217, 0.125), -340px -304px rgba(140, 46, 217, 0.125), -340px -342px rgba(140, 46, 217, 0.125), -340px -380px rgba(140, 46, 217, 0.125), -340px -418px rgba(140, 46, 217, 0.125), -340px -456px rgba(140, 46, 217, 0.125), -340px -494px rgba(140, 46, 217, 0.125), -340px -532px rgba(140, 46, 217, 0.125); - } - 41.5% { - box-shadow: 0 -38px rgba(140, 46, 217, 0.125), 0 -76px rgba(140, 46, 217, 0.125), -170px -114px rgba(140, 46, 217, 0.125), -340px -152px rgba(140, 46, 217, 0.125), -340px -190px rgba(140, 46, 217, 0.125), -340px -228px rgba(140, 46, 217, 0.125), -340px -266px rgba(140, 46, 217, 0.125), -340px -304px rgba(140, 46, 217, 0.125), -340px -342px rgba(140, 46, 217, 0.125), -340px -380px rgba(140, 46, 217, 0.125), -340px -418px rgba(140, 46, 217, 0.125), -340px -456px rgba(140, 46, 217, 0.125), -340px -494px rgba(140, 46, 217, 0.125), -340px -532px rgba(140, 46, 217, 0.125); - } - 42.125% { - box-shadow: 0 -38px rgba(140, 46, 217, 0.125), 0 -76px rgba(140, 46, 217, 0.125), 0 -114px rgba(140, 46, 217, 0.125), -170px -152px rgba(140, 46, 217, 0.125), -340px -190px rgba(140, 46, 217, 0.125), -340px -228px rgba(140, 46, 217, 0.125), -340px -266px rgba(140, 46, 217, 0.125), -340px -304px rgba(140, 46, 217, 0.125), -340px -342px rgba(140, 46, 217, 0.125), -340px -380px rgba(140, 46, 217, 0.125), -340px -418px rgba(140, 46, 217, 0.125), -340px -456px rgba(140, 46, 217, 0.125), -340px -494px rgba(140, 46, 217, 0.125), -340px -532px rgba(140, 46, 217, 0.125); - } - 42.75% { - box-shadow: 0 -38px rgba(140, 46, 217, 0.125), 0 -76px rgba(140, 46, 217, 0.125), 0 -114px rgba(140, 46, 217, 0.125), 0 -152px rgba(140, 46, 217, 0.125), -170px -190px rgba(140, 46, 217, 0.125), -340px -228px rgba(140, 46, 217, 0.125), -340px -266px rgba(140, 46, 217, 0.125), -340px -304px rgba(140, 46, 217, 0.125), -340px -342px rgba(140, 46, 217, 0.125), -340px -380px rgba(140, 46, 217, 0.125), -340px -418px rgba(140, 46, 217, 0.125), -340px -456px rgba(140, 46, 217, 0.125), -340px -494px rgba(140, 46, 217, 0.125), -340px -532px rgba(140, 46, 217, 0.125); - } - 43.375% { - box-shadow: 0 -38px rgba(140, 46, 217, 0.125), 0 -76px rgba(140, 46, 217, 0.125), 0 -114px rgba(140, 46, 217, 0.125), 0 -152px rgba(140, 46, 217, 0.125), 0 -190px rgba(140, 46, 217, 0.125), -170px -228px rgba(140, 46, 217, 0.125), -340px -266px rgba(140, 46, 217, 0.125), -340px -304px rgba(140, 46, 217, 0.125), -340px -342px rgba(140, 46, 217, 0.125), -340px -380px rgba(140, 46, 217, 0.125), -340px -418px rgba(140, 46, 217, 0.125), -340px -456px rgba(140, 46, 217, 0.125), -340px -494px rgba(140, 46, 217, 0.125), -340px -532px rgba(140, 46, 217, 0.125); - } - 44% { - box-shadow: 0 -38px rgba(140, 46, 217, 0.125), 0 -76px rgba(140, 46, 217, 0.125), 0 -114px rgba(140, 46, 217, 0.125), 0 -152px rgba(140, 46, 217, 0.125), 0 -190px rgba(140, 46, 217, 0.125), 0 -228px rgba(140, 46, 217, 0.125), -170px -266px rgba(140, 46, 217, 0.125), -340px -304px rgba(140, 46, 217, 0.125), -340px -342px rgba(140, 46, 217, 0.125), -340px -380px rgba(140, 46, 217, 0.125), -340px -418px rgba(140, 46, 217, 0.125), -340px -456px rgba(140, 46, 217, 0.125), -340px -494px rgba(140, 46, 217, 0.125), -340px -532px rgba(140, 46, 217, 0.125); - } - 44.625% { - box-shadow: 0 -38px rgba(140, 46, 217, 0.125), 0 -76px rgba(140, 46, 217, 0.125), 0 -114px rgba(140, 46, 217, 0.125), 0 -152px rgba(140, 46, 217, 0.125), 0 -190px rgba(140, 46, 217, 0.125), 0 -228px rgba(140, 46, 217, 0.125), 0 -266px rgba(140, 46, 217, 0.125), -170px -304px rgba(140, 46, 217, 0.125), -340px -342px rgba(140, 46, 217, 0.125), -340px -380px rgba(140, 46, 217, 0.125), -340px -418px rgba(140, 46, 217, 0.125), -340px -456px rgba(140, 46, 217, 0.125), -340px -494px rgba(140, 46, 217, 0.125), -340px -532px rgba(140, 46, 217, 0.125); - } - 45.25% { - box-shadow: 0 -38px rgba(140, 46, 217, 0.125), 0 -76px rgba(140, 46, 217, 0.125), 0 -114px rgba(140, 46, 217, 0.125), 0 -152px rgba(140, 46, 217, 0.125), 0 -190px rgba(140, 46, 217, 0.125), 0 -228px rgba(140, 46, 217, 0.125), 0 -266px rgba(140, 46, 217, 0.125), 0 -304px rgba(140, 46, 217, 0.125), -170px -342px rgba(140, 46, 217, 0.125), -340px -380px rgba(140, 46, 217, 0.125), -340px -418px rgba(140, 46, 217, 0.125), -340px -456px rgba(140, 46, 217, 0.125), -340px -494px rgba(140, 46, 217, 0.125), -340px -532px rgba(140, 46, 217, 0.125); - } - 45.875% { - box-shadow: 0 -38px rgba(140, 46, 217, 0.125), 0 -76px rgba(140, 46, 217, 0.125), 0 -114px rgba(140, 46, 217, 0.125), 0 -152px rgba(140, 46, 217, 0.125), 0 -190px rgba(140, 46, 217, 0.125), 0 -228px rgba(140, 46, 217, 0.125), 0 -266px rgba(140, 46, 217, 0.125), 0 -304px rgba(140, 46, 217, 0.125), 0 -342px rgba(140, 46, 217, 0.125), -170px -380px rgba(140, 46, 217, 0.125), -340px -418px rgba(140, 46, 217, 0.125), -340px -456px rgba(140, 46, 217, 0.125), -340px -494px rgba(140, 46, 217, 0.125), -340px -532px rgba(140, 46, 217, 0.125); - } - 46.5% { - box-shadow: 0 -38px rgba(140, 46, 217, 0.125), 0 -76px rgba(140, 46, 217, 0.125), 0 -114px rgba(140, 46, 217, 0.125), 0 -152px rgba(140, 46, 217, 0.125), 0 -190px rgba(140, 46, 217, 0.125), 0 -228px rgba(140, 46, 217, 0.125), 0 -266px rgba(140, 46, 217, 0.125), 0 -304px rgba(140, 46, 217, 0.125), 0 -342px rgba(140, 46, 217, 0.125), 0 -380px rgba(140, 46, 217, 0.125), -170px -418px rgba(140, 46, 217, 0.125), -340px -456px rgba(140, 46, 217, 0.125), -340px -494px rgba(140, 46, 217, 0.125), -340px -532px rgba(140, 46, 217, 0.125); - } - 47.125% { - box-shadow: 0 -38px rgba(140, 46, 217, 0.125), 0 -76px rgba(140, 46, 217, 0.125), 0 -114px rgba(140, 46, 217, 0.125), 0 -152px rgba(140, 46, 217, 0.125), 0 -190px rgba(140, 46, 217, 0.125), 0 -228px rgba(140, 46, 217, 0.125), 0 -266px rgba(140, 46, 217, 0.125), 0 -304px rgba(140, 46, 217, 0.125), 0 -342px rgba(140, 46, 217, 0.125), 0 -380px rgba(140, 46, 217, 0.125), 0 -418px rgba(140, 46, 217, 0.125), -170px -456px rgba(140, 46, 217, 0.125), -340px -494px rgba(140, 46, 217, 0.125), -340px -532px rgba(140, 46, 217, 0.125); - } - 47.75% { - box-shadow: 0 -38px rgba(140, 46, 217, 0.125), 0 -76px rgba(140, 46, 217, 0.125), 0 -114px rgba(140, 46, 217, 0.125), 0 -152px rgba(140, 46, 217, 0.125), 0 -190px rgba(140, 46, 217, 0.125), 0 -228px rgba(140, 46, 217, 0.125), 0 -266px rgba(140, 46, 217, 0.125), 0 -304px rgba(140, 46, 217, 0.125), 0 -342px rgba(140, 46, 217, 0.125), 0 -380px rgba(140, 46, 217, 0.125), 0 -418px rgba(140, 46, 217, 0.125), 0 -456px rgba(140, 46, 217, 0.125), -170px -494px rgba(140, 46, 217, 0.125), -340px -532px rgba(140, 46, 217, 0.125); - } - 48.375% { - box-shadow: 0 -38px rgba(140, 46, 217, 0.125), 0 -76px rgba(140, 46, 217, 0.125), 0 -114px rgba(140, 46, 217, 0.125), 0 -152px rgba(140, 46, 217, 0.125), 0 -190px rgba(140, 46, 217, 0.125), 0 -228px rgba(140, 46, 217, 0.125), 0 -266px rgba(140, 46, 217, 0.125), 0 -304px rgba(140, 46, 217, 0.125), 0 -342px rgba(140, 46, 217, 0.125), 0 -380px rgba(140, 46, 217, 0.125), 0 -418px rgba(140, 46, 217, 0.125), 0 -456px rgba(140, 46, 217, 0.125), 0 -494px rgba(140, 46, 217, 0.125), -170px -532px rgba(140, 46, 217, 0.125); - } - 49% { - box-shadow: 0 -38px rgba(140, 46, 217, 0.125), 0 -76px rgba(140, 46, 217, 0.125), 0 -114px rgba(140, 46, 217, 0.125), 0 -152px rgba(140, 46, 217, 0.125), 0 -190px rgba(140, 46, 217, 0.125), 0 -228px rgba(140, 46, 217, 0.125), 0 -266px rgba(140, 46, 217, 0.125), 0 -304px rgba(140, 46, 217, 0.125), 0 -342px rgba(140, 46, 217, 0.125), 0 -380px rgba(140, 46, 217, 0.125), 0 -418px rgba(140, 46, 217, 0.125), 0 -456px rgba(140, 46, 217, 0.125), 0 -494px rgba(140, 46, 217, 0.125), 0 -532px rgba(140, 46, 217, 0.125); - } -} -@-webkit-keyframes cover-horizontal-transparent { - 0% { - width: 0; - height: 0; - box-shadow: none; - } - 39% { - width: 0; - height: 38px; - } - 39.625% { - width: 170px; - box-shadow: -340px -38px rgba(140, 46, 217, 0.125), -340px -76px rgba(140, 46, 217, 0.125), -340px -114px rgba(140, 46, 217, 0.125), -340px -152px rgba(140, 46, 217, 0.125), -340px -190px rgba(140, 46, 217, 0.125), -340px -228px rgba(140, 46, 217, 0.125), -340px -266px rgba(140, 46, 217, 0.125), -340px -304px rgba(140, 46, 217, 0.125), -340px -342px rgba(140, 46, 217, 0.125), -340px -380px rgba(140, 46, 217, 0.125), -340px -418px rgba(140, 46, 217, 0.125), -340px -456px rgba(140, 46, 217, 0.125), -340px -494px rgba(140, 46, 217, 0.125), -340px -532px rgba(140, 46, 217, 0.125); - } - 40.25% { - width: 340px; - box-shadow: -170px -38px rgba(140, 46, 217, 0.125), -340px -76px rgba(140, 46, 217, 0.125), -340px -114px rgba(140, 46, 217, 0.125), -340px -152px rgba(140, 46, 217, 0.125), -340px -190px rgba(140, 46, 217, 0.125), -340px -228px rgba(140, 46, 217, 0.125), -340px -266px rgba(140, 46, 217, 0.125), -340px -304px rgba(140, 46, 217, 0.125), -340px -342px rgba(140, 46, 217, 0.125), -340px -380px rgba(140, 46, 217, 0.125), -340px -418px rgba(140, 46, 217, 0.125), -340px -456px rgba(140, 46, 217, 0.125), -340px -494px rgba(140, 46, 217, 0.125), -340px -532px rgba(140, 46, 217, 0.125); - } - 40.875% { - box-shadow: 0 -38px rgba(140, 46, 217, 0.125), -170px -76px rgba(140, 46, 217, 0.125), -340px -114px rgba(140, 46, 217, 0.125), -340px -152px rgba(140, 46, 217, 0.125), -340px -190px rgba(140, 46, 217, 0.125), -340px -228px rgba(140, 46, 217, 0.125), -340px -266px rgba(140, 46, 217, 0.125), -340px -304px rgba(140, 46, 217, 0.125), -340px -342px rgba(140, 46, 217, 0.125), -340px -380px rgba(140, 46, 217, 0.125), -340px -418px rgba(140, 46, 217, 0.125), -340px -456px rgba(140, 46, 217, 0.125), -340px -494px rgba(140, 46, 217, 0.125), -340px -532px rgba(140, 46, 217, 0.125); - } - 41.5% { - box-shadow: 0 -38px rgba(140, 46, 217, 0.125), 0 -76px rgba(140, 46, 217, 0.125), -170px -114px rgba(140, 46, 217, 0.125), -340px -152px rgba(140, 46, 217, 0.125), -340px -190px rgba(140, 46, 217, 0.125), -340px -228px rgba(140, 46, 217, 0.125), -340px -266px rgba(140, 46, 217, 0.125), -340px -304px rgba(140, 46, 217, 0.125), -340px -342px rgba(140, 46, 217, 0.125), -340px -380px rgba(140, 46, 217, 0.125), -340px -418px rgba(140, 46, 217, 0.125), -340px -456px rgba(140, 46, 217, 0.125), -340px -494px rgba(140, 46, 217, 0.125), -340px -532px rgba(140, 46, 217, 0.125); - } - 42.125% { - box-shadow: 0 -38px rgba(140, 46, 217, 0.125), 0 -76px rgba(140, 46, 217, 0.125), 0 -114px rgba(140, 46, 217, 0.125), -170px -152px rgba(140, 46, 217, 0.125), -340px -190px rgba(140, 46, 217, 0.125), -340px -228px rgba(140, 46, 217, 0.125), -340px -266px rgba(140, 46, 217, 0.125), -340px -304px rgba(140, 46, 217, 0.125), -340px -342px rgba(140, 46, 217, 0.125), -340px -380px rgba(140, 46, 217, 0.125), -340px -418px rgba(140, 46, 217, 0.125), -340px -456px rgba(140, 46, 217, 0.125), -340px -494px rgba(140, 46, 217, 0.125), -340px -532px rgba(140, 46, 217, 0.125); - } - 42.75% { - box-shadow: 0 -38px rgba(140, 46, 217, 0.125), 0 -76px rgba(140, 46, 217, 0.125), 0 -114px rgba(140, 46, 217, 0.125), 0 -152px rgba(140, 46, 217, 0.125), -170px -190px rgba(140, 46, 217, 0.125), -340px -228px rgba(140, 46, 217, 0.125), -340px -266px rgba(140, 46, 217, 0.125), -340px -304px rgba(140, 46, 217, 0.125), -340px -342px rgba(140, 46, 217, 0.125), -340px -380px rgba(140, 46, 217, 0.125), -340px -418px rgba(140, 46, 217, 0.125), -340px -456px rgba(140, 46, 217, 0.125), -340px -494px rgba(140, 46, 217, 0.125), -340px -532px rgba(140, 46, 217, 0.125); - } - 43.375% { - box-shadow: 0 -38px rgba(140, 46, 217, 0.125), 0 -76px rgba(140, 46, 217, 0.125), 0 -114px rgba(140, 46, 217, 0.125), 0 -152px rgba(140, 46, 217, 0.125), 0 -190px rgba(140, 46, 217, 0.125), -170px -228px rgba(140, 46, 217, 0.125), -340px -266px rgba(140, 46, 217, 0.125), -340px -304px rgba(140, 46, 217, 0.125), -340px -342px rgba(140, 46, 217, 0.125), -340px -380px rgba(140, 46, 217, 0.125), -340px -418px rgba(140, 46, 217, 0.125), -340px -456px rgba(140, 46, 217, 0.125), -340px -494px rgba(140, 46, 217, 0.125), -340px -532px rgba(140, 46, 217, 0.125); - } - 44% { - box-shadow: 0 -38px rgba(140, 46, 217, 0.125), 0 -76px rgba(140, 46, 217, 0.125), 0 -114px rgba(140, 46, 217, 0.125), 0 -152px rgba(140, 46, 217, 0.125), 0 -190px rgba(140, 46, 217, 0.125), 0 -228px rgba(140, 46, 217, 0.125), -170px -266px rgba(140, 46, 217, 0.125), -340px -304px rgba(140, 46, 217, 0.125), -340px -342px rgba(140, 46, 217, 0.125), -340px -380px rgba(140, 46, 217, 0.125), -340px -418px rgba(140, 46, 217, 0.125), -340px -456px rgba(140, 46, 217, 0.125), -340px -494px rgba(140, 46, 217, 0.125), -340px -532px rgba(140, 46, 217, 0.125); - } - 44.625% { - box-shadow: 0 -38px rgba(140, 46, 217, 0.125), 0 -76px rgba(140, 46, 217, 0.125), 0 -114px rgba(140, 46, 217, 0.125), 0 -152px rgba(140, 46, 217, 0.125), 0 -190px rgba(140, 46, 217, 0.125), 0 -228px rgba(140, 46, 217, 0.125), 0 -266px rgba(140, 46, 217, 0.125), -170px -304px rgba(140, 46, 217, 0.125), -340px -342px rgba(140, 46, 217, 0.125), -340px -380px rgba(140, 46, 217, 0.125), -340px -418px rgba(140, 46, 217, 0.125), -340px -456px rgba(140, 46, 217, 0.125), -340px -494px rgba(140, 46, 217, 0.125), -340px -532px rgba(140, 46, 217, 0.125); - } - 45.25% { - box-shadow: 0 -38px rgba(140, 46, 217, 0.125), 0 -76px rgba(140, 46, 217, 0.125), 0 -114px rgba(140, 46, 217, 0.125), 0 -152px rgba(140, 46, 217, 0.125), 0 -190px rgba(140, 46, 217, 0.125), 0 -228px rgba(140, 46, 217, 0.125), 0 -266px rgba(140, 46, 217, 0.125), 0 -304px rgba(140, 46, 217, 0.125), -170px -342px rgba(140, 46, 217, 0.125), -340px -380px rgba(140, 46, 217, 0.125), -340px -418px rgba(140, 46, 217, 0.125), -340px -456px rgba(140, 46, 217, 0.125), -340px -494px rgba(140, 46, 217, 0.125), -340px -532px rgba(140, 46, 217, 0.125); - } - 45.875% { - box-shadow: 0 -38px rgba(140, 46, 217, 0.125), 0 -76px rgba(140, 46, 217, 0.125), 0 -114px rgba(140, 46, 217, 0.125), 0 -152px rgba(140, 46, 217, 0.125), 0 -190px rgba(140, 46, 217, 0.125), 0 -228px rgba(140, 46, 217, 0.125), 0 -266px rgba(140, 46, 217, 0.125), 0 -304px rgba(140, 46, 217, 0.125), 0 -342px rgba(140, 46, 217, 0.125), -170px -380px rgba(140, 46, 217, 0.125), -340px -418px rgba(140, 46, 217, 0.125), -340px -456px rgba(140, 46, 217, 0.125), -340px -494px rgba(140, 46, 217, 0.125), -340px -532px rgba(140, 46, 217, 0.125); - } - 46.5% { - box-shadow: 0 -38px rgba(140, 46, 217, 0.125), 0 -76px rgba(140, 46, 217, 0.125), 0 -114px rgba(140, 46, 217, 0.125), 0 -152px rgba(140, 46, 217, 0.125), 0 -190px rgba(140, 46, 217, 0.125), 0 -228px rgba(140, 46, 217, 0.125), 0 -266px rgba(140, 46, 217, 0.125), 0 -304px rgba(140, 46, 217, 0.125), 0 -342px rgba(140, 46, 217, 0.125), 0 -380px rgba(140, 46, 217, 0.125), -170px -418px rgba(140, 46, 217, 0.125), -340px -456px rgba(140, 46, 217, 0.125), -340px -494px rgba(140, 46, 217, 0.125), -340px -532px rgba(140, 46, 217, 0.125); - } - 47.125% { - box-shadow: 0 -38px rgba(140, 46, 217, 0.125), 0 -76px rgba(140, 46, 217, 0.125), 0 -114px rgba(140, 46, 217, 0.125), 0 -152px rgba(140, 46, 217, 0.125), 0 -190px rgba(140, 46, 217, 0.125), 0 -228px rgba(140, 46, 217, 0.125), 0 -266px rgba(140, 46, 217, 0.125), 0 -304px rgba(140, 46, 217, 0.125), 0 -342px rgba(140, 46, 217, 0.125), 0 -380px rgba(140, 46, 217, 0.125), 0 -418px rgba(140, 46, 217, 0.125), -170px -456px rgba(140, 46, 217, 0.125), -340px -494px rgba(140, 46, 217, 0.125), -340px -532px rgba(140, 46, 217, 0.125); - } - 47.75% { - box-shadow: 0 -38px rgba(140, 46, 217, 0.125), 0 -76px rgba(140, 46, 217, 0.125), 0 -114px rgba(140, 46, 217, 0.125), 0 -152px rgba(140, 46, 217, 0.125), 0 -190px rgba(140, 46, 217, 0.125), 0 -228px rgba(140, 46, 217, 0.125), 0 -266px rgba(140, 46, 217, 0.125), 0 -304px rgba(140, 46, 217, 0.125), 0 -342px rgba(140, 46, 217, 0.125), 0 -380px rgba(140, 46, 217, 0.125), 0 -418px rgba(140, 46, 217, 0.125), 0 -456px rgba(140, 46, 217, 0.125), -170px -494px rgba(140, 46, 217, 0.125), -340px -532px rgba(140, 46, 217, 0.125); - } - 48.375% { - box-shadow: 0 -38px rgba(140, 46, 217, 0.125), 0 -76px rgba(140, 46, 217, 0.125), 0 -114px rgba(140, 46, 217, 0.125), 0 -152px rgba(140, 46, 217, 0.125), 0 -190px rgba(140, 46, 217, 0.125), 0 -228px rgba(140, 46, 217, 0.125), 0 -266px rgba(140, 46, 217, 0.125), 0 -304px rgba(140, 46, 217, 0.125), 0 -342px rgba(140, 46, 217, 0.125), 0 -380px rgba(140, 46, 217, 0.125), 0 -418px rgba(140, 46, 217, 0.125), 0 -456px rgba(140, 46, 217, 0.125), 0 -494px rgba(140, 46, 217, 0.125), -170px -532px rgba(140, 46, 217, 0.125); - } - 49% { - box-shadow: 0 -38px rgba(140, 46, 217, 0.125), 0 -76px rgba(140, 46, 217, 0.125), 0 -114px rgba(140, 46, 217, 0.125), 0 -152px rgba(140, 46, 217, 0.125), 0 -190px rgba(140, 46, 217, 0.125), 0 -228px rgba(140, 46, 217, 0.125), 0 -266px rgba(140, 46, 217, 0.125), 0 -304px rgba(140, 46, 217, 0.125), 0 -342px rgba(140, 46, 217, 0.125), 0 -380px rgba(140, 46, 217, 0.125), 0 -418px rgba(140, 46, 217, 0.125), 0 -456px rgba(140, 46, 217, 0.125), 0 -494px rgba(140, 46, 217, 0.125), 0 -532px rgba(140, 46, 217, 0.125); - } -} -@keyframes cover-horizontal-transparent { - 0% { - width: 0; - height: 0; - box-shadow: none; - } - 39% { - width: 0; - height: 38px; - } - 39.625% { - width: 170px; - box-shadow: -340px -38px rgba(140, 46, 217, 0.125), -340px -76px rgba(140, 46, 217, 0.125), -340px -114px rgba(140, 46, 217, 0.125), -340px -152px rgba(140, 46, 217, 0.125), -340px -190px rgba(140, 46, 217, 0.125), -340px -228px rgba(140, 46, 217, 0.125), -340px -266px rgba(140, 46, 217, 0.125), -340px -304px rgba(140, 46, 217, 0.125), -340px -342px rgba(140, 46, 217, 0.125), -340px -380px rgba(140, 46, 217, 0.125), -340px -418px rgba(140, 46, 217, 0.125), -340px -456px rgba(140, 46, 217, 0.125), -340px -494px rgba(140, 46, 217, 0.125), -340px -532px rgba(140, 46, 217, 0.125); - } - 40.25% { - width: 340px; - box-shadow: -170px -38px rgba(140, 46, 217, 0.125), -340px -76px rgba(140, 46, 217, 0.125), -340px -114px rgba(140, 46, 217, 0.125), -340px -152px rgba(140, 46, 217, 0.125), -340px -190px rgba(140, 46, 217, 0.125), -340px -228px rgba(140, 46, 217, 0.125), -340px -266px rgba(140, 46, 217, 0.125), -340px -304px rgba(140, 46, 217, 0.125), -340px -342px rgba(140, 46, 217, 0.125), -340px -380px rgba(140, 46, 217, 0.125), -340px -418px rgba(140, 46, 217, 0.125), -340px -456px rgba(140, 46, 217, 0.125), -340px -494px rgba(140, 46, 217, 0.125), -340px -532px rgba(140, 46, 217, 0.125); - } - 40.875% { - box-shadow: 0 -38px rgba(140, 46, 217, 0.125), -170px -76px rgba(140, 46, 217, 0.125), -340px -114px rgba(140, 46, 217, 0.125), -340px -152px rgba(140, 46, 217, 0.125), -340px -190px rgba(140, 46, 217, 0.125), -340px -228px rgba(140, 46, 217, 0.125), -340px -266px rgba(140, 46, 217, 0.125), -340px -304px rgba(140, 46, 217, 0.125), -340px -342px rgba(140, 46, 217, 0.125), -340px -380px rgba(140, 46, 217, 0.125), -340px -418px rgba(140, 46, 217, 0.125), -340px -456px rgba(140, 46, 217, 0.125), -340px -494px rgba(140, 46, 217, 0.125), -340px -532px rgba(140, 46, 217, 0.125); - } - 41.5% { - box-shadow: 0 -38px rgba(140, 46, 217, 0.125), 0 -76px rgba(140, 46, 217, 0.125), -170px -114px rgba(140, 46, 217, 0.125), -340px -152px rgba(140, 46, 217, 0.125), -340px -190px rgba(140, 46, 217, 0.125), -340px -228px rgba(140, 46, 217, 0.125), -340px -266px rgba(140, 46, 217, 0.125), -340px -304px rgba(140, 46, 217, 0.125), -340px -342px rgba(140, 46, 217, 0.125), -340px -380px rgba(140, 46, 217, 0.125), -340px -418px rgba(140, 46, 217, 0.125), -340px -456px rgba(140, 46, 217, 0.125), -340px -494px rgba(140, 46, 217, 0.125), -340px -532px rgba(140, 46, 217, 0.125); - } - 42.125% { - box-shadow: 0 -38px rgba(140, 46, 217, 0.125), 0 -76px rgba(140, 46, 217, 0.125), 0 -114px rgba(140, 46, 217, 0.125), -170px -152px rgba(140, 46, 217, 0.125), -340px -190px rgba(140, 46, 217, 0.125), -340px -228px rgba(140, 46, 217, 0.125), -340px -266px rgba(140, 46, 217, 0.125), -340px -304px rgba(140, 46, 217, 0.125), -340px -342px rgba(140, 46, 217, 0.125), -340px -380px rgba(140, 46, 217, 0.125), -340px -418px rgba(140, 46, 217, 0.125), -340px -456px rgba(140, 46, 217, 0.125), -340px -494px rgba(140, 46, 217, 0.125), -340px -532px rgba(140, 46, 217, 0.125); - } - 42.75% { - box-shadow: 0 -38px rgba(140, 46, 217, 0.125), 0 -76px rgba(140, 46, 217, 0.125), 0 -114px rgba(140, 46, 217, 0.125), 0 -152px rgba(140, 46, 217, 0.125), -170px -190px rgba(140, 46, 217, 0.125), -340px -228px rgba(140, 46, 217, 0.125), -340px -266px rgba(140, 46, 217, 0.125), -340px -304px rgba(140, 46, 217, 0.125), -340px -342px rgba(140, 46, 217, 0.125), -340px -380px rgba(140, 46, 217, 0.125), -340px -418px rgba(140, 46, 217, 0.125), -340px -456px rgba(140, 46, 217, 0.125), -340px -494px rgba(140, 46, 217, 0.125), -340px -532px rgba(140, 46, 217, 0.125); - } - 43.375% { - box-shadow: 0 -38px rgba(140, 46, 217, 0.125), 0 -76px rgba(140, 46, 217, 0.125), 0 -114px rgba(140, 46, 217, 0.125), 0 -152px rgba(140, 46, 217, 0.125), 0 -190px rgba(140, 46, 217, 0.125), -170px -228px rgba(140, 46, 217, 0.125), -340px -266px rgba(140, 46, 217, 0.125), -340px -304px rgba(140, 46, 217, 0.125), -340px -342px rgba(140, 46, 217, 0.125), -340px -380px rgba(140, 46, 217, 0.125), -340px -418px rgba(140, 46, 217, 0.125), -340px -456px rgba(140, 46, 217, 0.125), -340px -494px rgba(140, 46, 217, 0.125), -340px -532px rgba(140, 46, 217, 0.125); - } - 44% { - box-shadow: 0 -38px rgba(140, 46, 217, 0.125), 0 -76px rgba(140, 46, 217, 0.125), 0 -114px rgba(140, 46, 217, 0.125), 0 -152px rgba(140, 46, 217, 0.125), 0 -190px rgba(140, 46, 217, 0.125), 0 -228px rgba(140, 46, 217, 0.125), -170px -266px rgba(140, 46, 217, 0.125), -340px -304px rgba(140, 46, 217, 0.125), -340px -342px rgba(140, 46, 217, 0.125), -340px -380px rgba(140, 46, 217, 0.125), -340px -418px rgba(140, 46, 217, 0.125), -340px -456px rgba(140, 46, 217, 0.125), -340px -494px rgba(140, 46, 217, 0.125), -340px -532px rgba(140, 46, 217, 0.125); - } - 44.625% { - box-shadow: 0 -38px rgba(140, 46, 217, 0.125), 0 -76px rgba(140, 46, 217, 0.125), 0 -114px rgba(140, 46, 217, 0.125), 0 -152px rgba(140, 46, 217, 0.125), 0 -190px rgba(140, 46, 217, 0.125), 0 -228px rgba(140, 46, 217, 0.125), 0 -266px rgba(140, 46, 217, 0.125), -170px -304px rgba(140, 46, 217, 0.125), -340px -342px rgba(140, 46, 217, 0.125), -340px -380px rgba(140, 46, 217, 0.125), -340px -418px rgba(140, 46, 217, 0.125), -340px -456px rgba(140, 46, 217, 0.125), -340px -494px rgba(140, 46, 217, 0.125), -340px -532px rgba(140, 46, 217, 0.125); - } - 45.25% { - box-shadow: 0 -38px rgba(140, 46, 217, 0.125), 0 -76px rgba(140, 46, 217, 0.125), 0 -114px rgba(140, 46, 217, 0.125), 0 -152px rgba(140, 46, 217, 0.125), 0 -190px rgba(140, 46, 217, 0.125), 0 -228px rgba(140, 46, 217, 0.125), 0 -266px rgba(140, 46, 217, 0.125), 0 -304px rgba(140, 46, 217, 0.125), -170px -342px rgba(140, 46, 217, 0.125), -340px -380px rgba(140, 46, 217, 0.125), -340px -418px rgba(140, 46, 217, 0.125), -340px -456px rgba(140, 46, 217, 0.125), -340px -494px rgba(140, 46, 217, 0.125), -340px -532px rgba(140, 46, 217, 0.125); - } - 45.875% { - box-shadow: 0 -38px rgba(140, 46, 217, 0.125), 0 -76px rgba(140, 46, 217, 0.125), 0 -114px rgba(140, 46, 217, 0.125), 0 -152px rgba(140, 46, 217, 0.125), 0 -190px rgba(140, 46, 217, 0.125), 0 -228px rgba(140, 46, 217, 0.125), 0 -266px rgba(140, 46, 217, 0.125), 0 -304px rgba(140, 46, 217, 0.125), 0 -342px rgba(140, 46, 217, 0.125), -170px -380px rgba(140, 46, 217, 0.125), -340px -418px rgba(140, 46, 217, 0.125), -340px -456px rgba(140, 46, 217, 0.125), -340px -494px rgba(140, 46, 217, 0.125), -340px -532px rgba(140, 46, 217, 0.125); - } - 46.5% { - box-shadow: 0 -38px rgba(140, 46, 217, 0.125), 0 -76px rgba(140, 46, 217, 0.125), 0 -114px rgba(140, 46, 217, 0.125), 0 -152px rgba(140, 46, 217, 0.125), 0 -190px rgba(140, 46, 217, 0.125), 0 -228px rgba(140, 46, 217, 0.125), 0 -266px rgba(140, 46, 217, 0.125), 0 -304px rgba(140, 46, 217, 0.125), 0 -342px rgba(140, 46, 217, 0.125), 0 -380px rgba(140, 46, 217, 0.125), -170px -418px rgba(140, 46, 217, 0.125), -340px -456px rgba(140, 46, 217, 0.125), -340px -494px rgba(140, 46, 217, 0.125), -340px -532px rgba(140, 46, 217, 0.125); - } - 47.125% { - box-shadow: 0 -38px rgba(140, 46, 217, 0.125), 0 -76px rgba(140, 46, 217, 0.125), 0 -114px rgba(140, 46, 217, 0.125), 0 -152px rgba(140, 46, 217, 0.125), 0 -190px rgba(140, 46, 217, 0.125), 0 -228px rgba(140, 46, 217, 0.125), 0 -266px rgba(140, 46, 217, 0.125), 0 -304px rgba(140, 46, 217, 0.125), 0 -342px rgba(140, 46, 217, 0.125), 0 -380px rgba(140, 46, 217, 0.125), 0 -418px rgba(140, 46, 217, 0.125), -170px -456px rgba(140, 46, 217, 0.125), -340px -494px rgba(140, 46, 217, 0.125), -340px -532px rgba(140, 46, 217, 0.125); - } - 47.75% { - box-shadow: 0 -38px rgba(140, 46, 217, 0.125), 0 -76px rgba(140, 46, 217, 0.125), 0 -114px rgba(140, 46, 217, 0.125), 0 -152px rgba(140, 46, 217, 0.125), 0 -190px rgba(140, 46, 217, 0.125), 0 -228px rgba(140, 46, 217, 0.125), 0 -266px rgba(140, 46, 217, 0.125), 0 -304px rgba(140, 46, 217, 0.125), 0 -342px rgba(140, 46, 217, 0.125), 0 -380px rgba(140, 46, 217, 0.125), 0 -418px rgba(140, 46, 217, 0.125), 0 -456px rgba(140, 46, 217, 0.125), -170px -494px rgba(140, 46, 217, 0.125), -340px -532px rgba(140, 46, 217, 0.125); - } - 48.375% { - box-shadow: 0 -38px rgba(140, 46, 217, 0.125), 0 -76px rgba(140, 46, 217, 0.125), 0 -114px rgba(140, 46, 217, 0.125), 0 -152px rgba(140, 46, 217, 0.125), 0 -190px rgba(140, 46, 217, 0.125), 0 -228px rgba(140, 46, 217, 0.125), 0 -266px rgba(140, 46, 217, 0.125), 0 -304px rgba(140, 46, 217, 0.125), 0 -342px rgba(140, 46, 217, 0.125), 0 -380px rgba(140, 46, 217, 0.125), 0 -418px rgba(140, 46, 217, 0.125), 0 -456px rgba(140, 46, 217, 0.125), 0 -494px rgba(140, 46, 217, 0.125), -170px -532px rgba(140, 46, 217, 0.125); - } - 49% { - box-shadow: 0 -38px rgba(140, 46, 217, 0.125), 0 -76px rgba(140, 46, 217, 0.125), 0 -114px rgba(140, 46, 217, 0.125), 0 -152px rgba(140, 46, 217, 0.125), 0 -190px rgba(140, 46, 217, 0.125), 0 -228px rgba(140, 46, 217, 0.125), 0 -266px rgba(140, 46, 217, 0.125), 0 -304px rgba(140, 46, 217, 0.125), 0 -342px rgba(140, 46, 217, 0.125), 0 -380px rgba(140, 46, 217, 0.125), 0 -418px rgba(140, 46, 217, 0.125), 0 -456px rgba(140, 46, 217, 0.125), 0 -494px rgba(140, 46, 217, 0.125), 0 -532px rgba(140, 46, 217, 0.125); - } -} -#gameboy.transparent #cover-horizontal { - background-color: rgba(140, 46, 217, 0.125); - -webkit-animation: cover-horizontal-transparent 8s linear; - animation: cover-horizontal-transparent 8s linear; - box-shadow: 0 -38px rgba(140, 46, 217, 0.125), 0 -76px rgba(140, 46, 217, 0.125), 0 -114px rgba(140, 46, 217, 0.125), 0 -152px rgba(140, 46, 217, 0.125), 0 -190px rgba(140, 46, 217, 0.125), 0 -228px rgba(140, 46, 217, 0.125), 0 -266px rgba(140, 46, 217, 0.125), 0 -304px rgba(140, 46, 217, 0.125), 0 -342px rgba(140, 46, 217, 0.125), 0 -380px rgba(140, 46, 217, 0.125), 0 -418px rgba(140, 46, 217, 0.125), 0 -456px rgba(140, 46, 217, 0.125), 0 -494px rgba(140, 46, 217, 0.125), 0 -532px rgba(140, 46, 217, 0.125); -} -@-moz-keyframes cover-horizontal-teal { - 0% { - width: 0; - height: 0; - box-shadow: none; - } - 39% { - width: 0; - height: 38px; - } - 39.625% { - width: 170px; - box-shadow: -340px -38px #01b4dd, -340px -76px #01b4dd, -340px -114px #01b4dd, -340px -152px #01b4dd, -340px -190px #01b4dd, -340px -228px #01b4dd, -340px -266px #01b4dd, -340px -304px #01b4dd, -340px -342px #01b4dd, -340px -380px #01b4dd, -340px -418px #01b4dd, -340px -456px #01b4dd, -340px -494px #01b4dd, -340px -532px #01b4dd; - } - 40.25% { - width: 340px; - box-shadow: -170px -38px #01b4dd, -340px -76px #01b4dd, -340px -114px #01b4dd, -340px -152px #01b4dd, -340px -190px #01b4dd, -340px -228px #01b4dd, -340px -266px #01b4dd, -340px -304px #01b4dd, -340px -342px #01b4dd, -340px -380px #01b4dd, -340px -418px #01b4dd, -340px -456px #01b4dd, -340px -494px #01b4dd, -340px -532px #01b4dd; - } - 40.875% { - box-shadow: 0 -38px #01b4dd, -170px -76px #01b4dd, -340px -114px #01b4dd, -340px -152px #01b4dd, -340px -190px #01b4dd, -340px -228px #01b4dd, -340px -266px #01b4dd, -340px -304px #01b4dd, -340px -342px #01b4dd, -340px -380px #01b4dd, -340px -418px #01b4dd, -340px -456px #01b4dd, -340px -494px #01b4dd, -340px -532px #01b4dd; - } - 41.5% { - box-shadow: 0 -38px #01b4dd, 0 -76px #01b4dd, -170px -114px #01b4dd, -340px -152px #01b4dd, -340px -190px #01b4dd, -340px -228px #01b4dd, -340px -266px #01b4dd, -340px -304px #01b4dd, -340px -342px #01b4dd, -340px -380px #01b4dd, -340px -418px #01b4dd, -340px -456px #01b4dd, -340px -494px #01b4dd, -340px -532px #01b4dd; - } - 42.125% { - box-shadow: 0 -38px #01b4dd, 0 -76px #01b4dd, 0 -114px #01b4dd, -170px -152px #01b4dd, -340px -190px #01b4dd, -340px -228px #01b4dd, -340px -266px #01b4dd, -340px -304px #01b4dd, -340px -342px #01b4dd, -340px -380px #01b4dd, -340px -418px #01b4dd, -340px -456px #01b4dd, -340px -494px #01b4dd, -340px -532px #01b4dd; - } - 42.75% { - box-shadow: 0 -38px #01b4dd, 0 -76px #01b4dd, 0 -114px #01b4dd, 0 -152px #01b4dd, -170px -190px #01b4dd, -340px -228px #01b4dd, -340px -266px #01b4dd, -340px -304px #01b4dd, -340px -342px #01b4dd, -340px -380px #01b4dd, -340px -418px #01b4dd, -340px -456px #01b4dd, -340px -494px #01b4dd, -340px -532px #01b4dd; - } - 43.375% { - box-shadow: 0 -38px #01b4dd, 0 -76px #01b4dd, 0 -114px #01b4dd, 0 -152px #01b4dd, 0 -190px #01b4dd, -170px -228px #01b4dd, -340px -266px #01b4dd, -340px -304px #01b4dd, -340px -342px #01b4dd, -340px -380px #01b4dd, -340px -418px #01b4dd, -340px -456px #01b4dd, -340px -494px #01b4dd, -340px -532px #01b4dd; - } - 44% { - box-shadow: 0 -38px #01b4dd, 0 -76px #01b4dd, 0 -114px #01b4dd, 0 -152px #01b4dd, 0 -190px #01b4dd, 0 -228px #01b4dd, -170px -266px #01b4dd, -340px -304px #01b4dd, -340px -342px #01b4dd, -340px -380px #01b4dd, -340px -418px #01b4dd, -340px -456px #01b4dd, -340px -494px #01b4dd, -340px -532px #01b4dd; - } - 44.625% { - box-shadow: 0 -38px #01b4dd, 0 -76px #01b4dd, 0 -114px #01b4dd, 0 -152px #01b4dd, 0 -190px #01b4dd, 0 -228px #01b4dd, 0 -266px #01b4dd, -170px -304px #01b4dd, -340px -342px #01b4dd, -340px -380px #01b4dd, -340px -418px #01b4dd, -340px -456px #01b4dd, -340px -494px #01b4dd, -340px -532px #01b4dd; - } - 45.25% { - box-shadow: 0 -38px #01b4dd, 0 -76px #01b4dd, 0 -114px #01b4dd, 0 -152px #01b4dd, 0 -190px #01b4dd, 0 -228px #01b4dd, 0 -266px #01b4dd, 0 -304px #01b4dd, -170px -342px #01b4dd, -340px -380px #01b4dd, -340px -418px #01b4dd, -340px -456px #01b4dd, -340px -494px #01b4dd, -340px -532px #01b4dd; - } - 45.875% { - box-shadow: 0 -38px #01b4dd, 0 -76px #01b4dd, 0 -114px #01b4dd, 0 -152px #01b4dd, 0 -190px #01b4dd, 0 -228px #01b4dd, 0 -266px #01b4dd, 0 -304px #01b4dd, 0 -342px #01b4dd, -170px -380px #01b4dd, -340px -418px #01b4dd, -340px -456px #01b4dd, -340px -494px #01b4dd, -340px -532px #01b4dd; - } - 46.5% { - box-shadow: 0 -38px #01b4dd, 0 -76px #01b4dd, 0 -114px #01b4dd, 0 -152px #01b4dd, 0 -190px #01b4dd, 0 -228px #01b4dd, 0 -266px #01b4dd, 0 -304px #01b4dd, 0 -342px #01b4dd, 0 -380px #01b4dd, -170px -418px #01b4dd, -340px -456px #01b4dd, -340px -494px #01b4dd, -340px -532px #01b4dd; - } - 47.125% { - box-shadow: 0 -38px #01b4dd, 0 -76px #01b4dd, 0 -114px #01b4dd, 0 -152px #01b4dd, 0 -190px #01b4dd, 0 -228px #01b4dd, 0 -266px #01b4dd, 0 -304px #01b4dd, 0 -342px #01b4dd, 0 -380px #01b4dd, 0 -418px #01b4dd, -170px -456px #01b4dd, -340px -494px #01b4dd, -340px -532px #01b4dd; - } - 47.75% { - box-shadow: 0 -38px #01b4dd, 0 -76px #01b4dd, 0 -114px #01b4dd, 0 -152px #01b4dd, 0 -190px #01b4dd, 0 -228px #01b4dd, 0 -266px #01b4dd, 0 -304px #01b4dd, 0 -342px #01b4dd, 0 -380px #01b4dd, 0 -418px #01b4dd, 0 -456px #01b4dd, -170px -494px #01b4dd, -340px -532px #01b4dd; - } - 48.375% { - box-shadow: 0 -38px #01b4dd, 0 -76px #01b4dd, 0 -114px #01b4dd, 0 -152px #01b4dd, 0 -190px #01b4dd, 0 -228px #01b4dd, 0 -266px #01b4dd, 0 -304px #01b4dd, 0 -342px #01b4dd, 0 -380px #01b4dd, 0 -418px #01b4dd, 0 -456px #01b4dd, 0 -494px #01b4dd, -170px -532px #01b4dd; - } - 49% { - box-shadow: 0 -38px #01b4dd, 0 -76px #01b4dd, 0 -114px #01b4dd, 0 -152px #01b4dd, 0 -190px #01b4dd, 0 -228px #01b4dd, 0 -266px #01b4dd, 0 -304px #01b4dd, 0 -342px #01b4dd, 0 -380px #01b4dd, 0 -418px #01b4dd, 0 -456px #01b4dd, 0 -494px #01b4dd, 0 -532px #01b4dd; - } -} -@-webkit-keyframes cover-horizontal-teal { - 0% { - width: 0; - height: 0; - box-shadow: none; - } - 39% { - width: 0; - height: 38px; - } - 39.625% { - width: 170px; - box-shadow: -340px -38px #01b4dd, -340px -76px #01b4dd, -340px -114px #01b4dd, -340px -152px #01b4dd, -340px -190px #01b4dd, -340px -228px #01b4dd, -340px -266px #01b4dd, -340px -304px #01b4dd, -340px -342px #01b4dd, -340px -380px #01b4dd, -340px -418px #01b4dd, -340px -456px #01b4dd, -340px -494px #01b4dd, -340px -532px #01b4dd; - } - 40.25% { - width: 340px; - box-shadow: -170px -38px #01b4dd, -340px -76px #01b4dd, -340px -114px #01b4dd, -340px -152px #01b4dd, -340px -190px #01b4dd, -340px -228px #01b4dd, -340px -266px #01b4dd, -340px -304px #01b4dd, -340px -342px #01b4dd, -340px -380px #01b4dd, -340px -418px #01b4dd, -340px -456px #01b4dd, -340px -494px #01b4dd, -340px -532px #01b4dd; - } - 40.875% { - box-shadow: 0 -38px #01b4dd, -170px -76px #01b4dd, -340px -114px #01b4dd, -340px -152px #01b4dd, -340px -190px #01b4dd, -340px -228px #01b4dd, -340px -266px #01b4dd, -340px -304px #01b4dd, -340px -342px #01b4dd, -340px -380px #01b4dd, -340px -418px #01b4dd, -340px -456px #01b4dd, -340px -494px #01b4dd, -340px -532px #01b4dd; - } - 41.5% { - box-shadow: 0 -38px #01b4dd, 0 -76px #01b4dd, -170px -114px #01b4dd, -340px -152px #01b4dd, -340px -190px #01b4dd, -340px -228px #01b4dd, -340px -266px #01b4dd, -340px -304px #01b4dd, -340px -342px #01b4dd, -340px -380px #01b4dd, -340px -418px #01b4dd, -340px -456px #01b4dd, -340px -494px #01b4dd, -340px -532px #01b4dd; - } - 42.125% { - box-shadow: 0 -38px #01b4dd, 0 -76px #01b4dd, 0 -114px #01b4dd, -170px -152px #01b4dd, -340px -190px #01b4dd, -340px -228px #01b4dd, -340px -266px #01b4dd, -340px -304px #01b4dd, -340px -342px #01b4dd, -340px -380px #01b4dd, -340px -418px #01b4dd, -340px -456px #01b4dd, -340px -494px #01b4dd, -340px -532px #01b4dd; - } - 42.75% { - box-shadow: 0 -38px #01b4dd, 0 -76px #01b4dd, 0 -114px #01b4dd, 0 -152px #01b4dd, -170px -190px #01b4dd, -340px -228px #01b4dd, -340px -266px #01b4dd, -340px -304px #01b4dd, -340px -342px #01b4dd, -340px -380px #01b4dd, -340px -418px #01b4dd, -340px -456px #01b4dd, -340px -494px #01b4dd, -340px -532px #01b4dd; - } - 43.375% { - box-shadow: 0 -38px #01b4dd, 0 -76px #01b4dd, 0 -114px #01b4dd, 0 -152px #01b4dd, 0 -190px #01b4dd, -170px -228px #01b4dd, -340px -266px #01b4dd, -340px -304px #01b4dd, -340px -342px #01b4dd, -340px -380px #01b4dd, -340px -418px #01b4dd, -340px -456px #01b4dd, -340px -494px #01b4dd, -340px -532px #01b4dd; - } - 44% { - box-shadow: 0 -38px #01b4dd, 0 -76px #01b4dd, 0 -114px #01b4dd, 0 -152px #01b4dd, 0 -190px #01b4dd, 0 -228px #01b4dd, -170px -266px #01b4dd, -340px -304px #01b4dd, -340px -342px #01b4dd, -340px -380px #01b4dd, -340px -418px #01b4dd, -340px -456px #01b4dd, -340px -494px #01b4dd, -340px -532px #01b4dd; - } - 44.625% { - box-shadow: 0 -38px #01b4dd, 0 -76px #01b4dd, 0 -114px #01b4dd, 0 -152px #01b4dd, 0 -190px #01b4dd, 0 -228px #01b4dd, 0 -266px #01b4dd, -170px -304px #01b4dd, -340px -342px #01b4dd, -340px -380px #01b4dd, -340px -418px #01b4dd, -340px -456px #01b4dd, -340px -494px #01b4dd, -340px -532px #01b4dd; - } - 45.25% { - box-shadow: 0 -38px #01b4dd, 0 -76px #01b4dd, 0 -114px #01b4dd, 0 -152px #01b4dd, 0 -190px #01b4dd, 0 -228px #01b4dd, 0 -266px #01b4dd, 0 -304px #01b4dd, -170px -342px #01b4dd, -340px -380px #01b4dd, -340px -418px #01b4dd, -340px -456px #01b4dd, -340px -494px #01b4dd, -340px -532px #01b4dd; - } - 45.875% { - box-shadow: 0 -38px #01b4dd, 0 -76px #01b4dd, 0 -114px #01b4dd, 0 -152px #01b4dd, 0 -190px #01b4dd, 0 -228px #01b4dd, 0 -266px #01b4dd, 0 -304px #01b4dd, 0 -342px #01b4dd, -170px -380px #01b4dd, -340px -418px #01b4dd, -340px -456px #01b4dd, -340px -494px #01b4dd, -340px -532px #01b4dd; - } - 46.5% { - box-shadow: 0 -38px #01b4dd, 0 -76px #01b4dd, 0 -114px #01b4dd, 0 -152px #01b4dd, 0 -190px #01b4dd, 0 -228px #01b4dd, 0 -266px #01b4dd, 0 -304px #01b4dd, 0 -342px #01b4dd, 0 -380px #01b4dd, -170px -418px #01b4dd, -340px -456px #01b4dd, -340px -494px #01b4dd, -340px -532px #01b4dd; - } - 47.125% { - box-shadow: 0 -38px #01b4dd, 0 -76px #01b4dd, 0 -114px #01b4dd, 0 -152px #01b4dd, 0 -190px #01b4dd, 0 -228px #01b4dd, 0 -266px #01b4dd, 0 -304px #01b4dd, 0 -342px #01b4dd, 0 -380px #01b4dd, 0 -418px #01b4dd, -170px -456px #01b4dd, -340px -494px #01b4dd, -340px -532px #01b4dd; - } - 47.75% { - box-shadow: 0 -38px #01b4dd, 0 -76px #01b4dd, 0 -114px #01b4dd, 0 -152px #01b4dd, 0 -190px #01b4dd, 0 -228px #01b4dd, 0 -266px #01b4dd, 0 -304px #01b4dd, 0 -342px #01b4dd, 0 -380px #01b4dd, 0 -418px #01b4dd, 0 -456px #01b4dd, -170px -494px #01b4dd, -340px -532px #01b4dd; - } - 48.375% { - box-shadow: 0 -38px #01b4dd, 0 -76px #01b4dd, 0 -114px #01b4dd, 0 -152px #01b4dd, 0 -190px #01b4dd, 0 -228px #01b4dd, 0 -266px #01b4dd, 0 -304px #01b4dd, 0 -342px #01b4dd, 0 -380px #01b4dd, 0 -418px #01b4dd, 0 -456px #01b4dd, 0 -494px #01b4dd, -170px -532px #01b4dd; - } - 49% { - box-shadow: 0 -38px #01b4dd, 0 -76px #01b4dd, 0 -114px #01b4dd, 0 -152px #01b4dd, 0 -190px #01b4dd, 0 -228px #01b4dd, 0 -266px #01b4dd, 0 -304px #01b4dd, 0 -342px #01b4dd, 0 -380px #01b4dd, 0 -418px #01b4dd, 0 -456px #01b4dd, 0 -494px #01b4dd, 0 -532px #01b4dd; - } -} -@keyframes cover-horizontal-teal { - 0% { - width: 0; - height: 0; - box-shadow: none; - } - 39% { - width: 0; - height: 38px; - } - 39.625% { - width: 170px; - box-shadow: -340px -38px #01b4dd, -340px -76px #01b4dd, -340px -114px #01b4dd, -340px -152px #01b4dd, -340px -190px #01b4dd, -340px -228px #01b4dd, -340px -266px #01b4dd, -340px -304px #01b4dd, -340px -342px #01b4dd, -340px -380px #01b4dd, -340px -418px #01b4dd, -340px -456px #01b4dd, -340px -494px #01b4dd, -340px -532px #01b4dd; - } - 40.25% { - width: 340px; - box-shadow: -170px -38px #01b4dd, -340px -76px #01b4dd, -340px -114px #01b4dd, -340px -152px #01b4dd, -340px -190px #01b4dd, -340px -228px #01b4dd, -340px -266px #01b4dd, -340px -304px #01b4dd, -340px -342px #01b4dd, -340px -380px #01b4dd, -340px -418px #01b4dd, -340px -456px #01b4dd, -340px -494px #01b4dd, -340px -532px #01b4dd; - } - 40.875% { - box-shadow: 0 -38px #01b4dd, -170px -76px #01b4dd, -340px -114px #01b4dd, -340px -152px #01b4dd, -340px -190px #01b4dd, -340px -228px #01b4dd, -340px -266px #01b4dd, -340px -304px #01b4dd, -340px -342px #01b4dd, -340px -380px #01b4dd, -340px -418px #01b4dd, -340px -456px #01b4dd, -340px -494px #01b4dd, -340px -532px #01b4dd; - } - 41.5% { - box-shadow: 0 -38px #01b4dd, 0 -76px #01b4dd, -170px -114px #01b4dd, -340px -152px #01b4dd, -340px -190px #01b4dd, -340px -228px #01b4dd, -340px -266px #01b4dd, -340px -304px #01b4dd, -340px -342px #01b4dd, -340px -380px #01b4dd, -340px -418px #01b4dd, -340px -456px #01b4dd, -340px -494px #01b4dd, -340px -532px #01b4dd; - } - 42.125% { - box-shadow: 0 -38px #01b4dd, 0 -76px #01b4dd, 0 -114px #01b4dd, -170px -152px #01b4dd, -340px -190px #01b4dd, -340px -228px #01b4dd, -340px -266px #01b4dd, -340px -304px #01b4dd, -340px -342px #01b4dd, -340px -380px #01b4dd, -340px -418px #01b4dd, -340px -456px #01b4dd, -340px -494px #01b4dd, -340px -532px #01b4dd; - } - 42.75% { - box-shadow: 0 -38px #01b4dd, 0 -76px #01b4dd, 0 -114px #01b4dd, 0 -152px #01b4dd, -170px -190px #01b4dd, -340px -228px #01b4dd, -340px -266px #01b4dd, -340px -304px #01b4dd, -340px -342px #01b4dd, -340px -380px #01b4dd, -340px -418px #01b4dd, -340px -456px #01b4dd, -340px -494px #01b4dd, -340px -532px #01b4dd; - } - 43.375% { - box-shadow: 0 -38px #01b4dd, 0 -76px #01b4dd, 0 -114px #01b4dd, 0 -152px #01b4dd, 0 -190px #01b4dd, -170px -228px #01b4dd, -340px -266px #01b4dd, -340px -304px #01b4dd, -340px -342px #01b4dd, -340px -380px #01b4dd, -340px -418px #01b4dd, -340px -456px #01b4dd, -340px -494px #01b4dd, -340px -532px #01b4dd; - } - 44% { - box-shadow: 0 -38px #01b4dd, 0 -76px #01b4dd, 0 -114px #01b4dd, 0 -152px #01b4dd, 0 -190px #01b4dd, 0 -228px #01b4dd, -170px -266px #01b4dd, -340px -304px #01b4dd, -340px -342px #01b4dd, -340px -380px #01b4dd, -340px -418px #01b4dd, -340px -456px #01b4dd, -340px -494px #01b4dd, -340px -532px #01b4dd; - } - 44.625% { - box-shadow: 0 -38px #01b4dd, 0 -76px #01b4dd, 0 -114px #01b4dd, 0 -152px #01b4dd, 0 -190px #01b4dd, 0 -228px #01b4dd, 0 -266px #01b4dd, -170px -304px #01b4dd, -340px -342px #01b4dd, -340px -380px #01b4dd, -340px -418px #01b4dd, -340px -456px #01b4dd, -340px -494px #01b4dd, -340px -532px #01b4dd; - } - 45.25% { - box-shadow: 0 -38px #01b4dd, 0 -76px #01b4dd, 0 -114px #01b4dd, 0 -152px #01b4dd, 0 -190px #01b4dd, 0 -228px #01b4dd, 0 -266px #01b4dd, 0 -304px #01b4dd, -170px -342px #01b4dd, -340px -380px #01b4dd, -340px -418px #01b4dd, -340px -456px #01b4dd, -340px -494px #01b4dd, -340px -532px #01b4dd; - } - 45.875% { - box-shadow: 0 -38px #01b4dd, 0 -76px #01b4dd, 0 -114px #01b4dd, 0 -152px #01b4dd, 0 -190px #01b4dd, 0 -228px #01b4dd, 0 -266px #01b4dd, 0 -304px #01b4dd, 0 -342px #01b4dd, -170px -380px #01b4dd, -340px -418px #01b4dd, -340px -456px #01b4dd, -340px -494px #01b4dd, -340px -532px #01b4dd; - } - 46.5% { - box-shadow: 0 -38px #01b4dd, 0 -76px #01b4dd, 0 -114px #01b4dd, 0 -152px #01b4dd, 0 -190px #01b4dd, 0 -228px #01b4dd, 0 -266px #01b4dd, 0 -304px #01b4dd, 0 -342px #01b4dd, 0 -380px #01b4dd, -170px -418px #01b4dd, -340px -456px #01b4dd, -340px -494px #01b4dd, -340px -532px #01b4dd; - } - 47.125% { - box-shadow: 0 -38px #01b4dd, 0 -76px #01b4dd, 0 -114px #01b4dd, 0 -152px #01b4dd, 0 -190px #01b4dd, 0 -228px #01b4dd, 0 -266px #01b4dd, 0 -304px #01b4dd, 0 -342px #01b4dd, 0 -380px #01b4dd, 0 -418px #01b4dd, -170px -456px #01b4dd, -340px -494px #01b4dd, -340px -532px #01b4dd; - } - 47.75% { - box-shadow: 0 -38px #01b4dd, 0 -76px #01b4dd, 0 -114px #01b4dd, 0 -152px #01b4dd, 0 -190px #01b4dd, 0 -228px #01b4dd, 0 -266px #01b4dd, 0 -304px #01b4dd, 0 -342px #01b4dd, 0 -380px #01b4dd, 0 -418px #01b4dd, 0 -456px #01b4dd, -170px -494px #01b4dd, -340px -532px #01b4dd; - } - 48.375% { - box-shadow: 0 -38px #01b4dd, 0 -76px #01b4dd, 0 -114px #01b4dd, 0 -152px #01b4dd, 0 -190px #01b4dd, 0 -228px #01b4dd, 0 -266px #01b4dd, 0 -304px #01b4dd, 0 -342px #01b4dd, 0 -380px #01b4dd, 0 -418px #01b4dd, 0 -456px #01b4dd, 0 -494px #01b4dd, -170px -532px #01b4dd; - } - 49% { - box-shadow: 0 -38px #01b4dd, 0 -76px #01b4dd, 0 -114px #01b4dd, 0 -152px #01b4dd, 0 -190px #01b4dd, 0 -228px #01b4dd, 0 -266px #01b4dd, 0 -304px #01b4dd, 0 -342px #01b4dd, 0 -380px #01b4dd, 0 -418px #01b4dd, 0 -456px #01b4dd, 0 -494px #01b4dd, 0 -532px #01b4dd; - } -} -#gameboy.teal #cover-horizontal { - background-color: #01b4dd; - -webkit-animation: cover-horizontal-teal 8s linear; - animation: cover-horizontal-teal 8s linear; - box-shadow: 0 -38px #01b4dd, 0 -76px #01b4dd, 0 -114px #01b4dd, 0 -152px #01b4dd, 0 -190px #01b4dd, 0 -228px #01b4dd, 0 -266px #01b4dd, 0 -304px #01b4dd, 0 -342px #01b4dd, 0 -380px #01b4dd, 0 -418px #01b4dd, 0 -456px #01b4dd, 0 -494px #01b4dd, 0 -532px #01b4dd; -} -@-moz-keyframes cover-horizontal-yellow { - 0% { - width: 0; - height: 0; - box-shadow: none; - } - 39% { - width: 0; - height: 38px; - } - 39.625% { - width: 170px; - box-shadow: -340px -38px #f9e52e, -340px -76px #f9e52e, -340px -114px #f9e52e, -340px -152px #f9e52e, -340px -190px #f9e52e, -340px -228px #f9e52e, -340px -266px #f9e52e, -340px -304px #f9e52e, -340px -342px #f9e52e, -340px -380px #f9e52e, -340px -418px #f9e52e, -340px -456px #f9e52e, -340px -494px #f9e52e, -340px -532px #f9e52e; - } - 40.25% { - width: 340px; - box-shadow: -170px -38px #f9e52e, -340px -76px #f9e52e, -340px -114px #f9e52e, -340px -152px #f9e52e, -340px -190px #f9e52e, -340px -228px #f9e52e, -340px -266px #f9e52e, -340px -304px #f9e52e, -340px -342px #f9e52e, -340px -380px #f9e52e, -340px -418px #f9e52e, -340px -456px #f9e52e, -340px -494px #f9e52e, -340px -532px #f9e52e; - } - 40.875% { - box-shadow: 0 -38px #f9e52e, -170px -76px #f9e52e, -340px -114px #f9e52e, -340px -152px #f9e52e, -340px -190px #f9e52e, -340px -228px #f9e52e, -340px -266px #f9e52e, -340px -304px #f9e52e, -340px -342px #f9e52e, -340px -380px #f9e52e, -340px -418px #f9e52e, -340px -456px #f9e52e, -340px -494px #f9e52e, -340px -532px #f9e52e; - } - 41.5% { - box-shadow: 0 -38px #f9e52e, 0 -76px #f9e52e, -170px -114px #f9e52e, -340px -152px #f9e52e, -340px -190px #f9e52e, -340px -228px #f9e52e, -340px -266px #f9e52e, -340px -304px #f9e52e, -340px -342px #f9e52e, -340px -380px #f9e52e, -340px -418px #f9e52e, -340px -456px #f9e52e, -340px -494px #f9e52e, -340px -532px #f9e52e; - } - 42.125% { - box-shadow: 0 -38px #f9e52e, 0 -76px #f9e52e, 0 -114px #f9e52e, -170px -152px #f9e52e, -340px -190px #f9e52e, -340px -228px #f9e52e, -340px -266px #f9e52e, -340px -304px #f9e52e, -340px -342px #f9e52e, -340px -380px #f9e52e, -340px -418px #f9e52e, -340px -456px #f9e52e, -340px -494px #f9e52e, -340px -532px #f9e52e; - } - 42.75% { - box-shadow: 0 -38px #f9e52e, 0 -76px #f9e52e, 0 -114px #f9e52e, 0 -152px #f9e52e, -170px -190px #f9e52e, -340px -228px #f9e52e, -340px -266px #f9e52e, -340px -304px #f9e52e, -340px -342px #f9e52e, -340px -380px #f9e52e, -340px -418px #f9e52e, -340px -456px #f9e52e, -340px -494px #f9e52e, -340px -532px #f9e52e; - } - 43.375% { - box-shadow: 0 -38px #f9e52e, 0 -76px #f9e52e, 0 -114px #f9e52e, 0 -152px #f9e52e, 0 -190px #f9e52e, -170px -228px #f9e52e, -340px -266px #f9e52e, -340px -304px #f9e52e, -340px -342px #f9e52e, -340px -380px #f9e52e, -340px -418px #f9e52e, -340px -456px #f9e52e, -340px -494px #f9e52e, -340px -532px #f9e52e; - } - 44% { - box-shadow: 0 -38px #f9e52e, 0 -76px #f9e52e, 0 -114px #f9e52e, 0 -152px #f9e52e, 0 -190px #f9e52e, 0 -228px #f9e52e, -170px -266px #f9e52e, -340px -304px #f9e52e, -340px -342px #f9e52e, -340px -380px #f9e52e, -340px -418px #f9e52e, -340px -456px #f9e52e, -340px -494px #f9e52e, -340px -532px #f9e52e; - } - 44.625% { - box-shadow: 0 -38px #f9e52e, 0 -76px #f9e52e, 0 -114px #f9e52e, 0 -152px #f9e52e, 0 -190px #f9e52e, 0 -228px #f9e52e, 0 -266px #f9e52e, -170px -304px #f9e52e, -340px -342px #f9e52e, -340px -380px #f9e52e, -340px -418px #f9e52e, -340px -456px #f9e52e, -340px -494px #f9e52e, -340px -532px #f9e52e; - } - 45.25% { - box-shadow: 0 -38px #f9e52e, 0 -76px #f9e52e, 0 -114px #f9e52e, 0 -152px #f9e52e, 0 -190px #f9e52e, 0 -228px #f9e52e, 0 -266px #f9e52e, 0 -304px #f9e52e, -170px -342px #f9e52e, -340px -380px #f9e52e, -340px -418px #f9e52e, -340px -456px #f9e52e, -340px -494px #f9e52e, -340px -532px #f9e52e; - } - 45.875% { - box-shadow: 0 -38px #f9e52e, 0 -76px #f9e52e, 0 -114px #f9e52e, 0 -152px #f9e52e, 0 -190px #f9e52e, 0 -228px #f9e52e, 0 -266px #f9e52e, 0 -304px #f9e52e, 0 -342px #f9e52e, -170px -380px #f9e52e, -340px -418px #f9e52e, -340px -456px #f9e52e, -340px -494px #f9e52e, -340px -532px #f9e52e; - } - 46.5% { - box-shadow: 0 -38px #f9e52e, 0 -76px #f9e52e, 0 -114px #f9e52e, 0 -152px #f9e52e, 0 -190px #f9e52e, 0 -228px #f9e52e, 0 -266px #f9e52e, 0 -304px #f9e52e, 0 -342px #f9e52e, 0 -380px #f9e52e, -170px -418px #f9e52e, -340px -456px #f9e52e, -340px -494px #f9e52e, -340px -532px #f9e52e; - } - 47.125% { - box-shadow: 0 -38px #f9e52e, 0 -76px #f9e52e, 0 -114px #f9e52e, 0 -152px #f9e52e, 0 -190px #f9e52e, 0 -228px #f9e52e, 0 -266px #f9e52e, 0 -304px #f9e52e, 0 -342px #f9e52e, 0 -380px #f9e52e, 0 -418px #f9e52e, -170px -456px #f9e52e, -340px -494px #f9e52e, -340px -532px #f9e52e; - } - 47.75% { - box-shadow: 0 -38px #f9e52e, 0 -76px #f9e52e, 0 -114px #f9e52e, 0 -152px #f9e52e, 0 -190px #f9e52e, 0 -228px #f9e52e, 0 -266px #f9e52e, 0 -304px #f9e52e, 0 -342px #f9e52e, 0 -380px #f9e52e, 0 -418px #f9e52e, 0 -456px #f9e52e, -170px -494px #f9e52e, -340px -532px #f9e52e; - } - 48.375% { - box-shadow: 0 -38px #f9e52e, 0 -76px #f9e52e, 0 -114px #f9e52e, 0 -152px #f9e52e, 0 -190px #f9e52e, 0 -228px #f9e52e, 0 -266px #f9e52e, 0 -304px #f9e52e, 0 -342px #f9e52e, 0 -380px #f9e52e, 0 -418px #f9e52e, 0 -456px #f9e52e, 0 -494px #f9e52e, -170px -532px #f9e52e; - } - 49% { - box-shadow: 0 -38px #f9e52e, 0 -76px #f9e52e, 0 -114px #f9e52e, 0 -152px #f9e52e, 0 -190px #f9e52e, 0 -228px #f9e52e, 0 -266px #f9e52e, 0 -304px #f9e52e, 0 -342px #f9e52e, 0 -380px #f9e52e, 0 -418px #f9e52e, 0 -456px #f9e52e, 0 -494px #f9e52e, 0 -532px #f9e52e; - } -} -@-webkit-keyframes cover-horizontal-yellow { - 0% { - width: 0; - height: 0; - box-shadow: none; - } - 39% { - width: 0; - height: 38px; - } - 39.625% { - width: 170px; - box-shadow: -340px -38px #f9e52e, -340px -76px #f9e52e, -340px -114px #f9e52e, -340px -152px #f9e52e, -340px -190px #f9e52e, -340px -228px #f9e52e, -340px -266px #f9e52e, -340px -304px #f9e52e, -340px -342px #f9e52e, -340px -380px #f9e52e, -340px -418px #f9e52e, -340px -456px #f9e52e, -340px -494px #f9e52e, -340px -532px #f9e52e; - } - 40.25% { - width: 340px; - box-shadow: -170px -38px #f9e52e, -340px -76px #f9e52e, -340px -114px #f9e52e, -340px -152px #f9e52e, -340px -190px #f9e52e, -340px -228px #f9e52e, -340px -266px #f9e52e, -340px -304px #f9e52e, -340px -342px #f9e52e, -340px -380px #f9e52e, -340px -418px #f9e52e, -340px -456px #f9e52e, -340px -494px #f9e52e, -340px -532px #f9e52e; - } - 40.875% { - box-shadow: 0 -38px #f9e52e, -170px -76px #f9e52e, -340px -114px #f9e52e, -340px -152px #f9e52e, -340px -190px #f9e52e, -340px -228px #f9e52e, -340px -266px #f9e52e, -340px -304px #f9e52e, -340px -342px #f9e52e, -340px -380px #f9e52e, -340px -418px #f9e52e, -340px -456px #f9e52e, -340px -494px #f9e52e, -340px -532px #f9e52e; - } - 41.5% { - box-shadow: 0 -38px #f9e52e, 0 -76px #f9e52e, -170px -114px #f9e52e, -340px -152px #f9e52e, -340px -190px #f9e52e, -340px -228px #f9e52e, -340px -266px #f9e52e, -340px -304px #f9e52e, -340px -342px #f9e52e, -340px -380px #f9e52e, -340px -418px #f9e52e, -340px -456px #f9e52e, -340px -494px #f9e52e, -340px -532px #f9e52e; - } - 42.125% { - box-shadow: 0 -38px #f9e52e, 0 -76px #f9e52e, 0 -114px #f9e52e, -170px -152px #f9e52e, -340px -190px #f9e52e, -340px -228px #f9e52e, -340px -266px #f9e52e, -340px -304px #f9e52e, -340px -342px #f9e52e, -340px -380px #f9e52e, -340px -418px #f9e52e, -340px -456px #f9e52e, -340px -494px #f9e52e, -340px -532px #f9e52e; - } - 42.75% { - box-shadow: 0 -38px #f9e52e, 0 -76px #f9e52e, 0 -114px #f9e52e, 0 -152px #f9e52e, -170px -190px #f9e52e, -340px -228px #f9e52e, -340px -266px #f9e52e, -340px -304px #f9e52e, -340px -342px #f9e52e, -340px -380px #f9e52e, -340px -418px #f9e52e, -340px -456px #f9e52e, -340px -494px #f9e52e, -340px -532px #f9e52e; - } - 43.375% { - box-shadow: 0 -38px #f9e52e, 0 -76px #f9e52e, 0 -114px #f9e52e, 0 -152px #f9e52e, 0 -190px #f9e52e, -170px -228px #f9e52e, -340px -266px #f9e52e, -340px -304px #f9e52e, -340px -342px #f9e52e, -340px -380px #f9e52e, -340px -418px #f9e52e, -340px -456px #f9e52e, -340px -494px #f9e52e, -340px -532px #f9e52e; - } - 44% { - box-shadow: 0 -38px #f9e52e, 0 -76px #f9e52e, 0 -114px #f9e52e, 0 -152px #f9e52e, 0 -190px #f9e52e, 0 -228px #f9e52e, -170px -266px #f9e52e, -340px -304px #f9e52e, -340px -342px #f9e52e, -340px -380px #f9e52e, -340px -418px #f9e52e, -340px -456px #f9e52e, -340px -494px #f9e52e, -340px -532px #f9e52e; - } - 44.625% { - box-shadow: 0 -38px #f9e52e, 0 -76px #f9e52e, 0 -114px #f9e52e, 0 -152px #f9e52e, 0 -190px #f9e52e, 0 -228px #f9e52e, 0 -266px #f9e52e, -170px -304px #f9e52e, -340px -342px #f9e52e, -340px -380px #f9e52e, -340px -418px #f9e52e, -340px -456px #f9e52e, -340px -494px #f9e52e, -340px -532px #f9e52e; - } - 45.25% { - box-shadow: 0 -38px #f9e52e, 0 -76px #f9e52e, 0 -114px #f9e52e, 0 -152px #f9e52e, 0 -190px #f9e52e, 0 -228px #f9e52e, 0 -266px #f9e52e, 0 -304px #f9e52e, -170px -342px #f9e52e, -340px -380px #f9e52e, -340px -418px #f9e52e, -340px -456px #f9e52e, -340px -494px #f9e52e, -340px -532px #f9e52e; - } - 45.875% { - box-shadow: 0 -38px #f9e52e, 0 -76px #f9e52e, 0 -114px #f9e52e, 0 -152px #f9e52e, 0 -190px #f9e52e, 0 -228px #f9e52e, 0 -266px #f9e52e, 0 -304px #f9e52e, 0 -342px #f9e52e, -170px -380px #f9e52e, -340px -418px #f9e52e, -340px -456px #f9e52e, -340px -494px #f9e52e, -340px -532px #f9e52e; - } - 46.5% { - box-shadow: 0 -38px #f9e52e, 0 -76px #f9e52e, 0 -114px #f9e52e, 0 -152px #f9e52e, 0 -190px #f9e52e, 0 -228px #f9e52e, 0 -266px #f9e52e, 0 -304px #f9e52e, 0 -342px #f9e52e, 0 -380px #f9e52e, -170px -418px #f9e52e, -340px -456px #f9e52e, -340px -494px #f9e52e, -340px -532px #f9e52e; - } - 47.125% { - box-shadow: 0 -38px #f9e52e, 0 -76px #f9e52e, 0 -114px #f9e52e, 0 -152px #f9e52e, 0 -190px #f9e52e, 0 -228px #f9e52e, 0 -266px #f9e52e, 0 -304px #f9e52e, 0 -342px #f9e52e, 0 -380px #f9e52e, 0 -418px #f9e52e, -170px -456px #f9e52e, -340px -494px #f9e52e, -340px -532px #f9e52e; - } - 47.75% { - box-shadow: 0 -38px #f9e52e, 0 -76px #f9e52e, 0 -114px #f9e52e, 0 -152px #f9e52e, 0 -190px #f9e52e, 0 -228px #f9e52e, 0 -266px #f9e52e, 0 -304px #f9e52e, 0 -342px #f9e52e, 0 -380px #f9e52e, 0 -418px #f9e52e, 0 -456px #f9e52e, -170px -494px #f9e52e, -340px -532px #f9e52e; - } - 48.375% { - box-shadow: 0 -38px #f9e52e, 0 -76px #f9e52e, 0 -114px #f9e52e, 0 -152px #f9e52e, 0 -190px #f9e52e, 0 -228px #f9e52e, 0 -266px #f9e52e, 0 -304px #f9e52e, 0 -342px #f9e52e, 0 -380px #f9e52e, 0 -418px #f9e52e, 0 -456px #f9e52e, 0 -494px #f9e52e, -170px -532px #f9e52e; - } - 49% { - box-shadow: 0 -38px #f9e52e, 0 -76px #f9e52e, 0 -114px #f9e52e, 0 -152px #f9e52e, 0 -190px #f9e52e, 0 -228px #f9e52e, 0 -266px #f9e52e, 0 -304px #f9e52e, 0 -342px #f9e52e, 0 -380px #f9e52e, 0 -418px #f9e52e, 0 -456px #f9e52e, 0 -494px #f9e52e, 0 -532px #f9e52e; - } -} -@keyframes cover-horizontal-yellow { - 0% { - width: 0; - height: 0; - box-shadow: none; - } - 39% { - width: 0; - height: 38px; - } - 39.625% { - width: 170px; - box-shadow: -340px -38px #f9e52e, -340px -76px #f9e52e, -340px -114px #f9e52e, -340px -152px #f9e52e, -340px -190px #f9e52e, -340px -228px #f9e52e, -340px -266px #f9e52e, -340px -304px #f9e52e, -340px -342px #f9e52e, -340px -380px #f9e52e, -340px -418px #f9e52e, -340px -456px #f9e52e, -340px -494px #f9e52e, -340px -532px #f9e52e; - } - 40.25% { - width: 340px; - box-shadow: -170px -38px #f9e52e, -340px -76px #f9e52e, -340px -114px #f9e52e, -340px -152px #f9e52e, -340px -190px #f9e52e, -340px -228px #f9e52e, -340px -266px #f9e52e, -340px -304px #f9e52e, -340px -342px #f9e52e, -340px -380px #f9e52e, -340px -418px #f9e52e, -340px -456px #f9e52e, -340px -494px #f9e52e, -340px -532px #f9e52e; - } - 40.875% { - box-shadow: 0 -38px #f9e52e, -170px -76px #f9e52e, -340px -114px #f9e52e, -340px -152px #f9e52e, -340px -190px #f9e52e, -340px -228px #f9e52e, -340px -266px #f9e52e, -340px -304px #f9e52e, -340px -342px #f9e52e, -340px -380px #f9e52e, -340px -418px #f9e52e, -340px -456px #f9e52e, -340px -494px #f9e52e, -340px -532px #f9e52e; - } - 41.5% { - box-shadow: 0 -38px #f9e52e, 0 -76px #f9e52e, -170px -114px #f9e52e, -340px -152px #f9e52e, -340px -190px #f9e52e, -340px -228px #f9e52e, -340px -266px #f9e52e, -340px -304px #f9e52e, -340px -342px #f9e52e, -340px -380px #f9e52e, -340px -418px #f9e52e, -340px -456px #f9e52e, -340px -494px #f9e52e, -340px -532px #f9e52e; - } - 42.125% { - box-shadow: 0 -38px #f9e52e, 0 -76px #f9e52e, 0 -114px #f9e52e, -170px -152px #f9e52e, -340px -190px #f9e52e, -340px -228px #f9e52e, -340px -266px #f9e52e, -340px -304px #f9e52e, -340px -342px #f9e52e, -340px -380px #f9e52e, -340px -418px #f9e52e, -340px -456px #f9e52e, -340px -494px #f9e52e, -340px -532px #f9e52e; - } - 42.75% { - box-shadow: 0 -38px #f9e52e, 0 -76px #f9e52e, 0 -114px #f9e52e, 0 -152px #f9e52e, -170px -190px #f9e52e, -340px -228px #f9e52e, -340px -266px #f9e52e, -340px -304px #f9e52e, -340px -342px #f9e52e, -340px -380px #f9e52e, -340px -418px #f9e52e, -340px -456px #f9e52e, -340px -494px #f9e52e, -340px -532px #f9e52e; - } - 43.375% { - box-shadow: 0 -38px #f9e52e, 0 -76px #f9e52e, 0 -114px #f9e52e, 0 -152px #f9e52e, 0 -190px #f9e52e, -170px -228px #f9e52e, -340px -266px #f9e52e, -340px -304px #f9e52e, -340px -342px #f9e52e, -340px -380px #f9e52e, -340px -418px #f9e52e, -340px -456px #f9e52e, -340px -494px #f9e52e, -340px -532px #f9e52e; - } - 44% { - box-shadow: 0 -38px #f9e52e, 0 -76px #f9e52e, 0 -114px #f9e52e, 0 -152px #f9e52e, 0 -190px #f9e52e, 0 -228px #f9e52e, -170px -266px #f9e52e, -340px -304px #f9e52e, -340px -342px #f9e52e, -340px -380px #f9e52e, -340px -418px #f9e52e, -340px -456px #f9e52e, -340px -494px #f9e52e, -340px -532px #f9e52e; - } - 44.625% { - box-shadow: 0 -38px #f9e52e, 0 -76px #f9e52e, 0 -114px #f9e52e, 0 -152px #f9e52e, 0 -190px #f9e52e, 0 -228px #f9e52e, 0 -266px #f9e52e, -170px -304px #f9e52e, -340px -342px #f9e52e, -340px -380px #f9e52e, -340px -418px #f9e52e, -340px -456px #f9e52e, -340px -494px #f9e52e, -340px -532px #f9e52e; - } - 45.25% { - box-shadow: 0 -38px #f9e52e, 0 -76px #f9e52e, 0 -114px #f9e52e, 0 -152px #f9e52e, 0 -190px #f9e52e, 0 -228px #f9e52e, 0 -266px #f9e52e, 0 -304px #f9e52e, -170px -342px #f9e52e, -340px -380px #f9e52e, -340px -418px #f9e52e, -340px -456px #f9e52e, -340px -494px #f9e52e, -340px -532px #f9e52e; - } - 45.875% { - box-shadow: 0 -38px #f9e52e, 0 -76px #f9e52e, 0 -114px #f9e52e, 0 -152px #f9e52e, 0 -190px #f9e52e, 0 -228px #f9e52e, 0 -266px #f9e52e, 0 -304px #f9e52e, 0 -342px #f9e52e, -170px -380px #f9e52e, -340px -418px #f9e52e, -340px -456px #f9e52e, -340px -494px #f9e52e, -340px -532px #f9e52e; - } - 46.5% { - box-shadow: 0 -38px #f9e52e, 0 -76px #f9e52e, 0 -114px #f9e52e, 0 -152px #f9e52e, 0 -190px #f9e52e, 0 -228px #f9e52e, 0 -266px #f9e52e, 0 -304px #f9e52e, 0 -342px #f9e52e, 0 -380px #f9e52e, -170px -418px #f9e52e, -340px -456px #f9e52e, -340px -494px #f9e52e, -340px -532px #f9e52e; - } - 47.125% { - box-shadow: 0 -38px #f9e52e, 0 -76px #f9e52e, 0 -114px #f9e52e, 0 -152px #f9e52e, 0 -190px #f9e52e, 0 -228px #f9e52e, 0 -266px #f9e52e, 0 -304px #f9e52e, 0 -342px #f9e52e, 0 -380px #f9e52e, 0 -418px #f9e52e, -170px -456px #f9e52e, -340px -494px #f9e52e, -340px -532px #f9e52e; - } - 47.75% { - box-shadow: 0 -38px #f9e52e, 0 -76px #f9e52e, 0 -114px #f9e52e, 0 -152px #f9e52e, 0 -190px #f9e52e, 0 -228px #f9e52e, 0 -266px #f9e52e, 0 -304px #f9e52e, 0 -342px #f9e52e, 0 -380px #f9e52e, 0 -418px #f9e52e, 0 -456px #f9e52e, -170px -494px #f9e52e, -340px -532px #f9e52e; - } - 48.375% { - box-shadow: 0 -38px #f9e52e, 0 -76px #f9e52e, 0 -114px #f9e52e, 0 -152px #f9e52e, 0 -190px #f9e52e, 0 -228px #f9e52e, 0 -266px #f9e52e, 0 -304px #f9e52e, 0 -342px #f9e52e, 0 -380px #f9e52e, 0 -418px #f9e52e, 0 -456px #f9e52e, 0 -494px #f9e52e, -170px -532px #f9e52e; - } - 49% { - box-shadow: 0 -38px #f9e52e, 0 -76px #f9e52e, 0 -114px #f9e52e, 0 -152px #f9e52e, 0 -190px #f9e52e, 0 -228px #f9e52e, 0 -266px #f9e52e, 0 -304px #f9e52e, 0 -342px #f9e52e, 0 -380px #f9e52e, 0 -418px #f9e52e, 0 -456px #f9e52e, 0 -494px #f9e52e, 0 -532px #f9e52e; - } -} -#gameboy.yellow #cover-horizontal { - background-color: #f9e52e; - -webkit-animation: cover-horizontal-yellow 8s linear; - animation: cover-horizontal-yellow 8s linear; - box-shadow: 0 -38px #f9e52e, 0 -76px #f9e52e, 0 -114px #f9e52e, 0 -152px #f9e52e, 0 -190px #f9e52e, 0 -228px #f9e52e, 0 -266px #f9e52e, 0 -304px #f9e52e, 0 -342px #f9e52e, 0 -380px #f9e52e, 0 -418px #f9e52e, 0 -456px #f9e52e, 0 -494px #f9e52e, 0 -532px #f9e52e; -} -@-moz-keyframes cover-horizontal-green { - 0% { - width: 0; - height: 0; - box-shadow: none; - } - 39% { - width: 0; - height: 38px; - } - 39.625% { - width: 170px; - box-shadow: -340px -38px #85e367, -340px -76px #85e367, -340px -114px #85e367, -340px -152px #85e367, -340px -190px #85e367, -340px -228px #85e367, -340px -266px #85e367, -340px -304px #85e367, -340px -342px #85e367, -340px -380px #85e367, -340px -418px #85e367, -340px -456px #85e367, -340px -494px #85e367, -340px -532px #85e367; - } - 40.25% { - width: 340px; - box-shadow: -170px -38px #85e367, -340px -76px #85e367, -340px -114px #85e367, -340px -152px #85e367, -340px -190px #85e367, -340px -228px #85e367, -340px -266px #85e367, -340px -304px #85e367, -340px -342px #85e367, -340px -380px #85e367, -340px -418px #85e367, -340px -456px #85e367, -340px -494px #85e367, -340px -532px #85e367; - } - 40.875% { - box-shadow: 0 -38px #85e367, -170px -76px #85e367, -340px -114px #85e367, -340px -152px #85e367, -340px -190px #85e367, -340px -228px #85e367, -340px -266px #85e367, -340px -304px #85e367, -340px -342px #85e367, -340px -380px #85e367, -340px -418px #85e367, -340px -456px #85e367, -340px -494px #85e367, -340px -532px #85e367; - } - 41.5% { - box-shadow: 0 -38px #85e367, 0 -76px #85e367, -170px -114px #85e367, -340px -152px #85e367, -340px -190px #85e367, -340px -228px #85e367, -340px -266px #85e367, -340px -304px #85e367, -340px -342px #85e367, -340px -380px #85e367, -340px -418px #85e367, -340px -456px #85e367, -340px -494px #85e367, -340px -532px #85e367; - } - 42.125% { - box-shadow: 0 -38px #85e367, 0 -76px #85e367, 0 -114px #85e367, -170px -152px #85e367, -340px -190px #85e367, -340px -228px #85e367, -340px -266px #85e367, -340px -304px #85e367, -340px -342px #85e367, -340px -380px #85e367, -340px -418px #85e367, -340px -456px #85e367, -340px -494px #85e367, -340px -532px #85e367; - } - 42.75% { - box-shadow: 0 -38px #85e367, 0 -76px #85e367, 0 -114px #85e367, 0 -152px #85e367, -170px -190px #85e367, -340px -228px #85e367, -340px -266px #85e367, -340px -304px #85e367, -340px -342px #85e367, -340px -380px #85e367, -340px -418px #85e367, -340px -456px #85e367, -340px -494px #85e367, -340px -532px #85e367; - } - 43.375% { - box-shadow: 0 -38px #85e367, 0 -76px #85e367, 0 -114px #85e367, 0 -152px #85e367, 0 -190px #85e367, -170px -228px #85e367, -340px -266px #85e367, -340px -304px #85e367, -340px -342px #85e367, -340px -380px #85e367, -340px -418px #85e367, -340px -456px #85e367, -340px -494px #85e367, -340px -532px #85e367; - } - 44% { - box-shadow: 0 -38px #85e367, 0 -76px #85e367, 0 -114px #85e367, 0 -152px #85e367, 0 -190px #85e367, 0 -228px #85e367, -170px -266px #85e367, -340px -304px #85e367, -340px -342px #85e367, -340px -380px #85e367, -340px -418px #85e367, -340px -456px #85e367, -340px -494px #85e367, -340px -532px #85e367; - } - 44.625% { - box-shadow: 0 -38px #85e367, 0 -76px #85e367, 0 -114px #85e367, 0 -152px #85e367, 0 -190px #85e367, 0 -228px #85e367, 0 -266px #85e367, -170px -304px #85e367, -340px -342px #85e367, -340px -380px #85e367, -340px -418px #85e367, -340px -456px #85e367, -340px -494px #85e367, -340px -532px #85e367; - } - 45.25% { - box-shadow: 0 -38px #85e367, 0 -76px #85e367, 0 -114px #85e367, 0 -152px #85e367, 0 -190px #85e367, 0 -228px #85e367, 0 -266px #85e367, 0 -304px #85e367, -170px -342px #85e367, -340px -380px #85e367, -340px -418px #85e367, -340px -456px #85e367, -340px -494px #85e367, -340px -532px #85e367; - } - 45.875% { - box-shadow: 0 -38px #85e367, 0 -76px #85e367, 0 -114px #85e367, 0 -152px #85e367, 0 -190px #85e367, 0 -228px #85e367, 0 -266px #85e367, 0 -304px #85e367, 0 -342px #85e367, -170px -380px #85e367, -340px -418px #85e367, -340px -456px #85e367, -340px -494px #85e367, -340px -532px #85e367; - } - 46.5% { - box-shadow: 0 -38px #85e367, 0 -76px #85e367, 0 -114px #85e367, 0 -152px #85e367, 0 -190px #85e367, 0 -228px #85e367, 0 -266px #85e367, 0 -304px #85e367, 0 -342px #85e367, 0 -380px #85e367, -170px -418px #85e367, -340px -456px #85e367, -340px -494px #85e367, -340px -532px #85e367; - } - 47.125% { - box-shadow: 0 -38px #85e367, 0 -76px #85e367, 0 -114px #85e367, 0 -152px #85e367, 0 -190px #85e367, 0 -228px #85e367, 0 -266px #85e367, 0 -304px #85e367, 0 -342px #85e367, 0 -380px #85e367, 0 -418px #85e367, -170px -456px #85e367, -340px -494px #85e367, -340px -532px #85e367; - } - 47.75% { - box-shadow: 0 -38px #85e367, 0 -76px #85e367, 0 -114px #85e367, 0 -152px #85e367, 0 -190px #85e367, 0 -228px #85e367, 0 -266px #85e367, 0 -304px #85e367, 0 -342px #85e367, 0 -380px #85e367, 0 -418px #85e367, 0 -456px #85e367, -170px -494px #85e367, -340px -532px #85e367; - } - 48.375% { - box-shadow: 0 -38px #85e367, 0 -76px #85e367, 0 -114px #85e367, 0 -152px #85e367, 0 -190px #85e367, 0 -228px #85e367, 0 -266px #85e367, 0 -304px #85e367, 0 -342px #85e367, 0 -380px #85e367, 0 -418px #85e367, 0 -456px #85e367, 0 -494px #85e367, -170px -532px #85e367; - } - 49% { - box-shadow: 0 -38px #85e367, 0 -76px #85e367, 0 -114px #85e367, 0 -152px #85e367, 0 -190px #85e367, 0 -228px #85e367, 0 -266px #85e367, 0 -304px #85e367, 0 -342px #85e367, 0 -380px #85e367, 0 -418px #85e367, 0 -456px #85e367, 0 -494px #85e367, 0 -532px #85e367; - } -} -@-webkit-keyframes cover-horizontal-green { - 0% { - width: 0; - height: 0; - box-shadow: none; - } - 39% { - width: 0; - height: 38px; - } - 39.625% { - width: 170px; - box-shadow: -340px -38px #85e367, -340px -76px #85e367, -340px -114px #85e367, -340px -152px #85e367, -340px -190px #85e367, -340px -228px #85e367, -340px -266px #85e367, -340px -304px #85e367, -340px -342px #85e367, -340px -380px #85e367, -340px -418px #85e367, -340px -456px #85e367, -340px -494px #85e367, -340px -532px #85e367; - } - 40.25% { - width: 340px; - box-shadow: -170px -38px #85e367, -340px -76px #85e367, -340px -114px #85e367, -340px -152px #85e367, -340px -190px #85e367, -340px -228px #85e367, -340px -266px #85e367, -340px -304px #85e367, -340px -342px #85e367, -340px -380px #85e367, -340px -418px #85e367, -340px -456px #85e367, -340px -494px #85e367, -340px -532px #85e367; - } - 40.875% { - box-shadow: 0 -38px #85e367, -170px -76px #85e367, -340px -114px #85e367, -340px -152px #85e367, -340px -190px #85e367, -340px -228px #85e367, -340px -266px #85e367, -340px -304px #85e367, -340px -342px #85e367, -340px -380px #85e367, -340px -418px #85e367, -340px -456px #85e367, -340px -494px #85e367, -340px -532px #85e367; - } - 41.5% { - box-shadow: 0 -38px #85e367, 0 -76px #85e367, -170px -114px #85e367, -340px -152px #85e367, -340px -190px #85e367, -340px -228px #85e367, -340px -266px #85e367, -340px -304px #85e367, -340px -342px #85e367, -340px -380px #85e367, -340px -418px #85e367, -340px -456px #85e367, -340px -494px #85e367, -340px -532px #85e367; - } - 42.125% { - box-shadow: 0 -38px #85e367, 0 -76px #85e367, 0 -114px #85e367, -170px -152px #85e367, -340px -190px #85e367, -340px -228px #85e367, -340px -266px #85e367, -340px -304px #85e367, -340px -342px #85e367, -340px -380px #85e367, -340px -418px #85e367, -340px -456px #85e367, -340px -494px #85e367, -340px -532px #85e367; - } - 42.75% { - box-shadow: 0 -38px #85e367, 0 -76px #85e367, 0 -114px #85e367, 0 -152px #85e367, -170px -190px #85e367, -340px -228px #85e367, -340px -266px #85e367, -340px -304px #85e367, -340px -342px #85e367, -340px -380px #85e367, -340px -418px #85e367, -340px -456px #85e367, -340px -494px #85e367, -340px -532px #85e367; - } - 43.375% { - box-shadow: 0 -38px #85e367, 0 -76px #85e367, 0 -114px #85e367, 0 -152px #85e367, 0 -190px #85e367, -170px -228px #85e367, -340px -266px #85e367, -340px -304px #85e367, -340px -342px #85e367, -340px -380px #85e367, -340px -418px #85e367, -340px -456px #85e367, -340px -494px #85e367, -340px -532px #85e367; - } - 44% { - box-shadow: 0 -38px #85e367, 0 -76px #85e367, 0 -114px #85e367, 0 -152px #85e367, 0 -190px #85e367, 0 -228px #85e367, -170px -266px #85e367, -340px -304px #85e367, -340px -342px #85e367, -340px -380px #85e367, -340px -418px #85e367, -340px -456px #85e367, -340px -494px #85e367, -340px -532px #85e367; - } - 44.625% { - box-shadow: 0 -38px #85e367, 0 -76px #85e367, 0 -114px #85e367, 0 -152px #85e367, 0 -190px #85e367, 0 -228px #85e367, 0 -266px #85e367, -170px -304px #85e367, -340px -342px #85e367, -340px -380px #85e367, -340px -418px #85e367, -340px -456px #85e367, -340px -494px #85e367, -340px -532px #85e367; - } - 45.25% { - box-shadow: 0 -38px #85e367, 0 -76px #85e367, 0 -114px #85e367, 0 -152px #85e367, 0 -190px #85e367, 0 -228px #85e367, 0 -266px #85e367, 0 -304px #85e367, -170px -342px #85e367, -340px -380px #85e367, -340px -418px #85e367, -340px -456px #85e367, -340px -494px #85e367, -340px -532px #85e367; - } - 45.875% { - box-shadow: 0 -38px #85e367, 0 -76px #85e367, 0 -114px #85e367, 0 -152px #85e367, 0 -190px #85e367, 0 -228px #85e367, 0 -266px #85e367, 0 -304px #85e367, 0 -342px #85e367, -170px -380px #85e367, -340px -418px #85e367, -340px -456px #85e367, -340px -494px #85e367, -340px -532px #85e367; - } - 46.5% { - box-shadow: 0 -38px #85e367, 0 -76px #85e367, 0 -114px #85e367, 0 -152px #85e367, 0 -190px #85e367, 0 -228px #85e367, 0 -266px #85e367, 0 -304px #85e367, 0 -342px #85e367, 0 -380px #85e367, -170px -418px #85e367, -340px -456px #85e367, -340px -494px #85e367, -340px -532px #85e367; - } - 47.125% { - box-shadow: 0 -38px #85e367, 0 -76px #85e367, 0 -114px #85e367, 0 -152px #85e367, 0 -190px #85e367, 0 -228px #85e367, 0 -266px #85e367, 0 -304px #85e367, 0 -342px #85e367, 0 -380px #85e367, 0 -418px #85e367, -170px -456px #85e367, -340px -494px #85e367, -340px -532px #85e367; - } - 47.75% { - box-shadow: 0 -38px #85e367, 0 -76px #85e367, 0 -114px #85e367, 0 -152px #85e367, 0 -190px #85e367, 0 -228px #85e367, 0 -266px #85e367, 0 -304px #85e367, 0 -342px #85e367, 0 -380px #85e367, 0 -418px #85e367, 0 -456px #85e367, -170px -494px #85e367, -340px -532px #85e367; - } - 48.375% { - box-shadow: 0 -38px #85e367, 0 -76px #85e367, 0 -114px #85e367, 0 -152px #85e367, 0 -190px #85e367, 0 -228px #85e367, 0 -266px #85e367, 0 -304px #85e367, 0 -342px #85e367, 0 -380px #85e367, 0 -418px #85e367, 0 -456px #85e367, 0 -494px #85e367, -170px -532px #85e367; - } - 49% { - box-shadow: 0 -38px #85e367, 0 -76px #85e367, 0 -114px #85e367, 0 -152px #85e367, 0 -190px #85e367, 0 -228px #85e367, 0 -266px #85e367, 0 -304px #85e367, 0 -342px #85e367, 0 -380px #85e367, 0 -418px #85e367, 0 -456px #85e367, 0 -494px #85e367, 0 -532px #85e367; - } -} -@keyframes cover-horizontal-green { - 0% { - width: 0; - height: 0; - box-shadow: none; - } - 39% { - width: 0; - height: 38px; - } - 39.625% { - width: 170px; - box-shadow: -340px -38px #85e367, -340px -76px #85e367, -340px -114px #85e367, -340px -152px #85e367, -340px -190px #85e367, -340px -228px #85e367, -340px -266px #85e367, -340px -304px #85e367, -340px -342px #85e367, -340px -380px #85e367, -340px -418px #85e367, -340px -456px #85e367, -340px -494px #85e367, -340px -532px #85e367; - } - 40.25% { - width: 340px; - box-shadow: -170px -38px #85e367, -340px -76px #85e367, -340px -114px #85e367, -340px -152px #85e367, -340px -190px #85e367, -340px -228px #85e367, -340px -266px #85e367, -340px -304px #85e367, -340px -342px #85e367, -340px -380px #85e367, -340px -418px #85e367, -340px -456px #85e367, -340px -494px #85e367, -340px -532px #85e367; - } - 40.875% { - box-shadow: 0 -38px #85e367, -170px -76px #85e367, -340px -114px #85e367, -340px -152px #85e367, -340px -190px #85e367, -340px -228px #85e367, -340px -266px #85e367, -340px -304px #85e367, -340px -342px #85e367, -340px -380px #85e367, -340px -418px #85e367, -340px -456px #85e367, -340px -494px #85e367, -340px -532px #85e367; - } - 41.5% { - box-shadow: 0 -38px #85e367, 0 -76px #85e367, -170px -114px #85e367, -340px -152px #85e367, -340px -190px #85e367, -340px -228px #85e367, -340px -266px #85e367, -340px -304px #85e367, -340px -342px #85e367, -340px -380px #85e367, -340px -418px #85e367, -340px -456px #85e367, -340px -494px #85e367, -340px -532px #85e367; - } - 42.125% { - box-shadow: 0 -38px #85e367, 0 -76px #85e367, 0 -114px #85e367, -170px -152px #85e367, -340px -190px #85e367, -340px -228px #85e367, -340px -266px #85e367, -340px -304px #85e367, -340px -342px #85e367, -340px -380px #85e367, -340px -418px #85e367, -340px -456px #85e367, -340px -494px #85e367, -340px -532px #85e367; - } - 42.75% { - box-shadow: 0 -38px #85e367, 0 -76px #85e367, 0 -114px #85e367, 0 -152px #85e367, -170px -190px #85e367, -340px -228px #85e367, -340px -266px #85e367, -340px -304px #85e367, -340px -342px #85e367, -340px -380px #85e367, -340px -418px #85e367, -340px -456px #85e367, -340px -494px #85e367, -340px -532px #85e367; - } - 43.375% { - box-shadow: 0 -38px #85e367, 0 -76px #85e367, 0 -114px #85e367, 0 -152px #85e367, 0 -190px #85e367, -170px -228px #85e367, -340px -266px #85e367, -340px -304px #85e367, -340px -342px #85e367, -340px -380px #85e367, -340px -418px #85e367, -340px -456px #85e367, -340px -494px #85e367, -340px -532px #85e367; - } - 44% { - box-shadow: 0 -38px #85e367, 0 -76px #85e367, 0 -114px #85e367, 0 -152px #85e367, 0 -190px #85e367, 0 -228px #85e367, -170px -266px #85e367, -340px -304px #85e367, -340px -342px #85e367, -340px -380px #85e367, -340px -418px #85e367, -340px -456px #85e367, -340px -494px #85e367, -340px -532px #85e367; - } - 44.625% { - box-shadow: 0 -38px #85e367, 0 -76px #85e367, 0 -114px #85e367, 0 -152px #85e367, 0 -190px #85e367, 0 -228px #85e367, 0 -266px #85e367, -170px -304px #85e367, -340px -342px #85e367, -340px -380px #85e367, -340px -418px #85e367, -340px -456px #85e367, -340px -494px #85e367, -340px -532px #85e367; - } - 45.25% { - box-shadow: 0 -38px #85e367, 0 -76px #85e367, 0 -114px #85e367, 0 -152px #85e367, 0 -190px #85e367, 0 -228px #85e367, 0 -266px #85e367, 0 -304px #85e367, -170px -342px #85e367, -340px -380px #85e367, -340px -418px #85e367, -340px -456px #85e367, -340px -494px #85e367, -340px -532px #85e367; - } - 45.875% { - box-shadow: 0 -38px #85e367, 0 -76px #85e367, 0 -114px #85e367, 0 -152px #85e367, 0 -190px #85e367, 0 -228px #85e367, 0 -266px #85e367, 0 -304px #85e367, 0 -342px #85e367, -170px -380px #85e367, -340px -418px #85e367, -340px -456px #85e367, -340px -494px #85e367, -340px -532px #85e367; - } - 46.5% { - box-shadow: 0 -38px #85e367, 0 -76px #85e367, 0 -114px #85e367, 0 -152px #85e367, 0 -190px #85e367, 0 -228px #85e367, 0 -266px #85e367, 0 -304px #85e367, 0 -342px #85e367, 0 -380px #85e367, -170px -418px #85e367, -340px -456px #85e367, -340px -494px #85e367, -340px -532px #85e367; - } - 47.125% { - box-shadow: 0 -38px #85e367, 0 -76px #85e367, 0 -114px #85e367, 0 -152px #85e367, 0 -190px #85e367, 0 -228px #85e367, 0 -266px #85e367, 0 -304px #85e367, 0 -342px #85e367, 0 -380px #85e367, 0 -418px #85e367, -170px -456px #85e367, -340px -494px #85e367, -340px -532px #85e367; - } - 47.75% { - box-shadow: 0 -38px #85e367, 0 -76px #85e367, 0 -114px #85e367, 0 -152px #85e367, 0 -190px #85e367, 0 -228px #85e367, 0 -266px #85e367, 0 -304px #85e367, 0 -342px #85e367, 0 -380px #85e367, 0 -418px #85e367, 0 -456px #85e367, -170px -494px #85e367, -340px -532px #85e367; - } - 48.375% { - box-shadow: 0 -38px #85e367, 0 -76px #85e367, 0 -114px #85e367, 0 -152px #85e367, 0 -190px #85e367, 0 -228px #85e367, 0 -266px #85e367, 0 -304px #85e367, 0 -342px #85e367, 0 -380px #85e367, 0 -418px #85e367, 0 -456px #85e367, 0 -494px #85e367, -170px -532px #85e367; - } - 49% { - box-shadow: 0 -38px #85e367, 0 -76px #85e367, 0 -114px #85e367, 0 -152px #85e367, 0 -190px #85e367, 0 -228px #85e367, 0 -266px #85e367, 0 -304px #85e367, 0 -342px #85e367, 0 -380px #85e367, 0 -418px #85e367, 0 -456px #85e367, 0 -494px #85e367, 0 -532px #85e367; - } -} -#gameboy.green #cover-horizontal { - background-color: #85e367; - -webkit-animation: cover-horizontal-green 8s linear; - animation: cover-horizontal-green 8s linear; - box-shadow: 0 -38px #85e367, 0 -76px #85e367, 0 -114px #85e367, 0 -152px #85e367, 0 -190px #85e367, 0 -228px #85e367, 0 -266px #85e367, 0 -304px #85e367, 0 -342px #85e367, 0 -380px #85e367, 0 -418px #85e367, 0 -456px #85e367, 0 -494px #85e367, 0 -532px #85e367; -} -@-moz-keyframes cover-horizontal-purple { - 0% { - width: 0; - height: 0; - box-shadow: none; - } - 39% { - width: 0; - height: 38px; - } - 39.625% { - width: 170px; - box-shadow: -340px -38px #5151dd, -340px -76px #5151dd, -340px -114px #5151dd, -340px -152px #5151dd, -340px -190px #5151dd, -340px -228px #5151dd, -340px -266px #5151dd, -340px -304px #5151dd, -340px -342px #5151dd, -340px -380px #5151dd, -340px -418px #5151dd, -340px -456px #5151dd, -340px -494px #5151dd, -340px -532px #5151dd; - } - 40.25% { - width: 340px; - box-shadow: -170px -38px #5151dd, -340px -76px #5151dd, -340px -114px #5151dd, -340px -152px #5151dd, -340px -190px #5151dd, -340px -228px #5151dd, -340px -266px #5151dd, -340px -304px #5151dd, -340px -342px #5151dd, -340px -380px #5151dd, -340px -418px #5151dd, -340px -456px #5151dd, -340px -494px #5151dd, -340px -532px #5151dd; - } - 40.875% { - box-shadow: 0 -38px #5151dd, -170px -76px #5151dd, -340px -114px #5151dd, -340px -152px #5151dd, -340px -190px #5151dd, -340px -228px #5151dd, -340px -266px #5151dd, -340px -304px #5151dd, -340px -342px #5151dd, -340px -380px #5151dd, -340px -418px #5151dd, -340px -456px #5151dd, -340px -494px #5151dd, -340px -532px #5151dd; - } - 41.5% { - box-shadow: 0 -38px #5151dd, 0 -76px #5151dd, -170px -114px #5151dd, -340px -152px #5151dd, -340px -190px #5151dd, -340px -228px #5151dd, -340px -266px #5151dd, -340px -304px #5151dd, -340px -342px #5151dd, -340px -380px #5151dd, -340px -418px #5151dd, -340px -456px #5151dd, -340px -494px #5151dd, -340px -532px #5151dd; - } - 42.125% { - box-shadow: 0 -38px #5151dd, 0 -76px #5151dd, 0 -114px #5151dd, -170px -152px #5151dd, -340px -190px #5151dd, -340px -228px #5151dd, -340px -266px #5151dd, -340px -304px #5151dd, -340px -342px #5151dd, -340px -380px #5151dd, -340px -418px #5151dd, -340px -456px #5151dd, -340px -494px #5151dd, -340px -532px #5151dd; - } - 42.75% { - box-shadow: 0 -38px #5151dd, 0 -76px #5151dd, 0 -114px #5151dd, 0 -152px #5151dd, -170px -190px #5151dd, -340px -228px #5151dd, -340px -266px #5151dd, -340px -304px #5151dd, -340px -342px #5151dd, -340px -380px #5151dd, -340px -418px #5151dd, -340px -456px #5151dd, -340px -494px #5151dd, -340px -532px #5151dd; - } - 43.375% { - box-shadow: 0 -38px #5151dd, 0 -76px #5151dd, 0 -114px #5151dd, 0 -152px #5151dd, 0 -190px #5151dd, -170px -228px #5151dd, -340px -266px #5151dd, -340px -304px #5151dd, -340px -342px #5151dd, -340px -380px #5151dd, -340px -418px #5151dd, -340px -456px #5151dd, -340px -494px #5151dd, -340px -532px #5151dd; - } - 44% { - box-shadow: 0 -38px #5151dd, 0 -76px #5151dd, 0 -114px #5151dd, 0 -152px #5151dd, 0 -190px #5151dd, 0 -228px #5151dd, -170px -266px #5151dd, -340px -304px #5151dd, -340px -342px #5151dd, -340px -380px #5151dd, -340px -418px #5151dd, -340px -456px #5151dd, -340px -494px #5151dd, -340px -532px #5151dd; - } - 44.625% { - box-shadow: 0 -38px #5151dd, 0 -76px #5151dd, 0 -114px #5151dd, 0 -152px #5151dd, 0 -190px #5151dd, 0 -228px #5151dd, 0 -266px #5151dd, -170px -304px #5151dd, -340px -342px #5151dd, -340px -380px #5151dd, -340px -418px #5151dd, -340px -456px #5151dd, -340px -494px #5151dd, -340px -532px #5151dd; - } - 45.25% { - box-shadow: 0 -38px #5151dd, 0 -76px #5151dd, 0 -114px #5151dd, 0 -152px #5151dd, 0 -190px #5151dd, 0 -228px #5151dd, 0 -266px #5151dd, 0 -304px #5151dd, -170px -342px #5151dd, -340px -380px #5151dd, -340px -418px #5151dd, -340px -456px #5151dd, -340px -494px #5151dd, -340px -532px #5151dd; - } - 45.875% { - box-shadow: 0 -38px #5151dd, 0 -76px #5151dd, 0 -114px #5151dd, 0 -152px #5151dd, 0 -190px #5151dd, 0 -228px #5151dd, 0 -266px #5151dd, 0 -304px #5151dd, 0 -342px #5151dd, -170px -380px #5151dd, -340px -418px #5151dd, -340px -456px #5151dd, -340px -494px #5151dd, -340px -532px #5151dd; - } - 46.5% { - box-shadow: 0 -38px #5151dd, 0 -76px #5151dd, 0 -114px #5151dd, 0 -152px #5151dd, 0 -190px #5151dd, 0 -228px #5151dd, 0 -266px #5151dd, 0 -304px #5151dd, 0 -342px #5151dd, 0 -380px #5151dd, -170px -418px #5151dd, -340px -456px #5151dd, -340px -494px #5151dd, -340px -532px #5151dd; - } - 47.125% { - box-shadow: 0 -38px #5151dd, 0 -76px #5151dd, 0 -114px #5151dd, 0 -152px #5151dd, 0 -190px #5151dd, 0 -228px #5151dd, 0 -266px #5151dd, 0 -304px #5151dd, 0 -342px #5151dd, 0 -380px #5151dd, 0 -418px #5151dd, -170px -456px #5151dd, -340px -494px #5151dd, -340px -532px #5151dd; - } - 47.75% { - box-shadow: 0 -38px #5151dd, 0 -76px #5151dd, 0 -114px #5151dd, 0 -152px #5151dd, 0 -190px #5151dd, 0 -228px #5151dd, 0 -266px #5151dd, 0 -304px #5151dd, 0 -342px #5151dd, 0 -380px #5151dd, 0 -418px #5151dd, 0 -456px #5151dd, -170px -494px #5151dd, -340px -532px #5151dd; - } - 48.375% { - box-shadow: 0 -38px #5151dd, 0 -76px #5151dd, 0 -114px #5151dd, 0 -152px #5151dd, 0 -190px #5151dd, 0 -228px #5151dd, 0 -266px #5151dd, 0 -304px #5151dd, 0 -342px #5151dd, 0 -380px #5151dd, 0 -418px #5151dd, 0 -456px #5151dd, 0 -494px #5151dd, -170px -532px #5151dd; - } - 49% { - box-shadow: 0 -38px #5151dd, 0 -76px #5151dd, 0 -114px #5151dd, 0 -152px #5151dd, 0 -190px #5151dd, 0 -228px #5151dd, 0 -266px #5151dd, 0 -304px #5151dd, 0 -342px #5151dd, 0 -380px #5151dd, 0 -418px #5151dd, 0 -456px #5151dd, 0 -494px #5151dd, 0 -532px #5151dd; - } -} -@-webkit-keyframes cover-horizontal-purple { - 0% { - width: 0; - height: 0; - box-shadow: none; - } - 39% { - width: 0; - height: 38px; - } - 39.625% { - width: 170px; - box-shadow: -340px -38px #5151dd, -340px -76px #5151dd, -340px -114px #5151dd, -340px -152px #5151dd, -340px -190px #5151dd, -340px -228px #5151dd, -340px -266px #5151dd, -340px -304px #5151dd, -340px -342px #5151dd, -340px -380px #5151dd, -340px -418px #5151dd, -340px -456px #5151dd, -340px -494px #5151dd, -340px -532px #5151dd; - } - 40.25% { - width: 340px; - box-shadow: -170px -38px #5151dd, -340px -76px #5151dd, -340px -114px #5151dd, -340px -152px #5151dd, -340px -190px #5151dd, -340px -228px #5151dd, -340px -266px #5151dd, -340px -304px #5151dd, -340px -342px #5151dd, -340px -380px #5151dd, -340px -418px #5151dd, -340px -456px #5151dd, -340px -494px #5151dd, -340px -532px #5151dd; - } - 40.875% { - box-shadow: 0 -38px #5151dd, -170px -76px #5151dd, -340px -114px #5151dd, -340px -152px #5151dd, -340px -190px #5151dd, -340px -228px #5151dd, -340px -266px #5151dd, -340px -304px #5151dd, -340px -342px #5151dd, -340px -380px #5151dd, -340px -418px #5151dd, -340px -456px #5151dd, -340px -494px #5151dd, -340px -532px #5151dd; - } - 41.5% { - box-shadow: 0 -38px #5151dd, 0 -76px #5151dd, -170px -114px #5151dd, -340px -152px #5151dd, -340px -190px #5151dd, -340px -228px #5151dd, -340px -266px #5151dd, -340px -304px #5151dd, -340px -342px #5151dd, -340px -380px #5151dd, -340px -418px #5151dd, -340px -456px #5151dd, -340px -494px #5151dd, -340px -532px #5151dd; - } - 42.125% { - box-shadow: 0 -38px #5151dd, 0 -76px #5151dd, 0 -114px #5151dd, -170px -152px #5151dd, -340px -190px #5151dd, -340px -228px #5151dd, -340px -266px #5151dd, -340px -304px #5151dd, -340px -342px #5151dd, -340px -380px #5151dd, -340px -418px #5151dd, -340px -456px #5151dd, -340px -494px #5151dd, -340px -532px #5151dd; - } - 42.75% { - box-shadow: 0 -38px #5151dd, 0 -76px #5151dd, 0 -114px #5151dd, 0 -152px #5151dd, -170px -190px #5151dd, -340px -228px #5151dd, -340px -266px #5151dd, -340px -304px #5151dd, -340px -342px #5151dd, -340px -380px #5151dd, -340px -418px #5151dd, -340px -456px #5151dd, -340px -494px #5151dd, -340px -532px #5151dd; - } - 43.375% { - box-shadow: 0 -38px #5151dd, 0 -76px #5151dd, 0 -114px #5151dd, 0 -152px #5151dd, 0 -190px #5151dd, -170px -228px #5151dd, -340px -266px #5151dd, -340px -304px #5151dd, -340px -342px #5151dd, -340px -380px #5151dd, -340px -418px #5151dd, -340px -456px #5151dd, -340px -494px #5151dd, -340px -532px #5151dd; - } - 44% { - box-shadow: 0 -38px #5151dd, 0 -76px #5151dd, 0 -114px #5151dd, 0 -152px #5151dd, 0 -190px #5151dd, 0 -228px #5151dd, -170px -266px #5151dd, -340px -304px #5151dd, -340px -342px #5151dd, -340px -380px #5151dd, -340px -418px #5151dd, -340px -456px #5151dd, -340px -494px #5151dd, -340px -532px #5151dd; - } - 44.625% { - box-shadow: 0 -38px #5151dd, 0 -76px #5151dd, 0 -114px #5151dd, 0 -152px #5151dd, 0 -190px #5151dd, 0 -228px #5151dd, 0 -266px #5151dd, -170px -304px #5151dd, -340px -342px #5151dd, -340px -380px #5151dd, -340px -418px #5151dd, -340px -456px #5151dd, -340px -494px #5151dd, -340px -532px #5151dd; - } - 45.25% { - box-shadow: 0 -38px #5151dd, 0 -76px #5151dd, 0 -114px #5151dd, 0 -152px #5151dd, 0 -190px #5151dd, 0 -228px #5151dd, 0 -266px #5151dd, 0 -304px #5151dd, -170px -342px #5151dd, -340px -380px #5151dd, -340px -418px #5151dd, -340px -456px #5151dd, -340px -494px #5151dd, -340px -532px #5151dd; - } - 45.875% { - box-shadow: 0 -38px #5151dd, 0 -76px #5151dd, 0 -114px #5151dd, 0 -152px #5151dd, 0 -190px #5151dd, 0 -228px #5151dd, 0 -266px #5151dd, 0 -304px #5151dd, 0 -342px #5151dd, -170px -380px #5151dd, -340px -418px #5151dd, -340px -456px #5151dd, -340px -494px #5151dd, -340px -532px #5151dd; - } - 46.5% { - box-shadow: 0 -38px #5151dd, 0 -76px #5151dd, 0 -114px #5151dd, 0 -152px #5151dd, 0 -190px #5151dd, 0 -228px #5151dd, 0 -266px #5151dd, 0 -304px #5151dd, 0 -342px #5151dd, 0 -380px #5151dd, -170px -418px #5151dd, -340px -456px #5151dd, -340px -494px #5151dd, -340px -532px #5151dd; - } - 47.125% { - box-shadow: 0 -38px #5151dd, 0 -76px #5151dd, 0 -114px #5151dd, 0 -152px #5151dd, 0 -190px #5151dd, 0 -228px #5151dd, 0 -266px #5151dd, 0 -304px #5151dd, 0 -342px #5151dd, 0 -380px #5151dd, 0 -418px #5151dd, -170px -456px #5151dd, -340px -494px #5151dd, -340px -532px #5151dd; - } - 47.75% { - box-shadow: 0 -38px #5151dd, 0 -76px #5151dd, 0 -114px #5151dd, 0 -152px #5151dd, 0 -190px #5151dd, 0 -228px #5151dd, 0 -266px #5151dd, 0 -304px #5151dd, 0 -342px #5151dd, 0 -380px #5151dd, 0 -418px #5151dd, 0 -456px #5151dd, -170px -494px #5151dd, -340px -532px #5151dd; - } - 48.375% { - box-shadow: 0 -38px #5151dd, 0 -76px #5151dd, 0 -114px #5151dd, 0 -152px #5151dd, 0 -190px #5151dd, 0 -228px #5151dd, 0 -266px #5151dd, 0 -304px #5151dd, 0 -342px #5151dd, 0 -380px #5151dd, 0 -418px #5151dd, 0 -456px #5151dd, 0 -494px #5151dd, -170px -532px #5151dd; - } - 49% { - box-shadow: 0 -38px #5151dd, 0 -76px #5151dd, 0 -114px #5151dd, 0 -152px #5151dd, 0 -190px #5151dd, 0 -228px #5151dd, 0 -266px #5151dd, 0 -304px #5151dd, 0 -342px #5151dd, 0 -380px #5151dd, 0 -418px #5151dd, 0 -456px #5151dd, 0 -494px #5151dd, 0 -532px #5151dd; - } -} -@keyframes cover-horizontal-purple { - 0% { - width: 0; - height: 0; - box-shadow: none; - } - 39% { - width: 0; - height: 38px; - } - 39.625% { - width: 170px; - box-shadow: -340px -38px #5151dd, -340px -76px #5151dd, -340px -114px #5151dd, -340px -152px #5151dd, -340px -190px #5151dd, -340px -228px #5151dd, -340px -266px #5151dd, -340px -304px #5151dd, -340px -342px #5151dd, -340px -380px #5151dd, -340px -418px #5151dd, -340px -456px #5151dd, -340px -494px #5151dd, -340px -532px #5151dd; - } - 40.25% { - width: 340px; - box-shadow: -170px -38px #5151dd, -340px -76px #5151dd, -340px -114px #5151dd, -340px -152px #5151dd, -340px -190px #5151dd, -340px -228px #5151dd, -340px -266px #5151dd, -340px -304px #5151dd, -340px -342px #5151dd, -340px -380px #5151dd, -340px -418px #5151dd, -340px -456px #5151dd, -340px -494px #5151dd, -340px -532px #5151dd; - } - 40.875% { - box-shadow: 0 -38px #5151dd, -170px -76px #5151dd, -340px -114px #5151dd, -340px -152px #5151dd, -340px -190px #5151dd, -340px -228px #5151dd, -340px -266px #5151dd, -340px -304px #5151dd, -340px -342px #5151dd, -340px -380px #5151dd, -340px -418px #5151dd, -340px -456px #5151dd, -340px -494px #5151dd, -340px -532px #5151dd; - } - 41.5% { - box-shadow: 0 -38px #5151dd, 0 -76px #5151dd, -170px -114px #5151dd, -340px -152px #5151dd, -340px -190px #5151dd, -340px -228px #5151dd, -340px -266px #5151dd, -340px -304px #5151dd, -340px -342px #5151dd, -340px -380px #5151dd, -340px -418px #5151dd, -340px -456px #5151dd, -340px -494px #5151dd, -340px -532px #5151dd; - } - 42.125% { - box-shadow: 0 -38px #5151dd, 0 -76px #5151dd, 0 -114px #5151dd, -170px -152px #5151dd, -340px -190px #5151dd, -340px -228px #5151dd, -340px -266px #5151dd, -340px -304px #5151dd, -340px -342px #5151dd, -340px -380px #5151dd, -340px -418px #5151dd, -340px -456px #5151dd, -340px -494px #5151dd, -340px -532px #5151dd; - } - 42.75% { - box-shadow: 0 -38px #5151dd, 0 -76px #5151dd, 0 -114px #5151dd, 0 -152px #5151dd, -170px -190px #5151dd, -340px -228px #5151dd, -340px -266px #5151dd, -340px -304px #5151dd, -340px -342px #5151dd, -340px -380px #5151dd, -340px -418px #5151dd, -340px -456px #5151dd, -340px -494px #5151dd, -340px -532px #5151dd; - } - 43.375% { - box-shadow: 0 -38px #5151dd, 0 -76px #5151dd, 0 -114px #5151dd, 0 -152px #5151dd, 0 -190px #5151dd, -170px -228px #5151dd, -340px -266px #5151dd, -340px -304px #5151dd, -340px -342px #5151dd, -340px -380px #5151dd, -340px -418px #5151dd, -340px -456px #5151dd, -340px -494px #5151dd, -340px -532px #5151dd; - } - 44% { - box-shadow: 0 -38px #5151dd, 0 -76px #5151dd, 0 -114px #5151dd, 0 -152px #5151dd, 0 -190px #5151dd, 0 -228px #5151dd, -170px -266px #5151dd, -340px -304px #5151dd, -340px -342px #5151dd, -340px -380px #5151dd, -340px -418px #5151dd, -340px -456px #5151dd, -340px -494px #5151dd, -340px -532px #5151dd; - } - 44.625% { - box-shadow: 0 -38px #5151dd, 0 -76px #5151dd, 0 -114px #5151dd, 0 -152px #5151dd, 0 -190px #5151dd, 0 -228px #5151dd, 0 -266px #5151dd, -170px -304px #5151dd, -340px -342px #5151dd, -340px -380px #5151dd, -340px -418px #5151dd, -340px -456px #5151dd, -340px -494px #5151dd, -340px -532px #5151dd; - } - 45.25% { - box-shadow: 0 -38px #5151dd, 0 -76px #5151dd, 0 -114px #5151dd, 0 -152px #5151dd, 0 -190px #5151dd, 0 -228px #5151dd, 0 -266px #5151dd, 0 -304px #5151dd, -170px -342px #5151dd, -340px -380px #5151dd, -340px -418px #5151dd, -340px -456px #5151dd, -340px -494px #5151dd, -340px -532px #5151dd; - } - 45.875% { - box-shadow: 0 -38px #5151dd, 0 -76px #5151dd, 0 -114px #5151dd, 0 -152px #5151dd, 0 -190px #5151dd, 0 -228px #5151dd, 0 -266px #5151dd, 0 -304px #5151dd, 0 -342px #5151dd, -170px -380px #5151dd, -340px -418px #5151dd, -340px -456px #5151dd, -340px -494px #5151dd, -340px -532px #5151dd; - } - 46.5% { - box-shadow: 0 -38px #5151dd, 0 -76px #5151dd, 0 -114px #5151dd, 0 -152px #5151dd, 0 -190px #5151dd, 0 -228px #5151dd, 0 -266px #5151dd, 0 -304px #5151dd, 0 -342px #5151dd, 0 -380px #5151dd, -170px -418px #5151dd, -340px -456px #5151dd, -340px -494px #5151dd, -340px -532px #5151dd; - } - 47.125% { - box-shadow: 0 -38px #5151dd, 0 -76px #5151dd, 0 -114px #5151dd, 0 -152px #5151dd, 0 -190px #5151dd, 0 -228px #5151dd, 0 -266px #5151dd, 0 -304px #5151dd, 0 -342px #5151dd, 0 -380px #5151dd, 0 -418px #5151dd, -170px -456px #5151dd, -340px -494px #5151dd, -340px -532px #5151dd; - } - 47.75% { - box-shadow: 0 -38px #5151dd, 0 -76px #5151dd, 0 -114px #5151dd, 0 -152px #5151dd, 0 -190px #5151dd, 0 -228px #5151dd, 0 -266px #5151dd, 0 -304px #5151dd, 0 -342px #5151dd, 0 -380px #5151dd, 0 -418px #5151dd, 0 -456px #5151dd, -170px -494px #5151dd, -340px -532px #5151dd; - } - 48.375% { - box-shadow: 0 -38px #5151dd, 0 -76px #5151dd, 0 -114px #5151dd, 0 -152px #5151dd, 0 -190px #5151dd, 0 -228px #5151dd, 0 -266px #5151dd, 0 -304px #5151dd, 0 -342px #5151dd, 0 -380px #5151dd, 0 -418px #5151dd, 0 -456px #5151dd, 0 -494px #5151dd, -170px -532px #5151dd; - } - 49% { - box-shadow: 0 -38px #5151dd, 0 -76px #5151dd, 0 -114px #5151dd, 0 -152px #5151dd, 0 -190px #5151dd, 0 -228px #5151dd, 0 -266px #5151dd, 0 -304px #5151dd, 0 -342px #5151dd, 0 -380px #5151dd, 0 -418px #5151dd, 0 -456px #5151dd, 0 -494px #5151dd, 0 -532px #5151dd; - } -} -#gameboy.purple #cover-horizontal { - background-color: #5151dd; - -webkit-animation: cover-horizontal-purple 8s linear; - animation: cover-horizontal-purple 8s linear; - box-shadow: 0 -38px #5151dd, 0 -76px #5151dd, 0 -114px #5151dd, 0 -152px #5151dd, 0 -190px #5151dd, 0 -228px #5151dd, 0 -266px #5151dd, 0 -304px #5151dd, 0 -342px #5151dd, 0 -380px #5151dd, 0 -418px #5151dd, 0 -456px #5151dd, 0 -494px #5151dd, 0 -532px #5151dd; -} -@-moz-keyframes cover-horizontal-red { - 0% { - width: 0; - height: 0; - box-shadow: none; - } - 39% { - width: 0; - height: 38px; - } - 39.625% { - width: 170px; - box-shadow: -340px -38px #ff0151, -340px -76px #ff0151, -340px -114px #ff0151, -340px -152px #ff0151, -340px -190px #ff0151, -340px -228px #ff0151, -340px -266px #ff0151, -340px -304px #ff0151, -340px -342px #ff0151, -340px -380px #ff0151, -340px -418px #ff0151, -340px -456px #ff0151, -340px -494px #ff0151, -340px -532px #ff0151; - } - 40.25% { - width: 340px; - box-shadow: -170px -38px #ff0151, -340px -76px #ff0151, -340px -114px #ff0151, -340px -152px #ff0151, -340px -190px #ff0151, -340px -228px #ff0151, -340px -266px #ff0151, -340px -304px #ff0151, -340px -342px #ff0151, -340px -380px #ff0151, -340px -418px #ff0151, -340px -456px #ff0151, -340px -494px #ff0151, -340px -532px #ff0151; - } - 40.875% { - box-shadow: 0 -38px #ff0151, -170px -76px #ff0151, -340px -114px #ff0151, -340px -152px #ff0151, -340px -190px #ff0151, -340px -228px #ff0151, -340px -266px #ff0151, -340px -304px #ff0151, -340px -342px #ff0151, -340px -380px #ff0151, -340px -418px #ff0151, -340px -456px #ff0151, -340px -494px #ff0151, -340px -532px #ff0151; - } - 41.5% { - box-shadow: 0 -38px #ff0151, 0 -76px #ff0151, -170px -114px #ff0151, -340px -152px #ff0151, -340px -190px #ff0151, -340px -228px #ff0151, -340px -266px #ff0151, -340px -304px #ff0151, -340px -342px #ff0151, -340px -380px #ff0151, -340px -418px #ff0151, -340px -456px #ff0151, -340px -494px #ff0151, -340px -532px #ff0151; - } - 42.125% { - box-shadow: 0 -38px #ff0151, 0 -76px #ff0151, 0 -114px #ff0151, -170px -152px #ff0151, -340px -190px #ff0151, -340px -228px #ff0151, -340px -266px #ff0151, -340px -304px #ff0151, -340px -342px #ff0151, -340px -380px #ff0151, -340px -418px #ff0151, -340px -456px #ff0151, -340px -494px #ff0151, -340px -532px #ff0151; - } - 42.75% { - box-shadow: 0 -38px #ff0151, 0 -76px #ff0151, 0 -114px #ff0151, 0 -152px #ff0151, -170px -190px #ff0151, -340px -228px #ff0151, -340px -266px #ff0151, -340px -304px #ff0151, -340px -342px #ff0151, -340px -380px #ff0151, -340px -418px #ff0151, -340px -456px #ff0151, -340px -494px #ff0151, -340px -532px #ff0151; - } - 43.375% { - box-shadow: 0 -38px #ff0151, 0 -76px #ff0151, 0 -114px #ff0151, 0 -152px #ff0151, 0 -190px #ff0151, -170px -228px #ff0151, -340px -266px #ff0151, -340px -304px #ff0151, -340px -342px #ff0151, -340px -380px #ff0151, -340px -418px #ff0151, -340px -456px #ff0151, -340px -494px #ff0151, -340px -532px #ff0151; - } - 44% { - box-shadow: 0 -38px #ff0151, 0 -76px #ff0151, 0 -114px #ff0151, 0 -152px #ff0151, 0 -190px #ff0151, 0 -228px #ff0151, -170px -266px #ff0151, -340px -304px #ff0151, -340px -342px #ff0151, -340px -380px #ff0151, -340px -418px #ff0151, -340px -456px #ff0151, -340px -494px #ff0151, -340px -532px #ff0151; - } - 44.625% { - box-shadow: 0 -38px #ff0151, 0 -76px #ff0151, 0 -114px #ff0151, 0 -152px #ff0151, 0 -190px #ff0151, 0 -228px #ff0151, 0 -266px #ff0151, -170px -304px #ff0151, -340px -342px #ff0151, -340px -380px #ff0151, -340px -418px #ff0151, -340px -456px #ff0151, -340px -494px #ff0151, -340px -532px #ff0151; - } - 45.25% { - box-shadow: 0 -38px #ff0151, 0 -76px #ff0151, 0 -114px #ff0151, 0 -152px #ff0151, 0 -190px #ff0151, 0 -228px #ff0151, 0 -266px #ff0151, 0 -304px #ff0151, -170px -342px #ff0151, -340px -380px #ff0151, -340px -418px #ff0151, -340px -456px #ff0151, -340px -494px #ff0151, -340px -532px #ff0151; - } - 45.875% { - box-shadow: 0 -38px #ff0151, 0 -76px #ff0151, 0 -114px #ff0151, 0 -152px #ff0151, 0 -190px #ff0151, 0 -228px #ff0151, 0 -266px #ff0151, 0 -304px #ff0151, 0 -342px #ff0151, -170px -380px #ff0151, -340px -418px #ff0151, -340px -456px #ff0151, -340px -494px #ff0151, -340px -532px #ff0151; - } - 46.5% { - box-shadow: 0 -38px #ff0151, 0 -76px #ff0151, 0 -114px #ff0151, 0 -152px #ff0151, 0 -190px #ff0151, 0 -228px #ff0151, 0 -266px #ff0151, 0 -304px #ff0151, 0 -342px #ff0151, 0 -380px #ff0151, -170px -418px #ff0151, -340px -456px #ff0151, -340px -494px #ff0151, -340px -532px #ff0151; - } - 47.125% { - box-shadow: 0 -38px #ff0151, 0 -76px #ff0151, 0 -114px #ff0151, 0 -152px #ff0151, 0 -190px #ff0151, 0 -228px #ff0151, 0 -266px #ff0151, 0 -304px #ff0151, 0 -342px #ff0151, 0 -380px #ff0151, 0 -418px #ff0151, -170px -456px #ff0151, -340px -494px #ff0151, -340px -532px #ff0151; - } - 47.75% { - box-shadow: 0 -38px #ff0151, 0 -76px #ff0151, 0 -114px #ff0151, 0 -152px #ff0151, 0 -190px #ff0151, 0 -228px #ff0151, 0 -266px #ff0151, 0 -304px #ff0151, 0 -342px #ff0151, 0 -380px #ff0151, 0 -418px #ff0151, 0 -456px #ff0151, -170px -494px #ff0151, -340px -532px #ff0151; - } - 48.375% { - box-shadow: 0 -38px #ff0151, 0 -76px #ff0151, 0 -114px #ff0151, 0 -152px #ff0151, 0 -190px #ff0151, 0 -228px #ff0151, 0 -266px #ff0151, 0 -304px #ff0151, 0 -342px #ff0151, 0 -380px #ff0151, 0 -418px #ff0151, 0 -456px #ff0151, 0 -494px #ff0151, -170px -532px #ff0151; - } - 49% { - box-shadow: 0 -38px #ff0151, 0 -76px #ff0151, 0 -114px #ff0151, 0 -152px #ff0151, 0 -190px #ff0151, 0 -228px #ff0151, 0 -266px #ff0151, 0 -304px #ff0151, 0 -342px #ff0151, 0 -380px #ff0151, 0 -418px #ff0151, 0 -456px #ff0151, 0 -494px #ff0151, 0 -532px #ff0151; - } -} -@-webkit-keyframes cover-horizontal-red { - 0% { - width: 0; - height: 0; - box-shadow: none; - } - 39% { - width: 0; - height: 38px; - } - 39.625% { - width: 170px; - box-shadow: -340px -38px #ff0151, -340px -76px #ff0151, -340px -114px #ff0151, -340px -152px #ff0151, -340px -190px #ff0151, -340px -228px #ff0151, -340px -266px #ff0151, -340px -304px #ff0151, -340px -342px #ff0151, -340px -380px #ff0151, -340px -418px #ff0151, -340px -456px #ff0151, -340px -494px #ff0151, -340px -532px #ff0151; - } - 40.25% { - width: 340px; - box-shadow: -170px -38px #ff0151, -340px -76px #ff0151, -340px -114px #ff0151, -340px -152px #ff0151, -340px -190px #ff0151, -340px -228px #ff0151, -340px -266px #ff0151, -340px -304px #ff0151, -340px -342px #ff0151, -340px -380px #ff0151, -340px -418px #ff0151, -340px -456px #ff0151, -340px -494px #ff0151, -340px -532px #ff0151; - } - 40.875% { - box-shadow: 0 -38px #ff0151, -170px -76px #ff0151, -340px -114px #ff0151, -340px -152px #ff0151, -340px -190px #ff0151, -340px -228px #ff0151, -340px -266px #ff0151, -340px -304px #ff0151, -340px -342px #ff0151, -340px -380px #ff0151, -340px -418px #ff0151, -340px -456px #ff0151, -340px -494px #ff0151, -340px -532px #ff0151; - } - 41.5% { - box-shadow: 0 -38px #ff0151, 0 -76px #ff0151, -170px -114px #ff0151, -340px -152px #ff0151, -340px -190px #ff0151, -340px -228px #ff0151, -340px -266px #ff0151, -340px -304px #ff0151, -340px -342px #ff0151, -340px -380px #ff0151, -340px -418px #ff0151, -340px -456px #ff0151, -340px -494px #ff0151, -340px -532px #ff0151; - } - 42.125% { - box-shadow: 0 -38px #ff0151, 0 -76px #ff0151, 0 -114px #ff0151, -170px -152px #ff0151, -340px -190px #ff0151, -340px -228px #ff0151, -340px -266px #ff0151, -340px -304px #ff0151, -340px -342px #ff0151, -340px -380px #ff0151, -340px -418px #ff0151, -340px -456px #ff0151, -340px -494px #ff0151, -340px -532px #ff0151; - } - 42.75% { - box-shadow: 0 -38px #ff0151, 0 -76px #ff0151, 0 -114px #ff0151, 0 -152px #ff0151, -170px -190px #ff0151, -340px -228px #ff0151, -340px -266px #ff0151, -340px -304px #ff0151, -340px -342px #ff0151, -340px -380px #ff0151, -340px -418px #ff0151, -340px -456px #ff0151, -340px -494px #ff0151, -340px -532px #ff0151; - } - 43.375% { - box-shadow: 0 -38px #ff0151, 0 -76px #ff0151, 0 -114px #ff0151, 0 -152px #ff0151, 0 -190px #ff0151, -170px -228px #ff0151, -340px -266px #ff0151, -340px -304px #ff0151, -340px -342px #ff0151, -340px -380px #ff0151, -340px -418px #ff0151, -340px -456px #ff0151, -340px -494px #ff0151, -340px -532px #ff0151; - } - 44% { - box-shadow: 0 -38px #ff0151, 0 -76px #ff0151, 0 -114px #ff0151, 0 -152px #ff0151, 0 -190px #ff0151, 0 -228px #ff0151, -170px -266px #ff0151, -340px -304px #ff0151, -340px -342px #ff0151, -340px -380px #ff0151, -340px -418px #ff0151, -340px -456px #ff0151, -340px -494px #ff0151, -340px -532px #ff0151; - } - 44.625% { - box-shadow: 0 -38px #ff0151, 0 -76px #ff0151, 0 -114px #ff0151, 0 -152px #ff0151, 0 -190px #ff0151, 0 -228px #ff0151, 0 -266px #ff0151, -170px -304px #ff0151, -340px -342px #ff0151, -340px -380px #ff0151, -340px -418px #ff0151, -340px -456px #ff0151, -340px -494px #ff0151, -340px -532px #ff0151; - } - 45.25% { - box-shadow: 0 -38px #ff0151, 0 -76px #ff0151, 0 -114px #ff0151, 0 -152px #ff0151, 0 -190px #ff0151, 0 -228px #ff0151, 0 -266px #ff0151, 0 -304px #ff0151, -170px -342px #ff0151, -340px -380px #ff0151, -340px -418px #ff0151, -340px -456px #ff0151, -340px -494px #ff0151, -340px -532px #ff0151; - } - 45.875% { - box-shadow: 0 -38px #ff0151, 0 -76px #ff0151, 0 -114px #ff0151, 0 -152px #ff0151, 0 -190px #ff0151, 0 -228px #ff0151, 0 -266px #ff0151, 0 -304px #ff0151, 0 -342px #ff0151, -170px -380px #ff0151, -340px -418px #ff0151, -340px -456px #ff0151, -340px -494px #ff0151, -340px -532px #ff0151; - } - 46.5% { - box-shadow: 0 -38px #ff0151, 0 -76px #ff0151, 0 -114px #ff0151, 0 -152px #ff0151, 0 -190px #ff0151, 0 -228px #ff0151, 0 -266px #ff0151, 0 -304px #ff0151, 0 -342px #ff0151, 0 -380px #ff0151, -170px -418px #ff0151, -340px -456px #ff0151, -340px -494px #ff0151, -340px -532px #ff0151; - } - 47.125% { - box-shadow: 0 -38px #ff0151, 0 -76px #ff0151, 0 -114px #ff0151, 0 -152px #ff0151, 0 -190px #ff0151, 0 -228px #ff0151, 0 -266px #ff0151, 0 -304px #ff0151, 0 -342px #ff0151, 0 -380px #ff0151, 0 -418px #ff0151, -170px -456px #ff0151, -340px -494px #ff0151, -340px -532px #ff0151; - } - 47.75% { - box-shadow: 0 -38px #ff0151, 0 -76px #ff0151, 0 -114px #ff0151, 0 -152px #ff0151, 0 -190px #ff0151, 0 -228px #ff0151, 0 -266px #ff0151, 0 -304px #ff0151, 0 -342px #ff0151, 0 -380px #ff0151, 0 -418px #ff0151, 0 -456px #ff0151, -170px -494px #ff0151, -340px -532px #ff0151; - } - 48.375% { - box-shadow: 0 -38px #ff0151, 0 -76px #ff0151, 0 -114px #ff0151, 0 -152px #ff0151, 0 -190px #ff0151, 0 -228px #ff0151, 0 -266px #ff0151, 0 -304px #ff0151, 0 -342px #ff0151, 0 -380px #ff0151, 0 -418px #ff0151, 0 -456px #ff0151, 0 -494px #ff0151, -170px -532px #ff0151; - } - 49% { - box-shadow: 0 -38px #ff0151, 0 -76px #ff0151, 0 -114px #ff0151, 0 -152px #ff0151, 0 -190px #ff0151, 0 -228px #ff0151, 0 -266px #ff0151, 0 -304px #ff0151, 0 -342px #ff0151, 0 -380px #ff0151, 0 -418px #ff0151, 0 -456px #ff0151, 0 -494px #ff0151, 0 -532px #ff0151; - } -} -@keyframes cover-horizontal-red { - 0% { - width: 0; - height: 0; - box-shadow: none; - } - 39% { - width: 0; - height: 38px; - } - 39.625% { - width: 170px; - box-shadow: -340px -38px #ff0151, -340px -76px #ff0151, -340px -114px #ff0151, -340px -152px #ff0151, -340px -190px #ff0151, -340px -228px #ff0151, -340px -266px #ff0151, -340px -304px #ff0151, -340px -342px #ff0151, -340px -380px #ff0151, -340px -418px #ff0151, -340px -456px #ff0151, -340px -494px #ff0151, -340px -532px #ff0151; - } - 40.25% { - width: 340px; - box-shadow: -170px -38px #ff0151, -340px -76px #ff0151, -340px -114px #ff0151, -340px -152px #ff0151, -340px -190px #ff0151, -340px -228px #ff0151, -340px -266px #ff0151, -340px -304px #ff0151, -340px -342px #ff0151, -340px -380px #ff0151, -340px -418px #ff0151, -340px -456px #ff0151, -340px -494px #ff0151, -340px -532px #ff0151; - } - 40.875% { - box-shadow: 0 -38px #ff0151, -170px -76px #ff0151, -340px -114px #ff0151, -340px -152px #ff0151, -340px -190px #ff0151, -340px -228px #ff0151, -340px -266px #ff0151, -340px -304px #ff0151, -340px -342px #ff0151, -340px -380px #ff0151, -340px -418px #ff0151, -340px -456px #ff0151, -340px -494px #ff0151, -340px -532px #ff0151; - } - 41.5% { - box-shadow: 0 -38px #ff0151, 0 -76px #ff0151, -170px -114px #ff0151, -340px -152px #ff0151, -340px -190px #ff0151, -340px -228px #ff0151, -340px -266px #ff0151, -340px -304px #ff0151, -340px -342px #ff0151, -340px -380px #ff0151, -340px -418px #ff0151, -340px -456px #ff0151, -340px -494px #ff0151, -340px -532px #ff0151; - } - 42.125% { - box-shadow: 0 -38px #ff0151, 0 -76px #ff0151, 0 -114px #ff0151, -170px -152px #ff0151, -340px -190px #ff0151, -340px -228px #ff0151, -340px -266px #ff0151, -340px -304px #ff0151, -340px -342px #ff0151, -340px -380px #ff0151, -340px -418px #ff0151, -340px -456px #ff0151, -340px -494px #ff0151, -340px -532px #ff0151; - } - 42.75% { - box-shadow: 0 -38px #ff0151, 0 -76px #ff0151, 0 -114px #ff0151, 0 -152px #ff0151, -170px -190px #ff0151, -340px -228px #ff0151, -340px -266px #ff0151, -340px -304px #ff0151, -340px -342px #ff0151, -340px -380px #ff0151, -340px -418px #ff0151, -340px -456px #ff0151, -340px -494px #ff0151, -340px -532px #ff0151; - } - 43.375% { - box-shadow: 0 -38px #ff0151, 0 -76px #ff0151, 0 -114px #ff0151, 0 -152px #ff0151, 0 -190px #ff0151, -170px -228px #ff0151, -340px -266px #ff0151, -340px -304px #ff0151, -340px -342px #ff0151, -340px -380px #ff0151, -340px -418px #ff0151, -340px -456px #ff0151, -340px -494px #ff0151, -340px -532px #ff0151; - } - 44% { - box-shadow: 0 -38px #ff0151, 0 -76px #ff0151, 0 -114px #ff0151, 0 -152px #ff0151, 0 -190px #ff0151, 0 -228px #ff0151, -170px -266px #ff0151, -340px -304px #ff0151, -340px -342px #ff0151, -340px -380px #ff0151, -340px -418px #ff0151, -340px -456px #ff0151, -340px -494px #ff0151, -340px -532px #ff0151; - } - 44.625% { - box-shadow: 0 -38px #ff0151, 0 -76px #ff0151, 0 -114px #ff0151, 0 -152px #ff0151, 0 -190px #ff0151, 0 -228px #ff0151, 0 -266px #ff0151, -170px -304px #ff0151, -340px -342px #ff0151, -340px -380px #ff0151, -340px -418px #ff0151, -340px -456px #ff0151, -340px -494px #ff0151, -340px -532px #ff0151; - } - 45.25% { - box-shadow: 0 -38px #ff0151, 0 -76px #ff0151, 0 -114px #ff0151, 0 -152px #ff0151, 0 -190px #ff0151, 0 -228px #ff0151, 0 -266px #ff0151, 0 -304px #ff0151, -170px -342px #ff0151, -340px -380px #ff0151, -340px -418px #ff0151, -340px -456px #ff0151, -340px -494px #ff0151, -340px -532px #ff0151; - } - 45.875% { - box-shadow: 0 -38px #ff0151, 0 -76px #ff0151, 0 -114px #ff0151, 0 -152px #ff0151, 0 -190px #ff0151, 0 -228px #ff0151, 0 -266px #ff0151, 0 -304px #ff0151, 0 -342px #ff0151, -170px -380px #ff0151, -340px -418px #ff0151, -340px -456px #ff0151, -340px -494px #ff0151, -340px -532px #ff0151; - } - 46.5% { - box-shadow: 0 -38px #ff0151, 0 -76px #ff0151, 0 -114px #ff0151, 0 -152px #ff0151, 0 -190px #ff0151, 0 -228px #ff0151, 0 -266px #ff0151, 0 -304px #ff0151, 0 -342px #ff0151, 0 -380px #ff0151, -170px -418px #ff0151, -340px -456px #ff0151, -340px -494px #ff0151, -340px -532px #ff0151; - } - 47.125% { - box-shadow: 0 -38px #ff0151, 0 -76px #ff0151, 0 -114px #ff0151, 0 -152px #ff0151, 0 -190px #ff0151, 0 -228px #ff0151, 0 -266px #ff0151, 0 -304px #ff0151, 0 -342px #ff0151, 0 -380px #ff0151, 0 -418px #ff0151, -170px -456px #ff0151, -340px -494px #ff0151, -340px -532px #ff0151; - } - 47.75% { - box-shadow: 0 -38px #ff0151, 0 -76px #ff0151, 0 -114px #ff0151, 0 -152px #ff0151, 0 -190px #ff0151, 0 -228px #ff0151, 0 -266px #ff0151, 0 -304px #ff0151, 0 -342px #ff0151, 0 -380px #ff0151, 0 -418px #ff0151, 0 -456px #ff0151, -170px -494px #ff0151, -340px -532px #ff0151; - } - 48.375% { - box-shadow: 0 -38px #ff0151, 0 -76px #ff0151, 0 -114px #ff0151, 0 -152px #ff0151, 0 -190px #ff0151, 0 -228px #ff0151, 0 -266px #ff0151, 0 -304px #ff0151, 0 -342px #ff0151, 0 -380px #ff0151, 0 -418px #ff0151, 0 -456px #ff0151, 0 -494px #ff0151, -170px -532px #ff0151; - } - 49% { - box-shadow: 0 -38px #ff0151, 0 -76px #ff0151, 0 -114px #ff0151, 0 -152px #ff0151, 0 -190px #ff0151, 0 -228px #ff0151, 0 -266px #ff0151, 0 -304px #ff0151, 0 -342px #ff0151, 0 -380px #ff0151, 0 -418px #ff0151, 0 -456px #ff0151, 0 -494px #ff0151, 0 -532px #ff0151; - } -} -#gameboy.red #cover-horizontal { - background-color: #ff0151; - -webkit-animation: cover-horizontal-red 8s linear; - animation: cover-horizontal-red 8s linear; - box-shadow: 0 -38px #ff0151, 0 -76px #ff0151, 0 -114px #ff0151, 0 -152px #ff0151, 0 -190px #ff0151, 0 -228px #ff0151, 0 -266px #ff0151, 0 -304px #ff0151, 0 -342px #ff0151, 0 -380px #ff0151, 0 -418px #ff0151, 0 -456px #ff0151, 0 -494px #ff0151, 0 -532px #ff0151; -} -@-moz-keyframes gloss { - 0% { - width: 0; - height: 0; - left: 170px; - } - 46% { - width: 0; - height: 0; - left: 170px; - } - 52% { - width: 232px; - height: 250px; - left: 54px; - } -} -@-webkit-keyframes gloss { - 0% { - width: 0; - height: 0; - left: 170px; - } - 46% { - width: 0; - height: 0; - left: 170px; - } - 52% { - width: 232px; - height: 250px; - left: 54px; - } -} -@keyframes gloss { - 0% { - width: 0; - height: 0; - left: 170px; - } - 46% { - width: 0; - height: 0; - left: 170px; - } - 52% { - width: 232px; - height: 250px; - left: 54px; - } -} -#gloss { - position: absolute; - z-index: 13; - width: 232px; - height: 250px; - top: 275px; - left: 54px; - border-bottom-left-radius: 116px 20px; - border-bottom-right-radius: 116px 20px; - -webkit-animation: gloss 8s linear; - animation: gloss 8s linear; -} -#gameboy.transparent #gloss { - background-color: rgba(242, 232, 251, 0.43125); -} -#gameboy.teal #gloss { - background-color: #1abce0; -} -#gameboy.yellow #gloss { - background-color: #faea58; -} -#gameboy.green #gloss { - background-color: #97e77e; -} -#gameboy.purple #gloss { - background-color: #5a5adf; -} -#gameboy.red #gloss { - background-color: #ff1a62; -} -@-moz-keyframes speaker-holes { - 0% { - width: 0; - } - 41% { - width: 0; - } - 42% { - width: 5px; - } -} -@-webkit-keyframes speaker-holes { - 0% { - width: 0; - } - 41% { - width: 0; - } - 42% { - width: 5px; - } -} -@keyframes speaker-holes { - 0% { - width: 0; - } - 41% { - width: 0; - } - 42% { - width: 5px; - } -} -#speaker-holes { - background-color: #222222; - width: 5px; - height: 5px; - position: absolute; - bottom: 42px; - left: 244px; - z-index: 14; - border-radius: 50%; - box-shadow: 9.5px 8px #222222, 19px 16px #222222, 0px -19px #222222, 9.5px -11px #222222, 19px -3px #222222, 28.5px 5px #222222, 38px 13px #222222, 0px -38px #222222, 9.5px -30px #222222, 19px -22px #222222, 28.5px -14px #222222, 38px -6px #222222, 47.5px 2px #222222, 57px 10px #222222, 9.5px -49px #222222, 19px -41px #222222, 28.5px -33px #222222, 38px -25px #222222, 47.5px -17px #222222, 57px -9px #222222, 66.5px -1px #222222, 28px -52px #222222, 37.5px -44px #222222, 47px -36px #222222, 56.5px -28px #222222, 66px -20px #222222, 47px -56px #222222, 56.5px -48px #222222, 66px -40px #222222; - -webkit-animation: speaker-holes 8s linear; - animation: speaker-holes 8s linear; -} -@-moz-keyframes power { - 0% { - opacity: 0; - background-color: #303030; - box-shadow: none; - } - 36% { - opacity: 0; - } - 37% { - opacity: 1; - } - 39% { - box-shadow: 5px 0 #222222, 8px 0 #222222, 12px 0 #222222, 15px 0 #222222, 19px 0 #222222, 22px 0 #222222; - } - 40% { - box-shadow: 5px 0 #222222, 8px 0 #b0b0b0, 12px 0 #222222, 15px 0 #b0b0b0, 19px 0 #222222, 22px 0 #b0b0b0; - } - 54% { - background-color: #303030; - } - 55% { - background-color: #ff0151; - } -} -@-webkit-keyframes power { - 0% { - opacity: 0; - background-color: #303030; - box-shadow: none; - } - 36% { - opacity: 0; - } - 37% { - opacity: 1; - } - 39% { - box-shadow: 5px 0 #222222, 8px 0 #222222, 12px 0 #222222, 15px 0 #222222, 19px 0 #222222, 22px 0 #222222; - } - 40% { - box-shadow: 5px 0 #222222, 8px 0 #b0b0b0, 12px 0 #222222, 15px 0 #b0b0b0, 19px 0 #222222, 22px 0 #b0b0b0; - } - 54% { - background-color: #303030; - } - 55% { - background-color: #ff0151; - } -} -@keyframes power { - 0% { - opacity: 0; - background-color: #303030; - box-shadow: none; - } - 36% { - opacity: 0; - } - 37% { - opacity: 1; - } - 39% { - box-shadow: 5px 0 #222222, 8px 0 #222222, 12px 0 #222222, 15px 0 #222222, 19px 0 #222222, 22px 0 #222222; - } - 40% { - box-shadow: 5px 0 #222222, 8px 0 #b0b0b0, 12px 0 #222222, 15px 0 #b0b0b0, 19px 0 #222222, 22px 0 #b0b0b0; - } - 54% { - background-color: #303030; - } - 55% { - background-color: #ff0151; - } -} -#power { - position: absolute; - z-index: 15; - top: 95px; - left: 35px; - width: 8px; - height: 8px; - border-radius: 50%; - background-color: #ff0151; - box-shadow: 5px 0 #222222, 8px 0 #b0b0b0, 12px 0 #222222, 15px 0 #b0b0b0, 19px 0 #222222, 22px 0 #b0b0b0; - -webkit-animation: power 8s linear; - animation: power 8s linear; -} -#colors { - position: fixed; - bottom: 0px; - right: 20px; - - font-family: 'Oxygen', Helvetica, arial, sans-serif; - font-weight: 300; - /* width: 100%; */ - margin: 0 auto 20px; - text-align: center; -} -#colors span { - vertical-align: top; -} -#colors .color { - cursor: pointer; - width: 20px; - height: 20px; - display: inline-block; - margin-left: 5px; - border-radius: 3px; - border: 1px #ffffff; -} -#colors .color.active, -#colors .color:hover { - opacity: 1 !important; -} -#colors .color[data-color="transparent"] { - border: 1px #9d9d9d dotted; - opacity: 0.5; - background: rgba(140, 46, 217, 0.125); -} -#colors .color[data-color="red"] { - opacity: 0.5; - background: #ff0151; -} -#colors .color[data-color="purple"] { - opacity: 0.5; - background: #5151dd; -} -#colors .color[data-color="green"] { - opacity: 0.5; - background: #85e367; -} -#colors .color[data-color="yellow"] { - opacity: 0.5; - background: #f9e52e; -} -#colors .color[data-color="teal"] { - opacity: 0.5; - background: #01b4dd; -} - -a { - color: lightblue; -} \ No newline at end of file diff --git a/static/css/joystick.css b/static/css/joystick.css deleted file mode 100644 index aba327c9..00000000 --- a/static/css/joystick.css +++ /dev/null @@ -1,137 +0,0 @@ - - .abxy { - position: absolute; - width: 161px; - height: 160px; - top: 125px; - left: 451px - } - - .abxy .button { - position: absolute; - width: 54px; - height: 54px; - } - - .abxy .button.a { - width: 53px; - height: 53px; - } - - .abxy .button.y { - width: 55px; - height: 54px; - } - - .abxy .button.pressed { - background-position: 0 -55px; - margin-top: 6px; - opacity: 1; - } - - .abxy .button.pressed.a { - background-position: 0 -54px; - } - - .abxy .button.pressed.y { - background-position: 0 -56px; - } - - .abxy .a { - background: url(https://gamepadviewer.com/xbox-assets-old/a.png); - top: 108px; - left: 55px; - } - - .abxy .b { - background: url(https://gamepadviewer.com/xbox-assets-old/b.png); - top: 54px; - right: 0px; - } - - .abxy .x { - background: url(https://gamepadviewer.com/xbox-assets-old/x.png); - top: 54px; - } - - .abxy .y { - background: url(https://gamepadviewer.com/xbox-assets-old/y.png); - left: 54px; - } - - - .dpad { - background: url(https://gamepadviewer.com/xbox-assets-old/bg.png); - background-position: -174px -273px; - border-radius: 100%; - position: absolute; - width: 112px; - height: 112px; - top: 300px; - left: 451px; - } - - .dpad .face { - position: absolute; - font-size: 30px; - line-height: 0; - color: white; - opacity: 0; - font-family: 'FontAwesome'; - } - - .dpad .face.pressed { - opacity: 1; - } - - .dpad .face.up { - left: 42px; - top: 20px; - } - - .dpad .face.up:after { - content: "\f062"; - } - - .dpad .face.down { - left: 42px; - bottom: 20px; - } - - .dpad .face.down:after { - content: "\f063"; - } - - .dpad .face.left { - top: 56px; - left: 3px; - } - - .dpad .face.left:after { - content: "\f060"; - } - - .dpad .face.right { - top: 56px; - right: 3px; - } - - .dpad .face.right:after { - content: "\f061"; - } - - - .dpad .joystick { - background-color: blue; - border-radius: 100%; - opacity: 0.5; - cursor: pointer; - height: 50%; - user-select: none; - width: 50%; - position: absolute; - top: 50%; - left: 50%; - margin-top: -28px; - margin-left: -28px; - } \ No newline at end of file diff --git a/static/css/main.css b/static/css/main.css index fc34d2d9..912abf4d 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -1,5 +1,5 @@ body { - background-image: url('https://t3.ftcdn.net/jpg/02/41/14/36/500_F_241143639_RW6VdHbqYRM0yfNpDxDlWpj0uXWglAC2.jpg'); + background-image: url('/static/img/500_F_241143639_RW6VdHbqYRM0yfNpDxDlWpj0uXWglAC2.jpg'); background-repeat: repeat; } @@ -153,7 +153,7 @@ body { } -.btn-big { +.btn.big { display: block; padding-top: 5px; text-align: center; @@ -335,126 +335,141 @@ body { #game-screen { + overflow: hidden; width: 100%; height: 100%; display: none; background-color: #222222; } + #menu-screen { - display:none; - width: 100%; - height: 100%; - background-image: url('https://data.whicdn.com/images/275493408/original.gif'); + position: relative; /*must not static*/ + + display: block; + overflow: hidden; + width: 256px; + height: 240px; + + /* background-color: gray; */ + background-image: url('/static/img/pixel_waterfall_bg__by_isohei-d4xntof.gif'); background-size: cover; } -#menu-screen #box-art { - position: absolute; - width:55%; - height: 85%; - top: 5px; - left: 50%; - -webkit-transform: translate(-50%, -0%); - transform: translate(-50%, -0%); - border: 1px solid #ddd; +#menu-item-choice { + display: block; + position: absolute; + + width: 100%; + height: 36px; + background-color: lightgreen; + opacity: 0.75; + + top: 50%; + left: 0; + transform: translateY(-50%); } +#menu-container { + display: block; + position: absolute; + /* background-color: red; */ + + + width: 100%; + + top: 102px; /* 240px - 36 / 2 */ + left: 0; +} + + + @font-face { font-family: 'YourFontName'; /*a name to be used later*/ - src: url('/static/fonts/8-Bit-Madness.ttf'); /*URL to font*/ + src: url('/static/fonts/6809 chargen.ttf'); /*URL to font*/ } -#menu-screen #title { - position: absolute; - width:100%; - height: 10%; - bottom: 0px; - font-family: 'YourFontName'; - overflow: hidden; -} +.menu-item { + display: block; + position: relative; -#menu-screen #title p { - position: absolute; width: 100%; - height: 100%; - margin: 0; - text-align: center; - - /* Starting position */ - -moz-transform:translateX(50%); - -webkit-transform:translateX(50%); - transform:translateX(50%); + height: 36px; /* 35 + 1 border = 36px */ - /* Apply animation to this element */ - -moz-animation: horizontally 5s linear infinite alternate; - -webkit-animation: horizontally 5s linear infinite alternate; - animation: horizontally 5s linear infinite alternate; + font-family: 'YourFontName'; + font-size: 19px; + /* border-top: 1px dashed blue; */ } -/* Move it (define the animation) */ +.menu-item div { + overflow: hidden; + display: block; + position: absolute; + + left: 15px; + top: 5px; + width: 226px; + height: 25px; + + /* background-color: yellow; */ +} + +.menu-item div span { + position: absolute; + + width: 100%; + overflow: hidden; + text-overflow: ellipsis; + white-space: pre; + text-align: center; +} + +.menu-item div .pick { + overflow: unset; + -moz-animation: horizontally 4s linear infinite alternate; + -webkit-animation: horizontally 4s linear infinite alternate; + animation: horizontally 4s linear infinite alternate; +} + + @-moz-keyframes horizontally { - 0% { -moz-transform: translateX(50%); } - 100% { -moz-transform: translateX(-50%); } + 0% { transform: translateX(0%); } + 25% { transform: translateX(-20%); } + 50% { transform: translateX(0%); } + 75% { transform: translateX(20%); } + 100% { transform: translateX(0%); } } @-webkit-keyframes horizontally { - 0% { -webkit-transform: translateX(50%); } - 100% { -webkit-transform: translateX(-50%); } + 0% { transform: translateX(0%); } + 25% { transform: translateX(-20%); } + 50% { transform: translateX(0%); } + 75% { transform: translateX(20%); } + 100% { transform: translateX(0%); } } @keyframes horizontally { - 0% { transform: translateX(50%); } - 100% { transform: translateX(-50%); } + 0% { transform: translateX(0%); } + 25% { transform: translateX(-20%); } + 50% { transform: translateX(0%); } + 75% { transform: translateX(20%); } + 100% { transform: translateX(0%); } } -#menu-screen .arrow { - position: absolute; - width:20px; - height: 20px; - right: 10px; - top: 50%; - -moz-transform: translate(0%, -50%); - -webkit-transform: translate(0%, -50%); - transform: translate(0%, -50%); +#noti-box { + display: none; + padding: 5px 10px 0 10px; + height: 20px; + background-color: #ddd; + opacity: 0.8; + position: absolute; - -moz-animation: breathing 1s infinite normal; - -webkit-animation: breathing 1s infinite normal; - animation: breathing 1s infinite normal; -} + border: 5px #000; + border-radius: 30px; + + left: 50%; + transform: translateX(-50%); + bottom: 35px; -#menu-screen .left { - left: 10px; - -webkit-transform: scaleX(-1) translate(0%, -50%); - -moz-transform: scaleX(-1) translate(0%, -50%); - transform: scaleX(-1) translate(0%, -50%); - - -webkit-animation: breathing 1s infinite normal; - -moz-animation: breathing 1s infinite normal; - animation: breathing 1s infinite normal; -} - - -@-webkit-keyframes breathing { - 0% { opacity: 1; } - 25% { opacity: 0.5; } - 50% { opacity: 0; } - 75% { opacity: 0.5; } - 100% { opacity: 1; } -} - -@-moz-keyframes breathing { - 0% { opacity: 1; } - 25% { opacity: 0.5; } - 50% { opacity: 0; } - 75% { opacity: 0.5; } - 100% { opacity: 1; } -} - -@keyframes breathing { - 0% { opacity: 1; } - 25% { opacity: 0.5; } - 50% { opacity: 0; } - 75% { opacity: 0.5; } - 100% { opacity: 1; } -} + font-size: 12px; +} \ No newline at end of file diff --git a/static/fonts/6809 chargen.ttf b/static/fonts/6809 chargen.ttf new file mode 100755 index 00000000..bb816087 Binary files /dev/null and b/static/fonts/6809 chargen.ttf differ diff --git a/static/gameboy2.html b/static/game.html similarity index 61% rename from static/gameboy2.html rename to static/game.html index c94a4964..5c037e2b 100644 --- a/static/gameboy2.html +++ b/static/game.html @@ -5,8 +5,16 @@ - - + + + + + + + + + + @@ -22,23 +30,22 @@
- + + +
-
load
-
save
-
start
-
quit
+
load
+
save
+
play
+
quit
@@ -54,7 +61,10 @@
- + + + +
Oh my god
@@ -63,7 +73,7 @@ DEBUG = true; - + @@ -77,6 +87,8 @@ + + diff --git a/static/gameboy.html b/static/gameboy.html deleted file mode 100644 index 3aff8ee2..00000000 --- a/static/gameboy.html +++ /dev/null @@ -1,127 +0,0 @@ - - - - - - - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
-
-
GAME BOY
-
C
-
- - - - - -
-
GAME BOY
-
Nintendo
-
-
.
-
-
B
-
A
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-


-
Animation powered by bchanx

-
Rocked by giongto35 trichimtrich
-
- -
-

Instruction

-
- Menu: - Left, Right to browse the game list
- V to select the game
- F to go fullscreen, Escape to exit
-
- Game:
- Use Up, Down, Left, Right to Move
- Z (A butotn)
- X (B button)
- C is start (or pause in some games)
- V is select game
- Q is super quit
- S to save
- L to load
-
- Your current room:
- You can join a remote game by roomID.
- Remote room ID:
- Play as player(1,2): - - - -

- -

Log:

-

-
-    
- Refresh to retry when checking is too long -
-
- - - - - - - - - diff --git a/static/img/1478923556_2_(22).gif b/static/img/1478923556_2_(22).gif new file mode 100644 index 00000000..1dc38f85 Binary files /dev/null and b/static/img/1478923556_2_(22).gif differ diff --git a/static/img/404.jpg b/static/img/404.jpg deleted file mode 100644 index 58e36fb1..00000000 Binary files a/static/img/404.jpg and /dev/null differ diff --git a/static/img/500_F_241143639_RW6VdHbqYRM0yfNpDxDlWpj0uXWglAC2.jpg b/static/img/500_F_241143639_RW6VdHbqYRM0yfNpDxDlWpj0uXWglAC2.jpg new file mode 100644 index 00000000..07f7005c Binary files /dev/null and b/static/img/500_F_241143639_RW6VdHbqYRM0yfNpDxDlWpj0uXWglAC2.jpg differ diff --git a/static/img/arrow2_e.gif b/static/img/arrow2_e.gif deleted file mode 100644 index e523f266..00000000 Binary files a/static/img/arrow2_e.gif and /dev/null differ diff --git a/static/img/boxarts/1943.png b/static/img/boxarts/1943.png deleted file mode 100644 index 183f8e81..00000000 Binary files a/static/img/boxarts/1943.png and /dev/null differ diff --git a/static/img/boxarts/Battle City.png b/static/img/boxarts/Battle City.png deleted file mode 100644 index f89ea028..00000000 Binary files a/static/img/boxarts/Battle City.png and /dev/null differ diff --git a/static/img/boxarts/Bubble Bobble.png b/static/img/boxarts/Bubble Bobble.png deleted file mode 100644 index d74060e8..00000000 Binary files a/static/img/boxarts/Bubble Bobble.png and /dev/null differ diff --git a/static/img/boxarts/Captain America and the Avengers.png b/static/img/boxarts/Captain America and the Avengers.png deleted file mode 100644 index 7afd8a97..00000000 Binary files a/static/img/boxarts/Captain America and the Avengers.png and /dev/null differ diff --git a/static/img/boxarts/Chip 'n Dale Rescue Rangers 2.png b/static/img/boxarts/Chip 'n Dale Rescue Rangers 2.png deleted file mode 100644 index 01eb1b7e..00000000 Binary files a/static/img/boxarts/Chip 'n Dale Rescue Rangers 2.png and /dev/null differ diff --git a/static/img/boxarts/Contra.png b/static/img/boxarts/Contra.png deleted file mode 100644 index fecd24e9..00000000 Binary files a/static/img/boxarts/Contra.png and /dev/null differ diff --git a/static/img/boxarts/Gradius.png b/static/img/boxarts/Gradius.png deleted file mode 100644 index 1ffdb1ac..00000000 Binary files a/static/img/boxarts/Gradius.png and /dev/null differ diff --git a/static/img/boxarts/Ice Climber.png b/static/img/boxarts/Ice Climber.png deleted file mode 100644 index 631dff84..00000000 Binary files a/static/img/boxarts/Ice Climber.png and /dev/null differ diff --git a/static/img/boxarts/Kirby's Adventure.png b/static/img/boxarts/Kirby's Adventure.png deleted file mode 100644 index 7a74329d..00000000 Binary files a/static/img/boxarts/Kirby's Adventure.png and /dev/null differ diff --git a/static/img/boxarts/Mega Man 2.png b/static/img/boxarts/Mega Man 2.png deleted file mode 100644 index 6db98065..00000000 Binary files a/static/img/boxarts/Mega Man 2.png and /dev/null differ diff --git a/static/img/boxarts/Mega Man 6.png b/static/img/boxarts/Mega Man 6.png deleted file mode 100644 index de8d504a..00000000 Binary files a/static/img/boxarts/Mega Man 6.png and /dev/null differ diff --git a/static/img/boxarts/Metal Gear.png b/static/img/boxarts/Metal Gear.png deleted file mode 100644 index 8adaa86e..00000000 Binary files a/static/img/boxarts/Metal Gear.png and /dev/null differ diff --git a/static/img/boxarts/Mike Tyson's Punch-Out!!.png b/static/img/boxarts/Mike Tyson's Punch-Out!!.png deleted file mode 100644 index 6b0cfd86..00000000 Binary files a/static/img/boxarts/Mike Tyson's Punch-Out!!.png and /dev/null differ diff --git a/static/img/boxarts/Mortal Kombat 4.png b/static/img/boxarts/Mortal Kombat 4.png deleted file mode 100644 index f7008c7f..00000000 Binary files a/static/img/boxarts/Mortal Kombat 4.png and /dev/null differ diff --git a/static/img/boxarts/Ninja Gaiden.png b/static/img/boxarts/Ninja Gaiden.png deleted file mode 100644 index f997cb75..00000000 Binary files a/static/img/boxarts/Ninja Gaiden.png and /dev/null differ diff --git a/static/img/boxarts/Nintendo World Cup.png b/static/img/boxarts/Nintendo World Cup.png deleted file mode 100644 index 74436c86..00000000 Binary files a/static/img/boxarts/Nintendo World Cup.png and /dev/null differ diff --git a/static/img/boxarts/Super Mario Bros 2.png b/static/img/boxarts/Super Mario Bros 2.png deleted file mode 100644 index 3c5a119a..00000000 Binary files a/static/img/boxarts/Super Mario Bros 2.png and /dev/null differ diff --git a/static/img/boxarts/Super Mario Bros 3.png b/static/img/boxarts/Super Mario Bros 3.png deleted file mode 100644 index 5c33a2df..00000000 Binary files a/static/img/boxarts/Super Mario Bros 3.png and /dev/null differ diff --git a/static/img/boxarts/Super Mario Bros.png b/static/img/boxarts/Super Mario Bros.png deleted file mode 100644 index 714f1b95..00000000 Binary files a/static/img/boxarts/Super Mario Bros.png and /dev/null differ diff --git a/static/img/boxarts/Teenage Mutant Ninja Turtles 3.png b/static/img/boxarts/Teenage Mutant Ninja Turtles 3.png deleted file mode 100644 index 468b0526..00000000 Binary files a/static/img/boxarts/Teenage Mutant Ninja Turtles 3.png and /dev/null differ diff --git a/static/img/boxarts/Zelda II.png b/static/img/boxarts/Zelda II.png deleted file mode 100644 index 11809128..00000000 Binary files a/static/img/boxarts/Zelda II.png and /dev/null differ diff --git a/static/img/october_2nd___gameboy_poltergeist_by_wanyo-dbpdmnd.gif b/static/img/october_2nd___gameboy_poltergeist_by_wanyo-dbpdmnd.gif new file mode 100644 index 00000000..df6c785a Binary files /dev/null and b/static/img/october_2nd___gameboy_poltergeist_by_wanyo-dbpdmnd.gif differ diff --git a/static/img/original.gif b/static/img/original.gif new file mode 100644 index 00000000..e90feb85 Binary files /dev/null and b/static/img/original.gif differ diff --git a/static/img/pixel_waterfall_bg__by_isohei-d4xntof.gif b/static/img/pixel_waterfall_bg__by_isohei-d4xntof.gif new file mode 100644 index 00000000..f17cdad9 Binary files /dev/null and b/static/img/pixel_waterfall_bg__by_isohei-d4xntof.gif differ diff --git a/static/index_ws.html b/static/index_ws.html deleted file mode 100644 index 3b61ebf7..00000000 --- a/static/index_ws.html +++ /dev/null @@ -1,102 +0,0 @@ - - - - - - - - - - - - - - - - - - - Your current room:
- You can join a remote game by roomID.
- Room ID: - Play as player(1,2): - -

- -
-

- -

Instruction

-
- C is start button. Use it to start game
- V is select button
- - Player 1 - Use Up, Down, Left, Right to Move
- Z to (A)
- X to (B)
- S to save
- L to load
- -

- -

Log:

-

-
-  
- 🎮Refresh to retry when checking is too long -
- - - -
- - - - -
- -
- - - - -
- - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/static/js/controller.js b/static/js/controller.js index 9d82b998..762baa29 100644 --- a/static/js/controller.js +++ b/static/js/controller.js @@ -1,63 +1,106 @@ -// menu screen -function showMenuScreen() { - log("Clean up connection / frame"); +/* + Menu Controller +*/ +function reloadGameMenu() { + log("Load game menu"); + + // sort gameList first + gameList.sort(function (a, b) { + return a.name > b.name ? 1 : -1; + }); + + // generate html + var listbox = $("#menu-container"); + listbox.html(''); + gameList.forEach(function (game) { + listbox.append(``); + }); +} + +function showMenuScreen() { + // clear scenes $("#game-screen").hide(); $("#menu-screen").hide(); - // show - $("#game-screen").show().delay(DEBUG?0:0).fadeOut(0, () => { + $("#btn-save").hide(); + $("#btn-load").hide(); + $("#btn-join").html("play"); + + // show menu scene + $("#game-screen").show().delay(DEBUG ? 0 : 500).fadeOut(DEBUG ? 0 : 0, function () { log("Loading menu screen"); - $("#menu-screen").fadeIn(0, () => { - chooseGame(gameIdx, true); + $("#menu-screen").fadeIn(DEBUG ? 0 : 0, function () { + pickGame(gameIdx); screenState = "menu"; }); }); } -// game menu -function chooseGame(idx, force = false) { - if (idx < 0 || (idx == gameIdx && !force) || idx >= gameList.length) return false; +function pickGame(idx) { + // check boundaries + // cycle + if (idx < 0) idx = gameList.length - 1; + if (idx >= gameList.length) idx = 0; - $("#menu-screen #box-art").fadeOut(DEBUG?0:0, function () { - $(this).attr("src", `/static/img/boxarts/${gameList[idx].name}.png`); - $(this).fadeIn(0, function () { - $("#menu-screen #title p").html(gameList[idx].name); - }); - }); + // transition menu box - if (idx == 0) { - $("#menu-screen .left").hide(); - } else { - $("#menu-screen .left").show(); - } + var listbox = $("#menu-container"); + listbox.css("transition", "top 0.2s"); + listbox.css("-moz-transition", "top 0.2s"); + listbox.css("-webkit-transition", "top 0.2s"); - if (idx == gameList.length - 1) { - $("#menu-screen .right").hide(); - } else { - $("#menu-screen .right").show(); - } + menuTop = MENU_TOP_POSITION - idx * 36; + listbox.css("top", `${menuTop}px`); + + // overflow marquee + $(".menu-item .pick").removeClass("pick"); + $(`.menu-item:eq(${idx}) span`).addClass("pick"); gameIdx = idx; log(`> [Pick] game ${gameIdx + 1}/${gameList.length} - ${gameList[gameIdx].name}`); } -// global func +function startGamePickerTimer(direction) { + if (gamePickerTimer === null) { + pickGame(gameIdx + (direction === "up" ? -1 : 1)); + + log("Start game picker timer"); + // velocity? + gamePickerTimer = setInterval(function () { + pickGame(gameIdx + (direction === "up" ? -1 : 1)); + }, 200); + } +} + +function stopGamePickerTimer() { + if (gamePickerTimer !== null) { + log("Stop game picker timer"); + clearInterval(gamePickerTimer); + gamePickerTimer = null; + } +} -function sendInputData() { - // prepare key +/* + Game controller +*/ + +function sendKeyState() { + // check if state is changed if (unchangePacket > 0) { - bits = ""; + // pack keystate + var bits = ""; KEY_BIT.slice().reverse().forEach(elem => { bits += keyState[elem] ? 1 : 0; }); - data = parseInt(bits, 2); + var data = parseInt(bits, 2); + console.log(`Key state string: ${bits} ==> ${data}`); - // send - arrBuf = new Uint8Array(1); + // send packed keystate + var arrBuf = new Uint8Array(1); arrBuf[0] = data; inputChannel.send(arrBuf); @@ -66,21 +109,26 @@ function sendInputData() { } -function startInputTimer() { - if (inputTimer == null) { - inputTimer = setInterval(sendInputData, 1000 / INPUT_FPS) +function startGameInputTimer() { + if (gameInputTimer === null) { + log("Start game input timer"); + gameInputTimer = setInterval(sendKeyState, 1000 / INPUT_FPS) } } -function stopInputTimer() { - clearInterval(inputTimer); - inputTimer = null; + +function stopGameInputTimer() { + if (gameInputTimer !== null) { + log("Stop game input timer"); + clearInterval(gameInputTimer); + gameInputTimer = null; + } } -function setState(name, bo) { +function setKeyState(name, state) { if (name in keyState) { - keyState[name] = bo; + keyState[name] = state; unchangePacket = INPUT_STATE_PACKET; } } @@ -88,9 +136,12 @@ function setState(name, bo) { function doButtonDown(name) { $(`#btn-${name}`).addClass("pressed"); - if (screenState === "game") { - // game keys - setState(name, true); + if (screenState === "menu") { + if (name === "up" || name === "down") { + startGamePickerTimer(name); + } + } else if (screenState === "game") { + setKeyState(name, true); } } @@ -99,34 +150,29 @@ function doButtonUp(name) { $(`#btn-${name}`).removeClass("pressed"); if (screenState === "menu") { - switch (name) { - case "left": - chooseGame(gameIdx - 1); - break; - - case "right": - chooseGame(gameIdx + 1); - break; - - case "join": - case "a": - case "b": - case "start": - case "select": - startGame(); - // log("select game"); - break; + if (name === "up" || name === "down") { + stopGamePickerTimer(); + } else if (name === "join" || name === "a" || name === "b" || name === "start" || name === "select") { + startGame(); + //log("select game"); } } else if (screenState === "game") { - setState(name, false); + setKeyState(name, false); switch (name) { + case "join": + copyToClipboard(window.location.href.split('?')[0] + `?id=${roomID}`) + popup("Copy link to clipboard!") + break; + case "save": conn.send(JSON.stringify({ "id": "save", "data": "" })); break; + case "load": conn.send(JSON.stringify({ "id": "load", "data": "" })); break; + case "full": // Fullscreen screen = document.getElementById("game-screen"); @@ -138,18 +184,17 @@ function doButtonUp(name) { openFullscreen(screen); } break; - } - } + case "quit": + stopGameInputTimer(); + showMenuScreen(); + + // TODO: Stop game + conn.send(JSON.stringify({ "id": "quit", "data": "", "room_id": roomID })); - // global reset - if (name === "quit") { - stopInputTimer(); - showMenuScreen(); - // TODO: Stop game - screen = document.getElementById("game-screen"); - room_id = $("#room-txt").val() - conn.send(JSON.stringify({ "id": "quit", "data": "", "room_id": room_id})); - $("#room-txt").val(""); + $("#room-txt").val(""); + popup("Quit!"); + break; + } } } diff --git a/static/js/gesture_joystick.js b/static/js/gesture_joystick.js index a2ade160..28b92960 100644 --- a/static/js/gesture_joystick.js +++ b/static/js/gesture_joystick.js @@ -1,5 +1,6 @@ - -// JOYSTICK +/* + Joystick gesture +*/ /* cross == a <--> a @@ -13,104 +14,122 @@ dpad <--> up down left right axis 0, 1 <--> second dpad */ -var padState, gamepadTimer; + +let joystickMap; +let joystickState; +let joystickIdx; +let joystickTimer = null; -// only capture the last plugged joystick -window.addEventListener("gamepadconnected", (e) => { - gamepad = e.gamepad; +// check state for each axis -> dpad +function checkJoystickAxisState(name, state) { + if (joystickState[name] !== state) { + joystickState[name] = state; + if (state === true) { + doButtonDown(name); + } else { + doButtonUp(button); + } + } +} + + +// loop timer for checking joystick state +function checkJoystickState() { + var gamepad = navigator.getGamepads()[joystickIdx]; + if (gamepad) { + // axis -> dpad + var corX = gamepad.axes[0]; // -1 -> 1, left -> right + var corY = gamepad.axes[1]; // -1 -> 1, up -> down + checkJoystickAxisState("left", corX <= -0.5); + checkJoystickAxisState("right", corX >= 0.5); + checkJoystickAxisState("up", corY <= -0.5); + checkJoystickAxisState("down", corY >= 0.5); + + // normal button map + Object.keys(joystickMap).forEach(function (btnIdx) { + var isPressed = false; + + if (navigator.webkitGetGamepads) { + isPressed = (gamepad.buttons[btnIdx] === 1); + } else { + isPressed = (gamepad.buttons[btnIdx].value > 0 || gamepad.buttons[btnIdx].pressed === true); + } + + if (joystickState[btnIdx] !== isPressed) { + joystickState[btnIdx] = isPressed; + if (isPressed === true) { + doButtonDown(joystickMap[btnIdx]); + } else { + doButtonUp(joystickMap[btnIdx]); + } + } + }); + } +} + + +// we only capture the last plugged joystick +$(window).on("gamepadconnected", function (event) { + var gamepad = event.gamepad; log(`Gamepad connected at index ${gamepad.index}: ${gamepad.id}. ${gamepad.buttons.length} buttons, ${gamepad.axes.length} axes.`); - padIdx = gamepad.index; + joystickIdx = gamepad.index; // Ref: https://github.com/giongto35/cloud-game/issues/14 // get mapping first (default KeyMap2) - os = getOS(); - browser = getBrowser(); + var os = getOS(); + var browser = getBrowser(); - console.log(os); - console.log(browser); - - if (os == "android") { + if (os === "android") { // default of android is KeyMap1 - padMap = { 2: "a", 0: "b", 3: "start", 4: "select", 10: "load", 11: "save", 8: "full", 9: "quit", 12: "up", 13: "down", 14: "left", 15: "right" }; + joystickMap = { 2: "a", 0: "b", 3: "start", 4: "select", 10: "load", 11: "save", 8: "full", 9: "quit", 12: "up", 13: "down", 14: "left", 15: "right" }; } else { // default of other OS is KeyMap2 - padMap = { 0: "a", 1: "b", 2: "start", 3: "select", 8: "load", 9: "save", 6: "full", 7: "quit", 12: "up", 13: "down", 14: "left", 15: "right" }; + joystickMap = { 0: "a", 1: "b", 2: "start", 3: "select", 8: "load", 9: "save", 6: "full", 7: "quit", 12: "up", 13: "down", 14: "left", 15: "right" }; } - if (os == "android" && (browser == "firefox" || browser == "uc")) { //KeyMap2 - padMap = { 0: "a", 1: "b", 2: "start", 3: "select", 8: "load", 9: "save", 6: "full", 7: "quit", 12: "up", 13: "down", 14: "left", 15: "right" }; + if (os === "android" && (browser === "firefox" || browser === "uc")) { //KeyMap2 + joystickMap = { 0: "a", 1: "b", 2: "start", 3: "select", 8: "load", 9: "save", 6: "full", 7: "quit", 12: "up", 13: "down", 14: "left", 15: "right" }; } - if (os == "win" && browser == "firefox") { //KeyMap3 - padMap = { 1: "a", 2: "b", 0: "start", 3: "select", 8: "load", 9: "save", 6: "full", 7: "quit" }; + if (os === "win" && browser === "firefox") { //KeyMap3 + joystickMap = { 1: "a", 2: "b", 0: "start", 3: "select", 8: "load", 9: "save", 6: "full", 7: "quit" }; } - if (os == "mac" && browser == "safari") { //KeyMap4 - padMap = { 1: "a", 2: "b", 0: "start", 3: "select", 8: "load", 9: "save", 6: "full", 7: "quit", 14: "up", 15: "down", 16: "left", 17: "right" }; + if (os === "mac" && browser === "safari") { //KeyMap4 + joystickMap = { 1: "a", 2: "b", 0: "start", 3: "select", 8: "load", 9: "save", 6: "full", 7: "quit", 14: "up", 15: "down", 16: "left", 17: "right" }; } - if (os == "mac" && browser == "firefox") { //KeyMap5 - padMap = { 1: "a", 2: "b", 0: "start", 3: "select", 8: "load", 9: "save", 6: "full", 7: "quit", 14: "up", 15: "down", 16: "left", 17: "right" }; + if (os === "mac" && browser === "firefox") { //KeyMap5 + joystickMap = { 1: "a", 2: "b", 0: "start", 3: "select", 8: "load", 9: "save", 6: "full", 7: "quit", 14: "up", 15: "down", 16: "left", 17: "right" }; } // reset state - padState = { + joystickState = { left: false, right: false, up: false, down: false, }; - Object.keys(padMap).forEach(k => { - padState[k] = false; + Object.keys(joystickMap).forEach(function (btnIdx) { + joystickState[btnIdx] = false; }); // looper, too intense? - if (gamepadTimer) { - clearInterval(gamepadTimer); + if (joystickTimer !== null) { + clearInterval(joystickTimer); } - function checkAxis(bo, axis) { - if (bo != padState[axis]) { - padState[axis] = bo; - doButton(bo, axis); - } - } - - gamepadTimer = setInterval(function () { - gamepad = navigator.getGamepads()[padIdx]; - if (gamepad) { - // axis pad - corX = gamepad.axes[0]; // -1 -> 1, left -> right - corY = gamepad.axes[1]; // -1 -> 1, up -> down - checkAxis(corX <= -0.5, "left"); - checkAxis(corX >= 0.5, "right"); - checkAxis(corY <= -0.5, "up"); - checkAxis(corY >= 0.5, "down"); - - // normal button - Object.keys(padMap).forEach(k => { - if (navigator.webkitGetGamepads) { - curPressed = (gamepad.buttons[k] == 1); - } else { - curPressed = (gamepad.buttons[k].value > 0 || gamepad.buttons[k].pressed == true); - } - - if (padState[k] != curPressed) { - padState[k] = curPressed; - doButton(curPressed, padMap[k]); - } - }); - } - - }, 10); // miliseconds per hit + joystickTimer = setInterval(checkJoystickState, 10); // miliseconds per hit }); -window.addEventListener("gamepaddisconnected", (event) => { - clearInterval(gamepadTimer); + +// disconnected event is triggered +$(window).on("gamepaddisconnected", (event) => { + clearInterval(joystickTimer); log(`Gamepad disconnected at index ${e.gamepad.index}`); }); diff --git a/static/js/gesture_keyboard.js b/static/js/gesture_keyboard.js index 546b0057..30cf1c85 100644 --- a/static/js/gesture_keyboard.js +++ b/static/js/gesture_keyboard.js @@ -1,6 +1,8 @@ -// KEYBOARD +/* + Keyboard gesture +*/ -KEYBOARD_MAP = { +const KEYBOARD_MAP = { 37: "left", 38: "up", 39: "right", @@ -19,15 +21,15 @@ KEYBOARD_MAP = { 70: "full", // f } -document.body.onkeyup = function (e) { - if (e.keyCode in KEYBOARD_MAP) { - doButtonUp(KEYBOARD_MAP[e.keyCode]); +$("body").on("keyup", function (event) { + if (event.keyCode in KEYBOARD_MAP) { + doButtonUp(KEYBOARD_MAP[event.keyCode]); } -} +}); -document.body.onkeydown = function (e) { - if (e.keyCode in KEYBOARD_MAP) { - doButtonDown(KEYBOARD_MAP[e.keyCode]); +$("body").on("keydown", function (event) { + if (event.keyCode in KEYBOARD_MAP) { + doButtonDown(KEYBOARD_MAP[event.keyCode]); } -}; +}); diff --git a/static/js/gesture_touch.js b/static/js/gesture_touch.js index d77ea015..6209a021 100644 --- a/static/js/gesture_touch.js +++ b/static/js/gesture_touch.js @@ -1,72 +1,51 @@ -// Window rerender / rotate screen if needed -var isSwitch = false; +/* + Touch gesture +*/ -function fixScreen() { - target = $(document); - child = $("#gamebody"); - - width = child.width(); - height = child.height(); - - // Should have maximum box for desktop? - targetWidth = target.width(); - targetHeight = target.height(); - - screenWidth = targetWidth; - screenHeight = targetHeight; - - st = "translate(-50%, -50%) "; - // rotate ? - if (isPortrait()) { - st += `rotate(90deg) `; - screenWidth = targetHeight; - screenHeight = targetWidth; - isSwitch = true; - } else { - isSwitch = false; - } - - // zoom in/out ? - st += `scale(${Math.min(screenWidth / width, screenHeight / height)}) `; - - child.css("transform", st); - child.css("-webkit-transform", st); - child.css("-moz-transform", st); - child.css("-ms-transform", st); -} -fixScreen(); - -$(window).on("resize", fixScreen); -$(window).on("orientationchange", fixScreen); - - -// Virtual Joystick +// Virtual Gamepad / Joystick // Ref: https://jsfiddle.net/aa0et7tr/5/ -var dpadState = {}; -var touchIdx = null; -const maxDiff = 20; // pixel -var dragStart = null; -var padHolder = $("#circle-pad-holder"); -var padCircle = $("#circle-pad"); + +/* + Left panel - Dpad +*/ +const MAX_DIFF = 20; // radius of circle boundary + +// vpad state, use for mouse button down +let vpadState = { + up: false, + down: false, + left: false, + right: false, +}; +$(".btn, .btn-big").each(function () { + vpadState[$(this).attr("value")] = false; +}); + +let vpadTouchIdx = null; +let vpadTouchDrag = null; +let vpadHolder = $("#circle-pad-holder"); +let vpadCircle = $("#circle-pad"); -function resetJoystickState() { +function resetVpadState() { // trigger up event? - checkDPadAxis("up", false); - checkDPadAxis("down", false); - checkDPadAxis("left", false); - checkDPadAxis("right", false); - dragStart = null; - touchIdx = null; + checkVpadState("up", false); + checkVpadState("down", false); + checkVpadState("left", false); + checkVpadState("right", false); + + vpadTouchDrag = null; + vpadTouchIdx = null; $(".dpad").removeClass("pressed"); } -function checkDPadAxis(axis, bo) { - if (bo != dpadState[axis]) { - dpadState[axis] = bo; - if (dpadState[axis]) { +function checkVpadState(axis, state) { + if (state !== vpadState[axis]) { + vpadState[axis] = state; + + if (state) { doButtonDown(axis); } else { doButtonUp(axis); @@ -75,37 +54,141 @@ function checkDPadAxis(axis, bo) { } -function handleJoystickDown(event) { - padCircle.css("transition", "0s"); - padCircle.css("-moz-transition", "0s"); - padCircle.css("-webkit-transition", "0s"); +function handleVpadJoystickDown(event) { + vpadCircle.css("transition", "0s"); + vpadCircle.css("-moz-transition", "0s"); + vpadCircle.css("-webkit-transition", "0s"); if (event.changedTouches) { - resetJoystickState(); + resetVpadState(); - touchIdx = event.changedTouches[0].identifier; - dragStart = { - x: event.changedTouches[0].clientX, - y: event.changedTouches[0].clientY, - }; - - return; + vpadTouchIdx = event.changedTouches[0].identifier; + event.clientX = event.changedTouches[0].clientX; + event.clientY = event.changedTouches[0].clientY; } - dragStart = { + vpadTouchDrag = { x: event.clientX, y: event.clientY, }; - } -function handleJoystickMove(event) { - // stop other events - event.preventDefault(); - if (dragStart === null) return; + +function handleVpadJoystickUp(event) { + if (vpadTouchDrag === null) return; + + vpadCircle.css("transition", ".2s"); + vpadCircle.css("-moz-transition", ".2s"); + vpadCircle.css("-webkit-transition", ".2s"); + vpadCircle.css("transform", "translate3d(0px, 0px, 0px)"); + vpadCircle.css("-moz-transform", "translate3d(0px, 0px, 0px)"); + vpadCircle.css("-webkit-transform", "translate3d(0px, 0px, 0px)"); + + resetVpadState(); +} + + +function handleVpadJoystickMove(event) { + if (vpadTouchDrag === null) return; if (event.changedTouches) { // check if moving source is from other touch? for (var i = 0; i < event.changedTouches.length; i++) { - if (event.changedTouches[i].identifier === touchIdx) { + if (event.changedTouches[i].identifier === vpadTouchIdx) { + event.clientX = event.changedTouches[i].clientX; + event.clientY = event.changedTouches[i].clientY; + } + } + if (event.clientX === undefined || event.clientY === undefined) + return; + } + + var xDiff = event.clientX - vpadTouchDrag.x; + var yDiff = event.clientY - vpadTouchDrag.y; + var angle = Math.atan2(yDiff, xDiff); + var distance = Math.min(MAX_DIFF, Math.hypot(xDiff, yDiff)); + var xNew = distance * Math.cos(angle); + var yNew = distance * Math.sin(angle); + + // check if screen is switched or not + if (isLayoutSwitched) { + tmp = xNew; + xNew = yNew; + yNew = -tmp; + } + + style = `translate(${xNew}px, ${yNew}px)`; + vpadCircle.css("transform", style); + vpadCircle.css("-webkit-transform", style); + vpadCircle.css("-moz-transform", style); + + var xRatio = xNew / MAX_DIFF; + var yRatio = yNew / MAX_DIFF; + checkVpadState("left", xRatio <= -0.5); + checkVpadState("right", xRatio >= 0.5); + checkVpadState("up", yRatio <= -0.5); + checkVpadState("down", yRatio >= 0.5); +} + + + +// touch/mouse events for dpad. mouseup events is binded to window. +vpadHolder.on('mousedown', handleVpadJoystickDown); +vpadHolder.on('touchstart', handleVpadJoystickDown); +vpadHolder.on('touchend', handleVpadJoystickUp); + + + +/* + Right side - Control buttons +*/ + +function handleButtonDown(event) { + checkVpadState($(this).attr("value"), true); + // add touchIdx? +} + +function handleButtonUp(event) { + checkVpadState($(this).attr("value"), false); +} + + +// touch/mouse events for control buttons. mouseup events is binded to window. +$(".btn").on("mousedown", handleButtonDown); +$(".btn").on("touchstart", handleButtonDown); +$(".btn").on("touchend", handleButtonUp); + + + +/* + Touch menu +*/ + +let menuTouchIdx = null; +let menuTouchDrag = null; +let menuTouchTime = null; + +function handleMenuDown(event) { + // Identify of touch point + if (event.changedTouches) { + menuTouchIdx = event.changedTouches[0].identifier; + event.clientX = event.changedTouches[0].clientX; + event.clientY = event.changedTouches[0].clientY; + } + + menuTouchDrag = { + x: event.clientX, + y: event.clientY, + }; + + menuTouchTime = Date.now(); +} + +function handleMenuMove(event) { + if (menuTouchDrag === null) return; + + if (event.changedTouches) { + // check if moving source is from other touch? + for (var i = 0; i < event.changedTouches.length; i++) { + if (event.changedTouches[i].identifier === menuTouchIdx) { event.clientX = event.changedTouches[i].clientX; event.clientY = event.changedTouches[i].clientY; } @@ -114,68 +197,89 @@ function handleJoystickMove(event) { return; } - const xDiff = event.clientX - dragStart.x; - const yDiff = event.clientY - dragStart.y; - const angle = Math.atan2(yDiff, xDiff); - const distance = Math.min(maxDiff, Math.hypot(xDiff, yDiff)); - xNew = distance * Math.cos(angle); - yNew = distance * Math.sin(angle); + var listbox = $("#menu-container"); + listbox.css("transition", ""); + listbox.css("-moz-transition", ""); + listbox.css("-webkit-transition", ""); + if (isLayoutSwitched) { + listbox.css("top", `${menuTop - (-menuTouchDrag.x + event.clientX)}px`); + } else { + listbox.css("top", `${menuTop - (menuTouchDrag.y - event.clientY)}px`); + } + +} - // check if screen is switched or not - if (isSwitch) { - tmp = xNew; - xNew = yNew; - yNew = -tmp; +function handleMenuUp(event) { + if (menuTouchDrag === null) return; + if (event.changedTouches) { + if (event.changedTouches[0].identifier !== menuTouchIdx) + return; + event.clientX = event.changedTouches[0].clientX; + event.clientY = event.changedTouches[0].clientY; } - style = `translate(${xNew}px, ${yNew}px)`; - padCircle.css("transform", style); - padCircle.css("-webkit-transform", style); - padCircle.css("-moz-transform", style); + var interval = Date.now() - menuTouchTime; // 100ms? + if (isLayoutSwitched) { + newY = -menuTouchDrag.x + event.clientX; + } else { + newY = menuTouchDrag.y - event.clientY; + } + + if (interval < 200) { + // calc velo + newY = newY/ interval * 250; + } + // current item? + menuTop -= newY; + idx = Math.round((menuTop - MENU_TOP_POSITION) / -36); + pickGame(idx); - const xRatio = xNew / maxDiff; - const yRatio = yNew / maxDiff; - checkDPadAxis("left", xRatio <= -0.5); - checkDPadAxis("right", xRatio >= 0.5); - checkDPadAxis("up", yRatio <= -0.5); - checkDPadAxis("down", yRatio >= 0.5); + menuTouchDrag = null; } -function handleJoystickUp(event) { - if (dragStart === null) return; - padCircle.css("transition", ".2s"); - padCircle.css("-moz-transition", ".2s"); - padCircle.css("-webkit-transition", ".2s"); - padCircle.css("transform", "translate3d(0px, 0px, 0px)"); - padCircle.css("-moz-transform", "translate3d(0px, 0px, 0px)"); - padCircle.css("-webkit-transform", "translate3d(0px, 0px, 0px)"); +// Bind events for menu +$("#menu-screen").on("mousedown", handleMenuDown); +$("#menu-screen").on("touchstart", handleMenuDown); +$("#menu-screen").on("touchend", handleMenuUp); - resetJoystickState(); + + +/* + Common events +*/ + +function handleWindowMove(event) { + event.preventDefault(); + handleVpadJoystickMove(event); + handleMenuMove(event); + + // moving touch + if (event.changedTouches) { + for (var i = 0; i < event.changedTouches.length; i++) { + if (event.changedTouches[i].identifier !== menuTouchIdx && event.changedTouches[i].identifier !== vpadTouchIdx) { + // check class + + var elem = document.elementFromPoint(event.changedTouches[i].clientX, event.changedTouches[i].clientY); + if (elem.classList.contains("btn")) { + $(elem).trigger("touchstart"); + } else { + $(".btn").trigger("touchend"); + } + } + } + } +} + +function handleWindowUp(event) { + handleVpadJoystickUp(event); + handleMenuUp(event); + $(".btn").trigger("touchend"); } -function handleButtonDown(event) { - doButtonDown($(this).attr("value")); -} -function handleButtonUp(event) { - doButtonUp($(this).attr("value")); -} - -// mouse events -$(".btn, .btn-big").on("mousedown", handleButtonDown); -$(".btn, .btn-big").on("mouseup", handleButtonUp); - -padHolder.on('mousedown', handleJoystickDown); -$(window).on('mousemove', handleJoystickMove); -$(window).on('mouseup', handleJoystickUp); - - -// touch events -$(".btn, .btn-big").on("touchstart", handleButtonDown); -$(".btn, .btn-big").on("touchend", handleButtonUp); - -padHolder.on('touchstart', handleJoystickDown); -window.addEventListener("touchmove", handleJoystickMove, { passive: false }); -padHolder.on('touchend', handleJoystickUp); \ No newline at end of file +// Bind events for window +$(window).on("mousemove", handleWindowMove); +window.addEventListener("touchmove", handleWindowMove, {passive: false}); +$(window).on("mouseup", handleWindowUp); \ No newline at end of file diff --git a/static/js/global.js b/static/js/global.js index 0670011d..b463a7d9 100644 --- a/static/js/global.js +++ b/static/js/global.js @@ -1,45 +1,59 @@ /* - GLOBAL CONSTS + Global Constants */ -DEBUG = true; +const DEBUG = false; -KEY_BIT = ["a", "b", "select", "start", "up", "down", "left", "right"]; +const KEY_BIT = ["a", "b", "select", "start", "up", "down", "left", "right"]; +const INPUT_FPS = 100; +const INPUT_STATE_PACKET = 1; +const PINGPONGPS = 5; -INPUT_FPS = 100; -PINGPONGPS = 5; -INPUT_STATE_PACKET = 5; +const MENU_TOP_POSITION = 102; - -//------------------------------------------------------------------------ /* - GLOBAL VARS + Global variables */ + // Game state -var screenState = "loader"; -var gameList = []; -var gameIdx = 5; +let screenState = "loader"; +let gameList = []; +let gameIdx = 5; // contra +let gamePickerTimer = null; +let roomID = null; -// Input vars -var keyState = { - // controllers + +// Game controller state +let keyState = { + // control a: false, b: false, start: false, select: false, - // navigators + // dpad up: false, down: false, left: false, right: false } -var unchangePacket = INPUT_STATE_PACKET; -var inputTimer = null; +let unchangePacket = INPUT_STATE_PACKET; +let gameInputTimer = null; + + +// Network state +let pc, inputChannel; +let localSessionDescription = ""; +let remoteSessionDescription = ""; +let conn; + + +// Touch menu state +let menuDrag = null; +let menuTop = MENU_TOP_POSITION; + + +// Screen state +let isLayoutSwitched = false; -// Connection vars -var pc, inputChannel; -var localSessionDescription = ""; -var remoteSessionDescription = ""; -var conn; \ No newline at end of file diff --git a/static/js/init.js b/static/js/init.js new file mode 100644 index 00000000..d48455f4 --- /dev/null +++ b/static/js/init.js @@ -0,0 +1,45 @@ + +// Window rerender / rotate screen if needed +function fixScreenLayout() { + var targetWidth = $(document).width() * 0.8; + var targetHeight = $(document).height() * 0.8; + + // Should have maximum box for desktop? + // targetWidth = 800; targetHeight = 600; // test on desktop + + fixElementLayout($("#gamebody"), targetWidth, targetHeight); +} + +$(window).on("resize", fixScreenLayout); +$(window).on("orientationchange", fixScreenLayout); + + +function parseURLForRoom() { + var queryDict = {} + location.search.substr(1).split("&").forEach(function(item) { + queryDict[item.split("=")[0]] = item.split("=")[1] + }); + if (typeof queryDict["id"] === "string") { + return queryDict["id"]; + } + return null; +} + +$(document).ready(function () { + fixScreenLayout(); + + + // localStorage first + //roomID = loadRoomID(); + roomID = ""; + + // Shared URL second + var rid = parseURLForRoom(); + if (rid !== null) { + roomID = rid; + } + // if from URL -> start game immediately! + + $("#room-txt").val(roomID); +}); + diff --git a/static/js/jquery-3.3.1.min.js b/static/js/jquery-3.3.1.min.js new file mode 100644 index 00000000..4d9b3a25 --- /dev/null +++ b/static/js/jquery-3.3.1.min.js @@ -0,0 +1,2 @@ +/*! jQuery v3.3.1 | (c) JS Foundation and other contributors | jquery.org/license */ +!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){"use strict";var n=[],r=e.document,i=Object.getPrototypeOf,o=n.slice,a=n.concat,s=n.push,u=n.indexOf,l={},c=l.toString,f=l.hasOwnProperty,p=f.toString,d=p.call(Object),h={},g=function e(t){return"function"==typeof t&&"number"!=typeof t.nodeType},y=function e(t){return null!=t&&t===t.window},v={type:!0,src:!0,noModule:!0};function m(e,t,n){var i,o=(t=t||r).createElement("script");if(o.text=e,n)for(i in v)n[i]&&(o[i]=n[i]);t.head.appendChild(o).parentNode.removeChild(o)}function x(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?l[c.call(e)]||"object":typeof e}var b="3.3.1",w=function(e,t){return new w.fn.init(e,t)},T=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;w.fn=w.prototype={jquery:"3.3.1",constructor:w,length:0,toArray:function(){return o.call(this)},get:function(e){return null==e?o.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=w.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return w.each(this,e)},map:function(e){return this.pushStack(w.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(o.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n0&&t-1 in e)}var E=function(e){var t,n,r,i,o,a,s,u,l,c,f,p,d,h,g,y,v,m,x,b="sizzle"+1*new Date,w=e.document,T=0,C=0,E=ae(),k=ae(),S=ae(),D=function(e,t){return e===t&&(f=!0),0},N={}.hasOwnProperty,A=[],j=A.pop,q=A.push,L=A.push,H=A.slice,O=function(e,t){for(var n=0,r=e.length;n+~]|"+M+")"+M+"*"),z=new RegExp("="+M+"*([^\\]'\"]*?)"+M+"*\\]","g"),X=new RegExp(W),U=new RegExp("^"+R+"$"),V={ID:new RegExp("^#("+R+")"),CLASS:new RegExp("^\\.("+R+")"),TAG:new RegExp("^("+R+"|[*])"),ATTR:new RegExp("^"+I),PSEUDO:new RegExp("^"+W),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+P+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},G=/^(?:input|select|textarea|button)$/i,Y=/^h\d$/i,Q=/^[^{]+\{\s*\[native \w/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,K=/[+~]/,Z=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),ee=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},te=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ne=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},re=function(){p()},ie=me(function(e){return!0===e.disabled&&("form"in e||"label"in e)},{dir:"parentNode",next:"legend"});try{L.apply(A=H.call(w.childNodes),w.childNodes),A[w.childNodes.length].nodeType}catch(e){L={apply:A.length?function(e,t){q.apply(e,H.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function oe(e,t,r,i){var o,s,l,c,f,h,v,m=t&&t.ownerDocument,T=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==T&&9!==T&&11!==T)return r;if(!i&&((t?t.ownerDocument||t:w)!==d&&p(t),t=t||d,g)){if(11!==T&&(f=J.exec(e)))if(o=f[1]){if(9===T){if(!(l=t.getElementById(o)))return r;if(l.id===o)return r.push(l),r}else if(m&&(l=m.getElementById(o))&&x(t,l)&&l.id===o)return r.push(l),r}else{if(f[2])return L.apply(r,t.getElementsByTagName(e)),r;if((o=f[3])&&n.getElementsByClassName&&t.getElementsByClassName)return L.apply(r,t.getElementsByClassName(o)),r}if(n.qsa&&!S[e+" "]&&(!y||!y.test(e))){if(1!==T)m=t,v=e;else if("object"!==t.nodeName.toLowerCase()){(c=t.getAttribute("id"))?c=c.replace(te,ne):t.setAttribute("id",c=b),s=(h=a(e)).length;while(s--)h[s]="#"+c+" "+ve(h[s]);v=h.join(","),m=K.test(e)&&ge(t.parentNode)||t}if(v)try{return L.apply(r,m.querySelectorAll(v)),r}catch(e){}finally{c===b&&t.removeAttribute("id")}}}return u(e.replace(B,"$1"),t,r,i)}function ae(){var e=[];function t(n,i){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=i}return t}function se(e){return e[b]=!0,e}function ue(e){var t=d.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function le(e,t){var n=e.split("|"),i=n.length;while(i--)r.attrHandle[n[i]]=t}function ce(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function fe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function pe(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function de(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ie(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function he(e){return se(function(t){return t=+t,se(function(n,r){var i,o=e([],n.length,t),a=o.length;while(a--)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}function ge(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}n=oe.support={},o=oe.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},p=oe.setDocument=function(e){var t,i,a=e?e.ownerDocument||e:w;return a!==d&&9===a.nodeType&&a.documentElement?(d=a,h=d.documentElement,g=!o(d),w!==d&&(i=d.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",re,!1):i.attachEvent&&i.attachEvent("onunload",re)),n.attributes=ue(function(e){return e.className="i",!e.getAttribute("className")}),n.getElementsByTagName=ue(function(e){return e.appendChild(d.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=Q.test(d.getElementsByClassName),n.getById=ue(function(e){return h.appendChild(e).id=b,!d.getElementsByName||!d.getElementsByName(b).length}),n.getById?(r.filter.ID=function(e){var t=e.replace(Z,ee);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&g){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter.ID=function(e){var t=e.replace(Z,ee);return function(e){var n="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&g){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),r.find.TAG=n.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},r.find.CLASS=n.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&g)return t.getElementsByClassName(e)},v=[],y=[],(n.qsa=Q.test(d.querySelectorAll))&&(ue(function(e){h.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&y.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||y.push("\\["+M+"*(?:value|"+P+")"),e.querySelectorAll("[id~="+b+"-]").length||y.push("~="),e.querySelectorAll(":checked").length||y.push(":checked"),e.querySelectorAll("a#"+b+"+*").length||y.push(".#.+[+~]")}),ue(function(e){e.innerHTML="";var t=d.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&y.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&y.push(":enabled",":disabled"),h.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&y.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),y.push(",.*:")})),(n.matchesSelector=Q.test(m=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&ue(function(e){n.disconnectedMatch=m.call(e,"*"),m.call(e,"[s!='']:x"),v.push("!=",W)}),y=y.length&&new RegExp(y.join("|")),v=v.length&&new RegExp(v.join("|")),t=Q.test(h.compareDocumentPosition),x=t||Q.test(h.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return f=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e===d||e.ownerDocument===w&&x(w,e)?-1:t===d||t.ownerDocument===w&&x(w,t)?1:c?O(c,e)-O(c,t):0:4&r?-1:1)}:function(e,t){if(e===t)return f=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e===d?-1:t===d?1:i?-1:o?1:c?O(c,e)-O(c,t):0;if(i===o)return ce(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?ce(a[r],s[r]):a[r]===w?-1:s[r]===w?1:0},d):d},oe.matches=function(e,t){return oe(e,null,null,t)},oe.matchesSelector=function(e,t){if((e.ownerDocument||e)!==d&&p(e),t=t.replace(z,"='$1']"),n.matchesSelector&&g&&!S[t+" "]&&(!v||!v.test(t))&&(!y||!y.test(t)))try{var r=m.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return oe(t,d,null,[e]).length>0},oe.contains=function(e,t){return(e.ownerDocument||e)!==d&&p(e),x(e,t)},oe.attr=function(e,t){(e.ownerDocument||e)!==d&&p(e);var i=r.attrHandle[t.toLowerCase()],o=i&&N.call(r.attrHandle,t.toLowerCase())?i(e,t,!g):void 0;return void 0!==o?o:n.attributes||!g?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},oe.escape=function(e){return(e+"").replace(te,ne)},oe.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},oe.uniqueSort=function(e){var t,r=[],i=0,o=0;if(f=!n.detectDuplicates,c=!n.sortStable&&e.slice(0),e.sort(D),f){while(t=e[o++])t===e[o]&&(i=r.push(o));while(i--)e.splice(r[i],1)}return c=null,e},i=oe.getText=function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=i(e)}else if(3===o||4===o)return e.nodeValue}else while(t=e[r++])n+=i(t);return n},(r=oe.selectors={cacheLength:50,createPseudo:se,match:V,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(Z,ee),e[3]=(e[3]||e[4]||e[5]||"").replace(Z,ee),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||oe.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&oe.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return V.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=a(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(Z,ee).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=E[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&E(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var i=oe.attr(r,e);return null==i?"!="===t:!t||(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i.replace($," ")+" ").indexOf(n)>-1:"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var l,c,f,p,d,h,g=o!==a?"nextSibling":"previousSibling",y=t.parentNode,v=s&&t.nodeName.toLowerCase(),m=!u&&!s,x=!1;if(y){if(o){while(g){p=t;while(p=p[g])if(s?p.nodeName.toLowerCase()===v:1===p.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?y.firstChild:y.lastChild],a&&m){x=(d=(l=(c=(f=(p=y)[b]||(p[b]={}))[p.uniqueID]||(f[p.uniqueID]={}))[e]||[])[0]===T&&l[1])&&l[2],p=d&&y.childNodes[d];while(p=++d&&p&&p[g]||(x=d=0)||h.pop())if(1===p.nodeType&&++x&&p===t){c[e]=[T,d,x];break}}else if(m&&(x=d=(l=(c=(f=(p=t)[b]||(p[b]={}))[p.uniqueID]||(f[p.uniqueID]={}))[e]||[])[0]===T&&l[1]),!1===x)while(p=++d&&p&&p[g]||(x=d=0)||h.pop())if((s?p.nodeName.toLowerCase()===v:1===p.nodeType)&&++x&&(m&&((c=(f=p[b]||(p[b]={}))[p.uniqueID]||(f[p.uniqueID]={}))[e]=[T,x]),p===t))break;return(x-=i)===r||x%r==0&&x/r>=0}}},PSEUDO:function(e,t){var n,i=r.pseudos[e]||r.setFilters[e.toLowerCase()]||oe.error("unsupported pseudo: "+e);return i[b]?i(t):i.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?se(function(e,n){var r,o=i(e,t),a=o.length;while(a--)e[r=O(e,o[a])]=!(n[r]=o[a])}):function(e){return i(e,0,n)}):i}},pseudos:{not:se(function(e){var t=[],n=[],r=s(e.replace(B,"$1"));return r[b]?se(function(e,t,n,i){var o,a=r(e,null,i,[]),s=e.length;while(s--)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,i,o){return t[0]=e,r(t,null,o,n),t[0]=null,!n.pop()}}),has:se(function(e){return function(t){return oe(e,t).length>0}}),contains:se(function(e){return e=e.replace(Z,ee),function(t){return(t.textContent||t.innerText||i(t)).indexOf(e)>-1}}),lang:se(function(e){return U.test(e||"")||oe.error("unsupported lang: "+e),e=e.replace(Z,ee).toLowerCase(),function(t){var n;do{if(n=g?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===h},focus:function(e){return e===d.activeElement&&(!d.hasFocus||d.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:de(!1),disabled:de(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return Y.test(e.nodeName)},input:function(e){return G.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:he(function(){return[0]}),last:he(function(e,t){return[t-1]}),eq:he(function(e,t,n){return[n<0?n+t:n]}),even:he(function(e,t){for(var n=0;n=0;)e.push(r);return e}),gt:he(function(e,t,n){for(var r=n<0?n+t:n;++r1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function be(e,t,n){for(var r=0,i=t.length;r-1&&(o[l]=!(a[l]=f))}}else v=we(v===a?v.splice(h,v.length):v),i?i(null,a,v,u):L.apply(a,v)})}function Ce(e){for(var t,n,i,o=e.length,a=r.relative[e[0].type],s=a||r.relative[" "],u=a?1:0,c=me(function(e){return e===t},s,!0),f=me(function(e){return O(t,e)>-1},s,!0),p=[function(e,n,r){var i=!a&&(r||n!==l)||((t=n).nodeType?c(e,n,r):f(e,n,r));return t=null,i}];u1&&xe(p),u>1&&ve(e.slice(0,u-1).concat({value:" "===e[u-2].type?"*":""})).replace(B,"$1"),n,u0,i=e.length>0,o=function(o,a,s,u,c){var f,h,y,v=0,m="0",x=o&&[],b=[],w=l,C=o||i&&r.find.TAG("*",c),E=T+=null==w?1:Math.random()||.1,k=C.length;for(c&&(l=a===d||a||c);m!==k&&null!=(f=C[m]);m++){if(i&&f){h=0,a||f.ownerDocument===d||(p(f),s=!g);while(y=e[h++])if(y(f,a||d,s)){u.push(f);break}c&&(T=E)}n&&((f=!y&&f)&&v--,o&&x.push(f))}if(v+=m,n&&m!==v){h=0;while(y=t[h++])y(x,b,a,s);if(o){if(v>0)while(m--)x[m]||b[m]||(b[m]=j.call(u));b=we(b)}L.apply(u,b),c&&!o&&b.length>0&&v+t.length>1&&oe.uniqueSort(u)}return c&&(T=E,l=w),x};return n?se(o):o}return s=oe.compile=function(e,t){var n,r=[],i=[],o=S[e+" "];if(!o){t||(t=a(e)),n=t.length;while(n--)(o=Ce(t[n]))[b]?r.push(o):i.push(o);(o=S(e,Ee(i,r))).selector=e}return o},u=oe.select=function(e,t,n,i){var o,u,l,c,f,p="function"==typeof e&&e,d=!i&&a(e=p.selector||e);if(n=n||[],1===d.length){if((u=d[0]=d[0].slice(0)).length>2&&"ID"===(l=u[0]).type&&9===t.nodeType&&g&&r.relative[u[1].type]){if(!(t=(r.find.ID(l.matches[0].replace(Z,ee),t)||[])[0]))return n;p&&(t=t.parentNode),e=e.slice(u.shift().value.length)}o=V.needsContext.test(e)?0:u.length;while(o--){if(l=u[o],r.relative[c=l.type])break;if((f=r.find[c])&&(i=f(l.matches[0].replace(Z,ee),K.test(u[0].type)&&ge(t.parentNode)||t))){if(u.splice(o,1),!(e=i.length&&ve(u)))return L.apply(n,i),n;break}}}return(p||s(e,d))(i,t,!g,n,!t||K.test(e)&&ge(t.parentNode)||t),n},n.sortStable=b.split("").sort(D).join("")===b,n.detectDuplicates=!!f,p(),n.sortDetached=ue(function(e){return 1&e.compareDocumentPosition(d.createElement("fieldset"))}),ue(function(e){return e.innerHTML="","#"===e.firstChild.getAttribute("href")})||le("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),n.attributes&&ue(function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||le("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),ue(function(e){return null==e.getAttribute("disabled")})||le(P,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),oe}(e);w.find=E,w.expr=E.selectors,w.expr[":"]=w.expr.pseudos,w.uniqueSort=w.unique=E.uniqueSort,w.text=E.getText,w.isXMLDoc=E.isXML,w.contains=E.contains,w.escapeSelector=E.escape;var k=function(e,t,n){var r=[],i=void 0!==n;while((e=e[t])&&9!==e.nodeType)if(1===e.nodeType){if(i&&w(e).is(n))break;r.push(e)}return r},S=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},D=w.expr.match.needsContext;function N(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var A=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,t,n){return g(t)?w.grep(e,function(e,r){return!!t.call(e,r,e)!==n}):t.nodeType?w.grep(e,function(e){return e===t!==n}):"string"!=typeof t?w.grep(e,function(e){return u.call(t,e)>-1!==n}):w.filter(t,e,n)}w.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?w.find.matchesSelector(r,e)?[r]:[]:w.find.matches(e,w.grep(t,function(e){return 1===e.nodeType}))},w.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(w(e).filter(function(){for(t=0;t1?w.uniqueSort(n):n},filter:function(e){return this.pushStack(j(this,e||[],!1))},not:function(e){return this.pushStack(j(this,e||[],!0))},is:function(e){return!!j(this,"string"==typeof e&&D.test(e)?w(e):e||[],!1).length}});var q,L=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(w.fn.init=function(e,t,n){var i,o;if(!e)return this;if(n=n||q,"string"==typeof e){if(!(i="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:L.exec(e))||!i[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(i[1]){if(t=t instanceof w?t[0]:t,w.merge(this,w.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:r,!0)),A.test(i[1])&&w.isPlainObject(t))for(i in t)g(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return(o=r.getElementById(i[2]))&&(this[0]=o,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):g(e)?void 0!==n.ready?n.ready(e):e(w):w.makeArray(e,this)}).prototype=w.fn,q=w(r);var H=/^(?:parents|prev(?:Until|All))/,O={children:!0,contents:!0,next:!0,prev:!0};w.fn.extend({has:function(e){var t=w(e,this),n=t.length;return this.filter(function(){for(var e=0;e-1:1===n.nodeType&&w.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?w.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?u.call(w(e),this[0]):u.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(w.uniqueSort(w.merge(this.get(),w(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}});function P(e,t){while((e=e[t])&&1!==e.nodeType);return e}w.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return k(e,"parentNode")},parentsUntil:function(e,t,n){return k(e,"parentNode",n)},next:function(e){return P(e,"nextSibling")},prev:function(e){return P(e,"previousSibling")},nextAll:function(e){return k(e,"nextSibling")},prevAll:function(e){return k(e,"previousSibling")},nextUntil:function(e,t,n){return k(e,"nextSibling",n)},prevUntil:function(e,t,n){return k(e,"previousSibling",n)},siblings:function(e){return S((e.parentNode||{}).firstChild,e)},children:function(e){return S(e.firstChild)},contents:function(e){return N(e,"iframe")?e.contentDocument:(N(e,"template")&&(e=e.content||e),w.merge([],e.childNodes))}},function(e,t){w.fn[e]=function(n,r){var i=w.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=w.filter(r,i)),this.length>1&&(O[e]||w.uniqueSort(i),H.test(e)&&i.reverse()),this.pushStack(i)}});var M=/[^\x20\t\r\n\f]+/g;function R(e){var t={};return w.each(e.match(M)||[],function(e,n){t[n]=!0}),t}w.Callbacks=function(e){e="string"==typeof e?R(e):w.extend({},e);var t,n,r,i,o=[],a=[],s=-1,u=function(){for(i=i||e.once,r=t=!0;a.length;s=-1){n=a.shift();while(++s-1)o.splice(n,1),n<=s&&s--}),this},has:function(e){return e?w.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=a=[],n||t||(o=n=""),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||u()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!r}};return l};function I(e){return e}function W(e){throw e}function $(e,t,n,r){var i;try{e&&g(i=e.promise)?i.call(e).done(t).fail(n):e&&g(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}w.extend({Deferred:function(t){var n=[["notify","progress",w.Callbacks("memory"),w.Callbacks("memory"),2],["resolve","done",w.Callbacks("once memory"),w.Callbacks("once memory"),0,"resolved"],["reject","fail",w.Callbacks("once memory"),w.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return o.done(arguments).fail(arguments),this},"catch":function(e){return i.then(null,e)},pipe:function(){var e=arguments;return w.Deferred(function(t){w.each(n,function(n,r){var i=g(e[r[4]])&&e[r[4]];o[r[1]](function(){var e=i&&i.apply(this,arguments);e&&g(e.promise)?e.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[r[0]+"With"](this,i?[e]:arguments)})}),e=null}).promise()},then:function(t,r,i){var o=0;function a(t,n,r,i){return function(){var s=this,u=arguments,l=function(){var e,l;if(!(t=o&&(r!==W&&(s=void 0,u=[e]),n.rejectWith(s,u))}};t?c():(w.Deferred.getStackHook&&(c.stackTrace=w.Deferred.getStackHook()),e.setTimeout(c))}}return w.Deferred(function(e){n[0][3].add(a(0,e,g(i)?i:I,e.notifyWith)),n[1][3].add(a(0,e,g(t)?t:I)),n[2][3].add(a(0,e,g(r)?r:W))}).promise()},promise:function(e){return null!=e?w.extend(e,i):i}},o={};return w.each(n,function(e,t){var a=t[2],s=t[5];i[t[1]]=a.add,s&&a.add(function(){r=s},n[3-e][2].disable,n[3-e][3].disable,n[0][2].lock,n[0][3].lock),a.add(t[3].fire),o[t[0]]=function(){return o[t[0]+"With"](this===o?void 0:this,arguments),this},o[t[0]+"With"]=a.fireWith}),i.promise(o),t&&t.call(o,o),o},when:function(e){var t=arguments.length,n=t,r=Array(n),i=o.call(arguments),a=w.Deferred(),s=function(e){return function(n){r[e]=this,i[e]=arguments.length>1?o.call(arguments):n,--t||a.resolveWith(r,i)}};if(t<=1&&($(e,a.done(s(n)).resolve,a.reject,!t),"pending"===a.state()||g(i[n]&&i[n].then)))return a.then();while(n--)$(i[n],s(n),a.reject);return a.promise()}});var B=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;w.Deferred.exceptionHook=function(t,n){e.console&&e.console.warn&&t&&B.test(t.name)&&e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,n)},w.readyException=function(t){e.setTimeout(function(){throw t})};var F=w.Deferred();w.fn.ready=function(e){return F.then(e)["catch"](function(e){w.readyException(e)}),this},w.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--w.readyWait:w.isReady)||(w.isReady=!0,!0!==e&&--w.readyWait>0||F.resolveWith(r,[w]))}}),w.ready.then=F.then;function _(){r.removeEventListener("DOMContentLoaded",_),e.removeEventListener("load",_),w.ready()}"complete"===r.readyState||"loading"!==r.readyState&&!r.documentElement.doScroll?e.setTimeout(w.ready):(r.addEventListener("DOMContentLoaded",_),e.addEventListener("load",_));var z=function(e,t,n,r,i,o,a){var s=0,u=e.length,l=null==n;if("object"===x(n)){i=!0;for(s in n)z(e,t,s,n[s],!0,o,a)}else if(void 0!==r&&(i=!0,g(r)||(a=!0),l&&(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(w(e),n)})),t))for(;s1,null,!0)},removeData:function(e){return this.each(function(){K.remove(this,e)})}}),w.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=J.get(e,t),n&&(!r||Array.isArray(n)?r=J.access(e,t,w.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=w.queue(e,t),r=n.length,i=n.shift(),o=w._queueHooks(e,t),a=function(){w.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return J.get(e,n)||J.access(e,n,{empty:w.Callbacks("once memory").add(function(){J.remove(e,[t+"queue",n])})})}}),w.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length\x20\t\r\n\f]+)/i,he=/^$|^module$|\/(?:java|ecma)script/i,ge={option:[1,""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};ge.optgroup=ge.option,ge.tbody=ge.tfoot=ge.colgroup=ge.caption=ge.thead,ge.th=ge.td;function ye(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&N(e,t)?w.merge([e],n):n}function ve(e,t){for(var n=0,r=e.length;n-1)i&&i.push(o);else if(l=w.contains(o.ownerDocument,o),a=ye(f.appendChild(o),"script"),l&&ve(a),n){c=0;while(o=a[c++])he.test(o.type||"")&&n.push(o)}return f}!function(){var e=r.createDocumentFragment().appendChild(r.createElement("div")),t=r.createElement("input");t.setAttribute("type","radio"),t.setAttribute("checked","checked"),t.setAttribute("name","t"),e.appendChild(t),h.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="",h.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue}();var be=r.documentElement,we=/^key/,Te=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ce=/^([^.]*)(?:\.(.+)|)/;function Ee(){return!0}function ke(){return!1}function Se(){try{return r.activeElement}catch(e){}}function De(e,t,n,r,i,o){var a,s;if("object"==typeof t){"string"!=typeof n&&(r=r||n,n=void 0);for(s in t)De(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=ke;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return w().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=w.guid++)),e.each(function(){w.event.add(this,t,i,r,n)})}w.event={global:{},add:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,y=J.get(e);if(y){n.handler&&(n=(o=n).handler,i=o.selector),i&&w.find.matchesSelector(be,i),n.guid||(n.guid=w.guid++),(u=y.events)||(u=y.events={}),(a=y.handle)||(a=y.handle=function(t){return"undefined"!=typeof w&&w.event.triggered!==t.type?w.event.dispatch.apply(e,arguments):void 0}),l=(t=(t||"").match(M)||[""]).length;while(l--)d=g=(s=Ce.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=w.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=w.event.special[d]||{},c=w.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&w.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(e,r,h,a)||e.addEventListener&&e.addEventListener(d,a)),f.add&&(f.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),w.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,y=J.hasData(e)&&J.get(e);if(y&&(u=y.events)){l=(t=(t||"").match(M)||[""]).length;while(l--)if(s=Ce.exec(t[l])||[],d=g=s[1],h=(s[2]||"").split(".").sort(),d){f=w.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,y.handle)||w.removeEvent(e,d,y.handle),delete u[d])}else for(d in u)w.event.remove(e,d+t[l],n,r,!0);w.isEmptyObject(u)&&J.remove(e,"handle events")}},dispatch:function(e){var t=w.event.fix(e),n,r,i,o,a,s,u=new Array(arguments.length),l=(J.get(this,"events")||{})[t.type]||[],c=w.event.special[t.type]||{};for(u[0]=t,n=1;n=1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(o=[],a={},n=0;n-1:w.find(i,this,null,[l]).length),a[i]&&o.push(r);o.length&&s.push({elem:l,handlers:o})}return l=this,u\x20\t\r\n\f]*)[^>]*)\/>/gi,Ae=/\s*$/g;function Le(e,t){return N(e,"table")&&N(11!==t.nodeType?t:t.firstChild,"tr")?w(e).children("tbody")[0]||e:e}function He(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Oe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Pe(e,t){var n,r,i,o,a,s,u,l;if(1===t.nodeType){if(J.hasData(e)&&(o=J.access(e),a=J.set(t,o),l=o.events)){delete a.handle,a.events={};for(i in l)for(n=0,r=l[i].length;n1&&"string"==typeof y&&!h.checkClone&&je.test(y))return e.each(function(i){var o=e.eq(i);v&&(t[0]=y.call(this,i,o.html())),Re(o,t,n,r)});if(p&&(i=xe(t,e[0].ownerDocument,!1,e,r),o=i.firstChild,1===i.childNodes.length&&(i=o),o||r)){for(u=(s=w.map(ye(i,"script"),He)).length;f")},clone:function(e,t,n){var r,i,o,a,s=e.cloneNode(!0),u=w.contains(e.ownerDocument,e);if(!(h.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||w.isXMLDoc(e)))for(a=ye(s),r=0,i=(o=ye(e)).length;r0&&ve(a,!u&&ye(e,"script")),s},cleanData:function(e){for(var t,n,r,i=w.event.special,o=0;void 0!==(n=e[o]);o++)if(Y(n)){if(t=n[J.expando]){if(t.events)for(r in t.events)i[r]?w.event.remove(n,r):w.removeEvent(n,r,t.handle);n[J.expando]=void 0}n[K.expando]&&(n[K.expando]=void 0)}}}),w.fn.extend({detach:function(e){return Ie(this,e,!0)},remove:function(e){return Ie(this,e)},text:function(e){return z(this,function(e){return void 0===e?w.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return Re(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Le(this,e).appendChild(e)})},prepend:function(){return Re(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Le(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return Re(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Re(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(w.cleanData(ye(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return w.clone(this,e,t)})},html:function(e){return z(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Ae.test(e)&&!ge[(de.exec(e)||["",""])[1].toLowerCase()]){e=w.htmlPrefilter(e);try{for(;n=0&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-s-.5))),u}function et(e,t,n){var r=$e(e),i=Fe(e,t,r),o="border-box"===w.css(e,"boxSizing",!1,r),a=o;if(We.test(i)){if(!n)return i;i="auto"}return a=a&&(h.boxSizingReliable()||i===e.style[t]),("auto"===i||!parseFloat(i)&&"inline"===w.css(e,"display",!1,r))&&(i=e["offset"+t[0].toUpperCase()+t.slice(1)],a=!0),(i=parseFloat(i)||0)+Ze(e,t,n||(o?"border":"content"),a,r,i)+"px"}w.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Fe(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=G(t),u=Xe.test(t),l=e.style;if(u||(t=Je(s)),a=w.cssHooks[t]||w.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:l[t];"string"==(o=typeof n)&&(i=ie.exec(n))&&i[1]&&(n=ue(e,t,i),o="number"),null!=n&&n===n&&("number"===o&&(n+=i&&i[3]||(w.cssNumber[s]?"":"px")),h.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var i,o,a,s=G(t);return Xe.test(t)||(t=Je(s)),(a=w.cssHooks[t]||w.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=Fe(e,t,r)),"normal"===i&&t in Ve&&(i=Ve[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),w.each(["height","width"],function(e,t){w.cssHooks[t]={get:function(e,n,r){if(n)return!ze.test(w.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?et(e,t,r):se(e,Ue,function(){return et(e,t,r)})},set:function(e,n,r){var i,o=$e(e),a="border-box"===w.css(e,"boxSizing",!1,o),s=r&&Ze(e,t,r,a,o);return a&&h.scrollboxSize()===o.position&&(s-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-Ze(e,t,"border",!1,o)-.5)),s&&(i=ie.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=w.css(e,t)),Ke(e,n,s)}}}),w.cssHooks.marginLeft=_e(h.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Fe(e,"marginLeft"))||e.getBoundingClientRect().left-se(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),w.each({margin:"",padding:"",border:"Width"},function(e,t){w.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+oe[r]+t]=o[r]||o[r-2]||o[0];return i}},"margin"!==e&&(w.cssHooks[e+t].set=Ke)}),w.fn.extend({css:function(e,t){return z(this,function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=$e(e),i=t.length;a1)}});function tt(e,t,n,r,i){return new tt.prototype.init(e,t,n,r,i)}w.Tween=tt,tt.prototype={constructor:tt,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||w.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(w.cssNumber[n]?"":"px")},cur:function(){var e=tt.propHooks[this.prop];return e&&e.get?e.get(this):tt.propHooks._default.get(this)},run:function(e){var t,n=tt.propHooks[this.prop];return this.options.duration?this.pos=t=w.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):tt.propHooks._default.set(this),this}},tt.prototype.init.prototype=tt.prototype,tt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=w.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){w.fx.step[e.prop]?w.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[w.cssProps[e.prop]]&&!w.cssHooks[e.prop]?e.elem[e.prop]=e.now:w.style(e.elem,e.prop,e.now+e.unit)}}},tt.propHooks.scrollTop=tt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},w.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},w.fx=tt.prototype.init,w.fx.step={};var nt,rt,it=/^(?:toggle|show|hide)$/,ot=/queueHooks$/;function at(){rt&&(!1===r.hidden&&e.requestAnimationFrame?e.requestAnimationFrame(at):e.setTimeout(at,w.fx.interval),w.fx.tick())}function st(){return e.setTimeout(function(){nt=void 0}),nt=Date.now()}function ut(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=oe[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function lt(e,t,n){for(var r,i=(pt.tweeners[t]||[]).concat(pt.tweeners["*"]),o=0,a=i.length;o1)},removeAttr:function(e){return this.each(function(){w.removeAttr(this,e)})}}),w.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof e.getAttribute?w.prop(e,t,n):(1===o&&w.isXMLDoc(e)||(i=w.attrHooks[t.toLowerCase()]||(w.expr.match.bool.test(t)?dt:void 0)),void 0!==n?null===n?void w.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=w.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!h.radioValue&&"radio"===t&&N(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(M);if(i&&1===e.nodeType)while(n=i[r++])e.removeAttribute(n)}}),dt={set:function(e,t,n){return!1===t?w.removeAttr(e,n):e.setAttribute(n,n),n}},w.each(w.expr.match.bool.source.match(/\w+/g),function(e,t){var n=ht[t]||w.find.attr;ht[t]=function(e,t,r){var i,o,a=t.toLowerCase();return r||(o=ht[a],ht[a]=i,i=null!=n(e,t,r)?a:null,ht[a]=o),i}});var gt=/^(?:input|select|textarea|button)$/i,yt=/^(?:a|area)$/i;w.fn.extend({prop:function(e,t){return z(this,w.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[w.propFix[e]||e]})}}),w.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&w.isXMLDoc(e)||(t=w.propFix[t]||t,i=w.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=w.find.attr(e,"tabindex");return t?parseInt(t,10):gt.test(e.nodeName)||yt.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),h.optSelected||(w.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),w.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){w.propFix[this.toLowerCase()]=this});function vt(e){return(e.match(M)||[]).join(" ")}function mt(e){return e.getAttribute&&e.getAttribute("class")||""}function xt(e){return Array.isArray(e)?e:"string"==typeof e?e.match(M)||[]:[]}w.fn.extend({addClass:function(e){var t,n,r,i,o,a,s,u=0;if(g(e))return this.each(function(t){w(this).addClass(e.call(this,t,mt(this)))});if((t=xt(e)).length)while(n=this[u++])if(i=mt(n),r=1===n.nodeType&&" "+vt(i)+" "){a=0;while(o=t[a++])r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(s=vt(r))&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,r,i,o,a,s,u=0;if(g(e))return this.each(function(t){w(this).removeClass(e.call(this,t,mt(this)))});if(!arguments.length)return this.attr("class","");if((t=xt(e)).length)while(n=this[u++])if(i=mt(n),r=1===n.nodeType&&" "+vt(i)+" "){a=0;while(o=t[a++])while(r.indexOf(" "+o+" ")>-1)r=r.replace(" "+o+" "," ");i!==(s=vt(r))&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e,r="string"===n||Array.isArray(e);return"boolean"==typeof t&&r?t?this.addClass(e):this.removeClass(e):g(e)?this.each(function(n){w(this).toggleClass(e.call(this,n,mt(this),t),t)}):this.each(function(){var t,i,o,a;if(r){i=0,o=w(this),a=xt(e);while(t=a[i++])o.hasClass(t)?o.removeClass(t):o.addClass(t)}else void 0!==e&&"boolean"!==n||((t=mt(this))&&J.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":J.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;t=" "+e+" ";while(n=this[r++])if(1===n.nodeType&&(" "+vt(mt(n))+" ").indexOf(t)>-1)return!0;return!1}});var bt=/\r/g;w.fn.extend({val:function(e){var t,n,r,i=this[0];{if(arguments.length)return r=g(e),this.each(function(n){var i;1===this.nodeType&&(null==(i=r?e.call(this,n,w(this).val()):e)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=w.map(i,function(e){return null==e?"":e+""})),(t=w.valHooks[this.type]||w.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))});if(i)return(t=w.valHooks[i.type]||w.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(bt,""):null==n?"":n}}}),w.extend({valHooks:{option:{get:function(e){var t=w.find.attr(e,"value");return null!=t?t:vt(w.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],u=a?o+1:i.length;for(r=o<0?u:a?o:0;r-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),w.each(["radio","checkbox"],function(){w.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=w.inArray(w(e).val(),t)>-1}},h.checkOn||(w.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),h.focusin="onfocusin"in e;var wt=/^(?:focusinfocus|focusoutblur)$/,Tt=function(e){e.stopPropagation()};w.extend(w.event,{trigger:function(t,n,i,o){var a,s,u,l,c,p,d,h,v=[i||r],m=f.call(t,"type")?t.type:t,x=f.call(t,"namespace")?t.namespace.split("."):[];if(s=h=u=i=i||r,3!==i.nodeType&&8!==i.nodeType&&!wt.test(m+w.event.triggered)&&(m.indexOf(".")>-1&&(m=(x=m.split(".")).shift(),x.sort()),c=m.indexOf(":")<0&&"on"+m,t=t[w.expando]?t:new w.Event(m,"object"==typeof t&&t),t.isTrigger=o?2:3,t.namespace=x.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+x.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=i),n=null==n?[t]:w.makeArray(n,[t]),d=w.event.special[m]||{},o||!d.trigger||!1!==d.trigger.apply(i,n))){if(!o&&!d.noBubble&&!y(i)){for(l=d.delegateType||m,wt.test(l+m)||(s=s.parentNode);s;s=s.parentNode)v.push(s),u=s;u===(i.ownerDocument||r)&&v.push(u.defaultView||u.parentWindow||e)}a=0;while((s=v[a++])&&!t.isPropagationStopped())h=s,t.type=a>1?l:d.bindType||m,(p=(J.get(s,"events")||{})[t.type]&&J.get(s,"handle"))&&p.apply(s,n),(p=c&&s[c])&&p.apply&&Y(s)&&(t.result=p.apply(s,n),!1===t.result&&t.preventDefault());return t.type=m,o||t.isDefaultPrevented()||d._default&&!1!==d._default.apply(v.pop(),n)||!Y(i)||c&&g(i[m])&&!y(i)&&((u=i[c])&&(i[c]=null),w.event.triggered=m,t.isPropagationStopped()&&h.addEventListener(m,Tt),i[m](),t.isPropagationStopped()&&h.removeEventListener(m,Tt),w.event.triggered=void 0,u&&(i[c]=u)),t.result}},simulate:function(e,t,n){var r=w.extend(new w.Event,n,{type:e,isSimulated:!0});w.event.trigger(r,null,t)}}),w.fn.extend({trigger:function(e,t){return this.each(function(){w.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return w.event.trigger(e,t,n,!0)}}),h.focusin||w.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){w.event.simulate(t,e.target,w.event.fix(e))};w.event.special[t]={setup:function(){var r=this.ownerDocument||this,i=J.access(r,t);i||r.addEventListener(e,n,!0),J.access(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=J.access(r,t)-1;i?J.access(r,t,i):(r.removeEventListener(e,n,!0),J.remove(r,t))}}});var Ct=e.location,Et=Date.now(),kt=/\?/;w.parseXML=function(t){var n;if(!t||"string"!=typeof t)return null;try{n=(new e.DOMParser).parseFromString(t,"text/xml")}catch(e){n=void 0}return n&&!n.getElementsByTagName("parsererror").length||w.error("Invalid XML: "+t),n};var St=/\[\]$/,Dt=/\r?\n/g,Nt=/^(?:submit|button|image|reset|file)$/i,At=/^(?:input|select|textarea|keygen)/i;function jt(e,t,n,r){var i;if(Array.isArray(t))w.each(t,function(t,i){n||St.test(e)?r(e,i):jt(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,r)});else if(n||"object"!==x(t))r(e,t);else for(i in t)jt(e+"["+i+"]",t[i],n,r)}w.param=function(e,t){var n,r=[],i=function(e,t){var n=g(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(Array.isArray(e)||e.jquery&&!w.isPlainObject(e))w.each(e,function(){i(this.name,this.value)});else for(n in e)jt(n,e[n],t,i);return r.join("&")},w.fn.extend({serialize:function(){return w.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=w.prop(this,"elements");return e?w.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!w(this).is(":disabled")&&At.test(this.nodeName)&&!Nt.test(e)&&(this.checked||!pe.test(e))}).map(function(e,t){var n=w(this).val();return null==n?null:Array.isArray(n)?w.map(n,function(e){return{name:t.name,value:e.replace(Dt,"\r\n")}}):{name:t.name,value:n.replace(Dt,"\r\n")}}).get()}});var qt=/%20/g,Lt=/#.*$/,Ht=/([?&])_=[^&]*/,Ot=/^(.*?):[ \t]*([^\r\n]*)$/gm,Pt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Mt=/^(?:GET|HEAD)$/,Rt=/^\/\//,It={},Wt={},$t="*/".concat("*"),Bt=r.createElement("a");Bt.href=Ct.href;function Ft(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(M)||[];if(g(n))while(r=o[i++])"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function _t(e,t,n,r){var i={},o=e===Wt;function a(s){var u;return i[s]=!0,w.each(e[s]||[],function(e,s){var l=s(t,n,r);return"string"!=typeof l||o||i[l]?o?!(u=l):void 0:(t.dataTypes.unshift(l),a(l),!1)}),u}return a(t.dataTypes[0])||!i["*"]&&a("*")}function zt(e,t){var n,r,i=w.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&w.extend(!0,e,r),e}function Xt(e,t,n){var r,i,o,a,s=e.contents,u=e.dataTypes;while("*"===u[0])u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}function Ut(e,t,n,r){var i,o,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];o=c.shift();while(o)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=l[u+" "+o]||l["* "+o]))for(i in l)if((s=i.split(" "))[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}w.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ct.href,type:"GET",isLocal:Pt.test(Ct.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":$t,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":w.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?zt(zt(e,w.ajaxSettings),t):zt(w.ajaxSettings,e)},ajaxPrefilter:Ft(It),ajaxTransport:Ft(Wt),ajax:function(t,n){"object"==typeof t&&(n=t,t=void 0),n=n||{};var i,o,a,s,u,l,c,f,p,d,h=w.ajaxSetup({},n),g=h.context||h,y=h.context&&(g.nodeType||g.jquery)?w(g):w.event,v=w.Deferred(),m=w.Callbacks("once memory"),x=h.statusCode||{},b={},T={},C="canceled",E={readyState:0,getResponseHeader:function(e){var t;if(c){if(!s){s={};while(t=Ot.exec(a))s[t[1].toLowerCase()]=t[2]}t=s[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return c?a:null},setRequestHeader:function(e,t){return null==c&&(e=T[e.toLowerCase()]=T[e.toLowerCase()]||e,b[e]=t),this},overrideMimeType:function(e){return null==c&&(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)E.always(e[E.status]);else for(t in e)x[t]=[x[t],e[t]];return this},abort:function(e){var t=e||C;return i&&i.abort(t),k(0,t),this}};if(v.promise(E),h.url=((t||h.url||Ct.href)+"").replace(Rt,Ct.protocol+"//"),h.type=n.method||n.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(M)||[""],null==h.crossDomain){l=r.createElement("a");try{l.href=h.url,l.href=l.href,h.crossDomain=Bt.protocol+"//"+Bt.host!=l.protocol+"//"+l.host}catch(e){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=w.param(h.data,h.traditional)),_t(It,h,n,E),c)return E;(f=w.event&&h.global)&&0==w.active++&&w.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!Mt.test(h.type),o=h.url.replace(Lt,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(qt,"+")):(d=h.url.slice(o.length),h.data&&(h.processData||"string"==typeof h.data)&&(o+=(kt.test(o)?"&":"?")+h.data,delete h.data),!1===h.cache&&(o=o.replace(Ht,"$1"),d=(kt.test(o)?"&":"?")+"_="+Et+++d),h.url=o+d),h.ifModified&&(w.lastModified[o]&&E.setRequestHeader("If-Modified-Since",w.lastModified[o]),w.etag[o]&&E.setRequestHeader("If-None-Match",w.etag[o])),(h.data&&h.hasContent&&!1!==h.contentType||n.contentType)&&E.setRequestHeader("Content-Type",h.contentType),E.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+$t+"; q=0.01":""):h.accepts["*"]);for(p in h.headers)E.setRequestHeader(p,h.headers[p]);if(h.beforeSend&&(!1===h.beforeSend.call(g,E,h)||c))return E.abort();if(C="abort",m.add(h.complete),E.done(h.success),E.fail(h.error),i=_t(Wt,h,n,E)){if(E.readyState=1,f&&y.trigger("ajaxSend",[E,h]),c)return E;h.async&&h.timeout>0&&(u=e.setTimeout(function(){E.abort("timeout")},h.timeout));try{c=!1,i.send(b,k)}catch(e){if(c)throw e;k(-1,e)}}else k(-1,"No Transport");function k(t,n,r,s){var l,p,d,b,T,C=n;c||(c=!0,u&&e.clearTimeout(u),i=void 0,a=s||"",E.readyState=t>0?4:0,l=t>=200&&t<300||304===t,r&&(b=Xt(h,E,r)),b=Ut(h,b,E,l),l?(h.ifModified&&((T=E.getResponseHeader("Last-Modified"))&&(w.lastModified[o]=T),(T=E.getResponseHeader("etag"))&&(w.etag[o]=T)),204===t||"HEAD"===h.type?C="nocontent":304===t?C="notmodified":(C=b.state,p=b.data,l=!(d=b.error))):(d=C,!t&&C||(C="error",t<0&&(t=0))),E.status=t,E.statusText=(n||C)+"",l?v.resolveWith(g,[p,C,E]):v.rejectWith(g,[E,C,d]),E.statusCode(x),x=void 0,f&&y.trigger(l?"ajaxSuccess":"ajaxError",[E,h,l?p:d]),m.fireWith(g,[E,C]),f&&(y.trigger("ajaxComplete",[E,h]),--w.active||w.event.trigger("ajaxStop")))}return E},getJSON:function(e,t,n){return w.get(e,t,n,"json")},getScript:function(e,t){return w.get(e,void 0,t,"script")}}),w.each(["get","post"],function(e,t){w[t]=function(e,n,r,i){return g(n)&&(i=i||r,r=n,n=void 0),w.ajax(w.extend({url:e,type:t,dataType:i,data:n,success:r},w.isPlainObject(e)&&e))}}),w._evalUrl=function(e){return w.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,"throws":!0})},w.fn.extend({wrapAll:function(e){var t;return this[0]&&(g(e)&&(e=e.call(this[0])),t=w(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstElementChild)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return g(e)?this.each(function(t){w(this).wrapInner(e.call(this,t))}):this.each(function(){var t=w(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=g(e);return this.each(function(n){w(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){w(this).replaceWith(this.childNodes)}),this}}),w.expr.pseudos.hidden=function(e){return!w.expr.pseudos.visible(e)},w.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},w.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(e){}};var Vt={0:200,1223:204},Gt=w.ajaxSettings.xhr();h.cors=!!Gt&&"withCredentials"in Gt,h.ajax=Gt=!!Gt,w.ajaxTransport(function(t){var n,r;if(h.cors||Gt&&!t.crossDomain)return{send:function(i,o){var a,s=t.xhr();if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(a in t.xhrFields)s[a]=t.xhrFields[a];t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");for(a in i)s.setRequestHeader(a,i[a]);n=function(e){return function(){n&&(n=r=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?o(0,"error"):o(s.status,s.statusText):o(Vt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=n(),r=s.onerror=s.ontimeout=n("error"),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&e.setTimeout(function(){n&&r()})},n=n("abort");try{s.send(t.hasContent&&t.data||null)}catch(e){if(n)throw e}},abort:function(){n&&n()}}}),w.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),w.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return w.globalEval(e),e}}}),w.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),w.ajaxTransport("script",function(e){if(e.crossDomain){var t,n;return{send:function(i,o){t=w(" - - - - \ No newline at end of file diff --git a/worker/handlers.go b/worker/handlers.go index 4622b06f..f5681543 100644 --- a/worker/handlers.go +++ b/worker/handlers.go @@ -11,8 +11,8 @@ import ( ) const ( - gameboyIndex = "./static/gameboy2.html" - debugIndex = "./static/gameboy2.html" + gameboyIndex = "./static/game.html" + debugIndex = "./static/game.html" ) // Flag to determine if the server is overlord or not