
  
  
  .container .card {

    max-width : 23rem;
    height : 25rem;  
    background-color : #003380;
    margin : 30px 10px;
    padding : 20px 15px;
    flex-direction : column;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
    transition : 0.4s ease-in-out;
    border-radius : 10px;
    text-align: center;
  }
  .container .card:hover {
    height : 450px;    
  }
  
  
  .container .card .image {

    width : 20rem;
    height : 25rem;
    box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 2px, rgba(0, 0, 0, 0.07) 0px 2px 4px, rgba(0, 0, 0, 0.07) 0px 4px 8px, rgba(0, 0, 0, 0.07) 0px 8px 16px, rgba(0, 0, 0, 0.07) 0px 16px 32px, rgba(0, 0, 0, 0.07) 0px 32px 64px;

  }
  
  .container .card .image img {
    max-width : 80%;
    border-radius : 15px;

  }
  
  .container .card .content {
    position : relative;
    padding : 10px 15px;
    color : #ffff;
    text-align : center;
    font-size: 1.5rem;
    visibility : hidden;
    opacity : 0;
    transition : 0.1s ease-in-out;
      
  }
  
  .container .card:hover .content {
     margin-top : 30px;
     visibility : visible;
     opacity : 1;
     transition-delay: 0.2s;
    
  }

  .auto-grid {
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center; /* เพื่อให้อยู่กึ่งกลางในแนวตั้ง */
    gap: 5%;
    width: 100%; /* ปรับตามที่ต้องการ */
}

@media (max-width: 1100px) {
    .auto-grid{
        display: block;
        margin:  auto; /* เพื่อให้อยู่กลาง */
        width: 50%; /* หรือ width: auto; ขึ้นกับความต้องการ */
        justify-content: center;
        margin-right: 150px;
    }
}
@media (max-width: 520px) {
  .auto-grid{
      display: block;
      margin:  auto; /* เพื่อให้อยู่กลาง */
      width: 60%; /* หรือ width: auto; ขึ้นกับความต้องการ */
      justify-content: center;
      margin-right: 100px;
  }
}
@media (max-width: 440px) {
  .auto-grid{
      display: block;
      margin:  auto; /* เพื่อให้อยู่กลาง */
      width: 70%; /* หรือ width: auto; ขึ้นกับความต้องการ */
      justify-content: center;
      margin-right: 50px;
  }
}
@media (max-width: 370px) {
  .auto-grid{
      display: block;
      margin:  auto; /* เพื่อให้อยู่กลาง */
      width: 80%; /* หรือ width: auto; ขึ้นกับความต้องการ */
      justify-content: center;
      margin-right: 30px;
  }
}



