
h1 {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: #4e888d;
  margin: 1rem 0;
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 0.5rem;
}

h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, #4e888d, #6ba5aa);
}

.button-container-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  padding: 0.75rem;
  max-width: 900px;
  margin: 0 auto;
}

.button-container-menu .class-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #ffffff;
  background: #E07A5F;
  border: none;
  border-radius: 6px;
  text-align: center;
  min-width: 120px;
  box-shadow: 0 2px 4px rgba(78, 136, 141, 0.15);
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.button-container-menu .class-button:hover {
  transform: translateY(-1px);
  background: #f48840!important;
  box-shadow: 0 4px 6px rgba(78, 136, 141, 0.25);
}

.button-container-menu .class-button:active,
.button-container-menu .class-button.active {
  transform: translateY(0);
  background: #f48840!important;
  box-shadow: 0 2px 4px rgba(78, 136, 141, 0.15);
}

/* Responsive Design */
@media (max-width: 768px) {
  .button-container-menu {
    padding: 0.5rem;
    gap: 0.4rem;
  }

  .button-container-menu .class-button {
    min-width: 110px;
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
  }

  h1 {
    font-size: 1.1rem;
    margin: 3rem 0 0.75rem 0; /them css header moi/
}
}

@media (max-width: 480px) {
  .button-container-menu .class-button {
    min-width: calc(50% - 0.4rem);
    font-size: 0.75rem;
  }
  .button-container-menu .button-qanda{
     min-width: calc(50% - 0.4rem);

  }
  .button-container-menu .button-quiz{
     min-width: calc(50% - 0.4rem);

  }
}

   .button-qanda {
    background-color: #B99B60; /* Màu cam */
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    display: inline-block;
    cursor: pointer;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    min-width: 120px;

}

.button-qanda:hover {
    background-color: darkorange; /* Màu cam đậm khi hover */
    box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.2); /* Tăng đổ bóng khi hover */
    transform: translateY(-2px); /* Hiệu ứng nâng nút */
    color: white; /* Màu chữ */
}
.button-quiz {
    background-color: #28a745; /* Màu cam */
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    display: inline-block;
    cursor: pointer;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    min-width: 120px;

}

.button-quiz:hover {
    background-color: darkorange; /* Màu cam đậm khi hover */
    box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.2); /* Tăng đổ bóng khi hover */
    transform: translateY(-2px); /* Hiệu ứng nâng nút */
    color: white; /* Màu chữ */
}
