* {
    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;
    display: block;
    /* width: 100%; */
}

.button {
  color: white;
  background-color: #763f98;
  border: none;
  border-radius: 50px;
  font-family: 'Mali', cursive;
  padding: 8px 35px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
}

h1,h2,h3 {
    line-height: 1.8;
    font-family: 'Mali', cursive;

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

h2 {
    font-size: 22pt;
    letter-spacing: 1px;
    font-weight: 500;
    color: #ED1C24;
    /* color: #763f98; */
}
h3 {
    font-size: 18pt;
    font-weight: lighter;
    /* color: #763f98; */
}


p {
    font-weight: lighter;
    font-size: 19px;
    color: #545254;
    line-height: 1.8;
    font-weight: 300;
}

.slidee {
    padding: 60px 10px;
    display: grid;
    align-items: center;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
    background: linear-gradient(360deg, rgba(253,243,236,1) 0%, rgb(228 221 239) 100%);
}



/* 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;
    /* 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: #f5efde;
    /* background-color: #9273ac; */
    border-radius: 0px;
    border: 0;
    color: #000;
    /* 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(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: #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: 60px 0px; */
    justify-content: center;
    border-radius: 25px;
    /* max-width: 600px; */
}
.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;
    /* max-width: 200px; */
    /* width: 200px; */
    width: 100%;
    transition: all 0.3s ease-out;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
}
.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 button {
    display: block;
    /* width: 100%; */
    
}
.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;
    font-family: 'Mali', cursive;
}
.flagRecurring button {
    padding: 10px 30px;
    border: 0;
    background-color: white;
    font-size: 15px;
    font-weight: 500;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
    /* 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: 20px;
    padding: 2px 5px 3px 5px;
    border: 0;
    color: white;
    background-color: #763f98;

} */

.SGD, .RGD {
    /* border-radius: 40px; */
    /* display: flex; */
}
.project {
    gap: 8px;
    /* padding-bottom: 15px; */
    display: grid;
    justify-content: center;
    grid-template-columns: 1fr 1fr 1fr;
    /* max-width: 600px; */
    margin: auto;
    font-family: 'Mali', cursive;
    width: 100%;
}
.project button {
    border-radius: 3px;
    border: 0;
    background-color: white;
    font-size: 18px;
    padding: 8px;
    font-weight: 500;
    /* box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px; */
}
.food-main {
    display: none;
}


.blog_card {
    margin: 50px 10px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    word-wrap: break-word;
    background-color: #f5efde;
    background-clip: border-box;
    border: none;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1), 0 1px 20px rgba(0, 0, 0, 0.1);
    border-radius: 1rem;
    padding-top: 25px;
      }

@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 screen and (max-width:  1300px) {
    p { font-size: 20px;}
    h2 {
        font-weight: 500; 
        color: #ED1C24;
        font-size: 24pt; }
    
        .slidee {
            grid-template-columns: 1.2fr 2fr;
        }

  }

  /* ซ่อน .mobile-only บนจอใหญ่ */
.mobile-only {
  display: none;
}


@media (max-width: 600px) {

/* แสดง .mobile-only เฉพาะหน้าจอขนาดเล็ก (มือถือ) */
@media (max-width: 767px) {
  .mobile-only {
    display: inline;
  }
}


    .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 {
        /* background-color: #FCCF55; */
        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;
    }

    p { font-size: 20px;}
    h2 {font-size: 20pt; }

    .slidee {
        display: flex;
        flex-direction: column-reverse;
        padding: 15px;
    }

}

@media (max-width: 450px)  {
    .foods2 {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px 8px;
        /* max-width: 95%;  */

        /* display: flex;
        width: 100%;
        justify-content: space-between;
        align-items: center; */
    }
    .bar-food button {
        padding: 2px 25px 2px 25px;
    }

    .bar-food{
        display: grid;
        grid-template-columns: 1fr;
    }




    p { font-size: 16px; }
    h2 {font-size: 20pt; }
}


