﻿/* Navbar */
.nav-logo{
    width: 165px;
}
.nav-links{
    list-style: none;
    display: flex;
    padding: unset;
    margin: unset;
}
    .nav-links li{
        padding: 0 10px;
        display: flex;
        align-content: center;
        justify-content: center;
        flex-direction: column;
    }
        .navbar-wrap .nav-links li a:hover {
            cursor: pointer;
            color: #3885C7 !important;
            text-decoration: none;
        }
.main-navbar{
    padding: .8rem 1rem;
    transition: 1s;
}
.navbar-wrap{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
}

/* Main navbar scrolled */
.top-fixed {
    position: fixed !important;
    margin: 0 auto;
    left: 0;
    right: 0;
    opacity: 0;
    animation: top-fade-in .5s forwards;
    animation-timing-function: cubic-bezier(.07,1.05,.75,.97);
    background: white;
    box-shadow: 0px 0px 5px -3px #1E2F3B;
}
@keyframes top-fade-in {
    0%{
        transform: translateY(-100px);
        opacity: 0;
    }
    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}

/* Mobile nav hide */
.mob-nav{
    display: none;
}

/* Mobile nav CSS */
.mob-nav-button {
    background: transparent;
    border: unset;
}
.mob-nav-button .burger-bar {
    height: 1px;
    width: 30px;
    background-color: #2A3740;
    margin: 5px 0;
    position: relative;
    display: block;
}
    .mob-nav-button:focus{
        outline: unset;
    }
#mob-nav-wrapper {
    position: fixed;
    width: 300px;
    height: 100% !important;
    background: #121C24;
    right: 0px;
    z-index: 20;
    transform: translateX(300px);
    transition: all .25s ease-in-out;
    display: block;
}
.mob-nav-menu{
    position: relative;
    top: 100px;
}
    .mob-nav-menu li{
        padding: 5px 0;
        list-style: none;
    }
.mob-nav-close {
    height: 35px;
    width: 35px;
    border: 1px solid #D1D7E0;
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: transparent;
}
    .mob-nav-close:focus{
        outline: unset;
    }
    .mob-nav-close > span {
        display: block;
        width: 17px;
        height: 1px;
        background-color: #D1D7E0;
        position: relative;
        left: 2px;
    }
    .mob-nav-close > span:nth-of-type(1){
        transform: rotate(45deg);
    }
    .mob-nav-close > span:nth-of-type(2) {
        transform: rotate(-45deg);
        top: -1px;
        position: relative;
    }
#mob-nav-outer{
    transition: all .25s ease-in-out;
}
#mob-nav-outer.open{
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 10;
}
#mob-nav-outer.open #mob-nav-wrapper{
    transform: translateX(0px);
}
.mob-nav-contact{
    position: absolute;
    bottom: 30px;
    width: 100%;
    text-align: center;
}