* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #08081c;
    padding: 20px;
}

.header {
    position: fixed; /* Keeps the header at the top */
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 10%;
    background: #08081c; /* Set a background color for visibility */
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo {
    font-size: 25px;
    color: white;
    font-weight: 800;
}

.navbar a {
    cursor: pointer;
    font-size: 18px;
    color: white;
    font-weight: 600;
    margin-left: 35px;
    transition: all .5s ease;
}

.navbar a:hover {
    color: #00abf0;
}

.navbar a.active {
    color: #00abf0;
    text-decoration: underline;
    text-underline-offset: 1rem;
}

h1 {
    font-size: 36px;
    color: #506cfc;
    margin-top: 80px; 
    text-align: center; 
    padding: 30px;
}

.projects {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.project {
    background-color: #38343c;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
}

.project img {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    margin-right: 20px;
    object-fit: cover;
}

.project-details {
    flex: 1;
}

h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #fff;
}

p {
    font-size: 16px;
    margin-bottom: 10px;
    color: #fff;
}

a {
    font-size: 16px;
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.footer {
    margin-top: 40px; 
    padding: 10px 0; 
    background-color: transparent; 
    text-align: center; 
    color: white; 
}
.project {
    background-color: #38343c;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    width: 50%; /* Reduced the width */
    margin: 0 auto; /* Center the project box */
}
