/* Original content of style.css before changes */
.link-black {
    color: black !important; /* Override existing styles */
}

.container {
    width: 100%; /* Full width */
    max-width: 1200px; /* Max width for larger screens */
    margin: 0 auto; /* Center the container */
}

.main {
    width: 100%; /* Full width */
    margin-top: 30px;
    margin-bottom: 15px;
}

.main_left {
    width: 460px;
    background-image: url(main_top.png);
    background-repeat: no-repeat;
    text-align: center;
    float: left;
}

.main_right {
    padding-left: 35px;
    height: auto;
    width: 460px;
    background-repeat: repeat-y;
    color: black;
    padding-bottom: 20px;
    float: right;
}

.main_center {
    padding-left: 4px;
    height: auto;
    width: 458px;
    background-repeat: repeat-y;
    color: black;
    padding-bottom: 20px;
    margin: 0 auto; /* Center horizontally */
    float: none;
}

.main_right p {
    line-height: 20px;
}

#topnav {
    display: flex; /* Flexbox for alignment */
    justify-content: space-between; /* Align items on both sides */
    background: linear-gradient(to right, #6016e1, #490fac); /* Restored blue gradient */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Restored shadow */
    width: 100%; /* Full width */
    margin: 10px 0 0 0;
    padding: 2px; /* Reduced padding to decrease height */
    border-radius: 8px; /* Restored rounded corners */
    font-size: 1rem; /* Relative units for font size */
    font-weight: bold;
    font-family: 'Verdana', Arial, Helvetica, sans-serif;
    animation: slideIn 0.5s ease; /* Slide-in animation */
}

header {
    display: flex; /* Flexbox for header layout */
    justify-content: space-between;
    background-color: transparent; /* Changed to transparent */
    height: 70px; /* Reduced height */
    padding: 10px; /* Reduced padding */
}

@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

#topnav li a:hover {
    transform: scale(1.05); /* Scale effect on hover */
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5); /* Glowing effect on hover */
}

@media (max-width: 768px) {
    #topnav {
        flex-direction: column; /* Stack items vertically on smaller screens */
        align-items: center; /* Center items */
    }
    
    #topnav li {
        margin: 4px 0; /* Adjust margin for vertical spacing */
    }
}

#topnav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    width: 100%; /* Full width */
}

#topnav li {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline-block; /* Horizontal layout */
}

#topnav li a:link,
#topnav li a:visited,
#topnav li a:hover {
    display: block;
    margin: 0 10px 0 0;
    padding: 10px 1rem; /* Relative units for padding */
    color: #fff; /* White text color */
    background-color: transparent; /* Transparent background */
    transition: background-color 0.3s ease, transform 0.3s ease; /* Smooth transition for hover effect */
}

#topnav li a:hover {
    background-color: rgba(235, 228, 228, 0.5); /* Increased hover background for better visibility */
    transform: scale(1.05); /* Scale effect on hover */
}

#topnav li li a:link,
#topnav li li a:visited {
    width: 90px;
    float: none;
    margin: 0;
    padding: 7px 10px;
    font-size: 12px;
    font-weight: normal;
    color: #FFFFFF;
    background-color: #a2b5f3;
    border-left: 1px solid #FFFFFF;
}

#topnav li li a:hover {
    color: #FFFFFF;
    background-color: #4542fc;
}

#topnav li ul {
    z-index: 9999;
    position: absolute;
    left: -999em;
    height: auto;
    width: 170px;
}

#topnav li ul a {
    width: 140px;
}

#topnav li ul ul {
    margin: -32px 0 0 0;
}

#topnav li:hover ul ul {
    left: -999em;
}

#topnav li:hover ul,
#topnav li li:hover ul {
    left: auto;
}

#topnav li:hover {
    position: static;
}

#topnav li.last a {
    margin-right: 0;
}

/* ----------------------------------------------Column Navigation------------------------------------- */

#column .subnav {
    display: block;
    width: 200px;
    padding: 25px;
    background-color: #ba96b5;
    margin-bottom: 30px;
}

#column .subnav h2 {
    margin: 0 0 20px 0;
    padding: 0 0 14px 0;
    font-size: 20px;
    font-weight: normal;
    font-family: Georgia, "Times New Roman", Times, serif;
    color: #666666;
    background-color: #F9F9F9;
    line-height: normal;
    border-bottom: 1px dotted #666666;
}

#column .subnav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#column .subnav li {
    margin: 0 0 3px 0;
    padding: 0;
}

header {
    display: flex; /* Flexbox for header layout */
    justify-content: space-between;
    background-color: transparent; /* Changed to transparent */
    height: 100px;
    padding: 20px;
}


.center_text {
    background-color: #c3ccca;
    width: auto;
    height: auto;
    border: 3px solid #7F6000;
}

.center {
    text-align: center;
    background-color: transparent;
}

.pagination {
    display: inline-block;
}

.pagination a {
    color: blue;
    padding: 8px 16px;
    text-decoration: none;
    border: 1px solid #ddd;
}

table, th, td {
    border: 1px solid black; /* Keep border thickness for visibility */
    border-collapse: collapse;
    text-align: left; /* Align text to the left for better readability */
}

th, td {
    background-color: #d8dbdb; /* Updated to a new light color for better visibility */
    height: 50px; /* Increased height for better readability */
    padding: 20px; /* Increased padding for better spacing */
    border: 2px solid #7F6000; /* Updated border for better separation */
    color: black; /* Ensure text is black */
}


mark_1 { 
    background-color: white;
    color: #1E8449;
}

mark_2 {
    background-color: white;
    color: #CB4335;
}

.center_text1 {
    background-color: #efe9e9;
    width: 500px;
    height: auto;
    border: 3px solid #7F6000;
}

div.text {
    background-color: #f4f4f4;
    color: #000000;
    width: 510px;
    height: 210px;
    overflow: auto;
    overflow-wrap: anywhere;
    font-size: 10px;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.pagination {
    display: inline-block;
}

.pagination a {
    font-weight: bold;   
    font-size: 18px;  
    color: blue;
    padding: 8px 16px;
    text-decoration: none;
    border: 2px solid #ddd;
}

.grid-contain {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* Adjusted min width for grid items */
    gap: 20px; /* Increased gap for better spacing */
    background-color: #e7eceb; /* Updated background color for better aesthetics */
    padding: 20px; /* Increased padding for better layout */
}


.grid-contain > data {
    background-color: rgba(255, 255, 255, 0.8);
    text-align: center;
    padding: 10px 0;
    font-size: 20px;
}