/* Fonts */
@font-face {
  font-family: 'Mona';
  src: url('fonts/mona.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Afacad';
  src: url('fonts/afacad.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body */
body {
  background-color: #E7E7EB;
  color: black;
  font-family: 'Mona', sans-serif;
}

/* Banner */
.banner {
  text-align: center;
  position: relative; /* allows nav to be absolute inside */
}

.banner img {
  display: block;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

/* Hamburger nav floating on top */
.nav {
  position: fixed; /* float over everything */
  top: 40px;       /* distance from top */
  left: 40px;     /* distance from right */
  z-index: 999;    /* above banner/content */
}

/* Hamburger icon */
.nav .hamburger {
  display: inline-block;
  cursor: pointer;
}

.nav .hamburger div {
  width: 45px;
  height: 6px;
  background-color: black;
  margin: 5px 0;
  transition: 0.3s;
}

/* Dropdown links overlay */
.nav-links {
  list-style: none;
  display: none;
  flex-direction: column;
  background-color: rgba(0, 0, 0, 0.85); /* semi-transparent overlay */
  position: fixed;    /* overlay banner/content */
  top: 60px;          /* below hamburger */
  left: 20px;
  width: 200px;
  border-radius: 5px;
  overflow: hidden;
  z-index: 1000;      /* above everything else */
}

.nav-links li a {
  display: block;
  color: white;
  text-decoration: none;
  padding: 10px 20px;
}

.nav-links li a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Show links when active */
.nav-links.active {
  display: flex;
  flex-direction: column;
}

/* Main content */
.content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 20px;
  min-height: 30px;
  text-align: center;
}

main.content h1 {
  padding: 5px;
}

main.content h3 {
 padding:10px; 
}
main.content h2,
main.content h4,
main.content p,
main.content h5 {
  padding: 8px;
}

main.content img {
  border: 2px solid black;
}

main.content p {
  max-width: 660px;
  font-family: 'Afacad', serif;
  line-height: 1.5;
}
/* Row for H2 tags */
.h2-row {
  display: flex;
  flex-direction: row;
  justify-content: center; /* centers the row horizontally */
  gap: 10px; /* spacing between the h2s */
  flex-wrap: wrap; /* optional: wraps to next line on small screens */
  background-color: #C8C8CC;
  min-width: 670px;
}

/* Universal link styles */
a {
  text-decoration: none;       /* removes underline */
  color: black;         /* normal link color */
}

a:visited {
  color: #8E8F8F       /* visited link color */
}

.expressedcontent h3 {
    border: 2px solid black;
    padding: 5px;   
    padding-left: 18px; 
    padding-right: 18px;
    display: inline-block;  
    border-radius: 4px;      
    margin-bottom: 5px;      
    cursor: pointer;
}

.expressedcontent img,
.expressedcontent iframe{
    display: block;     /* makes it a block element */
    margin: 10px auto;  /* centers it horizontally */
    max-width: 100%;    /* optional: keeps it from overflowing the container */
    justify-content: center;
}

.expressedcontent h4,
.expressedcontent p,
.expressedcontent a,
.expressedcontent img,
.expressedcontent iframe{
    display: none; /* hide by default */
}

.expressedcontent .show {
    display: block; /* reveal with block for consistent alignment */
    margin: 10px auto; /* center horizontally */
}

.expressedcontent p,
.expressedcontent a {
    max-width: 660px;
    margin: 10px auto; /* center these too */
    text-align: center;
}
.expressedcontent img,
.expressedcontent iframe {
    max-width: 660px; /* match the paragraph width */
}


main.hr {
  padding: 5px;
}

br {
  padding:5px;
}

h6 {
  padding: 5px;
}

