/* NAVBAR */
nav {
    display: flex;
    justify-content: space-between; /* Pushes the web name to the left and options to the right */
    align-items: center;
    padding: 1rem 2rem;
    background: #333;
    color: white;
}

nav .web-name {
    font-size: 1.5rem; /* Adjust the size of your web name */
    font-weight: bold;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center; /* Aligns options horizontally */
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    transition: opacity 0.3s;
}

nav ul li a:hover {
    opacity: 0.6;
}

/* MOBILE NAVIGATION */
.menu-icon {
    display: none;
    cursor: pointer;
}

nav ul li a img {
    width: 30px; /* Set the size of the linkedin logo */
    height: auto;
}

@media (max-width: 650px) {
    /* Hide the navbar items and make them vertical on smaller screens */
    nav ul {
        display: none;
        flex-direction: column;
        background: #333;
        position: absolute;
        width: 100%;
        left: 0;
        top: 60px; /* Adjust the distance from the top */
    }

    /* Show the menu icon */
    .menu-icon {
        display: block;
    }

    /* When the menu is toggled, show the options */
    .show-menu {
        display: flex;
    }

    nav .web-name {
        font-size: 1.2rem; /* Adjust the size of your web name on mobile */
    }
}

