@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@100;400&display=swaphttps://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Thai+Looped:wght@100;200;300;400;500;600;700&family=Mali:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');

body {
  font-family: "Mali", cursive;
  font-weight: 400;
  font-style: normal;
}
/* Overall Page Styling */
body {
  font-family: "Mali", cursive;
  background-color: #FFF3E0; /* Light pink background */
  margin: 0;
  padding: 0;
}

/* Header */
h1 {
  font-family: "Mali", cursive;
  text-align: center;
  color: #3a9dd7; /* Dark pink color */
  font-size: 2.5rem;
}
h2 {
  font-family: "Mali", cursive;
  text-align: center;
  color: #3a9dd7; /* Dark pink color */
  font-size: 16px;
}
/* Buttons */
.btn {
  font-family: "Mali", cursive;
  display: inline-block;
  padding: 10px 20px;
  margin: 10px 0;
  background-color: #42a87a; /* Medium pink */
  color: white;
  text-decoration: none;
  border-radius: 20px;
  transition: background-color 0.3s, transform 0.2s;
  /* margin-left: 500px;  */
}

.btn[name="add"] {
  font-family: "Mali", cursive;
  display: inline-block;
  padding: 10px 20px;
  margin: 10px 0;
  background-color: #42a87a; /* Medium pink */
  color: white;
  text-decoration: none;
  border-radius: 20px;
  transition: background-color 0.3s, transform 0.2s;
  margin-left: 500px;
}

.btn:hover {
  background-color: #42a87a; /* Dark pink */
  transform: scale(1.05); /* Slight grow on hover */
}

/* Dessert List */
.dessert-list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.dessert-item {
  
  width: 70%;
  background-color: #fff;
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: box-shadow 0.3s;
}

.dessert-item:hover {
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.dessert-item img {
  width: 100%;
  border-radius: 20px;
  margin-bottom: 10px;
}

.dessert-item h2 {
  font-family: "Mali", cursive;
  font-size: 18px;
  color: #42a87a; /* Deep pink */
}

.dessert-item p {
  font-family: "Mali", cursive;
  color: #555;
  font-size: 1rem;
}

.dessert-item .price {
  font-family: "Mali", cursive;
  font-size: 1.2rem;
  color: #42a87a; /* Dark pink */
  font-weight: bold;
}

/* Navigation Bar */
.navbar {
  font-family: "Mali", cursive;
  background-color: #3a9dd7; /* Light pink */
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 3px solid #ffcc6e; /* Pink border */
}

.navbar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.navbar ul li {
  margin-right: 20px;
}

.navbar ul li a {
  font-family: "Mali", cursive;
  color: #3a9dd7; /* Dark pink */
  text-decoration: none;
  padding: 10px 20px;
  background-color: #ffcc6e; /* Lighter pink */
  border-radius: 10px;
  transition: background-color 0.3s, transform 0.2s;
}

.navbar ul li a:hover {
  background-color: #ffcc6e; /* Medium pink */
  transform: scale(1.05); /* Slight grow */
}

/* Search Form in Navbar */
.search-form {
  display: flex;
  align-items: center;
}

.search-form input[type="text"] {
  font-family: "Mali", cursive;
  padding: 8px;
  border: 1px solid #ffcc6e;
  border-radius: 100px;
  margin-right: 200px;
}

.search-form button {
  font-family: "Mali", cursive;
  padding: 8px 16px;
  background-color: #ffcc6e;
  color: white;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.search-form button:hover {
  background-color: #52d198;
}

/* Contact Form Styles */
form {
  display: flex;
  flex-direction: column;
}

form label {
  font-family: "Mali", cursive;
  font-size: 1.1rem;
  color: #42a87a;
}

form input[type="text"], form input[type="email"], form textarea {
  font-family: "Mali", cursive;
  padding: 10px;
  margin-top: 5px;
  margin-bottom: 15px;
  border: 1px solid #42a87a;
  border-radius: 8px;
  font-size: 1rem;
}

form textarea {
  resize: vertical;
}

form button {
  font-family: "Mali", cursive;
  padding: 10px 20px;
  background-color: #42a87a;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

form button:hover {
  background-color: #42a87a;
  transform: scale(1.05);
}

/* Adjustments for mobile devices */
@media (max-width: 768px) {
  .dessert-item {
      width: 90%;
  }

  .navbar ul {
      flex-direction: column;
  }

  .navbar ul li {
      margin-bottom: 10px;
  }
}

