* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Sarabun', sans-serif;
}
html {
    scroll-behavior: smooth;
  }
img {
    width: 100%;
}
input {
    font-size: 16px;
}
button {
    color: black;
}




p {
    font-weight: lighter;
    font-size: 16px;
    color: #545254;
    line-height: 1.8;
}
h1,h2,h3 {
    line-height: 1.8;
}
h1 {
    /* font-size: 24pt;
    letter-spacing: 1px;
    font-weight: bold;
    color: #763f98; */
}

h2 {
    font-size: 16pt;
    letter-spacing: 1px;
    font-weight: bold;
    color: #763f98;
}
h3 {
    font-size: 16px;
    font-weight: lighter;
    color: #763f98;
}
/* header {
    box-shadow: 0 1.5px 12px 2px rgb(0 0 0 / 6%);
} */
.container {
    max-width: 1300px;
    margin: auto;
    padding: 0px 15px;
}
.food-container {
    display: grid;
    grid-template-columns: 2fr 1.2fr;
    gap: 10px;
    justify-items: center;
    padding: 50px 0px;
}
.rice {
    width: 200px;
    height: 200px;
    border: solid 6px;
    border-radius: 50%;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
}
.foods {
    display: flex;
    gap: 15px;
    min-height: 120px;
    justify-content: center;
}
.food {
    border: solid 3px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.list-food {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}
.list-food label {
    box-shadow: 0 1.5px 4px 1px rgb(0 0 0 / 6%);
    padding: 10px;
    cursor: pointer;
    background-color: white;
    border-radius: 3px;
}
form {
    max-width: 600px;
    margin: auto;
}
input[type="checkbox"]:checked + label{ 
    background-color: #9273ac;
    color: white;
}
input[name="more"] {
    font-size: 16px;
    border-radius: 0;
    padding: 10px;
    border: 0;
    background-color: #efefefef;
    outline: none;
}
form button {
    font-size: 20px;
    font-weight: bold;
    padding: 10px 50px;
    background-color: #9273ac;
    border-radius: 0px;
    border: 0;
    color: white;
}
.slide-pay {
    transition: all 0.3s ease-in-out;
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 200%;
    position: relative;
    left: 0%;
    gap: 10px;
    padding: 0px 10px;
}

.contents {
    display: grid;
    /* grid-template-columns: 1fr 1fr; */
    gap: 15px;
}
.title1 {
    font-size: 24pt;
    font-weight: bold;
    letter-spacing: 1px;
    border-radius: 17px;
    display: inline-block;
    color: #763f98;
}
.title2 {
    padding: 15px 0px;
}
.list-food {
    padding-top: 30px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    align-items: center;
}

.boxA1 {
    padding: 20px;
    border: solid 3px #BB882C;
    /* border: dashed 3px #763f98; */
    border-radius: 30px;
    /* background-color: aliceblue; */
    /* margin: 20px; */
  }

  #one {
    position: relative;
    top:20px;
    right: 20px;
  }

.symptom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 15px;
    border: dashed 3px #bb882c;
    border-radius: 30px;
    background-color: aliceblue;
}

.symptom-grid img:nth-child(1) {
    animation: symptom 7s 0s infinite;
}
.symptom-grid img:nth-child(2) {
    animation: symptom 7s 1s infinite;
}
.symptom-grid img:nth-child(3) {
    animation: symptom 7s 2s infinite;
}
.symptom-grid img:nth-child(4) {
    animation: symptom 7s 3s infinite;
}
.symptom-grid img:nth-child(5) {
    animation: symptom 7s 4s infinite;
}
.symptom-grid img:nth-child(6) {
    animation: symptom 7s 5s infinite;
}

.food-preview {
    border-radius: 100% 0px 0px 0px;
    padding: 20px 0px;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    transform: translate(0px, -40px);
    /*background-color: antiquewhite;*/
}
section#Sdonate {
    /*background-color: beige;*/
    padding-top: 30px;
}
.food-preview img {
    max-width: 300px;
    padding: 15px;
    filter: drop-shadow(3px 3px 3px #cacaca);
}
h1.menu2 {
    font-size: 35px;
}
p.detail2 {
    font-size: 25px;
}
h2.price2 {
    font-size: 55px;
}
.food-preview button {
    padding: 8px 40px;
    border-radius: 50px;
    border: 0;
    background-color: #bb882c;
    /* background-color: #763f98; */
    color: white;
    font-size: 20px;
    transition: all 0.3s ease-out;
}
.food-preview button:hover {
    box-shadow: 0 1.5px 12px 2px rgb(0 0 0 / 30%);
}
.foods2 {
    
    /* display: flex; */
    gap: 50px 15px;
    margin: auto;
    padding: 30px 0px;
    justify-content: center;
    border-radius: 25px;
}
.food2 {
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 1.5px 12px 2px rgb(0 0 0 / 6%);
    padding: 15px 15px 20px 20px;

    /* padding: 0px 10px 2px 10px; */
    cursor: pointer;
    /*max-width: 200px;*/
    transition: all 0.3s ease-out;
}
.food2:hover {
    box-shadow: 0 1.5px 12px 2px rgb(0 0 0 / 33%);
}
.food2 img {
    padding: 10px;
    margin-top: -45px;
    /* transform: translate(0px, -40px); */
    filter: drop-shadow(3px 3px 3px #cacaca);
}
.food2 h3 {
    text-align: center;

}
.name-food p {
    text-align: center;
    border-top: solid 1px gainsboro;
    border-bottom: solid 1px gainsboro;
    padding: 5px;
}
.bar-food {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
i.fa-solid.fa-plus {
    background-color: #bb882c;
    /* background-color: #763f98; */
    color: white;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 3px;
}
.flagRecurring {
  
    display: flex;
    justify-content: center;
    gap: 10px;
}
.flagRecurring button {
    /* padding: 6px 25px; */
    border: 0;
    background-color: white;
    font-size: 14px;
    font-weight: bold;
}
.bar-food input[type="number"] {
    border-radius: 3px;
    border: solid 1px gainsboro;
    width: 93%;
    padding: 5px;
    background: transparent;
    margin: 4px 0px;
}
.preview {
    /* animation: fade-2 1s ease-in-out; */
    transition: all 0.3s ease-out;
}
.bar-food button {
    font-size: 14px;
    border-radius: 50px;
    padding: 5px 15px 5px 15px;
    border: 0;
    color: white;
    /* background-color: #763f98; */
    background-color: #bb882c;
}
.SGD, .RGD {
    /* border-radius: 40px; */
}
.project {
    gap: 8px;
    padding-bottom: 15px;
    display: grid;
    justify-content: center;
    grid-template-columns: 1fr 1fr 1fr;
    max-width: 600px;
    margin: auto;
}
.project button {
    border-radius: 3px;
    border: 0;
    background-color: white;
    font-size: 16px;
    padding: 8px;
}
.food-main {
    display: none;
}



.grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    grid-template-areas: 
        'box1 box2 box3' 
        'box4 box5 box6'
    ;
    grid-gap: 15px 15px;
    max-width: 800px;
    margin: auto;
}

        .box {
        transition: all 0.3s ease-out;
        padding: 10px;
        border-radius: 12px;
        color: #6c6c6c;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 1.5px 12px 2px rgb(0 0 0 / 6%);
}

.box span {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: solid 3px white;
    font-size: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
}

.box h3 {
    /* font-family: 'Kanit'; */
    font-weight: 300;
    padding: 15px 5px;
    font-size: 20px;
}
.box img {
    width: 100%;
}
.box1 {
    grid-area: box1;
}
.box2 {
    grid-area: box2;
}
.box3 {
    grid-area: box3;
}
.box4 {
    grid-area: box4;
}
.box5 {
    grid-area: box5;
}

.grid i {
    font-size: 70px;
    padding: 28px 20px 20px 20px;
}


.carousel {
    width: 100%;
    max-width: 700px;
    margin: auto;
    overflow: hidden;
}
.carousel2 {
    transition: all 0.4s ease-out;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    width: 700%;
    position: relative;
    left: 0;
}



@keyframes symptom {
    0% {
        transform: scale(1);
    }
    10% {
        transform: scale(1.2);
        animation-duration: 6s;
    }
    40% {
        transform: scale(1);
    }
    100% {
        transform: scale(1);
    }
}
@keyframes fade-2 {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
@media (max-width: 650px) {
    .contents {
        display: block;
    }
    .food-container {
        display: flex;
        align-items: center;
        flex-direction: column;
    }
    .list-food {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
    }
    .title1 {
        display: table;
        margin: 15px auto;
    }
    .grid-2 {
        grid-template-columns: 1fr;
    }
    .food-preview button {
        padding: 4px 35px;
    }
    .food-preview {
        justify-content: start;
    }
    .food-preview img {
        max-width: 180px;
        padding: 0px;
    }
    h1.menu2 {
        font-size: 22px;
    }
    p.detail2 {
        font-size: 18px;
    }
    h2.price2 {
        font-size: 30px;
    }
    .foods2 {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
    }
    .col {
        padding: 0px !important;
    }
    section#Sdonate {
        padding-top: 40px;
    }
    #hero {
        width: 115%;
        margin-left: -10%;
    }
    .person {
        display: none;
    }
    .foods2 {
        /* gap: 50px 8px; */
    }
}
@media (max-width: 450px) {
    .foods2 {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}