﻿.navbar {
    background: none; /* Remove background */
    display: flex; /* Use flexbox for alignment */
    justify-content: space-between; /* Distribute space between items */
    padding: 5px 10px; /* Decreased padding for a more fitting look */
    position: fixed;  /* Keeps the navbar fixed at the top */
    top: 0;           /* Aligns it to the top */
    left: 0;          /* Aligns it to the left */
    z-index: 1000;    /* Ensures it's on top */
    width: 100%; /* Ensure the menu takes full width */
    align-items: center; /* Center items vertically */
    box-shadow: none; /* Remove shadow */
}

.navbar ul {
    list-style-type: none; /* Removes default list styling */
    margin: 0;            /* Resets margin */
    padding: 0;           /* Resets padding */
    display: flex;        /* Displays items in a row */
    justify-content: center; /* Centers items */
    flex-wrap: nowrap;      /* Prevent wrapping */
    width: 100%; /* Ensure the ul takes full width */
}

.navbar li {
    margin: 0 5px; /* Reduced margin for better fitting */
    flex: 0; /* Do not force equal space */
    text-align: center; /* Center text in the buttons */
}

.navbar a {
    color: black; /* White text color */
    text-decoration: none; /* No underline */
    padding: 5px; /* Adjust padding for better spacing */
    border-radius: 50%; /* Make it a circle */
    width: 35px; /* Fixed width */
    height: 35px; /* Fixed height */
    line-height: 35px; /* Center text vertically */
    background-color: transparent; /* No background */
    transition: background-color 0.3s ease, transform 0.2s ease; /* Added transform transition */
    font-size: 15px; /* Default font size */
    font-weight: bold; /* Bold font for emphasis */
    display: inline-block; /* Ensures the padding applies correctly */
    position: relative; /* Required for pseudo-element positioning */
    border: 3px solid transparent; /* Transparent border to maintain size */
}

.navbar a:hover {
    background-color: #2980b9; /* Darker background on hover */
    color: #fff; /* White text on hover */
    transform: translateY(-2px); /* Lift effect */
}

main {
    margin-top: 60px; /* Add margin to prevent content from being hidden by the fixed navbar */
    padding: 20px;     /* Padding for main content */
}

section {
    padding: 20px;
    border: 1px solid #ccc; /* Optional border for visual separation */
    margin-bottom: 20px;    /* Space between sections */
}