
body {
      font-size: 15px;
      background: #fff;
      color: #7c7c7c;
      font-family: "Pontano Sans-body", sans-serif;
      font-weight: 300;
      margin: 0;
      padding: 0;
    }
    #container {
      display: flex;
      flex-direction: column;
      max-width: 900px;
      margin: 40px auto;
      box-shadow: 0 0 0px #aaa;
      background: #fff;
    }
    .container-nav {
    width: 100%;
}

a {
  color: #7c7c7c;
  font-family: "Pontano Sans-body", sans-serif;
  text-decoration: none;
  transition: color 0.2s ease, border-bottom 0.2s ease;
}

/* Hover style */
a:hover {
  color: #575757;
  text-decoration: none;
}

/* Active/current page link */
a.active {
  color: #575757;
  text-decoration: none;
}
.header-row a {
  font-family: "Rubik Mono One", monospace;
  font-size: 1em;
  color: #7c7c7c;
  text-decoration: none;
  padding: 4px 8px;
  margin: 0 6px;
  transition: all 0.2s ease-in-out;
}

/* Hover effect for header links */
.header-row a:hover {
  text-decoration: underline;
  color: #575757;
}

/* Active link style in header */
.header-row a.active {
  text-decoration: underline;
  color: #575757;
  font-weight: bold;
}
.header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 600px;
  margin: 0 auto; /* ✅ this centers the nav inside container-nav */
  flex-wrap: nowrap;
}

.header-col {
  flex: 1;
  white-space: nowrap;
}

.header-col.left {
  font-family: "Rubik Mono One", monospace;
  font-size: 1.2em;
  text-align: right;
  padding-right: 10px;
}

.header-col.right {
  font-family: "Rubik Mono One", monospace;
  font-size: 1.2em;
  text-align: left;
  padding-left: 10px;
}


    #main {
      flex: 1;
      padding: 30px;
    }
    
    h1 {
      font-size: 2.1em;
      font-family: "Rubik Mono One", monospace;
      font-weight: 400;
      color: #7c7c7c;
      margin-top: 0;
    }
    
    h3 {
      font-size: 1.5em;
      font-family: "Rubik Mono One", monospace;
      font-weight: 400;
      color: #7c7c7c;
      margin-top: 0;
    }
    
    .footer {
      text-align: center;
      margin: 20px 0 0 0;
      color: #888;
      font-size: 0.9em;
    }
    
    
   h4 {
      font-size: 14px;
      background: #fff;
      color: #7c7c7c;
      font-family: "Pontano Sans-bold", sans-serif;
      font-weight: 700;
      margin: 0;
      padding: 0
    }

  @media (min-width: 768px) {
      #container {
        flex-direction: row;
      }
      #main {
        padding: 30px;
      }
      .image-margin {
        margin-bottom: 10px;
        margin-top: 90px;
      }
    }
    
    
.pontano-sans-body {
  font-family: "Pontano Sans", sans-serif;
  font-style: normal;
  font-weight: 300;
}

.pontano-sans-bold {
  font-family: "Pontano Sans", sans-serif;
  font-style: normal;
  font-weight: 700;
}

.rubik-mono-one-regular {
  font-family: "Rubik Mono One", monospace;
  font-weight: 400;
  font-style: normal;
}

.image-container,
.image-container-first {
  position: relative;
  display: inline-block;
  width: 100%;
  margin-top: 90px; /* default spacing */
}

.image-container-first {
  margin-top: 50px; /* custom spacing for first item */
}

.image-container img,
.image-container-first img {
  width: 100%;
  display: block;
  transition: opacity 0.3s ease;
}

.image-title {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  padding: 0 10px; /* Optional for spacing inside overlay */
  box-sizing: border-box;
}

.image-container:hover img,
.image-container-first:hover img {
  opacity: 0.3;
}

.image-container:hover .image-title,
.image-container-first:hover .image-title {
  opacity: 1;
}



@media (hover: hover) and (pointer: fine) {
  .image-container:hover img {
    opacity: 0.5;
  }
  .image-container:hover .image-title {
    opacity: 1;
  }
}
