* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color: #000;
}

body {
  font-family: "Roboto", sans-serif;
  background-color: #f5f5f5;
  display: flex;
  justify-content: center;
  align-items: center;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
}

.app {
  height: auto;
  max-width: 450px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  overflow: hidden;
}

.content {
  background: url(./images/bg.webp) no-repeat center center;
  background-size: 100% 100%;
  background-position: center bottom;
  width: 100%;
  display: flex;
  height: auto;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 0;
}

.footer {
  background: url(./images/bg-footer.webp) no-repeat center center;
  background-size: 100% 100%;
  background-position: center bottom;
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 0;
}

.title {
  margin-top: 5%;
  margin-bottom: -12%;
}

.btn,
.btn1 {
  width: 70%;
}

.slide {
  display: flex;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 12px;
  padding: 10px;
}

.slide img {
  width: 60%;
  flex: 0 0 calc(100% / 1.5);
  height: auto;
  border-radius: 12px;
  scroll-snap-align: start;
  object-fit: contain;
}

.slide {
  display: flex;
  gap: 12px;
  padding: 10px;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}
.slide.active {
  cursor: grabbing;
}

/* hiện thanh scrollbar ngang */
.slide::-webkit-scrollbar {
  height: 8px; /* chiều cao scrollbar ngang */
}

.slide::-webkit-scrollbar-track {
  background: #e0e0e0; /* màu nền track */
  border-radius: 4px;
}

.slide::-webkit-scrollbar-thumb {
  background: #888; /* màu nút kéo */
  border-radius: 4px;
}

.slide::-webkit-scrollbar-thumb:hover {
  background: #555;
}

@keyframes scaleAnimation {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.text {
  width: 90%;
}

.btn a img,
.btn1 a img {
  animation: scaleAnimation 1.5s infinite ease-in-out;
}

.btn1 {
  margin-top: 4%;
}

@media screen and (max-width: 768px) {
}
