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

body {
  font-family: Arial, sans-serif;
  /* make sure it looks good in the dark by using dakr theme */
  /* use dark color for the background */
  background-color: #212121;
  color: #f5f5f5;
}

#projects {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: 16px;
  flex-direction: row;
}

.project {

  border-radius: 8px;

  background-color: #424242;
  display: flex;
  flex-direction: column;
  min-height: 200px;
  border-radius: 8px;
  padding: 12px;

  margin-left: 6px;
  margin-top: 8px;
  padding-top: 8px;
  min-width: calc(47vw - 8px);
  height: 100%;
  max-width: calc(47vw - 8px);
}

@media (max-width: 800px) {
  .project {
      max-width: calc(47vw - 16px);
      min-width: calc(47vw - 16px);
  }
}



@media (max-width: 400px) {
  .project {
    min-width: calc(100vw - 32px);
  }
  #projects {
    justify-content: center;
  }
}


a {
  color: #2196f3;
}
ƒ
a:hover {
  color: #90caf9;
}

#content {
  padding: 16px;

  background-color: #212121;
}

#header {
  display: flex;
  max-height: 4rem;
}

#header:hover {
  cursor: pointer;
}

#header * {
  display: flex;
  flex-direction: row;
  align-items: center;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

#header img {
  max-height: 48px;
  max-width: 48px;
  margin-right: 8px;
}

.invis-link, .invis-link:hover {
  text-decoration: none;
  color: inherit;
  max-width: fit-content;
}

.site-stats {
  font-family: monospace;
  font-weight: bold;
  font-size: 0.8rem;

  display: flex;
  flex-direction: column;
  min-height: 50px;
  height: 100%;
  justify-content: flex-end;
}

.project-info {
  min-height: 130px;
  display: flex;
  height: 100%;
  flex-direction: column;

}

.ah1 {
  text-decoration: none;
  color: inherit;
  font-size: 2em;
  font-weight: bold;
}

.ah1:hover {
  cursor: pointer;
  color: inherit;
}

.status-text, .status-text * {
  display: inline;
}

.color-span {
  font-weight: bold;
}

.icon-link {
  padding-top: 4px;
  padding-bottom: 4px;
}

.project-description {
  margin-bottom: 8px;
  margin-top: 8px;
  min-height: 32px;
}

#about-footer {
  display: flex;
  justify-content: center;
  flex-direction: row;
  align-items: center;
  margin-top: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

#about-footer > .footer-link {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.footer-link {
  margin-left: 8px;
  margin-right: 8px;
}

.footer-link:hover {
  cursor: pointer;
}

.footer-link > * {
  display: flex;
  flex-direction: row;
  align-items: center;
  color: #f5f5f5;
  font-weight: bold;
  text-decoration: none;
}

.footer-link > svg {
  margin-right: 4px;
}

.about-footer > h2 {
  display: block;

}

.img-preview {
  max-width: 100%;
  overflow: auto;
  display: flex;
  flex-direction: row;
  margin-top: 8px;
}

.img-preview img:hover {
  cursor: pointer;
  border-radius: 8px;
  border: 1px dashed #f5f5f5;
}

.img-preview a {
  display: contents;
  height: 100%;
}

.img-preview img {
  max-width: 100%;
  max-height: 400px;
  border-radius: 16px;
  margin-right: 4px;
}



.project-urls {
  display: flex;
  flex-direction: row;

  margin-top: 8px;
}


.img-same-height {
  height: 150px;
}
