html {
    scroll-behavior: smooth;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    background-color: #eaeaea;
}
h1, h2, h3 , b {
    /* font-family: 'Kanit', sans-serif; */
    /* font-family: 'IBM Plex Sans Thai', sans-serif; */
    /* font-family: 'Sarabun', sans-serif; */
    font-family: 'IBM Plex Sans Thai', sans-serif;
    font-weight: 700;
 
}
b {
    font-weight: 800; 
}

h1 {
    font-size: 24px;   
    line-height: 1.8;
}
h2 {
    font-size: 20px;
    line-height: 1.6;
}
h3 {
    font-size: 18px;
    line-height: 1.5;
}
p,li {
    font-size: 18px;
    line-height: 1.8;
    font-family: 'Sarabun', sans-serif;
    color: #4c4c4c;
}
/* span {
    font-size: 12px;
    font-family: 'Sarabun', sans-serif;
    color: #4c4c4c;
} */
img {
    width: 100%;
}
ol {
    padding-left: 15px;
}
.icon {
    text-align: center;
}
.icon span {
    color: #603913;
    font-size: 16px;
    font-family: 'Kanit';
    font-weight: bold;
}
section {
    padding: 10px 0px;
    overflow: hidden;
}
.container {
    max-width: 1300px;
    margin: auto;
    padding: 0px 15px;
}
.title {
    padding-top: 40%;
}
.slider {
    background-color: #e1dcd3;
    position: relative;
    z-index: 10;
    overflow: hidden;
    /* padding-top: 100px; */
    /* background: rgb(253,243,236); */
    /* background: linear-gradient(315deg, rgb(153 153 150) 0%, rgb(210 210 210) 52%, rgb(255 233 214) 100%); */
}
.slider .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
    max-width: 800px;
    padding: 20px 50px;
    gap: 10px;
}
.slider::before {
    content: '';
    background-color: #948d82;
    width: 100%;
    height: 25%;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -1;
}
/* .content {
    padding: 15px;
    border: solid 1px #efefefef;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 1.5px 12px 2px rgb(0 0 0 / 6%);
} */
.bar {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    gap: 10px;
}
.box img {
    width: 180px;
    border-radius: 20px;
    border-radius: 50%;
}
.box {
    display: flex;
    /* border: solid 1px #efefefef; */
    align-items: center;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1.5px 12px 2px rgb(0 0 0 / 6%);
    background-color: white;
    padding: 5px;
    margin-top: 13px;
}
.box-detail {
    padding: 10px;
}

.column2 {
    padding-top: 35px;
    padding: 25px;
    /* padding-left: 30px; */
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 1.5px 12px 2px rgb(0 0 0 / 6%);
    align-items: center;
}

#more {
    max-height: 600px;
    position: relative;
    transition: all 3s ease-out;
}
.redmore {
    background: rgb(255,255,255);
    background: linear-gradient(0deg, rgba(255,255,255,1) 50%, rgba(0,0,0,0) 100%);
    width: 100%;
    height: 160px;
    position: absolute;
    bottom: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.redmore button {
    background-color: #8966a7;
    color: white;
    font-size: 16px;
    padding: 10px 25px;
    border: 0;
    border-radius: 5px;
}


@keyframes fade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@media (max-width: 1000px) {
    .box {
        display: flex;
        flex-direction: column;
    }
}
@media (max-width: 600px) {
    /* .slider {
        padding: 10px;
    }
    .slider::before {
        height: 15%;
    }
    .slider img:nth-child(4) {
        display: none;
    } */
    /* .title {
        padding: 50px;
    } */
    .slider .container {
        grid-template-columns: 1fr 1fr !important;
    }
    .container {
        grid-template-columns: 1fr !important;
        padding-top: 0px !important;
    }
    .bar {
        grid-template-columns: 1fr 1fr 1fr;
    }


}