*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}
body{
    font-family: 'Kanit', sans-serif;
    background-color: blanchedalmond;
    color: rgb(117, 46, 5);
}
h1,h2,h3{
    margin-top: 1rem;
    font-weight: 900;
}
a{
    text-decoration: rgb(149, 176, 250);
    color: rgb(12, 5, 1);
}
ul{
    list-style: none;
}
.main-header{
    background-color: rgb(245, 86, 65);
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.navbar{
    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(172, 37, 37);
}
.nav-links a{
    transition: color 0.3s ease;
}
.hero-section{
    height: 90vh;
    display: flex;
    justify-content: center;
    background-color: rgb(255, 233, 191);
    align-items: center;
    text-align: center;
}
.hero-content h1{
    font-size: 2rem;
    margin-bottom: 1rem;
}
.btn{
    display: inline-block;
    background-color: rgb(250, 105, 79);
    padding: 0.5rem 1rem;
    margin-top: 1rem;
    border-radius: 10px;
    transition: background-color 0.5s ease;
}
.btn:hover{
    background-color: rgb(250, 154, 167);
}
.about-section, .contact-section{
    padding: 4rem 2rem;
    text-align: center;
    background-color: aliceblue;
}
.mb2{
    margin-bottom: 1rem;
}
.porjects-section{
    padding: 4rem 2rem;
    background-color: rgb(255, 199, 136);
    text-align: center;
}
.porject-patcharapa{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: auto;
}
.porject-card{
    background-color: aliceblue;
    border: 1px solid rgb(0, 0, 0);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgb(117, 46, 5);
    transition:  transform 0.3s ease;
}
.porject-card:hover{
    transform: translateY(-5px);
}
.porject-card img{
    width: 100%;
    height:auto;
    display: block;
    border-radius: 8px 8px 0 0;
}
.porject-card h3{
    margin: 1rem 0 0.5rem;
    font-size: 1.5rem;
}
.porject-card p{
    margin-bottom: 1rem;
}
.btn-small{
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgb(255, 58, 58);
    border-radius: 5px;
    margin-bottom: 1rem;
    transition: background-color 0.5s ease;
}
.btn-small:hover{
    background-color: rgb(255, 187, 187);
}
.main-footer{
    background-color: rgb(248, 200, 155);
    color: rgb(99, 59, 8);
    text-align: center;
    padding: 1.5rem;
}
.porject-card p{
    padding: 2rem;
}
.porjects-section{
    margin-bottom: 1rem;
}
.minipro{
    text-align: center;
}
.minipro p{
    text-align: center;
    font-size: 20px;
    margin-bottom: 1rem;
}
.waok-back{
    margin: auto;
    margin-right: 12px;
    font-size: 3rem;
}
.box4{
    justify-content: center;
    display: flex;
    gap: 10px;
}
img{
    width: 300px;
}
.box4{
    margin-top: 5rem;
    margin-bottom: 5.5rem;
}
.minipro{
    margin-top: 3rem;
}
.line{
    text-align: center;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}
.btn-small{
    margin-top: 2rem;
}