* {
    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.5;
    font-family: 'Mali', cursive;

}
h1 {
    font-size: 26pt;
    letter-spacing: 1px;
    font-weight: bold;
    color: #763f98;
}

h2 {
    font-size: 22pt;
    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;
}

.box1 {
    padding: 20px;
    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 #763f98;
    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(2px 1px 1px #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: #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; */

    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;


    gap: 50px 15px;
    margin: auto;
    padding: 3% 15px;
    /* justify-content: center; */
    /* border-radius: 25px; */
    /* background-color: #ae99cc; */
    /* background-color: #e3d9f1; */
    border-radius:20px;
}



.food2 {
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 1.5px 12px 2px rgb(0 0 0 / 6%);
    padding: 0px 10px 2px 10px;
    cursor: pointer;
    width: 100%;
    /* width: 180px; */
    /* max-width: 180px; */
    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: -5px 1px 0px 1px;
    /* margin-top: -10px; */
    /* transform: translate(0px, -40px); */
    filter: drop-shadow(1px 1px 1px #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: #763f98;
    color: white;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 3px;
}
.flagRecurring {
    padding: 0px 20px 0px 20px;
    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: 85%;
    padding: 2px;
    background: transparent;
    /* padding: 5px;
    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: 3px 10px 4px 10px;
    border: 0;
    color: white;
    background-color: #763f98;
    justify-content: center;

    width: 100%;
    margin: 5px 0 5px 0;

}



.SGD, .RGD {
    border-radius: 40px;
}
.project {
font-family: 'Mali', cursive;
}

.project {
    /* padding-bottom: 15px; */
    display: grid;
    justify-content: center;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    width: 100%;
    /* max-width: 600px; */
    margin: auto;

}
.project button {
    border-radius: 10px 10px 0 0;
    /* border-radius: 3px; */
    border: 0;
    background-color: white;
    font-size: 16px;
    padding: 15px;
}










.food-main {
    display: none;
}







@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; */
        display: flex;
        max-width: 100%;
        flex-direction: column;


    }
    .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: 500px) {




    /* .food-preview {
        position: fixed;
        left: 0;
        bottom: 0;
        width: 100%;
        background-color: red;
        color: white;
        text-align: center;
     
    } */
h2 {
      line-height: 1.7;
}



    .foods2 {
        display: flex;
        width: 100%;
        justify-content: space-between;
        align-items: center;
        gap: 20px 8px;
        /* grid-template-columns: 1fr; */
        /* display: flex;
        max-width: 100%;
        flex-direction: column; */
    } 


    .Git {
        position: relative;
        /* display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
        flex-direction: row; */

        display: grid;
        grid-template-columns: 1fr 1.5fr;
        justify-content: center;

    }
   
    .food2 .imgBx {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin-top: 5%;
    }

    .name-food p {
        text-align: center;
        border-top: solid 0px gainsboro;
        border-bottom: solid 1px gainsboro;
        padding: 5px;
    }


    .food2 img {
        flex-basis: 30%;
        padding: 10px;
        margin: -5px 1px 0px 1px;
        /* margin-top: -10px; */
        /* transform: translate(0px, -40px); */
        filter: drop-shadow(1px 1px 1px #cacaca);

        grid-row: span 2;
    }




    .food2 .details {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 50%;
    } 







}