/* =========================
   COMMON HEADER
========================= */

.header {
    min-height: auto;
    width: 100%;
    background-image:
        linear-gradient(rgba(4,9,30,0.75), rgba(4,9,30,0.75)),
        url(../image/background2.png);

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    position: relative;
}

.header nav {
    display: flex;
    padding: 15px 6%;
    justify-content: space-between;
    align-items: center;
}

#logo-img {
    width: 75px;
    height: 75px;
    object-fit: contain;
}

.nav-links {
    flex: 1;
    text-align: right;
}

.nav-links ul {
    margin: 0;
    padding: 0;
}

.nav-links ul li {
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
}

.nav-links ul li::after {
    content: '';
    width: 0%;
    height: 2px;
    background: #ff0000;
    display: block;
    margin: auto;
    transition: 0.5s;
}

.nav-links ul li:hover::after {
    width: 100%;
}

.icon {
    display: none;
}


/* Mobile Header */

@media (max-width: 700px) {

    .header nav {
        padding: 10px 5%;
    }

    #logo-img {
        width: 60px;
        height: 60px;
    }

    .nav-links {
        position: fixed;
        background: #f44336;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 1000;
        transition: 0.5s;
    }

    .nav-links ul {
        padding: 30px;
    }

    .nav-links ul li {
        display: block;
        margin-bottom: 10px;
    }

    .nav-links a {
        font-size: 15px;
    }

    .icon {
        display: block;
        color: #fff;
        margin: 10px;
        font-size: 25px;
        cursor: pointer;
    }

}