html, body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  width: 100%;
  font-family: 'Courier New', Courier, monospace;
  overflow-x: hidden;
}

.header-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
  background-color: #fff;
  text-align: center;
}

.logo-container img {
  width: 50px;
  height: auto;
}

.title-container h1 {
  font-family: 'Major Mono Display', monospace;
  margin: 5px 0;
  font-size: 2rem;
  line-height: 1.2;
}

.nav-container {
  margin-top: 10px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

nav a, .dropdown a {
  color: black;
  text-decoration: none;
  margin: 0 15px;
  padding-bottom: 5px;
  font-size: 1rem;
  position: relative;
}

nav a::after {
  content: '';
  display: block;
  width: 40px;
  height: 4px;
  background-color: orange;
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  transition: width 0.3s;
}

nav a:hover::after, .dropdown a:hover::after {
  width: 60px;
  background-color: darkorange;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0%;
  transform: translateX(-50%);
  background-color: white;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  text-align: left;
  z-index: 100;
  min-width: 200px;
  white-space: nowrap;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  color: black;
  padding: 10px 20px;
  text-decoration: none;
  display: block;
  font-size: 1rem;
  white-space: nowrap;
}

.dropdown-content a::after {
  display: none;
}

.dropdown-content a:hover {
  background-color: #fc6c85;
  color: white;
}

.link-style{

  text-decoration: none;
  color: black;
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.2rem;

}

.main-image {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fc6c85;
  overflow: hidden;
  height: calc(100vh - 120px);
  position: relative;
}

.main-image img {
  height: 100%;
  width: auto;
  min-width: 100vw;
  object-fit: cover;
}

@media (min-width: 768px) {
  .header-container {
    flex-direction: row;
    justify-content: space-between;
  }

  .title-container {
    text-align: center;
  }
}

.learning-objective-table th,td{

  border: 1px solid black;

}

body::before,
body::after {
  content: "";
  position: fixed;
  top: 0;
  bottom: 0;
  width: 50px;
  background-color: rgba(255, 165, 0, 0.2);
  z-index: -1;
}

body::before {
  left: 10px;
}

body::after {
  right: 10px;
}

.content-box {
  display: flex;
  background-color: #ffffff;
  border: 1px solid #ddd;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 15px;
  margin: 20px auto;
  border-radius: 8px;
  max-width: 80%;
  width: auto;
  text-align: center;
  justify-content: center;
}

.content-box img {
  display: inline-flex;
  max-width: 80%;
  height: auto;
  margin: 0 auto;
  border-radius: 5px;
  justify-content: center;
}

.content-box table {
  width: 100%;
  border-collapse: collapse;
}

.content-box th,
.content-box td {
  border: 1px solid #ccc;
  padding: 10px;
  text-align: left;
}

.content-box th {
  background-color: #f7f7f7;
  font-weight: bold;
}

.decorative-bar.left {
  left: 10px;
}

.decorative-bar.right {
  right: 10px;
}

h3 {
  font-family: 'Courier New', Courier, monospace;
  padding: 10px 20px;
  margin: 20px auto;
  border-radius: 8px;
  text-align: left;
  max-width: 80%;
  font-size: 1.5rem;
  letter-spacing: 2px;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  justify-content: center;
  align-items: start;
  margin: 20px auto;
  max-width: calc(100% - 160px);
  padding: 10px;
  box-sizing: border-box;
}

.image-grid-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: height 0.3s ease, margin 0.3s ease;
}

.image-grid-item h3 {
  font-family: 'Courier New', Courier, monospace;
  padding: 5px;
  margin-bottom: 10px;
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #333;
}

.image-grid-item img {
  max-width: 100%;
  max-height: 200px;
  object-fit: contain;
  background-color: #f0f0f0;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: max-height 0.3s ease;
}

.image-grid-item.expanded {
  width: 80vw;
  height: auto;
  margin: 0 auto;
}

.image-grid-item.expanded img {
  max-height: calc(100vh - 50px);
  object-fit: contain;
}

.image-grid-item:nth-child(odd):last-child {
  grid-column: span 2;
  justify-self: center;
}
