
/* General styles */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', Arial, sans-serif;
	overflow-x: hidden; /* Prevent horizontal scrolling */
}

/* Header and navigation styles */
header {
    background-color: transparent; /* Initial transparent background */
    color: #fff;
    padding: 15px 20px;
    position: fixed; /* Keep it fixed */
    top: 0; /* Position at the top */
    left: 0;
    width: 100%; /* Full width */
    z-index: 1000; /* High z-index to stay above content */
    font-family: 'Montserrat', Arial, sans-serif;
	transition: background-color 0.3s ease; /* Smooth transition for background color */
}

.navbar {
    display: flex;
    justify-content: space-between; /* Space between logo and toggle button */
    align-items: center;
    width: 100%; /* Full width */
    padding: 0 20px; /* Add some horizontal padding */
    box-sizing: border-box; /* Include padding in the total width */
}

.nav-links {
    display: flex; /* Show links in a row on larger screens */
    gap: 8px; /* Space between links */
    flex-grow: 1; /* Allow the nav links to grow */
    justify-content: flex-end; /* Align links to the right */
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    padding: 10px; /* Padding for clickable area */
}

.nav-links a:hover {
    color: black; /* Highlight background on hover */
	font-weight: bold;
}

/* Add spacing after the last link */
.nav-links a:last-child {
    margin-right: 10px; /* Adjust this value for more or less space */
}



#navbar {
    transition: background-color 0.3s ease; /* Smooth transition for background color */
}
/* Active background color when scrolling down */
#navbar.scrolled {
    background-color: #378a3f; /* Change background to black */
    transition: background-color 0.3s ease; /* Smooth transition for background color */
}
/* Background color when menu is toggled without scrolling */
#navbar.navbar-toggled {
    background-color: #378a3f; /* Grey background when toggled */
    transition: background-color 0.3s ease; /* Smooth transition */
}
/* Responsive styles */
@media (max-width: 865px) {
    .nav-links {
        display: none; /* Hide menu by default */
        flex-direction: column; /* Stack vertically */
        position: absolute; /* Position it absolutely */
        top: 60px; /* Adjust based on your header height */
        left: 0; /* Align to the left */
        width: 100%; /* Full width for dropdown */
        background-color: #378a3f; /* Background color for the dropdown */
        z-index: 1000; /* Ensure it appears above other content */
        margin: 0; /* Remove any default margin */
        padding: 0; /* Remove any default padding */
        gap: 0;
    }

    /* Show the nav links when the menu toggle button is clicked */
    .nav-links.active {
        display: flex; /* Show the menu links */
    }

    .nav-links a {
        text-align: center; /* Center the text */
        width: 100%; /* Make links full width */
        padding: 15px; /* Increase padding for clickable area */
        border: none; /* Remove borders */
        box-sizing: border-box; /* Ensure padding does not affect total width */
    }
}

/* Menu toggle button for small screens */
.menu-toggle {
    display: none; /* Hide by default */
}

/* Styles for the lines */
.line-nav {
    display: block;
    width: 30px; /* Width of the lines */
    height: 4px; /* Height of the lines */
    background-color: white;
    margin: 5px auto; /* Spacing between the lines */
    transition: all 0.3s; /* Transition effect */
}

/* Transform lines into a cross when active */
.menu-toggle.active .line-nav:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px); /* Rotate and move the top line */
}
.menu-toggle.active .line-nav:nth-child(2) {
    opacity: 0; /* Hide the middle line */
}
.menu-toggle.active .line-nav:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -7px); /* Rotate and move the bottom line */
}

/* Responsive styles */
@media (max-width: 865px) {
    .menu-toggle {
        display: block; /* Show the menu toggle button */
        background: transparent; /* Remove background */
        border: none; /* Remove border */
        padding: 0; /* Remove padding */
        cursor: pointer; /* Pointer cursor */
        margin-right: 10px;
		margin-left: auto;
    }
	.logo-nav {
		margin-left: -20px;
		margin-right: 10px;
	}
	.logo-nav img {
		height: 35px;
	}
}

.logo-nav img {
	height: 40px;
	width: auto;
	padding-top: 0px;
	margin-top: 0px;
}


.language-switcher {
    margin: 0px;
    margin-right: 10px;
    text-align: right; /* Align the container to the right */
    display: flex; /* Use flexbox */
    flex-direction: column; /* Stack items vertically */
    gap: 5px; /* Add spacing between the buttons */
}

.language-switcher img {
    cursor: pointer;
    height: 10px;
    width: auto;
    margin: 0; /* Remove horizontal margin */
    transition: opacity 0.3s;
    display: block; /* Ensure each image is a block-level element */
}

.language-switcher img:hover {
    opacity: 0.8; /* Slight opacity change on hover */
}

.language-switcher a {
    text-decoration: none; /* Remove any underline */
    display: inline-block; /* Keep anchor as inline-block */
}
