/* The basics for all .css codes */

@font-face { 
  font-family: Arial; 
} 

html {
  height: auto;
  background-color: #fefefe;
  margin: 0;
  padding: 0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing:border-box;
}

body {
  font: normal 100% Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: #ffffff;
  margin: 20px;
  padding: 0;
  background-color: #ffffff;
}

/* HTML5 elements as block */
article, aside, figure, footer, header, hgroup, nav, section { 
  display: block;
}

/* For all paragraphs */
p {
  padding: 0 0 10px 0;
  color: #000000;
  line-height: 1.7em;
  font-size: 110%;
}

/* For all headers  */
h1, h2, h3, h4, h5, h6 {
  font: bold 175% 'News Cycle', Arial, sans-serif;
  color: #000000;
  /*text-shadow: 1px 1px #000;*/
 
  margin: 0 0 10px 0;
}

h2 {
  font: bold 165% 'News Cycle', Arial, sans-serif;
}

h3 {
  font: bold 130% 'News Cycle', Arial, sans-serif;
}

h4 {
  margin: 0;
  padding: 0;
  font: normal 150% 'News Cycle', Arial, sans-serif;
  color: #000000;
  line-height: 1.5em;
  list-style-type: square;
}

 h5, h6 {
  margin: 0;
  padding: 0;
  font: normal 150% 'News Cycle', Arial, sans-serif;
  color: #000000;
  line-height: 1.5em;
}

h5, h6 {
  font: normal 95% 'News Cycle', Arial, sans-serif;
  color: #888;
  padding-bottom: 15px;
}


a, a:hover {
  color: #FFF;
  background: transparent;
  outline: none;
  text-decoration: underline;
}

/* ul is unordered lists and ol is ordered lists */

ul {
  margin: 2px 0 22px 30px;
  line-height: 1.7em;
  font-style: normal;
  font-size: 110%;
  list-style-type: square; /* Changes the bullet to squares */
  margin-left: 20px; /* Adds a left margin for better indentation */
}

ul li {
  font-size: 16px; /* Adjust the font size of list items */
  color: #000000; /* Change the color of the list items */
}

ol {
  margin: 8px 0 22px 20px;
}

ol li {
  margin: 0 0 11px 0;
}

/* For all parts of the html website */
#main, header, #banner, #menubar, #site_content, footer, #content_grey, nav {
  margin-left: auto; 
  margin-right: auto;
}

#main {
  background: #ffffff ;
}

header { 
  text-align: center;
  background-color: white;

}

/* For the banner at the top of the webpage */
.banner-container {
  width: auto; /* Full page width */
  display: flex;
  justify-content: center;
  border: 2px solid #0077c3;
  background-color: #ffffff;
  height: 450px; /* Set a fixed height for the banner container */
}

.banner-img {
  width: 100%; /* Change the width to make the banner smaller */
  height: auto; /* Ensure it scales proportionally */
}

#banner {
  text-align: center;
  background-color: rgb(255, 255, 255)
}
/* Close banner CSS */



/* Navigation Bar underneath banner */
.navbar {
  overflow: hidden;
  background-color: #0077c3;
  display: flex;
  flex-wrap:wrap;
  justify-content: space-around;
  padding: 4px 4px; 
}

/* Links inside the navbar */
.navbar a {
  float: left;
  font-size: 16px;
  font: bold 120% Arial, Helvetica, sans-serif;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

/* The dropdown container */
.dropdown {
  float: left;
  overflow: hidden;
}

/* Dropdown button */
.dropdown .dropbtn {
  font-size: 16px;
  font: bold 120% Arial, Helvetica, sans-serif;
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit; /* Important for vertical align on mobile phones */
  margin: 0; /* Important for vertical align on mobile phones */
}

/* Add a red background color to navbar links on hover */
.navbar a:hover, .dropdown:hover .dropbtn {
  background-color: #035e97;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

/* Add a grey background color to dropdown links on hover */
.dropdown-content a:hover {
  background-color: #ddd;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Highlight the current page link */
/* Style for regular active links */
.navbar a.active {
  background-color: #035e97; /* Slightly darker shade for current page */
  color: white; /* Ensure text remains visible */
}
/* CSS for active tab */
.navbar a.active, .navbar .dropbtn.active {
  background-color: #0077c3; /* Active tab background color */
  color: white; /* Active text color */
}


/* Style for active dropdown buttons */
.dropdown .dropbtn.active {
  background-color: #035e97; /* Slightly darker shade for current page */
  color: white; /* Ensure text remains visible */
}

/*End of Navigation Bar CSS*/

#people-section {
  margin-top: 30px;
}

h3 {
  font-size: 1.6rem;
  color: #000000;
  margin: 20px 20px;
}

.people-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 20px 20px;

}

.faculty-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 columns for faculty */
  gap: 20px;
}

.staff-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
  justify-content: center;
  align-items: stretch; /* This ensures grid items stretch equally */
}

.staff-card {
  height: 100%;              /* Take full height of grid cell */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; /* Avoid excessive vertical centering */
  text-align: center;
  background-color: #ffffff;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


.faculty-card {
  display: flex;
  flex-direction: column;
  align-items: center; /* Center the content horizontally */
  justify-content: center; /* Center the content vertically if needed */
  text-align: center;
  background-color: #ffffff;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 100%;
}

.faculty-card img, .staff-card img {
  width: 40%; /* Ensure images scale */
  height: auto;
  border-radius: 50%; /* Circular image */
  margin-bottom: 15px;
}

.faculty-info, .staff-info {
  text-align: center;
}

.faculty-info h4, .staff-info h4 {
  font-size: 1.5rem;
  color: #0077c3;
  margin-bottom: 10px;
}

.faculty-info h5, .staff-info h5 {
  font-size: 1.2rem;
  color: #000000;

}

.faculty-info p, .staff-info p {
  font-size: 1rem;
  color: #333;
}

.faculty-info p strong, .staff-info p strong {
  color: #0077c3;
}



/* Style for the links in the faculty info */
.faculty-info a {
  color: #000000; /* Link color */
  text-decoration: none; /* Remove underline */
}

.faculty-info a:hover {
  text-decoration: underline; /* Underline on hover */
  color: #007417; /* Darker color on hover */
}

/* Style for the links in the faculty info */
.staff-info a {
  color: #000000; /* Link color */
  text-decoration: none; /* Remove underline */
}

.staff-info a:hover {
  text-decoration: underline; /* Underline on hover */
  color: #007417; /* Darker color on hover */
}



footer {
  width: 100%;
  margin-top: auto;
  max-width: 1600px;
  background: #007F3E; /* Dark green background */
  color: white;
  text-align: center;
  padding: 10px 0;
  position: relative;
  bottom: 0;
}

.footer-container {
  max-width: 1600px; /* Controls width */
  margin: 0 auto; /* Center-aligns the footer */
  margin-bottom: 0;
}

.footer-links {
  margin-bottom: 10px; /* Space between links and copyright */
}

.footer-links a {
  color: white;
  text-decoration: none;
  margin: 0 10px;
  font-size: 20px;
}

.footer-links a:hover {
  text-decoration: underline; /* Hover effect */
}

footer p {
  font-size: 18px;
  margin-top: 10px;
}

@media screen and (min-width: 1600px) {
  body {
    background-color: #f0f0f0; /* Change background color */
  }

  #main {
    max-width: 1600px;
    margin: 0 auto;
  }

  .navbar {
    padding: 5px;
  }

  .tabs-container {
    flex-direction: row;
    gap: 30px;
  }

  .tab-content {
    max-width: 80%;
  }

  .footer-container {
    max-width: 1600px;
    margin: 0 auto;
  }
}

/* For smaller screens (max-width: 768px) */
@media (max-width: 768px) {
  body {
    background-color: #f0f0f0;
  }

  #main {
    max-width: 768px;
    margin: 0 auto;
  }

  .navbar {
    padding: 10px;
  }
  
  .banner-img {
    width: 50%; /* Change the width to make the banner smaller */
    height: auto; /* Ensure it scales proportionally */
  }

  .tabs-container {
    flex-direction: column;
    gap: 15px;
  }

  .tab-content {
    max-width: 100%;
  }

  .footer-container {
    max-width: 768px;
    margin: 0 auto;
  }

  .footer-links a {
    font-size: 14px;
  }

  footer p {
    font-size: 14px;
  }
}