/* This is the navbar */
.nav_icon_svg {
    width: 32px;
    height: 32px;
}

#dropdown-menu {
    display: none;
}

header {
    margin: 0 2em;
    margin-bottom: 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    padding: 0;
    /* Background color of the header */
}

li a {
    color: rgba(37, 40, 43, 0.60);
    display: inline-flex;
    transition: color 0.3s ease, transform 0.3s ease;
}

#contact {
    color: #3b82f6;
}

/* -webkit-background-clip: text; */

li a:hover {
    transform: scale(1.1);
    color: #25282B;
    text-decoration: underline;
}

#ss_logo {
    height: 70px;
    transition: transform 0.3s ease;
    /* Adjust size to fit better */
}

#ss_logo:hover {
    transform: scale(1.1);
}

.dropdown-btn img {
    width: 32px;
    height: 32px;
}

nav {
    flex: 2;
    text-align: end;
    /* Center the navigation items */
}

.nav-menu {
    display: inline-block;
    /* Keep navigation links in a row */
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-menu li {
    display: inline;
    margin: 0 16px;
}

.nav-menu a {
    text-decoration: none;
    font-size: 0.64rem;
    color: rgba(37, 40, 43, 0.75);
    /* Navigation text color */
    font-weight: bold;
}

/* MOBILE DROPDOWN MENU */
#mobile-nav-links {
    display: none;
    /* completely hide by default */
    flex-direction: column;
    list-style: none;
    background: white;
    padding: 12px;
    position: absolute;
    top: 80px;
    right: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}


#mobile-nav-links li {
    padding: 12px 0;
    text-align: center;
}

#mobile-nav-links a {
    text-decoration: none;
    font-size: 18px;
    color: rgba(37, 40, 43, 0.75);
    font-weight: 600;
}

/* Only show dropdown on screens below 600px */
@media (max-width: 600px) {
    header {
        margin-bottom: auto;
    }

    #dropdown-menu {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    #nav_menu {
        display: none;
    }
}

/* For Phone size navigation */
@media (max-width: 768px) {
    #ss_logo {
        height: 70px;
        justify-content: left;
        /* Adjust size to fit better */
    }
}

@media (max-width: 480px) {
    #nav_icons {
        display: none;
    }
}