* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: Arial, sans-serif;
    background-color: #f0f8ff; /* ฟ้าอ่อน */
    color: #333;
  }
  
  .container {
    display: flex;
    flex-direction: column; /* กำหนดให้ header เป็นแนวตั้ง */
  }
  
  .header {
    background-color: #00bcd4; /* ฟ้าสดใส */
    color: white;
    padding: 20px;
    width: 100%;
    text-align: center;
  }
  
  .sidebar {
    background-color: #1e88e5;
    padding: 20px;
    width: 100%;  /* ทำให้ sidebar เป็นแนวนอนเต็มหน้าจอ */
    text-align: center;
    display: flex;
    justify-content: space-around;  /* จัดการตำแหน่งของเมนูในแนวนอน */
  }
  
  .sidebar ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: space-around;  /* จัดเมนูในแนวนอน */
  }
  
  .sidebar ul li {
    margin: 0;
    margin-left: 10px;
  }
  
  .sidebar ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
  }
  
  .sidebar ul li a:hover {
    color: #ffeb3b;
  }
  
  .main-content {
    display: flex;
    justify-content: space-between; /* จัดเนื้อหาหลักในแนวนอน */
    padding: 20px;
    flex-wrap: wrap;  /* ทำให้การ์ดสามารถย้ายไปในแถวถัดไปได้เมื่อหน้าจอแคบ */
  }
  
  .card {
    background-color: white;
    padding: 20px;
    margin-bottom: 20px;
    width: 18%;  /* กำหนดให้การ์ดสองอันแสดงในแถวเดียว */
    height: 250px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    border-radius: 20px;
    transition: all 0.3s ease-in-out; /* เพิ่ม transition เพื่อให้การขยายและการย่อเกิดขึ้นอย่างนุ่มนวล */
  }
  
  .card:hover {
    transform: scale(1.05); /* ขยายขนาดการ์ดขึ้นเล็กน้อย */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); /* เพิ่มเงาเมื่อ hover */
  }
  
  
  .card h2 {
    margin-bottom: 15px;
    font-size: 28px;
    color: #00bcd4;
  }
  
  .card p {
    font-size: 24px;
    color: #555;
  }
  