.notes .notes-container ul li a,
a.button {
  text-decoration: none;
  font-size: 0.9em;
  font-family: monospace;
  color: var(--text-color);
  /* background: var(--background-color); */
  background: none;
  border-radius: 3px;
  border: 1px solid gray;
  padding: 0.2em;
}
.notes .notes-container ul li a:hover,
a.button:hover {
  transform: rotate(0deg);
  color: var(--text-color);
  border-color: transparent;
  background: none;
  text-decoration: underline;
}

.main-title {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  width: 100%;
}

.main-title h1 {
    border-bottom: 1px solid white;
    border-top: 1px solid white;
    font-size: 2.4em;
    padding: 0.3em;
  }

.main-title nav ul {
      display: flex;
      gap: 1.5em;
      flex-wrap: wrap;
      list-style: none;
    }

.main-title nav ul a {
        font-size: 1.2em;
        padding: 0.5em;
      }
@media (max-width: 900px) {
  .main-title {
    flex-direction: column;
    margin-bottom: 2em;
  }
    .main-title nav ul {
      gap: 0.2em;
    }
      .main-title nav ul a {
        padding: 0.2em;
      }
}

.projects h2 {
    text-align: center;
    text-transform: none;
    text-decoration: none;
    margin-top: 0;
  }

.projects .projects-container {
    display: grid;
    grid-template-columns: repeat(3, 240px); /* FIMXE: hardcoded */
    grid-gap: 1em;
  }

.projects .projects-container .project {
      background: rgba(100, 100, 100, 0.05);
      padding: 1em 0.5em;
      border-radius: 8px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      align-items: center;
    }

.projects .projects-container .project h3 {
        color: var(--text-color);
        font-size: 1.3em;
        margin: 0;
        padding: 0;
        font-weight: lighter;
      }

.projects .projects-container .project figure a:hover {
          background: none;
        }

.projects .projects-container .project figure a {
          display: flex;
          justify-content: center;
        }

.projects .projects-container .project figure a img {
            width: 70%;
            height: auto;
          }

.projects .projects-container .project figure figcaption {
          margin-top: 1em;
          text-align: center;
          font-size: 0.8em;
          font-family: monospace;
        }

.projects .projects-container .project .menu {
        display: flex;
        flex-direction: row;
        width: 100%;
        justify-content: space-around;
      }

.projects .projects-container .project .menu a:nth-child(1) {
          transform: rotate(5deg);
        }

.projects .projects-container .project .menu a:nth-child(2) {
          transform: rotate(-5deg);
        }

.projects .projects-container .project .menu a:hover {
          transform: rotate(0);
        }

@media (max-width: 700px) {
    .projects .projects-container {
      grid-template-columns: 1fr;
    }
      .projects .projects-container .project {
        max-width: 90%;
      }
  }

.blognotes {
  display: flex;
  flex-direction: row;
}

.blognotes .blog {
    flex: 1 0 60%;
    text-align: center;
  }

.blognotes .blog a {
      text-decoration: none;
    }

.blognotes .blog h2 {
      text-transform: none;
    }

.blognotes .blog ul {
      display: inline-block;
      text-align: left;
      list-style: none;
      margin: 0;
      padding: 0;
    }

.blognotes .blog ul li b {
          color: #555;
          font-size: 0.8em;
          display: inline;
          margin: 0 1em 0 0;
        }

@media (max-width: 600px) {
          .blognotes .blog ul li b {
            display: none;
          }
        }

.blognotes .notes {
    display: flex;
    flex-direction: column;
  }

.blognotes .notes h2 {
      text-align: center;
      text-transform: none;
    }

.blognotes .notes .notes-container {
      flex-grow: 1;
      display: flex;
      align-items: center;
    }

.blognotes .notes .notes-container ul {
        display: flex;
        gap: 0.9em;
        flex-flow: row wrap;
        justify-content: center;
      }

.blognotes .notes .notes-container ul li {
          display: inline;
        }

.blognotes .notes .notes-container ul li b {
            display: none;
          }

.blognotes .notes .notes-container ul li a {
            font-size: 1.1em;
          }

@media (max-width: 800px) {
  .blognotes {
    display: flex;
    flex-direction: column;
  }
}

/*
  Photoswipe Caption
  https://photoswipe.com/caption/
*/

.pswp__custom-caption {
  background: rgba(0, 0, 0, 0.8);
  color: white;
  text-align: center;
  font-size: 16px;
  width: calc(100% - 32px);
  max-width: 400px;
  padding: 1em;
  border: 1px solid white;
  border-radius: 4px;
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
}
.pswp__custom-caption a {
  color: #fff;
  text-decoration: underline;
}
.hidden-caption-content {
  display: none;
}
