< type="text/css">
.menu {
position: absolute;
top: 0;
right: 0;
left: 0;
width: 100%;
margin: 0;
zoom: 1;
z-index:1;
min-height:50px; }
.menu a.nav-title {
display: none;
}
.menu>ul {
height: 0;
padding: 0;
margin: 0 auto 0 auto;
white-space: nowrap;
z-index:3;
}
.menu ul li {
display: none;
padding: 20px 30px;
margin: 0;
}
body.menuOn .header .menu ul span.social-icons li {
padding: 8px;
display: inline-block;
clear: both;
}
.menu ul span.social-icons li.share,
body.menuOn .menu ul span.social-icons li.share {
position: absolute;
top: 0;
right: 0;
padding: 0;
height:50px; background: none;
text-align: center;
display: block;
line-height: normal;
}
.menu ul span.social-icons li.share a,
body.menuOn .menu ul span.social-icons li.share a {
line-height: normal;
width: 50px;
text-align: center;
font-size: 24px;
padding-top: 13px;
background: none;
}
.menu ul li.nav-highlight {
position: absolute;
top: 0;
display: block;
height: 50px;
padding: 0;
margin: 4px auto 0 auto;
left: 50px;
right: 50px;
text-align: center;
}
.menu ul li.nav-highlight a {
font-size: 16px;
color: #bcbdab !important;
background-color: #f31b74;
padding: 5px 12px;
margin: 0;
}
.menu ul li.mobileNav
body.menuOn .menu ul li.mobileNav {
line-height: normal;
position: absolute;
display: block !important;
top: 0;
left: 0;
padding: 0;
height:50px; background: none;
}
.menu ul li.mobileNav a
body.menuOn .menu ul li.mobileNav a {
line-height: normal;
height: 100%;
width: 50px;
text-align: center;
font-size: 27px;
padding-top: 5px;
background: none;
}
/* CSS-only hamburger icon and X animation */
.menu ul li.mobileNav a.switch {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
padding-top: 0;
}
.menu ul li.mobileNav a.switch .hamburger {
position: relative;
display: block;
width: 24px;
height: 2px;
background-color: currentColor;
transition: transform 300ms easebackground-color 300ms easeopacity 300ms ease;
transform-origin: center;
}
.menu ul li.mobileNav a.switch .hamburger::before,
.menu ul li.mobileNav a.switch .hamburger::after {
content: "";
position: absolute;
left: 0;
width: 24px;
height: 2px;
background-color: currentColor;
transition: transform 300ms easetop 300ms easebottom 300ms easeopacity 300ms ease;
transform-origin: center;
}
.menu ul li.mobileNav a.switch .hamburger::before { top: -7px; }
.menu ul li.mobileNav a.switch .hamburger::after { bottom: -7px; }
body.menuOn .menu ul li.mobileNav a.switch .hamburger { background-color: transparent; }
body.menuOn .menu ul li.mobileNav a.switch .hamburger::before { top: 0; transform: rotate(45deg); }
body.menuOn .menu ul li.mobileNav a.switch .hamburger::after { bottom: 0; transform: rotate(-45deg); }
/* Gentle length expansion on hover (closed state only) */
body:not(.menuOn) .menu ul li.mobileNav a.switch:hover .hamburger,
body:not(.menuOn) .menu ul li.mobileNav a.switch:hover .hamburger::before,
body:not(.menuOn) .menu ul li.mobileNav a.switch:hover .hamburger::after {
transform: scaleX(1.15);
}
/* Larger hamburger on desktop */
@media screen and (min-width: 769px) {
.menu ul li.mobileNav a.switch .hamburger { width: 32px; height: 3px; }
.menu ul li.mobileNav a.switch .hamburger::before { top: -9px; height: 3px; }
.menu ul li.mobileNav a.switch .hamburger::after { bottom: -9px; height: 3px; }
.menu ul li.mobileNav a,
body.menuOn .menu ul li.mobileNav a { width: 60px; }
}
.menu ul li a {
color: #f31b74;
text-transform: uppercase; display:inline-block;
text-decoration:none;
font-size:12px; transition-duration: 500ms;
-webkit-transition-duration: 500ms;
vertical-align: middle;
padding: 5px;
font-weight: 700;
}
.menu ul li.current>a {
cursor:default;
}
body.menuOn .menu {
padding-top:50px;
height: 100vh;
background-color: #bcbdab;
z-index: 8888;
position: fixed;
animation: menuFadeIn 300ms ease 250ms both;
}
body.menuOn div.menu a.nav-title {
display: block;
width: 100%;
height: auto;
text-align: center;
}
div.menu a.nav-title img.nav-title-img {
max-width: 40%;
margin: 0 auto 0 auto;
}
body.menuOn .menu ul li
body.menuOn .menu ul li ul li {
display: block;
line-height: normal;
height: auto;
background-color: #bcbdab;
position: unset;
text-align: center;
padding: 15px 30px;
}
body.menuOn .menu li ul li a {
padding-left: 10px;
}
body.menuOn .menu ul li a
body.menuOn .menu ul li ul li a {
line-height: normal;
font-size: 24px;
}
body.menuOn .menu ul ul {
display: block;
}
body.menuOn .menu li ul {
background-color: inherit;
left: auto;
width: 100%;
}
body.menuOn .menu ul li ul {
position: relative;
}
/* Staggered fade-and-drop for main nav items on open */
body.menuOn .menu > ul > li {
opacity: 0;
transform: translateY(-5px);
animation: navItemFadeIn 300ms ease forwards;
}
body.menuOn .menu > ul > li.mobileNav {
opacity: 1;
transform: none;
animation: none;
}
/* Stagger delays (adjust counts as needed); start first nav item at 0ms */
body.menuOn .menu > ul > li:nth-of-type(2) { animation-delay: 600ms; }
body.menuOn .menu > ul > li:nth-of-type(3) { animation-delay: 680ms; }
body.menuOn .menu > ul > li:nth-of-type(4) { animation-delay: 760ms; }
body.menuOn .menu > ul > li:nth-of-type(5) { animation-delay: 840ms; }
body.menuOn .menu > ul > li:nth-of-type(6) { animation-delay: 920ms; }
body.menuOn .menu > ul > li:nth-of-type(7) { animation-delay: 1000ms; }
body.menuOn .menu > ul > li:nth-of-type(8) { animation-delay: 1080ms; }
body.menuOn .menu > ul > li:nth-of-type(9) { animation-delay: 1160ms; }
body.menuOn .menu > ul > li:nth-of-type(10) { animation-delay: 1240ms; }
body.menuOn .menu > ul > li:nth-of-type(11) { animation-delay: 1320ms; }
body.menuOn .menu > ul > li:nth-of-type(12) { animation-delay: 1400ms; }
/* Social icons: parallel stagger with their own sequence */
body.menuOn .menu ul span.social-icons li {
opacity: 0;
transform: translateY(-5px);
animation: navItemFadeIn 300ms ease forwards;
}
body.menuOn .menu ul span.social-icons li:nth-of-type(1) { animation-delay: 600ms; }
body.menuOn .menu ul span.social-icons li:nth-of-type(2) { animation-delay: 680ms; }
body.menuOn .menu ul span.social-icons li:nth-of-type(3) { animation-delay: 760ms; }
body.menuOn .menu ul span.social-icons li:nth-of-type(4) { animation-delay: 840ms; }
body.menuOn .menu ul span.social-icons li:nth-of-type(5) { animation-delay: 920ms; }
body.menuOn .menu ul span.social-icons li:nth-of-type(6) { animation-delay: 1000ms; }
body.menuOn .menu ul span.social-icons li:nth-of-type(7) { animation-delay: 1080ms; }
body.menuOn .menu ul span.social-icons li:nth-of-type(8) { animation-delay: 1160ms; }
/* Keep hamburger toggle visually stationary during overlay slide */
body.menuOn .menu > ul > li.mobileNav { animation: navCounterSlide 300ms ease 250ms both; }
.menu form#navSearch {
display:inline-form;
}
.menu form#navSearch input {
display:inline-block;
margin:0;
}
.menu form#navSearch input[type=text] {
border-radius: 4px 0 0 4px;
width: 105px;
border-right: none !important;
}
.menu form#navSearch input[type=submit] {
border-radius: 0 4px 4px 0;
}
/* Styling for mobile devices ------------------------------------------------------- */
@media screen and (max-width: 768px) {
div.menu a.nav-title img.nav-title-img {
max-width: 70%;
margin: 0 auto 0 auto;
}
}
/* Fade-in animation for menu overlay */
@-webkit-keyframes menuFadeIn {
from { opacity: 0; -webkit-transform: translateY(-40px); transform: translateY(-40px); }
to { opacity: 1; -webkit-transform: translateY(0); transform: translateY(0); }
}
@keyframes menuFadeIn {
from { opacity: 0; -webkit-transform: translateY(-40px); transform: translateY(-40px); }
to { opacity: 1; -webkit-transform: translateY(0); transform: translateY(0); }
}
/* Item fade/drop animation */
@-webkit-keyframes navItemFadeIn {
from { opacity: 0; -webkit-transform: translateY(-5px); transform: translateY(-5px); }
to { opacity: 1; -webkit-transform: translateY(0); transform: translateY(0); }
}
@keyframes navItemFadeIn {
from { opacity: 0; -webkit-transform: translateY(-5px); transform: translateY(-5px); }
to { opacity: 1; -webkit-transform: translateY(0); transform: translateY(0); }
}
/* Counter translation for hamburger (inverse of overlay slide) */
@-webkit-keyframes navCounterSlide {
from { -webkit-transform: translateY(40px); transform: translateY(40px); }
to { -webkit-transform: translateY(0); transform: translateY(0); }
}
@keyframes navCounterSlide {
from { -webkit-transform: translateY(40px); transform: translateY(40px); }
to { -webkit-transform: translateY(0); transform: translateY(0); }
}
>
Avatar
Action
2hr 42m
PG-13
In the 22nd centurya paraplegic Marine is dispatched to the moon Pandora on a unique missionbut becomes torn between following orders and protecting an alien civilization.