/* General styling */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background: url('https://logincdn.msftauth.net/shared/5/images/2_bc3d32a696895f78c19d.svg') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    flex-direction: column;
    height: 100vh;
    color: black; /* Change text color to black */
}

/* Header styling */
header {
    background-color: rgba(30, 117, 188, 0.9); /* Slightly transparent to blend with background */
    padding: 0 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
}

nav ul li {
    margin: 0 20px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 16px;
    padding: 10px 20px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

nav ul li a:hover {
    background-color: #005ea6;
}

/* Main content styling */
main {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    text-align: center;
    padding: 20px;
}

.portfolio {
    max-width: 800px;
    background: rgba(255, 255, 255, 0.8); /* Background for better readability */
    padding: 20px;
    border-radius: 10px;
}

.portfolio h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.portfolio-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.portfolio-item {
    background: rgba(0, 0, 0, 0.1); /* Slight transparency for project items */
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 15px;
    margin: 10px;
    width: 250px;
    transition: transform 0.3s;
}

.portfolio-item h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.portfolio-item p {
    font-size: 16px;
}

.portfolio-item:hover {
    transform: scale(1.05); /* Slightly enlarge the item on hover */
}

.project-link {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #1e75bc;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.project-link:hover {
    background-color: #005ea6;
}
