:root {
  --color-bg: #FFFFFF;
  --header-bg: #3C6E71;
  --color-text-main: #1D1D1F;
  --color-text-header: #1D1D1F;
  --color-primary: #FFFFFF;
  --wrapper-height: 87vh;
  --image-max-width: 300px;
  --image-margin: 3rem;
  --font-family: "HK Grotesk";
  --font-family-header: "HK Grotesk";
}

body{
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text-main);
}

.header{
  width: 100vw;
  background: var(--header-bg);
  padding: 20px 10px;

  display: flex;
  flex-direction: column;
  align-items: center;
}

.header a {
  text-decoration: none;
  color: var(--color-bg);
}

.logo {
  font-size: 40px;
  font-weight: 800;
  font-family: "HK Grotesk";
}

.navbar{
  width: 90%;
  display: flex; 
  gap: 5%; 
  justify-content: center;

  font-family: "Constantia";
  font-size: 20px;
  font-weight: 500;
  border-top: 2px solid white;
  border-bottom: 2px solid white;
  padding: 5px 0;
  margin: 0;
  margin-top: 16px;
}
.navbar a {
  text-decoration: none;
  color: white;
}
.navbar a:hover,
.navbar .active {
  color: var(--color-text-main);
}

h1 {
  color: black;
  font-size: 35px;
  text-align: center;
  margin-top: 20px;
}

h2 {
  color: var(--color-text-main);
  text-align: center;
  font-size: 25px;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px;
}

.gallery figure {
  width: 120px;            /* Fixed width */
  margin: 0;
  text-align: center;
  flex-shrink: 0;
}

.gallery img {
  max-width: 120px;
  max-height: 120px;
  width: auto;
  height: auto;
}


.gallery figcaption {
  font-size: 0.75em;
  margin-top: 5px;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
}

.heatmaps .gallery figure {
  width: 360px;            /* Fixed width */
  margin: 0;
  text-align: center;
  flex-shrink: 0;

}

.heatmaps .gallery img {
  max-width: 360px;
  max-height: 360px;
  width: auto;
  height: auto;
}



h3 {
  color: black;
  margin: 20px 20px;
  font-size: 20px;
}

h4 {
  color: black;
  margin: 20px 20px;
  font-size: 20px;
}
