*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}
body{
   font-family: 'Courier New', Courier, monospace;
   background-color: rgb(0, 0, 0);
   color: #ffffff;
    font-family: "Kanit", sans-serif;
    font-weight: 100;
    font-style: normal;
}
h1,h2,h3{
    margin-top:1rem;
    font-weight:700;
}
a{
    text-decoration: none;
    color: #ffffff;
}
ul{
    list-style: none;
}
.main-header{
    background-color: rgb(45, 46, 46);
    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: 800 ;
    
}
.nav-links{
    display: flex;
    gap: 2rem;
}
.nav-links a:hover{
    color: #ec0505;
}
.nav-links a{
    transition: color 0.3s ease;
}
.hero-section{
    height: 90vh;
    display: flex;
    justify-content: center;
    background-color:rgb( 95, 95, 95);
    align-items: center;
    text-align: center;
}
.hero-content h1 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.btn{
    display:inline-block;
    background-color: rgb(1, 3, 37);
    padding: 0.5rem 1rem;
    margin-top: 1rem;
    border-radius: 10px;
    transition: background-color 0.5s ease ;
}
.btn:hover{
    background-color: #ffffff;
}
.about-section, .content-section {
    padding: 4rem 2rem;
    text-align: center;
    /* max-width: 20px */
}
.mb2{
    margin-bottom: 1rem;
}

.projects-section{
    padding: 4rem 2rem;
    background-color: rgb(32, 32, 32);
    text-align: center;
}
.projects-Rattiya{
    display: grid ;
    grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: auto;
}
.projects-card{
    background-color: rgb(3, 86, 194);
    border: 1px rgb(253, 253, 253);
    border-radius:5px;
    box-shadow: 0 2px 10px rgb(15, 15, 15);
    transition: transform 0.3 ease;
}
.projects-card:hover{
    transform: translateY(-5px);
}
.projects-card img{
    width: 100%;
    height: auto;
    border-radius: 8px 8px 0 0;
    display: block;
}
.projects-card h3{
    margin: 1rem 0 0.5rem;
    font-size: 1.5rem;
}
.projects-card p{
    margin-bottom: 1rem;
}
.btn-small{
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgb(166, 201, 248);
    border-radius: 5px;
    margin-bottom: 1rem;
    transition: background-color 0.3s ease;
    margin-top: 2rem;
}
.btn-small:hover{
    background-color: #f4f9fc;
}
.main-footer{
    background-color: rgb(70, 64, 64);
    color: #ffffff;
    text-align: center;
    padding: 1.5rem 0;
}
h2{
    text-align: center;
}
