.mainlogo,
.sidelogo {
    width: 61px;
    
}

.sidelogo {
    margin-top: 8px;
}

.main_h {
    position: fixed;
    height: 120px;
    top: 0px;
    width: 100%;
    background: var(--bg);
    transition: all 0.3s linear;
    z-index: 999;
    box-shadow: rgba(0, 0, 0, 0.5) 3px 1px 7px;
}

.main_h .container {
    height: 100%;
}

.headwrapper {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links li a {
    color: var(--secondary);
    padding: 8px 15px;
    font-size: 20px;
    text-transform: uppercase;
    margin: 0 10px;
    border-radius: 20px;
    vertical-align: middle;
    transition: all 0.2s linear;
}

.nav-links li a.active {
    color: var(--bg);
    background-color: var(--primary);
}

.nav-links li a.active:hover {
    color: var(--bg);
    background-color: var(--primary);
}

.nav-links li a:hover {
    color: var(--bg);
    background-color: var(--primary);
}
.nav-links-img li a:hover {
    color: var(--bg);
    
}

.nav-links li a:active,
.nav-links li a:focus {
    text-decoration: none;
}

.mobile-toggle {
    width: 32px;
    height: 32px;
    position: relative;
    top: 4px;
    transform: rotate(0deg);
    transition: all .3s ease-in-out;
    cursor: pointer;
    display: none;
    padding: 25px;
}

.mobile-toggle span {
    display: block;
    position: absolute;
    height: 4px;
    width: 32px;
    margin: 8px;
    background: var(--primary);
    border-radius: 10px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.mobile-toggle span:nth-child(1) {
    top: 0px;
}

.mobile-toggle span:nth-child(2) {
    top: 12px;
}

.mobile-toggle span:nth-child(3) {
    top: 24px;
}

.closeup .mobile-toggle span:nth-child(1) {
    top: 12px;
    transform: rotate(135deg);
}

.closeup .mobile-toggle span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.closeup .mobile-toggle span:nth-child(3) {
    top: 12px;
    transform: rotate(-135deg);
}

.sidenav {
    height: 100%;
    width: 200px;
    background-color: var(--bg);
    transition: all 0.3s ease;
    position: fixed;
    top: 0;
    left: -200px;
    padding: 20px;
    font-size: 18px;
    line-height: 1.8;
    z-index: 9999;
}

.sidenav ul {
    margin-top: 75px;
}

.sidenav ul li {
    margin: 15px 0;
}

.sidenav ul li a {
    background: none;
    margin: 0;
}

.sidenav ul li a.active {
    background: none;
    color: var(--primary);
    font-weight: 700;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9;
}

.slideIn {
    left: 200px;
    margin-left: -200px;
}

.slideOut {
    left: -200px;
    margin-left: 0;
}

nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}

@media only screen and (max-width: 850px) {
    nav {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }
}
