*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}
body{
    font-family: 'Kanit';
    background-color: rgb(183, 71, 218);
    color: rgb(19, 18, 17)
}
h1,h2,h3{
    margin-top: 1rem;
    font-weight: 800;
}
a{
    text-decoration: none;
    color: rgb(241, 234, 233);
}
ul{
    list-style: none;
}
.main-header {
    background-color: rgb(51, 28, 50);
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: auto;
    padding: 0 2rem;
}
.logo{
    font-size: 1.5rem;
    font-weight: 700;

}
.nav-links {
    display: flex;
    gap: 2rem;
}
.nav-links a:hover {
    color: rgb(201, 128, 179);
}
.nav-links a{
    transition: color 0.3s ease;
}
.hero-section{
    height: 90vh;
    display: flex;
    justify-content: center;
    background-color: rgb(238, 238, 221);
    align-items: center;
    text-align: center;
}
.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;

}
.btn{
    background-color: rgb(139, 38, 38);
    padding: 0.5rem 1rem;
    margin-top: 1rem;
    display: inline-block;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}
.btn:hover{
    background-color: rgb(192, 171, 171);

}
.about-section, .contact-section{
    padding: 4rem 2rem; 
    text-align: center;
    background: rgb(199, 77, 124);
}
.mb2{
    margin-bottom: 1rem;
}
.project-section{
    padding: 4rem 2rem;
    background: rgb(230, 216, 236);
    text-align: center;
}
.project-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: auto;
}
.project-card{
    box-shadow: 0 2px 10px rgb(165, 212, 103);
    border: 1px solid black;
    background-color: antiquewhite;
    border-radius: 8px;
    transition: transform 0.3s ease;
    padding: 1rem;
}
.project-card:hover{
    transform: translateY(-5px);
}
.project-card img{
    width: 100%;
    height: auto;
    border-radius: 8px 8px 0 0;
    display: block;
}
.project-card h3{
    margin: 0.5rem;
    font-size: 1.5rem;
}
.project-card p{
    margin-bottom: 1rem;
}
.btn-small{
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgb(176, 173, 226);
    border-radius: 5px;
    margin-bottom: 1rem;
    transition: background-color 0.3s ease;
}
.btn-small:hover{
    background-color: rgb(70, 139, 196);
}
.main-footer{
    background-color: rgb(112, 15, 15);
    color: rgb(233, 54, 194);
    text-align: center;
    padding: 1.5rem 0;
}