body {
    background-color: #373684; color-scheme: inherit;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Style rule for image */
img {
      max-width: 100%;
      display: block;
      justify-content: center;
}

img src {
      justify-content: center;

}

/* Style rules for header content */
header {
    text-align: center;
    font-size: 4em;
    color: #000;
}

header h1 {
    font-size: italic;
}





/* Style rule for table */

.value table {
    border: 1px solid #373684;
    border-collapse: collapse;
    margin: 0 auto;
    width: 100%;
}

.value caption {
    font-size: 1.5em;
    font-weight: bold;
    padding: 1%;
}

.value th, .value td {
    border: 1px solid #373684;
    padding: 2%;
}

.value th {
   background-color: #373684;
   color: #fff;
   font-size: 1.15em;
}

.value tr:nth-child(odd) {
    background-color: #b7b7e1;
}

h1 {font-size: 80px;
  font-weight: bold;
}

/* Style rule for navigation area */
/* Navigation container */
nav {
  background-color: #050D41; /* dark blue background */
  padding: 0; /* remove extra padding */
  margin: 0;
}

/* Navigation wrapper */
.nav-list {
  background-color: #373684;
  padding: 0.25em 0.5em; /* reduced padding */
}

/* Navigation list */
.nav-list ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Navigation items */
.nav-list li {
  margin: 0 6px; /* tighter spacing */
}

/* Navigation links */
.nav-list a {
  color: white;
  text-decoration: none;
  font-weight: 500; /* slightly lighter */
  font-size: 0.85em; /* smaller text */
  padding: 0.3em 0.4em; /* reduced padding */
  border-radius: 3px;
  transition: background-color 0.2s ease;
}

/* Hover effect */
.nav-list a:hover {
  background-color: #4a4abf;
  text-decoration: none;
}



/* Style the form container */
form {
    display: flex;
    align-items: center;
    gap: 10px; /*Space between input and button */
}

/* Style the input field */
#search-input {
    padding: 8px 12px;
    border: 1px solid #142de5;
    border-radius: 4px;
    font-size: 16px;
}

/* Style the search button */
button [type="submit"] {
    padding: 8px 15px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

button[type="submit"]:hover {
    background-color: #5164ef;
}

nav li a:hover {
  color: #000;
  background-color: #fff;
  transform: scale(1.3);
}

.frame:hover {
     opacity: 1;
     box-shadow: 8px 8px 10px #808080;
     transform: translateY(10px);
}

@keyframes my-animation {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@-webkit-keyframes my-animation {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes my-animation {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

/* Tablet Viewport: Animation */
@-webkit-keyframes text-animation {
  0% { font-size: 1em; }
  50% { font-size: 2em; }
  100% { font-size: 1.35em; }
}

figcaption {
  -webkit-animation-name: text-animation;
  animation-name: text-animation; 
}

/* Footer */
footer {
  background-color: #222;
  color: #ccc;
  padding: 40px 20px;
}
.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.footer-col {
  flex: 1;
  min-width: 150px;
}
.footer-col h4 {
  margin-bottom: 10px;
}
.footer-col a {
  color: #ccc; /* Ensures sufficient contrast on #222 background */
  text-decoration: none;
  display: block;
  margin-bottom: 5px;
}
.footer-col a:hover {
  color: #fff; /* Even higher contrast for hover state */
}

.footer-col a i {
  font-size: 20px;
  margin-right: 10px;
  color: #ccc;
  transition: color 0.3s ease;
}

.footer-col a i:hover {
  color: #ccc;
}

.social_icon{
  text-align: center; padding: 20px;
}

.social_icon span a{
  display: inline-block;
}

/* Responsive tweak */
@media (max-width: 600px) {
  .nav-list ul {
    flex-direction: column;
    align-items: center;
  }

  .nav-list li {
    margin: 0.5em 0;
  }

  .nav-list a {
    display: block;
    width: 100%;
    text-align: center;
  }
}