body {
    margin: 0;
    font-family: "IBM Plex Sans Thai", sans-serif;

    background-image: url(https://images.creativefabrica.com/products/previews/2024/06/18/t7NvskdqR/2i3TK603pRdrEiN7mnoSa6EurvY-mobile.jpg);
    background-size: 40px 40px;
    background-color: #a1887f;
    color: #3e2723;
    scroll-behavior: smooth;
}

header {
    background-color: #3d2924;
    color: #fff8e1;
    text-align: center;
    padding: 2rem 1rem 1rem;
}

.arno {
    font-size: 3rem;
    margin: 0;
    font-weight: bold;
}

.navbar {
    display: flex;
    justify-content: center;
    background-color: #6d4c41;
    gap: 2rem;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar a {
    color: #fff8e1;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    transition: background-color 0.3s;
}

.navbar a:hover {
    background-color: #8d6e63;
}

section {
    padding: 3rem 1rem;
    max-width: 1000px;
    margin: 0 auto;
    background-color: #f5f5dc;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(78, 52, 46, 0.2);
    margin-top: 2rem;
}

.about,
.port {
    margin-bottom: 4rem;
    text-align: center;
}
img {
    width: 500px;
    height: auto;
    max-width: 90%;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
    align-items: center;
    margin-left: 15rem;
    margin-bottom: 2rem;
}
img:hover {
    transform: scale(1.03);
}
.work {
    text-align: center;
}

ul {
    list-style: none;
    padding-left: 0;
    text-align: center;
}

ul li {
    margin: 1rem 0;
    font-size: 1.2rem;
}
.chess {
    margin-left: 4rem;
}
.chess-2 {
    margin-left: 14rem;
}
.aboutme {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #3e2723;
}

p {
    font-size: 1.2rem;
    line-height: 1.8;
}

a {
    color: #4e342e;
    font-weight: bold;
    text-decoration: none;
}

footer {
    background-color: #3d2924;
    color: #fff8e1;
    padding: 2rem 1rem;
    text-align: center;
    margin-top: 4rem;
}

footer a {
    color: #fff8e1;
    text-decoration: underline;
}

footer a:hover {
    color: #ffe0b2;
}