* {
  padding: 0;

  margin: 0;
  box-sizing: border-box;
}
#menu {
  width: 90%; /* thay min-width: 100vw bằng width: 100% */
  height: 120px;
  background-color: transparent;
  display: flex;
  justify-content: space-around;
  align-items: center;
  position: absolute;
  z-index: 100;
}
.logo {
  font-family: "animalchariot";
  font-size: 36px;
  font-weight: bold;
  color: white;
  list-style: none;
  font-weight: bold;
  font-size: 50px;
  cursor: pointer;
  margin-right: 400px;
}
.nav {
  list-style: none;
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 100%;
  margin-right: -200px;
}
.nav li {
  margin: 0 20px;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
}
.nav li a {
  text-decoration: none;
  color: white;
  font-family: "courgette";
  padding: 10px 15px;
  border-radius: 5px;
  font-size: 24px;
}
.nav li a:hover {
  color: rgb(95, 95, 107);
  transition: 0.3s;
}
.banner {
  width: 100%;
  min-height: auto;
  top: 0;
  left: 0;
  background-size: cover;
  background-position: center;
  position: relative;
}
.banner img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.text-banner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 60px;
  font-weight: bold;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  font-family: "animalchariot";
  padding: 20px;
  margin-top: -200px;
  min-width: 800px;
}
.content {
  width: 100%;
  min-height: auto;
  padding: 50px 100px;
  background-color: #f5f5f5;
}
.content h2 {
  text-align: center;
  font-size: 80px;
  font-family: "animalchariot";
  margin-bottom: 40px;
}
.services-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  font-size: 30px;
  gap: 30px;
  align-items: center;
}
.services-container .card {
  min-height: 200px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 7px 8px rgba(0, 0, 0, 0.1);
  width: 510px;
  text-align: center;
  line-height: 160px;
  padding-top: 60px;
}
.services-container .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  transition: 0.4s;
}

.services-container .card p,
h3,
a {
  text-decoration: none;
  color: black;
  font-family: "courgette";
  font-size: 30px;
  line-height: normal;
}
.content {
  width: 95vw;
  margin: auto;
  min-height: auto;
  padding: 50px 0;
  margin: 50px auto;
  background-color: #f5f5f5;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}
.footer {
  margin-top: 100px;
  width: 100%;
  padding: 40px 60px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;

  background: rgba(54, 48, 48, 0.247);
  backdrop-filter: blur(10px);

  border: 1px solid rgba(0, 0, 0, 0.637);
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0);

  box-shadow: 0 8px 30px rgba(160, 67, 67, 0.2); /* độ nổi */
  color: rgb(0, 0, 0);
}

.footer-col {
  flex: 1;
  min-width: 250px;
}

.footer-col h3 {
  margin-bottom: 15px;
  font-size: 20px;
  border-bottom: 2px solid #fff;
  display: inline-block;
  padding-bottom: 5px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin-top: 10px;
}

.footer-col ul li {
  margin: 8px 0;
}

.footer-col ul li a {
  color: #00c8ff;
  text-decoration: none;
  transition: 0.2s ease;
}

.footer-col ul li a:hover {
  text-decoration: underline;
}

@font-face {
  font-family: "animalchariot"; /* tên bạn muốn đặt */
  src: url("/font/animal_chariot/Animal Chariot.ttf") format("truetype");
  font-weight: normal; /* hoặc bold nếu muốn */
  font-style: normal; /* hoặc italic nếu muốn */
}

@media screen {
  .services-container .card {
    width: 600px;
  }
}

/* Responsive rules: make header, banner and service cards adapt to smaller screens */
@media (max-width: 1200px) {
  .logo {
    margin-right: 200px;
    font-size: 44px;
  }

  .nav li a {
    font-size: 20px;
    padding: 8px 12px;
  }

  .text-banner {
    font-size: 48px;
    min-width: 600px;
    margin-top: -120px;
    padding: 16px;
  }

  .services-container .card {
    width: 45%;
    line-height: normal;
    padding: 30px 20px;
    min-height: 220px;
  }
}

@media (max-width: 900px) {
  #menu {
    width: 95%;
    height: auto;
    position: relative;
    padding: 10px 12px;
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }

  .logo {
    margin-right: 0;
    font-size: 40px;
  }

  .nav {
    margin-right: 0;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .text-banner {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin: 20px auto;
    font-size: 36px;
    min-width: auto;
    padding: 12px;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
  }

  .content {
    padding: 32px 20px;
  }

  .services-container {
    gap: 16px;
    justify-content: center;
  }

  .services-container .card {
    width: 48%;
    padding-top: 30px;
    line-height: normal;
    font-size: 1.1rem;
  }
}

@media (max-width: 600px) {
  .text-banner {
    font-size: 26px;
    padding: 10px;
    color: black;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
  }

  #menu {
    padding: 8px 12px;
  }

  .logo {
    font-size: 32px;
    color: black;
  }

  .nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav li {
    margin: 6px;
  }

  .nav li a {
    font-size: 16px;
    padding: 6px 8px;
    background-color: black;
  }

  .content {
    padding: 20px 12px;
  }

  .services-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .services-container .card {
    width: 100%;
    min-height: 160px;
    padding: 18px 12px;
    line-height: 1.2;
    font-size: 1rem;
  }
}
