/* 确保所有元素的宽度不会超过视口 */
* {
    box-sizing: border-box;
}
/* 重置a标签样式 */
a {
    color: inherit; /* 继承父元素的文字颜色 */
    text-decoration: none; /* 去掉下划线 */
}
 
/* 鼠标悬停时的样式 */
a:hover {
    text-decoration: none; /* 鼠标悬停时增加下划线 */
}
/* HTML和body的基本样式 */
h1, h2, h3, h4, h5, h6 {
  color: #555;
  margin-bottom: .5em;
  margin-top: 0;
  text-rendering: optimizeSpeed;
  width: 100%;
}
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* 防止水平滚动 */
    width: 100%;
}
body {
    font-family: Arial, sans-serif;
	margin: 0 auto;
	padding: 0;
	background-color: #f5f5f5;
	width: 800px;
	border: 2px solid #e3b65e;
}
.cz_01 {
	width:800px;
	height:auto;
}
.cz_sp video {
	width:800px;
	height:auto;
}
.container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Hiển thị 3 card mỗi hàng trên màn hình lớn */
    gap: 20px;
    padding: 20px;
}

.card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    text-align: center;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.card img {
    width: 100px; /* Theo yêu cầu */
    height: auto;
}

/* Thay đổi hiển thị trên thiết bị di động (dưới 600px) */
@media only screen and (max-width: 600px) {
    .container {
        grid-template-columns: repeat(2, 1fr); /* Hiển thị 2 card mỗi hàng trên màn hình nhỏ */
    }

    /* Ẩn card thứ 9 trên màn hình nhỏ */
    .container a:nth-child(9) {
        display: none;
    }
}


h3 {
    margin: 10px 0;
}

button {
    background-color: #ff6600;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #ff3300;
}

.container_czzj {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.container_czzj h1 {
    background-color: #007bff;
    color: white;
    padding: 15px;
    border-radius: 5px;
}

.container_czzj .content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container_czzj .button-group {
    margin: 20px 0;
}

.container_czzj button {
    display: block;
    background-color: #ff6600;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    margin: 10px 0;
    cursor: pointer;
    width: 100%;
}

.container_czzj button:hover {
    background-color: #ff3300;
}

.container_czzj .image {
    margin-top: 20px;
}

.container_czzj .image img {
    width: 200px; /* 根据需要调整 */
    height: auto;
    border-radius: 50%;
}
.expand {
  display: block;
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  width: 100% !important;
  background-color: #446084;
  color:#fff;
  text-align:center;
}

.expand span {
  display: inline-block;
  line-height: 47px;
  font-size: 1.5em;
}

.container_cz_zj {
    display: flex;
    align-items: center;
    padding: 20px;
    background-color: #f8f8f8;
    border: 1px solid #ddd;
	text-align: center;
}
.container_cz_zj_h1 {padding:10px;text-align:center;}
.container_cz_zj_h1 h1 {
  background-color: #007bff;
  color: white;
  padding: 15px;
  border-radius: 5px;
}
.text-section {
    flex: 1;
    padding-right: 20px;
}

.text-section h1 {
    font-size: 24px;
    margin-bottom: 20px;
}

.text-section ul {
    list-style-type: none;
    padding: 0;
}

.text-section li {
    margin: 10px 0;
    padding: 10px;
    border-radius: 5px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	background-color: #ff6600;
	color: white;
	font-size: 14px;
}
.text-section li:hover {
    background-color: #ff3300;
}
.image-section {
    flex: 1;
}

.image-section img {
    max-width: 80%;
    height: auto;
    border-radius: 50%; /* 圆形图像 */
}
.cz_wenb {
	width:90%;
	height:auto;
	margin:0 auto;
	line-height:35px;
}
.header {
    background-image: url('/skins/img/001.jpg'); /* Default background image for desktop */
    background-size: contain; /* Ensures the entire image is visible */
    background-position: center;
    background-repeat: no-repeat;
    width: 100%; /* Make sure the header takes the full width of the screen */
    height: 300px; /* Adjust height as needed */
    display: flex; /* Flexbox can help vertically align the image */
    justify-content: center; /* Center the image horizontally */
    align-items: center; /* Center the image vertically */
}

/* Media query for mobile devices */
@media (max-width: 768px) {
    .header {
        background-image: url('/skins/img/002.jpg'); /* Background image for mobile */
        height: 200px; /* Adjust the height for mobile */
    }
}

.main-content {
    background-color: #ffcccc;
    text-align: center;
    padding: 50px 0;
}

.banner {
    background-color: #ffcc00; /* Fallback color if the image doesn't load */
    background-image: url('/skins/img/001.jpg'); /* Path to the background image */
    background-size: cover; /* Ensure the image covers the entire banner area */
    background-position: center; /* Center the image within the banner */
    background-repeat: no-repeat; /* Prevent the image from repeating */
    padding: 20px;
    border-radius: 10px;
}

.footer {
    display: flex;
    justify-content: space-around;
    background-color: #d69e2e;
	color:#FFF;
    padding: 20px 0;
}
.footer strong {
	color: white;
	font-size: 20px;
	text-align: center;
}

@media (max-width: 768px) {
	body {width:100%;padding:4px;}
	.cz_01 {width:100%;}
	.cz_sp video {width:100%;}
	.container_cz_zj {display:block;}
	.text-section {padding-right:0px;}
	.image-section img{width:60%;}
}

/* Đặt kiểu cho container */
.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Mặc định là 2 cột */
    gap: 10px; /* Khoảng cách giữa các ảnh */
}

.image-grid img {
    width: 100%;
    height: auto;
}

/* Ẩn hình ảnh thứ 9 khi có 2 cột */
.image9 {
    display: none; /* Ẩn đi mặc định */
}

/* Khi màn hình có kích thước lớn hơn hoặc bằng 768px, chuyển sang 3 cột và hiển thị hình ảnh thứ 9 */
@media (min-width: 768px) {
    .image-grid {
        grid-template-columns: repeat(3, 1fr); /* Chuyển sang 3 cột */
    }
    .image9 {
        display: block; /* Hiển thị hình ảnh thứ 9 */
    }
}

