body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #e0f7fa;
  color: #333;
}

.header-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background-color: #e0f7fa;
    border-bottom: 3px solid black;
}

.heading-pctc {
  padding-bottom: 5px;
  font-size: 1.5em;
  font-weight: bold;
  font-style: none;
}

.logo-pctc {
  margin: 10px;
  display: block;
}

.aff {
    position: sticky;
    top: 0;
    overflow: hidden;
    width: 100%;
    max-width: 1024px; /* Giới hạn chiều rộng */
    padding: 20px;
    box-sizing: border-box;
    border-radius: 5em;
    margin: 0 auto; /* Căn giữa */
    aspect-ratio: 1 / 1; /* Tỷ lệ 1:1 để phù hợp với max-width */
}

.banner-slide {
    position: absolute;
    top: 20px;
    left: 20px;
    width: calc(100% - 40px);
    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
    will-change: transform, opacity; /* Tối ưu animation */
}

.banner-slide img {
    width: 100%;
    height: auto; /* Giữ tỷ lệ ảnh */
    display: block;
    object-fit: contain; /* Đảm bảo ảnh không bị cắt */
    vertical-align: middle; /* Loại bỏ khoảng trắng dưới ảnh */
}

/* Add a black background color to the top navigation */
.topnav {
  background-color: #333;
  overflow: hidden;
}

/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

/* Change the color of links on hover */
.topnav a:hover {
  background-color: #ddd;
  color: black;
}

/* Add an active class to highlight the current page */
.topnav a.active {
  background-color: #04AA6D;
  color: white;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
  display: none;
  height: 20px;
}



.footer-container {
    text-align: center;
    padding: 20px;
    background-color: #e0f7fa;
    font-size: 0.9em;
    border-top: 2px solid black;
}

.footer-container a {
    color: #333;
    text-decoration: none;
}

.footer-container a:hover {
    text-decoration: underline;
}

/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 600px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
  }
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 600px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}