/* Reset margins and default list styles */
body {
	margin: 0;
	font-family: Arial, sans-serif;
	background-color: #f4f4f9;
}

/* Menu container styling */
.nav-container {
	background-color: #fff;
	box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Semantic menu element rules */
.simple-menu {
	list-style-type: none;
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
}

/* Individual menu items */
.simple-menu li {
	position: relative;
}

/* Navigation link styling */
.simple-menu a {
	display: block;
	color: #333;
	text-align: center;
	padding: 16px 16px!important;
	text-decoration: none;
	transition: 0.3s ease;
	border-right:1px solid lightgray;
}

/* Hover states using pure CSS */
.simple-menu a:hover {
	background-color: #e4e4e4;

}

/* Active/Current page class indicator */
.simple-menu li.active a {
	background-color: #222;
	color: #007bff;
	font-weight: bold;
}

.simple-menu a {
  position: relative;
  display: inline-block;
  padding: 10px 20px;
}

.simple-menu a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px; /* Border thickness */
  
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.4s ease-in-out;
}

.simple-menu a:hover::after {
  transform: scaleX(1);
}

.simple-menu li:nth-child(2) a::after {
  background-color: #33f; /* Border color */
}

.simple-menu li:nth-child(3) a::after {
  background-color: #ea33ff; /* Border color */
}

.simple-menu li:nth-child(4) a::after {
  background-color: #33ff38; /* Border color */
}

.simple-menu li:nth-child(5) a::after {
  background-color: #3396ff; /* Border color */
}

.simple-menu li:nth-child(6) a::after {
  background-color: #ff3338; /* Border color */
}


@media screen and (max-width: 768px) {
table{
	margin:0;
	width:auto;
	padding: 0 10px;
}

tbody{
width:auto;
}

table td{
width:auto;
}

table tr{
width:auto;
}

img{
	width:100%;
	height: auto;
}

*{
	font-size: 1rem!important;
}

}
