<style>
html {
  /* font-size: 16px; Set a smaller base font size here */
  font-size: clamp(12px, 0.8vw, 14px); /* Base scaling */
}
    
body {
  font-family: "Times New Roman", Times, serif;
  background-color: #FFFFFF;
  margin: 0 auto;
  padding: 0;
  width: 80%;
  display: block; /* Ensures full width */
  /* margin-top: 50px; Adds space below the fixed menu to avoid overlapping content */
  justify-content: center; /* Centers horizontally */
  align-items: flex-start; /* Adjust as needed for vertical alignment */
  flex-direction: column;
  min-height: 100vh; /* Full screen height */
  /* padding: 15%; */
}

*, *::before, *::after {
	box-sizing: border-box;
  }
  
  body {
	overflow-x: hidden;
}
  
.responsive-image {
	max-width: 100%;
	height: auto;
	display: block;  /* Ensures the image removes inline spacing issues */
  }
	
.responsive-table { 
  
  width: 80%; /* Ensure the table takes up the full width of its container */ 
  max-width: 1000px; /* Set the maximum width of the table */ 
  border-collapse: collapse; 
  border-spacing: 0;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 15px;
  margin: 20px auto; /* Center the table and add vertical margins */
}

.responsive-table-small { 
  display: flex;
  justify-content: center; /* Centers the table horizontally */
  align-items: center; /* Centers vertically if needed */
  margin: 0 auto; /* Ensures centering with vertical margins */
  overflow-x: visible;
  width: auto;
}

.responsive-table-smallX { 
  width: auto; /* Corrected from auto% */
  /* max-width: 1000px; Set the maximum width of the table */
  border-collapse: collapse; 
  border-spacing: 0;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 0;
  margin: auto; /* Center the table and add vertical margins */
}

.responsive-font {
  font-size: clamp(12px, 1.0rem, 2rem); /* Scales between defined sizes */
  text-align: left !important; 
  display: block; /* Ensures the element can be centered */  
}

.responsive-font-centered {
  font-size: clamp(12px, 1.0rem, 2rem); /* Scales between defined sizes */
  text-align: center; /* Centers the text horizontally */
  margin: 0 auto; /* Centers the element itself if it's block-level */
  display: block; /* Ensures the element can be centered */  
  /* width: fit-content; */ /* Uncomment if needed */
  width: 100%;
}
 
.responsive-font-small-centered {
  font-size: clamp(10px, 1.5vw, 14px); /* Minimum: 10px, scales with viewport, Maximum: 14px */
  text-align: center; /* Centers the single line of text */
}

p, 
.responsive-font,
.responsive-font-centered {
  white-space: normal;
  word-wrap: break-word;      /* For older browsers */
  overflow-wrap: break-word;  /* Modern standard */
}

p, td, .responsive-table {
	white-space: normal;
	word-wrap: break-word;      /* For older browsers */
	overflow-wrap: break-word;  /* Modern standard */
  }
  
.containerXYZ {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  font-size: clamp(12px, 2vw, 24px);
  backface-visibility: hidden; /* Changed from none to a valid value */
  padding: 0;
  margin: 0;
  background-color: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center; /* Centers horizontally */
  left: 50%; /* Aligns the left edge of the element to the center of the screen */
  max-width: 80%; /* Ensures no element exceeds the viewport width */
  width: 100%;
}

.grid-container .container {
  display: flex;
  /* grid-template-columns: repeat(2, 1fr); /* Creates 2 equal-width columns */
  /* gap: 10px; /* Adds space between grid items */
}

.container {
  display: flex;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);

  gap: 10px; /* Adds space between grid items */
  flex-direction: column;
  justify-content: center; /* Centers vertically */
  align-items: center; /* Centers horizontally */
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  font-size: clamp(12px, 2vw, 24px);
  backface-visibility: hidden;
  padding: 0;
  /* margin: 0; */
  margin: auto;
  background-color: transparent;
  max-width: 80%; /* Ensures no element exceeds the viewport width */
  width: 100%;
  position: absolute;
  top: auto;
  left: 50%;
}

.yellow-row {
  background-color: #FFDA00; /* Added missing '#' */
}

.lite-yellow-row {
  background-color: rgb(247, 235, 168);
}

.styled-hr {
  border: inherit;
  border-top: 1px solid #333;
  margin: 1px 0;
  padding: 1px 0;
  width: 50%;
  margin-left: auto;
  margin-right: auto; /* Fixed property name */
}

.custom-hr {
  border: inherit;
  border-top: 1px solid #333;
  margin: 1px 0;
  padding: 1px 0;
  width: 50%;
  margin-left: auto;
  margin-right: auto; /* Fixed property name */
}

.table-container {
  width: 100%; /* Default for smaller screens */
  max-width: 750px; /* Limits the container width for all devices */
  margin: 0 auto;
  overflow-x: auto; /* Adds horizontal scrolling if needed */
  padding: clamp(10px, 2vw, 15px); /* Dynamically adjust padding */
  text-align: left;
}  
  
.table {
  width: 100%;
  table-layout: auto;
  margin-bottom: 0; 
  margin-top: 0; 
  padding: 12px;
  border-spacing: 0 !important;
  border-collapse: collapse !important;
  border: none !important;
  white-space: normal;
  overflow: hidden;
  /* text-overflow: ellipsis; */
  word-wrap: break-word; /* For older browsers */
  overflow-wrap: break-word; /* Modern standard for word wrapping */
}

.topnav-container {
  /* display: grid;
     grid-template-columns: repeat(9, 1fr); Creates 9 equal columns across the row
     gap: 10px; Adds space between columns
     width: 100%; Ensures the grid spans the entire page width */
     
  text-align: center; /* Centers inline elements horizontally */
  /* background-color: #333;
     padding: 20px; */
  display: flex;
  justify-content: center; /* Horizontal centering */
  /* overflow: hidden; */
}

.topnav {
  /* overflow: hidden; Prevent content overflow
     display: flex; Ensure horizontal layout
     justify-content: space-around; Distribute links evenly */
  
  top: 0;          /* Aligns it to the top of the viewport */
  position: fixed; /* Needed for centering with transform */
  left: 50%;       /* Aligns the left edge to the centre of the screen */
  transform: translate(-50%); /* Centers the element */
  color: black;    /* Text color */
  z-index: 1000;   /* Ensures the menu stays above other elements */
  display: flex;   /* Makes links align horizontally */
  justify-content: center; /* Centers links inside the topnav */
  flex-wrap: wrap; /* Wraps links to next line on small screens */
  /* overflow: hidden; */
  background-color: white;
  padding: 3;
  width: 1000px;   /* Adjust the width as needed */
} 
      
.topnav a {
  text-align: center;
  /* padding: 12px 18px; */
  text-decoration: none;
  font-size: clamp(12px, 2vw, 24px);
  background-color: black; /* Cell background color */
  padding: 4px 10px; /* Adjusted padding; previous 1px then 4px 10px; the latter overrides */
  color: white; /* Text color */
  /* border-radius: 10px; Rounds the edges of menu items */
  justify-content: center;
  /* text-decoration: none; Remove underline */
  display: block; /* Block styling for full clickable area */
  font-size: clamp(10px, 2vw, 16px); /* Responsive font size */
}

.topnav a:hover {
  background-color: white;
  color: black; /* Text color */
}

.topnav a.active {
  background-color: #FFDA00; /* 04aa6d */
  color: black; /* Text color */
}

/* Media Query for screens at least 1024px wide */
@media (min-width: 1024px) {
  .table-container .grid-container {
    width: 60%; /* Restrict the container to 60% on larger screens */
    max-width: 1000px; /* Remove previous max-width to allow proportional sizing */
  }
}  /* <-- Closing brace added for the min-width media query */

/* Media Query for screens at most 600px wide */
@media (max-width: 600px) {
  .topnav {
    width: 100%;      /* Full width on smaller screens */
    padding: 5px;     /* Reduced padding */
  }
  
  /*.topnav a {*/
    /* /* font-size: clamp(10px, 3vw, 15px); Adjust font size for small devices */
    /*padding: 8px;     /* Reduced link padding */*/
  /*}*/

  .container {
    /* flex-direction: column; Forces vertical stacking on smaller screens */
    /* width: auto; Allows the table to shrink on small screens */
    
  }
  
  table td {
    /* white-space: nowrap; */
  }
  
/*  .responsive-table { 
    width: 70%; /* Ensure the table gets smaller */ 
    /* max-width: 600px; /* Set the maximum width */ 
 /*   padding: 0;
  /*}*/

  
/* }*/

/* Media Query for screens at most 500px wide */
/* @media (max-width: 600px) { */
	.responsive-table {
	  width: 100% !important;
	  max-width: 100% !important; /* Force it not to exceed the screen width */
	  padding: 0;
	  /*box-sizing: border-box;   /* Ensure paddings/borders are included in the width */
	}
  
	body {
	  margin: 0 auto;
	  width: 100%;
	  overflow-x: hidden; /* Optional: prevent horizontal scrolling */
	}
	.topnav a {
		padding: 2px 3px;
  	}
  }

@media screen and (max-device-width: 999px) and (max-width: 600px) {
	.responsive-table {
		width: 100vw !important;
		max-width: 100vw !important;
		box-sizing: border-box; /* ensures that padding and borders are included in the width */
	}
}
  
.style1 {
  font-size: 24px;
  font-weight: bold;
}

.style2 {
  font-size: medium;
  font-weight: normal;
}

.style3 {
  font-size: x-large;
  font-weight: bold;
}

.style14 {
  font-size: large;
  font-weight: bold;
}

.style11 {
  font-size: 18px; /* Added semicolon for consistency */
}

.style12 {
  font-size: large;
  font-weight: bold;
}

.style13 {
  font-size: large;
  font-weight: bold;
}

.email-button {
  display: inline-block;
  padding: 10px 20px;
  font-size: 16px;
  color: #000000;
  background-color: #FFE444 !important; /* #007BFF; 04aa6d FFE444*/
  text-decoration: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.email-button:hover {
  background-color: #FFF555; /* 06D67C */
}

.email-display {
  display: none;
  font-size: 16px;
  margin-top: 10px;
}

.styled-hr {
  border: none;
  border-top: 2px solid #333;
  margin: 1px 0;
}

hr {
  width: auto; /* Fits content dynamically */
  max-width: 100%; /* Ensures the line doesn't exceed the screen width */
  margin: 0 auto; /* Centers the line */
}

div {
  margin: 0; /* Removes all default margins */
}

/* For mobile and screen size use */

/* Styling for headings and paragraphs */
h1 {
  /* color: #333; */
  transition: font-size 0.3s ease; /* Smooth font resizing */
}

p {
  /* color: #666; */
  transition: font-size 0.3s ease; /* Smooth font resizing */
}

/* Small text styling */
.small-text {
  /* color: #999; */
  transition: font-size 0.3s ease; /* Smooth font resizing */
}
</style>
