/* general body and layout */
body {
  margin: 0;
  background-color: #f4e7df;
  color: #2B190A;
  font-family: Arial, sans-serif;
}

/* banner */
.banner {
  margin-bottom: 1rem;
  color: #f4e7df;
  padding: .75rem;
  background-color: #896C6C;
  text-align: center;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

/* headings */
h1, h2 {
  display: block;
  text-align: center;
}

/* images */
img {
  display: block;
  margin: auto;
  height: 16rem;
  width: 18rem;
}

/* table */
table {
  margin: auto; 
}

td {
  text-align: center;
  height: 10rem;
  width: 10rem;
}

/* menu button for tabs*/
.menu-btn {
  position: fixed;
  top: 1rem;
  left: 1rem;
  background: #896C6C;
  color: #f4e7df;
  border: none;
  font-size: 1.5rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 5px;
  /* stays above the menu */
  z-index: 1100;
}

/* side menu display (pop-out from left)*/
.menu {
  position: fixed;
  top: 0;
  /* start hidden */
  left: -250px;
  height: 100%;
  width: 250px;
  background: #896C6C;
  list-style-type: none;
  /* push links down so first one isn’t behind button */
  padding: 4rem 0 0 0;
  margin: 0;
  box-shadow: 2px 0 6px rgba(0,0,0,0.2);
  transition: left 0.3s ease;
  z-index: 1000;
}

.menu li {
  margin: 0;
}

.menu li a {
  display: block;
  padding: 1rem 1.5rem;
  color: #f4e7df;
  text-decoration: none;
  font-size: 1.2rem;
}

.menu li a:hover {
  background: #6f5555;
}

/* toggle visibility */
.menu.show {
  /* slide in from left*/
  left: 0; 
}

.team {
  display: flex;
  justify-content: center;
  gap: 40px; /* space between people */
  flex-wrap: wrap; /* allows wrapping on small screens */
  text-align: center;
}

.member img {
  width: 220px;
  border-radius: 8px;
  margin-top: 10px;
}
.member p {
  font-weight: bold;
  margin: 0;
}
.member small {
  font-weight: normal;
  color: gray;
}

/* content section blocks */
/* originally for the project page, but can be used elsewhere*/
.content-section{
  margin: 2rem auto ;
  background: #fafafa;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  max-width: 900px;
  line-height: 1.6;
}

/* lists within content sections */
.content-list {
  list-style: disc inside;
  padding-left: 1rem;
}

/* bullets in list withing content section*/
.content-list li {
  margin-bottom: 0.5rem;
}

/* add styling to titles in content sections */
.content-section h2 {
  font-family: 'Segoe UI', Tahoma, sans-serif;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #333;
}

/* add font styling to non headers */
.content-section p, .content-section li {
  font-size: 1.05rem;
  color: #444;
}

/* add columns to the blocks so they can have an image in the left 1/4 and text in the right 3/4 */
/* initially implemented at bottom of teams page */
.two-col {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}
.two-col .image-col {
  flex: 0 0 25%;
}
.two-col .image-col img {
  width: 100%;
  border-radius: 8px;
}
.two-col .text-col {
  flex: 1; 
}


/* Container for multiple info boxes side by side */
.info-box-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin: 2rem auto;
  max-width: 1000px;
  padding: 0 1rem;
}

/* Info box layout */
.info-box {
  flex: 1 1 300px; /* grow/shrink with min width */
  background: #f8f9fc;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  text-align: center; /* centers text inside */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.info-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

/* Inner content alignment */
.info-box-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Button styling */
.info-button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  background-color: #054d3b;
  color: #fff;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.25s ease, transform 0.15s ease;
}

.info-button:hover {
  background-color: #054d3b;
  transform: translateY(-2px);
}


/* Responsive iframe wrapper */
.iframe-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
}

.iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
