:root {
  /* Set sans-serif & mono fonts */
  --sans-font: -apple-system, BlinkMacSystemFont, "Avenir Next", Avenir,
    "Nimbus Sans L", Roboto, "Noto Sans", "Segoe UI", Arial, Helvetica,
    "Helvetica Neue", sans-serif;
  --mono-font: Consolas, Menlo, Monaco, "Andale Mono", "Ubuntu Mono", monospace;

  /* Default (light) theme */
  --bg: #e4e4e4;
  --accent-bg: #c3c3c3;
  --text: black;
  --text-light: #585858;
  --border: black;
  --accent: #118660;
  --accent-two: #137634;
  --code: #d81b60;
  --preformatted: #444;
  --marked: #ffdd33;
  --disabled: #efefef;
}

/* Dark theme */
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #000000;
    --accent-bg: #2b2b2b;
    --text: #dcdcdc;
    --text-light: #ababab;
    --accent: #23d85f;
    --code: #f06292;
    --preformatted: #ccc;
    --disabled: #111;
  }
  /* Add a bit of transparency so light media isn't so glaring in dark mode */

}

img,
video {
  opacity: 1;
  border-radius: 0;
}

body > header {
  background-color: var(--bg);
  border-bottom: none;
  padding-top: 150px;
  padding-bottom: 150px;
}

header > nav a,
header > nav a:visited {
  border: none;
  border-radius: 2px;
  font-weight: bold;
}

section {
  margin-bottom: 10em;
}

.about h1 {
  margin-top: 0;
  margin-bottom: 10px;
}

.about h2 {
  font-size: 1.5em;
  margin-top: 0px;
}

header > h3 {
  margin-top: 12px;
  font-weight: normal;
}

.about {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 20px;
}

.about img {
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.project-preview{
  margin-top: 5em;
}

.project-preview a {
  text-decoration: none;
  color: var(--text)
}

.project-preview a :hover {
  text-decoration: underline;
  color: var(--accent)
}

.project-preview-title {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

.project-preview-image{
  margin-bottom: 1em;
}

.project-preview-grid {
  margin-top: 0;
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 20px;
}

.project-preview-credits {
  margin-top: 1em;
  line-height: 1.5em;
  color: var(--text-light);
  font-size: 0.7em;
}

.project-preview-credits p {
  margin: 1rem 0em 0em 0em;
}

.project-preview-intro {

}

.insta-post {
  margin-left: auto;
  margin-right: auto;
}

.logo {
   width: 540px;
   height: auto;
}

nav {
  position: sticky;
  top: 4px;
}

section {
  border: none;
}

.full-width {
	left: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	max-width: 100vw;
	position: relative;
	right: 50%;
	width: 100vw;
}

.showcase_image_grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 1em;
}

.showcase_image_header {
  margin: 1.5em 0;
}

.showcase_embed_grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 1em;
}

.tiktok-embed {
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

.showcase_body {
  margin: 0em 0em 6em;
}

.project_showcase_header h3 {
  margin-top: -0.8em;
}

@media only screen and (max-width: 768px) {
  .about {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  img {
    max-height: 340px;
    width: auto;
  }

  .project-preview-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .project-preview-credits {
    margin-top: 0;
  }

  .project-preview-credits p {
    margin: 0;
  }

  .showcase_embed_grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }

}
