@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;700&display=swap');

body{
    margin:0;
    background:#f5f5f3;
    color:#1d1d1d;
    font-family:'Space Grotesk',sans-serif;
    line-height:1.8;
    -webkit-font-smoothing:antialiased;
}

header{
    padding:28px 0;
    border-bottom:1px solid #e6e6e6;
    background:#fafaf8;
}

.nav-container{
    max-width:1100px;
    margin:0 auto;
    padding:0 25px;
}

.nav-container a{
    text-decoration:none;
    color:#222;
    margin-right:26px;
    font-size:15px;
    font-weight:500;
    letter-spacing:0.02em;
    transition:opacity .2s ease;
}

.nav-container a:hover{
    opacity:.6;
}

.page-container{
    max-width:920px;
    margin:0 auto;
    padding:70px 25px 90px;
}

h1{
    font-size:64px;
    line-height:1.05;
    margin-bottom:18px;
    font-weight:700;
    letter-spacing:-0.03em;
}

h2{
    font-size:32px;
    margin-top:50px;
    margin-bottom:18px;
    font-weight:600;
    letter-spacing:-0.02em;
}

h3{
    font-size:24px;
    margin-top:18px;
    font-weight:600;
}

h4{
    font-size:18px;
    font-weight:400;
    color:#666;
}

p{
    font-size:18px;
    color:#333;
    margin-bottom:28px;
}

ul{
    font-size:18px;
    color:#333;
    padding-left:25px;
    margin-bottom:30px;
}

li{
    margin-bottom:10px;
}

img{
    width:100%;
    height:auto;
    border-radius:10px;
    margin:28px 0 35px;
    display:block;
}

.project-grid{
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:40px;
    margin-top:50px;
}

.project-card{
    text-decoration:none;
    color:inherit;
    transition:transform .2s ease, opacity .2s ease;
}

.project-card:hover{
    transform:translateY(-4px);
    opacity:.92;
}

.project-card img{
    margin:0;
}

.project-card h3{
    margin-top:16px;
}

.profile-photo{
    width:240px;
    max-width:100%;
    border-radius:14px;
    margin:30px 0 40px;
}

.skills{
    font-weight:600;
}

.right-title{
    text-align:right;
}

.hero-image,
.full-image{
    width:100%;
}

.image-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
    margin:35px 0;
}

.image-grid img{
    margin:0;
}

footer{
    border-top:1px solid #e6e6e6;
    padding:35px 25px;
    text-align:center;
    color:#777;
    font-size:14px;
    background:#fafaf8;
}

a{
    color:#1d1d1d;
}

@media(max-width:768px){

    h1{
        font-size:42px;
    }

    h2{
        font-size:26px;
    }

    p,
    ul{
        font-size:17px;
    }

    .project-grid{
        grid-template-columns:1fr;
        gap:30px;
    }

    .right-title{
        text-align:left;
    }

    .nav-container a{
        display:inline-block;
        margin-bottom:10px;
    }

    .image-grid{
        grid-template-columns:1fr;
    }
}