#header { height: 61px; width: 100% !important; position: fixed; top: -1px; border-bottom: 1px solid transparent; /*overflow-x: hidden; overflow-y: scroll;*/ -webkit-overflow-scrolling: touch; z-index: 9999; } #header.active { border-bottom: 1px solid rgba(255,255,255,.12); } .header_bg_fx { background-color: rgba(17, 20, 23, 0); width: 100%; height: 100%; position: absolute; } .header_bg_fx.active { background-color: rgba(17, 20, 23, .8); -webkit-backdrop-filter: saturate(150%) blur(18px); -moz-backdrop-filter: saturate(150%) blur(18px); -ms-backdrop-filter: saturate(150%) blur(18px); -o-backdrop-filter: saturate(150%) blur(18px); backdrop-filter: saturate(150%) blur(18px); } #header, #header.active { -webkit-transition: all .35s; -moz-transition: all .35s; -ms-transition: all .35s; -o-transition: all .35s; transition: all .35s; } .header_bg_fx, .header_bg_fx.active { -webkit-transition: all .35s; -moz-transition: all .35s; -ms-transition: all .35s; -o-transition: all .35s; transition: all .35s; } #parent_1 { font-family: "Roboto", Arial, Helvetica, sans-serif; width: 88.5%; max-width: 1650px; position: relative; margin: 0 auto; height: 60px; overflow: hidden; } #parent_1.active { margin-top: 0px; } #parent_1 { -webkit-transition: opacity .35s; -moz-transition: opacity .35s; -ms-transition: opacity .35s; -o-transition: opacity .35s; transition: opacity .35s; transition-duration: 0.35s; transition-timing-function: opacity; transition-delay: 0s; } .child_2 { width: auto; height: 100%; letter-spacing: normal; white-space: normal; text-align: center; vertical-align: middle; overflow: hidden; display: flex; justify-content: center; } .child_3 { display: none; width: 40px; height: 40px; float: left; font-weight: 400; letter-spacing: .5px; color: #3305d9; font-family: "Roboto", Arial, Helvetica, sans-serif; cursor: pointer; } .menu { height: 100%; overflow: hidden; display: inline-block; } /* .menu-list li:nth-child(4) */ .hide_om { padding: .6em 0em; display: flex; align-items: center; } /* .menu-list li:nth-child(4).active */ .hide_om.active { padding: 0em 1.715em; cursor: pointer; } .logo_fg { background: url(../images/fg_wh.png) no-repeat; background: url(../images/fg_wh.svg) no-repeat, -webkit-linear-gradient(transparent, transparent); background: url(../images/fg_wh.svg) no-repeat, -moz-linear-gradient(transparent, transparent); background: url(../images/fg_wh.svg) no-repeat, -ms-linear-gradient(transparent, transparent); background: url(../images/fg_wh.svg) no-repeat, -o-linear-gradient(transparent, transparent); background: url(../images/fg_wh.svg) no-repeat, linear-gradient(transparent, transparent); background-size: contain; background-position: 50% 50%; width: 0px; height: 25px; margin: 0px 0px; opacity: 0; } .logo_fg.active { width: 50px; height: 25px; margin: 0px 0px; opacity: 1; } /* .menu-list li:nth-child(4), .menu-list li:nth-child(4).active, */ .logo_fg, .hide_om, .logo_fg.active, .hide_om.active { -webkit-transition: all .5s ease; -moz-transition: all .5s ease; -ms-transition: all .5s ease; -o-transition: all .5s ease; transition: all .5s ease; } ul.menu-list li { width: auto; /* display: inline; */ } /* ==menu-hamburger div ====*/ .menu-hamburger, .menu-hamburger::before, .menu-hamburger::after { height: 3px; width: 100%; border-radius: 3px; display: block; } .menu-hamburger { position: relative; top: 45%; left: 0px; background-color: transparent; -webkit-backface-visibility: hidden; -moz-backface-visibility: hidden; -ms-backface-visibility: hidden; backface-visibility: hidden; -webkit-transform: translateZ(0); -moz-transform: translateZ(0); -ms-transform: translateZ(0); -o-transform: translateZ(0); transform: translateZ(0); will-change: transform; } .menu-hamburger::before { content: ""; position: absolute; top: -5px; background-color: rgba(245, 245, 245, .5); } .menu-hamburger::after { content: ""; position: absolute; bottom: -5px; background-color: rgba(245, 245, 245, .5); } /*.menu-hamburger.active,*/ .menu-hamburger.active::before, .menu-hamburger.active::after { background-color: #f5f5f5; } .menu-hamburger, .menu-hamburger::before, .menu-hamburger::after, .menu-hamburger.active, .menu-hamburger.active::before, .menu-hamburger.active::after { -webkit-transition: all .35s; -moz-transition: all .35s; -ms-transition: all .35s; -o-transition: all .35s; transition: all .35s; transition-property: all; transition-duration: 0.35s; transition-delay: 0s; } .menu.active .menu-hamburger { background: transparent; } .menu.active .menu-hamburger:before { -webkit-transform: rotate(-45deg); -moz-transform: rotate(-45deg); -ms-transform: rotate(-45deg); -o-transform: rotate(-45deg); transform: rotate(-45deg); top: 0px; background-color: #ebebeb; } .menu.active .menu-hamburger::after { -webkit-transform: rotate(45deg); -moz-transform: rotate(45deg); -ms-transform: rotate(45deg); -o-transform: rotate(45deg); transform: rotate(45deg); bottom: 0px; background-color: #ebebeb; } /* //==menu-hamburger div ====// */ .menu-container { width: auto; } .menu-list { width: auto; list-style-type: none; display: flex; } .menu-item { display: inline-block; padding: 1.1em 1.715em; } .menu-link { text-decoration: none; text-transform: capitalize; } .menu-toggle { width: 40px; height: 30px; /* position: absolute; top: 8px; right: 0px; */ cursor: pointer; z-index: 106; display: none; } nav.menu { margin: 0; z-index: 15; } nav.menu ul { margin: 0; overflow: hidden; margin-top: 0px; padding: 0px; } nav.menu li { float: left; list-style: none; margin-bottom: 0px; } nav.menu a { display: inline-block; position: relative; /*padding-bottom: 3px;*/ color: rgba(245, 245, 245, 0.5); opacity: .7; font-family: "Roboto", Arial, Helvetica, sans-serif; font-size: 1.46em; letter-spacing: 0.004em; font-weight: 400; } nav.menu a.active { opacity: 1; color: rgba(245, 245, 245, 0.7); font-size: 1.46em; line-height: 1.5em; letter-spacing: 0.004em; } nav.menu a, nav.menu a.active { -webkit-transition: all 0.35s; -moz-transition: all 0.35s; -ms-transition: all 0.35s; -o-transition: all 0.35s; transition: all 0.35s; } nav.menu a:link { outline:none; } nav.menu a:hover { color: rgba(245, 245, 245, 1); -webkit-transition: color 0.35s; -moz-transition: color 0.35s; -ms-transition: color 0.35s; -o-transition: color 0.35s; transition: color 0.35s; } nav li.menu-item.current a { color: #f5f5f5; } .mobile-nav-container { top: 0px; color: #333; display: none; height: 50px; right: 0px; position: fixed; -webkit-transition: all 0.25s ease-out; -moz-transition: all 0.25s ease-out; -ms-transition: all 0.25s ease-out; -o-transition: all 0.25s ease-out; transition: all 0.25s ease-out; width: 50px; z-index: 10; } .menu-toggle .nav-open { display: block; } .menu-toggle .nav-close { display: none; } .menu-toggle.active-nav .nav-open { display: none; } .menu-toggle.active-nav .nav-close { display: block; } /* Menu Links space by CSS for OnePAgeNav.js replaced by "scrollTop: (offset - 110)" on line 205 of the plugin .sect_links{ margin-top: -30px; padding-top:30px; }*/ /* block body Scroll when menu is open */ .fixedPosition { position: fixed; } /*! * animate.css -http://daneden.me/animate * Version - 3.5.0 * Licensed under the MIT license - http://opensource.org/licenses/MIT * * Copyright (c) 2016 Daniel Eden */ .animated { -webkit-animation-duration: 1s; -moz-animation-duration: 1s; -ms-animation-duration: 1s; -o-animation-duration: 1s; animation-duration: 1s; -webkit-animation-fill-mode: both; -moz-animation-fill-mode: both; -ms-animation-fill-mode: both; -o-animation-fill-mode: both; animation-fill-mode: both; } .animated.infinite { -webkit-animation-iteration-count: infinite; -moz-animation-iteration-count: infinite; -ms-animation-iteration-count: infinite; -o-animation-iteration-count: infinite; animation-iteration-count: infinite; } .animated.hinge { -webkit-animation-duration: 2s; -moz-animation-duration: 2s; -ms-animation-duration: 2s; -o-animation-duration: 2s; animation-duration: 2s; } /* originally authored by Nick Pettit - https://github.com/nickpettit/glide */ @-webkit-keyframes pulse { from { -webkit-transform: scale3d(1, 1, 1); transform: scale3d(1, 1, 1); } 50% { -webkit-transform: scale3d(1.07, 1.07, 1.07); } to { -webkit-transform: scale3d(1, 1, 1); transform: scale3d(1, 1, 1); } } @-moz-keyframes pulse { from { -moz-transform: scale3d(1, 1, 1); transform: scale3d(1, 1, 1); } 50% { -moz-transform: scale3d(1.07, 1.07, 1.07); transform: scale3d(1.07, 1.07, 1.07); } to { -moz-transform: scale3d(1, 1, 1); transform: scale3d(1, 1, 1); } } @-ms-keyframes pulse { from { -ms-transform: scale3d(1, 1, 1); transform: scale3d(1, 1, 1); } 50% { -ms-transform: scale3d(1.07, 1.07, 1.07); transform: scale3d(1.07, 1.07, 1.07); } to { -ms-transform: scale3d(1, 1, 1); transform: scale3d(1, 1, 1); } } @-o-keyframes pulse { from { -o-transform: scale3d(1, 1, 1); transform: scale3d(1, 1, 1); } 50% { -o-transform: scale3d(1.07, 1.07, 1.07); transform: scale3d(1.07, 1.07, 1.07); } to { -o-transform: scale3d(1, 1, 1); transform: scale3d(1, 1, 1); } } @keyframes pulse { from { transform: scale3d(1, 1, 1); } 50% { transform: scale3d(1.07, 1.07, 1.07); } to { transform: scale3d(1, 1, 1); } } .pulse { -webkit-animation-name: pulse; -moz-animation-name: pulse; -ms-animation-name: pulse; -o-animation-name: pulse; animation-name: pulse; } @-webkit-keyframes fadeIn { 0% { opacity: 0; } 100% { opacity: 1; } } @-moz-keyframes fadeIn { 0% { opacity: 0; } 100% { opacity: 1; } } @-ms-keyframes fadeIn { 0% { opacity: 0; } 100% { opacity: 1; } } @-o-keyframes fadeIn { 0% { opacity: 0; } 100% { opacity: 1; } } @keyframes fadeIn { 0% { opacity: 0; } 100% { opacity: 1; } } .fadeIn { -webkit-animation-name: fadeIn; -moz-animation-name: fadeIn; -ms-animation-name: fadeIn; -o-animation-name: fadeIn; animation-name: fadeIn; } @-webkit-keyframes fadeOut { 0% { opacity: 1; } 100% { opacity: 0; } } @-moz-keyframes fadeOut { 0% { opacity: 1; } 100% { opacity: 0; } } @-ms-keyframes fadeOut { 0% { opacity: 1; } 100% { opacity: 0; } } @-o-keyframes fadeOut { 0% { opacity: 1; } 100% { opacity: 0; } } @keyframes fadeOut { 0% { opacity: 1; } 100% { opacity: 0; } } .fadeOut { -webkit-animation: fadeOut .35s ease forwards; -moz-animation: fadeOut .35s ease forwards; -ms-animation: fadeOut .35s ease forwards; -o-animation: fadeOut .35s ease forwards; animation: fadeOut .35s ease forwards; -webkit-animation-fill-mode: both; -moz-animation-fill-mode: both; -ms-animation-fill-mode: both; -o-animation-fill-mode: both; animation-fill-mode: both; pointer-events: none; } @-webkit-keyframes slideInDown { from { opacity: 0; -webkit-transform: translate3d(0, -15px, 0); transform: translate3d(0, -15px, 0); visibility: visible; } to { opacity: 1; -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); } } @-moz-keyframes slideInDown { from { opacity: 0; -moz-transform: translate3d(0, -15px, 0); transform: translate3d(0, -15px, 0); visibility: visible; } to { opacity: 1; -moz-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); } } @-ms-keyframes slideInDown { from { opacity: 0; -ms-transform: translate3d(0, -15px, 0); transform: translate3d(0, -15px, 0); visibility: visible; } to { opacity: 1; -ms-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); } } @-o-keyframes slideInDown { from { opacity: 0; -o-transform: translate3d(0, -15px, 0); transform: translate3d(0, -15px, 0); visibility: visible; } to { opacity: 1; -o-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); } } @keyframes slideInDown { from { opacity: 0; -webkit-transform: translate3d(0, -15px, 0); transform: translate3d(0, -15px, 0); visibility: visible; } to { opacity: 1; -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); } } .slideInDown { -webkit-animation-name: slideInDown; -moz-animation-name: slideInDown; -ms-animation-name: slideInDown; -o-animation-name: slideInDown; animation-name: slideInDown; } @-webkit-keyframes slideOutUp { from { opacity: 1; -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); } to { opacity: 0; -webkit-transform: translate3d(0, -15px, 0); transform: translate3d(0, -15px, 0); visibility: hidden; } } @-moz-keyframes slideOutUp { from { opacity: 1; -moz-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); } to { opacity: 0; -moz-transform: translate3d(0, -15px, 0); transform: translate3d(0, -15px, 0); visibility: hidden; } } @-ms-keyframes slideOutUp { from { opacity: 1; -ms-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); } to { opacity: 0; -ms-transform: translate3d(0, -15px, 0); transform: translate3d(0, -15px, 0); visibility: hidden; } } @-o-keyframes slideOutUp { from { opacity: 1; -o-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); } to { opacity: 0; -o-transform: translate3d(0, -15px, 0); transform: translate3d(0, -15px, 0); visibility: hidden; } } @keyframes slideOutUp { from { opacity: 1; -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); } to { opacity: 0; -webkit-transform: translate3d(0, -15px, 0); transform: translate3d(0, -15px, 0); visibility: hidden; } } .slideOutUp { -webkit-animation-name: slideOutUp; -moz-animation-name: slideOutUp; -ms-animation-name: slideOutUp; -o-animation-name: slideOutUp; animation-name: slideOutUp; } @media (max-width: 1400px) { nav.menu ul { margin-top: 0px; } a.scrollup { height: 28px; } } @media only screen and (max-width: 969px) { #parent_1 { width: 78%; max-width: 1700px; } } @media only screen and (max-width: 900px) { /* arrow down */ .box_arrow_down { height: 65px; } /* menu */ #header { height: auto; } .child_2 { display: flex; justify-content: flex-end; } .child_3 { margin-top: 0px; width: 40px; height: 58px; text-align: center; float: left; display: flex; align-items: center; } .logo_fg { width: 0px; height: 0px; margin-top: 30px; margin-left: 20px; } .logo_fg.active { width: 40px !important; height: 100%; margin: 0px 0px; } .logo_fg, .logo_fg.active { -webkit-transition: all 0.35s; -moz-transition: all 0.35s; -ms-transition: all 0.35s; -o-transition: all 0.35s; transition: all 0.35s; /* transition-duration: 0.35s; transition-property: initial; transition-timing-function: initial; transition-delay: initial; */ } .logo_fg, .logo_fg.active { -webkit-backface-visibility: hidden; -moz-backface-visibility: hidden; -ms-backface-visibility: hidden; -o-backface-visibility: hidden; backface-visibility: hidden; -webkit-perspective: 1000; -moz-perspective: 1000; -ms-perspective: 1000; -o-perspective: 1000; perspective: 1000; } .menu { display: flex; align-items: center; } .menu-container { width: 100%; height: 100%; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); -moz-transform: translate(-50%, -50%); -ms-transform: translate(-50%, -50%); -o-transform: translate(-50%, -50%); transform: translate(-50%, -50%); position: fixed; z-index: 9; opacity: 0; visibility: hidden; -webkit-transition: all 0.35s linear; -moz-transition: all 0.35s linear; -ms-transition: all 0.35s linear; -o-transition: all 0.35s linear; transition: all 0.35s linear; } .menu-container.active { /*background: #3305d9;*/ background-color: rgba(17, 20, 23, 0.91); -webkit-backdrop-filter: saturate(200%) blur(20px); -moz-backdrop-filter: saturate(200%) blur(20px); -ms-backdrop-filter: saturate(200%) blur(20px); -o-backdrop-filter: saturate(200%) blur(20px); backdrop-filter: saturate(200%) blur(20px); opacity: 1; visibility: visible; -webkit-transition: all 0.35s linear; -moz-transition: all 0.35s linear; -ms-transition: all 0.35s linear; -o-transition: all 0.35s linear; transition: all 0.35s linear; -webkit-animation-fill-mode: both; -moz-animation-fill-mode: both; -ms-animation-fill-mode: both; -o-animation-fill-mode: both; animation-fill-mode: both; } .menu-container.closing { -webkit-transition: all .35s linear; -moz-transition: all .35s linear; -ms-transition: all .35s linear; -o-transition: all .35s linear; transition: all .35s linear; -webkit-animation-fill-mode: both; -moz-animation-fill-mode: both; -ms-animation-fill-mode: both; -o-animation-fill-mode: both; animation-fill-mode: both; } .menu-container.fadeOut { -webkit-animation: fadeOut .35s ease forwards; -moz-animation: fadeOut .35s ease forwards; -ms-animation: fadeOut .35s ease forwards; -o-animation: fadeOut .35s ease forwards; animation: fadeOut .35s ease forwards; -webkit-animation-fill-mode: both; -moz-animation-fill-mode: both; -ms-animation-fill-mode: both; -o-animation-fill-mode: both; animation-fill-mode: both; } .menu-list.active { visibility: visible; opacity: 1; } .menu-list li { /* opacity: 0; */ -webkit-transition: all 0.35s ease; -moz-transition: all 0.35s ease; -ms-transition: all 0.35s ease; -o-transition: all 0.35s ease; transition: all 0.35s ease; } .menu-list.active li { opacity: 1; visibility: visible; } /* .menu-container, .menu-container.active { -webkit-transition: all .35s; -moz-transition: all .35s; -ms-transition: all .35s; -o-transition: all .35s; transition: all .35s; -webkit-transition-property: initial; -moz-transition-property: initial; -ms-transition-property: initial; -o-transition-property: initial; transition-property: initial; -webkit-transition-timing-function: initial; -moz-transition-timing-function: initial; -ms-transition-timing-function: initial; -o-transition-timing-function: initial; transition-timing-function: initial; -webkit-transition-delay: initial; -moz-transition-delay: initial; -ms-transition-delay: initial; -o-transition-delay: initial; transition-delay: initial; } */ .menu-list { position: fixed; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); -moz-transform: translate(-50%, -50%); -ms-transform: translate(-50%, -50%); -o-transform: translate(-50%, -50%); transform: translate(-50%, -50%); /*position: fixed; top: 25%;*/ width: 100%; /*height: calc(100% - 200px); height: auto;*/ z-index: 10; visibility: hidden; -webkit-transition: all 300ms cubic-bezier(0.235, 0.005, 0.44, 1); -moz-transition: all 300ms cubic-bezier(0.235, 0.005, 0.44, 1); -ms-transition: all 300ms cubic-bezier(0.235, 0.005, 0.44, 1); -o-transition: all 300ms cubic-bezier(0.235, 0.005, 0.44, 1); transition: all 300ms cubic-bezier(0.235, 0.005, 0.44, 1); text-align: center; margin: 0 auto; font-family: "Roboto", Arial, Helvetica, sans-serif; font-size: 2.3em; font-weight: 400; letter-spacing: 1.5px; display: inline-block; } .menu-item { padding: 1% 0%; } .menu-toggle { display: block; /* position: absolute; top: 16px; right: 0; */ height: 30px; width: 30px; background: transparent; cursor: pointer; } /* hidden "li" logo menu .menu-list li:nth-of-type(3) { display: none; } */ nav.menu ul li.hide_om { display: none; } /* ul { list-style: none; padding: 0; margin: 25px auto; display: inline-block; position: relative; } */ ul.menu-list li { opacity: 0; width: 100%; padding-right: 0px; -webkit-transition: all 0ms cubic-bezier(0.235, 0.005, 0.44, 1); -moz-transition: all 0ms cubic-bezier(0.235, 0.005, 0.44, 1); -ms-transition: all 0ms cubic-bezier(0.235, 0.005, 0.44, 1); -o-transition: all 0ms cubic-bezier(0.235, 0.005, 0.44, 1); transition: all 0ms cubic-bezier(0.235, 0.005, 0.44, 1); /* visibility: hidden; */ } /* .menu-list li.opening { -webkit-animation: slideInDown .35s ease forwards; -moz-animation: slideInDown .35s ease forwards; -ms-animation: slideInDown .35s ease forwards; -o-animation: slideInDown .35s ease forwards; animation: slideInDown .35s ease forwards; -webkit-animation-fill-mode: both; -moz-animation-fill-mode: both; -ms-animation-fill-mode: both; -o-animation-fill-mode: both; animation-fill-mode: both; } */ .menu-list.active li { opacity: 0; -webkit-animation: slideInDown .35s ease forwards; -moz-animation: slideInDown .35s ease forwards; -ms-animation: slideInDown .35s ease forwards; -o-animation: slideInDown .35s ease forwards; animation: slideInDown .35s ease forwards; -webkit-animation-fill-mode: both; -moz-animation-fill-mode: both; -ms-animation-fill-mode: both; -o-animation-fill-mode: both; animation-fill-mode: both; -webkit-animation-delay: 0.5s; -moz-animation-delay: 0.5s; -ms-animation-delay: 0.5s; -o-animation-delay: 0.5s; animation-delay: 0.5s; } .menu-list.active li:nth-child(1) { -webkit-animation-delay: .05s; -moz-animation-delay: .05s; -ms-animation-delay: .05s; -o-animation-delay: .05s; animation-delay: .05s; } .menu-list.active li:nth-child(2) { -webkit-animation-delay: .1s; -moz-animation-delay: .1s; -ms-animation-delay: .1s; -o-animation-delay: .1s; animation-delay: .1s; } .menu-list.active li:nth-child(3) { -webkit-animation-delay: .0s; -moz-animation-delay: .0s; -ms-animation-delay: .0s; -o-animation-delay: .0s; animation-delay: .0s; } .menu-list.active li:nth-child(4) { -webkit-animation-delay: .15s; -moz-animation-delay: .15s; -ms-animation-delay: .15s; -o-animation-delay: .15s; animation-delay: .15s; } .menu-list.active li:nth-child(5) { -webkit-animation-delay: .2s; -moz-animation-delay: .2s; -ms-animation-delay: .2s; -o-animation-delay: .2s; animation-delay: .2s; } .menu-list.closing li { -webkit-animation: slideOutUp .5s ease forwards; -moz-animation: slideOutUp .5s ease forwards; -ms-animation: slideOutUp .5s ease forwards; -o-animation: slideOutUp .5s ease forwards; animation: slideOutUp .5s ease forwards; -webkit-animation-fill-mode: both; -moz-animation-fill-mode: both; -ms-animation-fill-mode: both; -o-animation-fill-mode: both; animation-fill-mode: both; opacity: 1; } .menu-list.closing li:nth-child(5) { -webkit-animation-delay: .05s; -moz-animation-delay: .05s; -ms-animation-delay: .05s; -o-animation-delay: .05s; animation-delay: .05s; } .menu-list.closing li:nth-child(4) { -webkit-animation-delay: .1s; -moz-animation-delay: .1s; -ms-animation-delay: .1s; -o-animation-delay: .1s; animation-delay: .1s; } .menu-list.closing li:nth-child(3) { -webkit-animation-delay: .0s; -moz-animation-delay: .0s; -ms-animation-delay: .0s; -o-animation-delay: .0s; animation-delay: .0s; } .menu-list.closing li:nth-child(2) { -webkit-animation-delay: .15s; -moz-animation-delay: .15s; -ms-animation-delay: .15s; -o-animation-delay: .15s; animation-delay: .15s; } .menu-list.closing li:nth-child(1) { -webkit-animation-delay: .2s; -moz-animation-delay: .2s; -ms-animation-delay: .2s; -o-animation-delay: .2s; animation-delay: .2s; } .menu-list li.retaining { visibility: visible !important; } /* nav.active li:nth-child(1), nav li.closing:nth-last-child(1) { animation-delay: 0.25s; } nav.active li:nth-child(2), nav li.closing:nth-last-child(2) { animation-delay: 0.2s; } nav.active li:nth-child(3), nav li.closing:nth-last-child(3) { animation-delay: 0.15s; } nav.active li:nth-child(4), nav li.closing:nth-last-child(4) { animation-delay: 0.1s; } */ nav.menu ul li a { cursor: pointer; /* text-transform: uppercase; text-decoration: none; */ color: #777; -webkit-transition: all 250ms cubic-bezier(0.235, 0.005, 0.44, 1); -moz-transition: all 250ms cubic-bezier(0.235, 0.005, 0.44, 1); -ms-transition: all 250ms cubic-bezier(0.235, 0.005, 0.44, 1); -o-transition: all 250ms cubic-bezier(0.235, 0.005, 0.44, 1); transition: all 250ms cubic-bezier(0.235, 0.005, 0.44, 1); } nav.menu li.current a { /* color: #3305d9; */ color: rgba(245, 245, 245, 1); } ul.menu-list li a:hover { color: #ebebeb; } nav.menu a, nav.menu a.active { opacity: 1; color: rgba(245, 245, 245, .7); font-size: 1.3em; font-weight: 500; letter-spacing: 0.030em; line-height: 1.5em; } nav.menu a:hover { text-decoration: none; -webkit-transition: width .5s ease, color .5s ease; -moz-transition: width .5s ease, color .5s ease; -ms-transition: width .5s ease, color .5s ease; -o-transition: width .5s ease, color .5s ease; transition: width .5s ease, color .5s ease; } nav.active .menu-link { width: 100%; color: rgba(245, 245, 245, .7); } .middle-align { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; -webkit-align-content: center; -ms-flex-line-pack: center; align-content: center; } .noscroll { /*margin: 0; */ overflow: hidden; margin: 0; -webkit-overflow-scrolling: touch; } .menu-list.closing.initial-closure li { -webkit-animation: initialMenuFadeOut 0.5s ease forwards; -moz-animation: initialMenuFadeOut 0.5s ease forwards; -ms-animation: initialMenuFadeOut 0.5s ease forwards; -o-animation: initialMenuFadeOut 0.5s ease forwards; animation: initialMenuFadeOut 0.5s ease forwards; -webkit-animation-fill-mode: both; -moz-animation-fill-mode: both; -ms-animation-fill-mode: both; -o-animation-fill-mode: both; animation-fill-mode: both; opacity: 1; } @keyframes initialMenuFadeOut { 0% { opacity: 1; transform: translateY(0); } 70% { opacity: 0.3; transform: translateY(10px); } 100% { opacity: 0; transform: translateY(20px); } } /* Keep the existing slideOutUp for non-initial closures */ .menu-list.closing:not(.initial-closure) li { -webkit-animation: slideOutUp 0.5s ease forwards; -moz-animation: slideOutUp 0.5s ease forwards; -ms-animation: slideOutUp 0.5s ease forwards; -o-animation: slideOutUp 0.5s ease forwards; animation: slideOutUp 0.5s ease forwards; -webkit-animation-fill-mode: both; -moz-animation-fill-mode: both; -ms-animation-fill-mode: both; -o-animation-fill-mode: both; animation-fill-mode: both; } .initial-page-state .menu-list.closing li { -webkit-animation: slideOutUp .5s ease forwards .5s; -moz-animation: slideOutUp .5s ease forwards .5s; -ms-animation: slideOutUp .5s ease forwards .5s; -o-animation: slideOutUp .5s ease forwards .5s; animation: slideOutUp .5s ease forwards .5s; -webkit-animation-fill-mode: both; -moz-animation-fill-mode: both; -ms-animation-fill-mode: both; -o-animation-fill-mode: both; animation-fill-mode: both; } } @media only screen and (max-width: 850px) { #header.active { height: 41px; } #header { height: 50px; } #parent_1 { margin-top: 1px; width: 78%; height: 100%; } #parent_1.active { margin-top: 1px; } .child_2, .child_3 { height: 41px; margin-top: 0px; } .logo_fg{ width: 0px; height: 40px; margin-top: 0px; } .logo_fg.active { width: 57px; } .menu-toggle { height: 18px; } } @media only screen and (max-width: 799px) { #header.active { height: 41px; } #header { height: 40px; } #parent_1 { margin-top: 1px; width: 80%; height: 100%; } #parent_1.active { margin-top: 1px; } /* .child_3 { height: 32px; margin-top: 1px; } */ } @media screen and (min-width: 480px) and (max-width:799px) { #header { height: 41px; } #parent_1 { height: 40px; width: 78%; } .logo_fg_menu, .logo_fg_menu.active { width: 43px; height: 19px; margin-top: -4px; } .menu-toggle { width: 30px; /* height: 100%; right: 0px; top: 0px; padding-top: 6px; */ z-index: 106; } nav.menu li { float: none; width: 100%; margin-bottom: 0px; } } @media screen and (min-width: 0px) and (max-width:750px) { nav.menu li { padding: 1.4% 0%; } nav.menu a, nav.menu a.active { font-size: 1.3em; letter-spacing: 0.030em; font-weight: 500; } } @media screen and (min-width: 0px) and (max-width:650px) { /* .child_3 { height: 32px; } */ .child_2 { margin-top: 0px; } nav.menu li { padding: 1.2% 0%; } /* nav a { font-size: 1.6em; } nav a.active { font-size: 1.6em; } */ } @media screen and (max-width:480px) { #header { height: 46px; } #parent_1 { height: 41px; width: 85%; } /* .child_3 { height: 32px; } */ .child_2 { margin-top: 0px; } .logo_fg_menu, .logo_fg_menu.active { width: 45px; height: 20px; margin-top: 0px; } .menu-toggle { width: 30px; height: 30px; z-index: 106; } .menu-item { padding: 3% 0%; } nav.menu li { padding: 2% 0%; } } /* iPhone 4 ----------- */ @media only screen and (min-device-width : 320px) and (max-device-width : 480px) and (orientation : landscape) and (-webkit-min-device-pixel-ratio : 2) { nav.menu li { padding: 1% 0%; } } @media only screen and (max-width: 320px) { nav.menu a, nav.menu a.active { font-size: 1.1em; } }