/* 

Designed by: Godwin Akpan
Brought to life by: Peter Olom

All code here are proprietary of Peter Olom

*/

@import "../fonts/stylesheet.css";


html.noscroll , body.noscroll {margin: 0; height: 100%; overflow: hidden}

.bg-menu{
    position: fixed;
    background-size: cover;
    background-position: center center;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100vh;
    z-index: 9998;
}

.bg-menu.company{
    background-image: url(../img/company.jpg);
}
.bg-menu.contact{
    background-image: url(../img/contact.jpg);
}
.bg-menu.projects{
    background-image: url(../img/projects.jpg);
}
.bg-menu.services{
    background-image: url(../img/services.jpg);
}
.bg-menu.thoughts{
    background-image: url(../img/thoughts.jpg);
}


#menu_overlay{
    height: 0%;
    width: 100%;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.85);
    overflow-y: hidden;
    transition: 0.5s;
}

#menu_overlay .exit{
    margin-bottom: 5%;
    position: absolute;
    top: 5%;
    right: 5%;
}

.exit a{
    display: inline-block;
    font-size: 30px;
    text-decoration: none;
    color: #fff;
    padding-bottom: 4px;
}

.exit a::after{
    display: block;
    margin: 4px auto;
    height: 2px;
    content: " ";
    width: 0%;
    background: #fff;
    position: relative;
    transition: width 1s ease;
}

.exit a.rule::after{
    width: 100% !important;
}

#menu_overlay .container{
    position: relative;
    top: 15%; 
    width: 100%;
    text-align: left;
}

#menu_overlay .main .nav-link{
    font-size: 40px;
    line-height: 55px;
    letter-spacing: 5px;
    color: #fff;
    font-family: "maax_roundedregular";
}

@-webkit-keyframes Gradient {
    0%  {background-position:0% 50%}
    50% {background-position:100% 50%}
    100%{background-position:0% 50%}
}
@-moz-keyframes Gradient {
	0%  {background-position:0% 50%}
    50% {background-position:100% 50%}
    100%{background-position:0% 50%}
}
@keyframes Gradient { 
	0%  {background-position:0% 50%}
    50% {background-position:100% 50%}
    100%{background-position:0% 50%}
}

#menu_overlay .main .nav-link:hover{
    background: linear-gradient(270deg,#7108FF, #444FFC, #297FFB, #0EB4FC);
	background-size: 600% 600%;
	-webkit-animation: Gradient 3s ease infinite;
	-moz-animation: Gradient 3s ease infinite;
	animation: Gradient 3s ease infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#menu_overlay .social{
    margin-top: 100px;
}

#menu_overlay .social .nav-link{
    font-size: 24px;
    line-height: 45px;
    letter-spacing: 2px;
    color: #fff;
    font-family: "maax_roundedregular";
}

#menu_overlay .social .nav-link:after{
    display: block;
    margin-top: 8px;
    height: 2px;
    content: " ";
    width: 60px;
}

#menu_overlay .social .nav-link:hover::after{
    background: linear-gradient(270deg,#7108FF, #444FFC, #297FFB, #0EB4FC);
    /* background: linear-gradient(270deg,#FCFF00, #18f0b8, #18a2f0, #FCFF00); */
    background-size: 600% 600%;
	-webkit-animation: Gradient 3s ease infinite;
	-moz-animation: Gradient 3s ease infinite;
	animation: Gradient 3s ease infinite;
    -webkit-text-fill-color: transparent;
}

/* media queries for menu */
@media screen and (max-width: 767px) {
    #menu_overlay .main .nav-link{
        font-size: 40px;
        height: 65px;
    }

    #menu_overlay .social .nav-link{
        font-size: 14px;
    }
    #menu_overlay .social .nav-link:hover::after{
        width: 20px;
    }
}

.top-nav{
    position: absolute;
    z-index: 999;
    right: 0;
    left: 0;
    padding: 25px 0;
}

.top-nav-logo{
    display: none;
    margin-top: 24px;
    float: right;
}

.top-nav.scrolled .top-nav-logo{
    display: block;
}

.top-nav.scrolled{
    position: fixed;
    background: rgba(255,255,255,1) !important;
    padding-top: 0px !important;
}

.top-nav.scrolled .licon{
    display: none !important;
}

.top-nav.scrolled .sicon{
    display: inline !important;
}

.top-nav.scrolled a span{
    color: #000 !important;
    /* border-bottom: 1px solid #000 !important; */
}

.top-nav.scrolled #menu span::after{
    background-color: #000 !important;
}

#menu:hover{
    text-decoration: none;
}

#menu img{
    width: 40px;
}

#menu span{
    display: inline-block;
    color: #fff;
    font-weight: 600;
    /* border-bottom: 1px solid #fff; */
    vertical-align: bottom;
    margin-bottom: 4px;
}

#menu span::after{
    display: block;
    width: 0%;
    height: 2px;
    margin: 0 auto;
    content: " ";
    background-color: #fff;
    transition: width 1s ease;
}

#menu span.rule::after{
    width: 100% !important;
}