/* ============================= */
/*        Navbar / Header        */
/* ============================= */

.navbar {
    width: 100%;
    background-color: #D9D9D9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    position: fixed;
    top: 0;
    left: 0;
    transition: top 0.3s ease;
    z-index: 1000;
}

.logo img {
    max-width: 100px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links a {
    color: #024371;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 550;
    transition: color 0.5s;
}

.nav-links a:hover {
    color: #000000;
}

/* Mobile menu button */
.menu-toggle {
    display: none;
    font-size: 1.8rem;
    background: none;
    border: none;
    color: #024371;
    cursor: pointer;
    margin: auto 0;
    padding: 1.5rem;
}


/* ============================= */
/*    Navbar Responsiveness      */
/* ============================= */

@media (max-width: 950px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        transform: none;
        width: 100%;
        background-color: #D9D9D9;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        padding: 1.5rem 0;
        display: none;
        z-index: 2;
    }

    .nav-links.active {
        display: flex;
    }

    .video-text h1 {
        font-size: 2rem;
    }
}