html{
    scroll-behavior: smooth;
}

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

body{
    background-color: black;
    color: #f5f5f5;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

.about-page {
    padding: 60px 80px;
}

.main{
   
    padding: 30px 8% 20px 8%;
}

.page{
    padding: 0px 8% 40px 8%;
}

nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.home-btn a{
    color: #d1d1d1;
    text-decoration: none;
}

.links{
    display: flex;
    gap: 30px;
}

.links a{
    color: #d1d1d1;
    text-decoration: none;
    transition: 0.3s;
}

.links a:hover{
    color: white;
}

.hero{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
}

.description{
    flex: 1;
}

.mini-text{
    color: #888;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.description h2{
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 20px;
}

.info{
    color: #b5b5b5;
    margin-bottom: 30px;
}

.buttons{
    display: flex;
    gap: 20px;
}

.primary-btn{
    background: white;
    color: black;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    transition: 0.3s;
}

.primary-btn:hover{
    opacity: 0.8;
}

.secondary-btn{
    border: 1px solid #444;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    transition: 0.3s;
}

.secondary-btn:hover{
    background: #1f1f1f;
}

.ian-foto{
    flex: 1;
    display: flex;
    justify-content: center;
}

.ian-foto img{
    width: 400px;
    max-width: 100%;
    border-radius: 30px;
    object-fit: cover;
    display: block;
}

.section-title{
    margin-bottom: 15px;
}

.section-title p{
    color: #888;
}

.section-title h3{
    font-size: 2rem;
    font-weight: 400;
}

.project-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.project-box{
    background: #161616;
    border-radius: 20px;
    overflow: hidden;
    transition: 0.3s;
}

.project-box:hover{
    transform: translateY(-8px);
}

.project-image img{
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.project-content{
    padding: 20px;
}

.project-content h4{
    margin-bottom: 10px;
}

.project-content p{
    color: #aaa;
    margin-bottom: 15px;
}

.project-content a{
    color: white;
    text-decoration: none;
}

footer{
    padding: 50px 8%;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #1f1f1f;
}

.footer-links{
    display: flex;
    gap: 20px;
}

.footer-links a{
    color: #888;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover{
    color: white;
}

@media(max-width: 768px){

    nav{
        flex-direction: column;
        gap: 20px;
    }

    .links{
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero{
        flex-direction: column;
        text-align: center;
    }

    .description h2{
        font-size: 2rem;
    }

    .buttons{
        flex-direction: column;
        align-items: center;
    }

    .project-grid{
        grid-template-columns: 1fr;
    }

    footer{
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer-links{
        justify-content: center;
        flex-wrap: wrap;
    }
}