/* Reset basic styles to remove browser defaults */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Navbar container styling */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #7d0acf; /* Dark gray background */
    padding: 15px 30px;
    position: sticky;
    top: 0;
    margin: 10px 20px;       /* Added side gaps so the rounded outer corners are visible */
    border-radius: 12px;     /* Core property to round all 4 corners */
    z-index: 1000;
}

/* Logo styling */
.logo a {
    color: #ffffff;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
}

/* Remove default bullets and stack links horizontally */
.nav-links {
    display: flex;
    list-style: none;
}

/* Add spacing between the navigation items */
.nav-links li {
    padding: 0 15px;
}

/* Style the anchor links */
.nav-links a {
    color: #f2f2f2;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: color 0.3s ease; /* Smooth hover transition */
}

/* Active link indicator */
.nav-links a.active {
    color: #ffffff; /* Distinctive green accent */
}

/* Hover effects for link interactivity */
.nav-links a:hover {
    color: #808080; 
}


/* Configuring the background image of the website */
.bodyimg { 
background-image: url('mac.jpg');
background-attachment: fixed;
background-size: 100%;
}

.center {
display: block;
margin-left: auto;
margin-right: auto;
}

.center15 {
display: block;
margin-left: auto;
margin-right: auto;
width: 50%;
}

.center2 {
display: block;
margin-left: auto;
margin-right: auto;
text-align: center;
white-space: nowrap; 
}

.centered {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.container {
position: relative;
text-align: center;
color: white;
}