*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background-color: #0b0d10;
    color: #e6e6e6;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.navbar{
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 24px;
    background-color: rgba(16, 4, 57, 0.9);
    border-bottom: 1px solid rgba(223, 217, 243, 0.9);
}

.nav-left{
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-left nav{
    display: flex;
    gap: 40px;
}

#navlogo{
    height: 30px;
    display: block;
}

.navbar a{
    color: #e6e6e6;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease 0s;
}

.navbar a:hover{
    opacity: 0.85;
}

.nav-right a{
    font-weight: 600;
}

.Projects{
    display: grid;
    grid-template-columns: repeat(2, minmax(320px, 450px));
    gap: 50px;
    justify-content: center;
    margin-inline: auto;
    padding: 40px 24px;
}


.project-card{
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.project-card img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s linear;
}

.project-card:hover img{
    transform: scale(1.08);
}

.overlay{
    position: absolute;
    inset: 0;
    background: rgba(11, 13, 16, 0.75);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    transition: opacity 0.5s linear 0s;
}

.project-card:hover .overlay,
.project-card:focus-within .overlay{
    opacity: 1;
}

.overlay h2,
.overlay p{
    transform: translateY(10px);
    transition: transform 0.4s ease 0s;
}

.project-card:hover .overlay h2,
.project-card:hover .overlay p,
.project-card:focus-within .overlay h2,
.project-card:focus-within .overlay p{
    transform: translateY(0);
}

.overlay h2{
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 6px;
}

.overlay p{
    font-size: 14px;
    opacity: 0.75;
}