* {
    box-sizing: border-box;
    
}

@font-face {
  font-family: 'GT Haptik Medium';
  src: url('fonts/GT-Haptik-Medium.eot');
  src: url('fonts/GT-Haptik-Medium.eot?#iefix') format('embedded-opentype'),
      url('fonts/GT-Haptik-Medium.woff2') format('woff2'),
      url('fonts/GT-Haptik-Medium.woff') format('woff'),
      url('fonts/GT-Haptik-Medium.svg#GT-Haptik-Medium') format('svg');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Atkinson Hyperlegible';
  src: url('fonts/AtkinsonHyperlegible-Regular.eot');
  src: url('fonts/AtkinsonHyperlegible-Regular.eot?#iefix') format('embedded-opentype'),
      url('fonts/AtkinsonHyperlegible-Regular.woff2') format('woff2'),
      url('fonts/AtkinsonHyperlegible-Regular.woff') format('woff'),
      url('fonts/AtkinsonHyperlegible-Regular.svg#GT-Haptik-Medium') format('svg');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

html, .root {
    font-size: 24px;
    line-height: 24px;
    line-height: 1.5em;
    background-color: whitesmoke;
  }

body {
    margin: 0;
}

body {
    font-family: "Atkinson Hyperlegible", monospace;
}

h1 {
    font-family: "GT Haptik Medium";
    /*color:#3023ae;*/
    font-size: 2.5em;
    line-height: 1.16666667em;
    margin-top: 0.28888889em;
    margin-bottom: 0.38888889em;
}

.faq h2 {
  font-family: "GT Haptik Medium";
    font-size: 2.2em;
    line-height: 1.02439024em;
    margin-top: 3rem;
    margin-bottom: 0.51219512em;
}


h3, .h3 {
    font-size: 1em;
    line-height: 1.2em;
    margin-top: 0.80769231em;
    margin-bottom: 0em;
  }
  h4, .h4 {
    font-size: 1em;
    line-height: 1.3125em;
    margin-top: 1.3125em;
    margin-bottom: 0em;
  }
  h5, .h5 {
    font-size: 1em;
    line-height: 1.3125em;
    margin-top: 1.3125em;
    margin-bottom: 0em;
  }
  p, ul, ol, pre, table, blockquote {
    margin-top: 0em;
    margin-bottom: 1.3125em;
  }
  ul ul, ol ol, ul ol, ol ul {
    margin-top: 0em;
    margin-bottom: 0em;
  }

  summary, p {
    margin-top: 0.5rem;
    font-size: 1rem;
  }

  
  img {
    margin-top: 0.80769231em;
    margin-bottom: 0.80769231em;
  }

.announcement {
    margin-top: 30vh;
    margin-left: 10vh;
    animation: fadeIn 50ms;
}
details summary {
  cursor: pointer;
}



summary {
  border-style: solid;
  border-radius: 18px;
  padding: 14px; 
}

details {
  margin-top: 0.8em;
}


.marquee {
  color: #EEEDED;
  background-color: #878787;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
}

.marquee-content {
  font-family: "GT Haptik Medium";
  font-size: 2.5em;
  line-height: 1.16666667em;
  margin-top: 0.28888889em;
  margin-bottom: 0.38888889em;
  display: flex;
  animation: marquee linear infinite;
}

.marquee-content span {
  flex-shrink: 0;
  display: inline-block;
  /*  padding-right: 2em; optional gap between repeats */
}


@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
  }

.overview-panel {
    margin: 0 auto;
    max-width: 1400px;
    min-width: 400px;
    /*animation: fadeIn 1s;*/
}

.overview {
    margin: 0 auto;
    max-width: 1000px;
    min-width: 400px;
}

.overview img, p {
    max-width: 100%;
}

.section {
    padding-top: 2em;
    margin-bottom: 2em;
    justify-content: center;
}

.all {
    display: grid;
}

menu li, h1{
  display: inline-block;
}

menu li {
  padding: 42px;
  font-size: 1.45rem;
  font-weight: 900;
}

menu {
    margin: 0;
    background: #ededed;
}

menu li a:hover, a:visited:active {
  text-decoration-style: wavy;
  color: rgb(6, 0, 128);
}

menu li:before {
    font-weight: 900;
    padding: 10px;
  }




#lines {
    text-decoration-line: overline;
    text-decoration-style: wavy;
}


.gallery {
  display: inline-grid;
  max-width: 90%;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  overflow: hidden;
}

.gallery img {
  justify-content: space-between;
  max-width: 100%;
  height: auto;
  display: inline-block;
}

.category-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  
}

.category-intro h1, h2 {
  margin-top: 1rem;

}

.category-intro h2 {
  font-size: 1.85rem;
}

.project-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 35px;
}

.project-grid img {
  margin: 0;
  overflow: hidden;
  max-width: 100%;
}

.project-grid h3 {
  margin-top: 0.2rem;
}

@media only screen and (max-width: 750px) {
  menu li {font-size: 1.5rem; line-height: 0.8rem; padding-top: 0.2rem; display: block;}
  
  .overview {padding: 20px;}

  } 

.sidebysidelayout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 1em;
}

.sidebysidelayout img {
  margin: 0;
  overflow: hidden;
  max-width: 100%;
}

/* Resource links */
.resource-link {
  color: #0000FF;           
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
}

.resource-link span[aria-hidden="true"] {
  margin-right: 0.25em;     /* space between arrow and text */
  font-size: 1.1em;         /* slightly larger for visibility */
  display: inline-block;
}

/* Hover and focus styles for accessibility */
.resource-link:hover,
.resource-link:focus {
  color: darkorchid;           /* darker blue on hover/focus */
  transform: translateX(1px); /* subtle movement to indicate interactivity */
  outline: none;
}

.resource-link:focus-visible {
  outline: 3px solid #ffbf47; /* visible focus ring for keyboard users */
  outline-offset: 2px;
}

/* Resource list */
.resource-list {
  list-style: none;
  padding-left: 0;
}

.resource-list li {
  margin-bottom: 1em;       /* spacing between items */
}


.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}



.faq summary:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 2px;
}

.audio-player {
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 100%;
            max-width: 800px;
            margin: 0 auto;
            position: relative;
        }

audio {
  margin: 1rem 0rem;
  background-color: black;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;

  display: flex;
  flex-direction: column;   /* stack on mobile */
  align-items: center;
  gap: 12px;
}

.footer-logo {
  max-width: 120px;
  height: auto;
}

/* Optional: nicer layout on bigger screens */
@media (min-width: 600px) {
  .footer-list {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }

  .footer-logo {
    max-width: 100px;
  }
}



footer {
    background-color: #878787;
    grid-column: 1 / span 3;
    margin: 0;
    padding: 0;
  }

  footer ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
  }

  footer li {
    float: left;
    margin-top: 16px;
    
  }

  footer li a{
    display: block;
    /*text-align: center;*/
    padding: 16px 16px;
    color:  whitesmoke;
    text-decoration: none;
  }

  footer li a:hover{
    color: #0000FF;  
  }



.gallery {
  display: inline-grid;
  max-width: 100%;
  grid-template-columns: repeat(3, 1fr);
}

.gallery img {
  justify-content: space-between;
  max-width: 100%;
  height: auto;
  display: inline-block;
}


.logo {
  float: right;
  max-width: 300px;
  max-height: 40px;
  height: auto;
  padding-right: 52px;
}

@media (max-width: 600px) {
  footer ul {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  footer ul img {
    display: block;
    margin: 8px 0;
  }
}