/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&family=Lobster&display=swap');

body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  padding: 20px;
}

/* Tiêu đề chung */
h1, h2, h3 {
  font-family: 'Arial', cursive;
  color: #000000;
  font-size: 18px; /* chỉnh nhỏ hơn, bạn có thể đổi giá trị */
}


p {
  font-family: 'Arial', sans-serif;
  color: #000000;
  font-size: 18px; /* cỡ chữ nhỏ hơn cho đoạn văn */
}


/* Trang chính */
body.index {
  background: url("./img/aaqw.jpg") no-repeat center center fixed; /* Hình nền cho index */
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding: 0;
}

.logo { margin: 20px 0; }
.logo img { max-width: 200px; }

.links {
  display: flex;
  gap: 20px;
  width: 90%;
  max-width: 1000px;
}
.links a { flex: 1; }
.links a img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: transform 0.3s;
}
.links a img:hover { transform: scale(1.05); }

@media (max-width: 768px) {
  .links { flex-direction: column; }
}

/* Trang con */
body.page1 {
  background: url("./img/weng.jpg") no-repeat center center fixed;
  background-size: cover;
}

body.page2 {
  background: url("./img/weng.jpg") no-repeat center center fixed;
  background-size: cover;
}

.content {
  max-width: 900px;
  margin: auto;
  background: rgba(255,255,255,0.85);
  padding: 20px;
  border-radius: 12px;
}

.video-block {
  margin-bottom: 40px;
  text-align: center;
}
.video-block h3 {
  margin-bottom: 10px;
  font-size: 22px;
}
.video-block p {
  margin-top: 10px;
  font-size: 16px;
}
video {
  width: 70%;          /* video nhỏ hơn */
  max-width: 600px;
  border-radius: 12px;
  display: block;
  margin: 0 auto;
  border: 2px solid #ccc;
  overflow: hidden;      /* quan trọng: cắt video theo viền */
  border-radius: 8px;

}.image {
  text-align: center;   /* căn giữa nội dung trong div */
}

.image img {
  display: block;       /* đổi ảnh từ inline thành block */
  margin: 0 auto;       /* căn giữa ngang */
  max-width: 100%;      /* co dãn phù hợp màn hình điện thoại */
  height: auto;         /* giữ đúng tỷ lệ */
}