
/* Styling for the navigation bar */
.navbar {
    width: 100%;
    background-color: #a77e5b; /* Dark sand color */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: heartbeat 2s infinite;
    display: flex; /* Horizontal layout for navbar */
    align-items: center;
    justify-content: space-between;
}

#navigation { 
    margin: 0 10px; 
}

#navigation ul {
    list-style: none;
    display: flex; /* Horizontal layout for the main navigation list */
    gap: 20px;
    margin: 0;
    padding: 0;
    align-items: center;
}

#navigation ul li {
    margin-right: 20px;
}

#navigation ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    display: flex; /* Flex layout for icons and text */
    flex-direction: column; /* Stack icon above text */
    align-items: center; /* Center align */
    padding: 5px 0;
}

/* Icon styling */
.nav-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 5px;
}

.nav-text {
    font-size: 9px;
    color: #fff;
    text-align: center;
}

/* Language selector */
#language-selector {    font-size: 16px;
    padding: 5px;
    margin: 10px 10px;
    height: 30px;
    width: auto;
}

/* Responsive adjustments for mobile */
/*
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px;
    }
    
    #navigation ul {
        flex-direction: column;
        width: 100%;
        padding-bottom: 10px;
    }
    
    #navigation ul li {
        margin-bottom: 10px;
    }
}
*/





/* Heartbeat animation for the shadow */
@keyframes heartbeat {

    0%,
    100% {
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
        /* Normal shadow */
    }

    10% {
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
        /* Stronger shadow for the beat */
    }

    20% {
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
        /* Return to normal */
    }

    30% {
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
        /* Smaller beat */
    }

    40% {
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
        /* Return to normal again */
    }

    70% {
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
        /* Pause */
    }

    80% {
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        /* Slightly increased */
    }
}