* {
  margin: 0;
  padding: 0;
}

:root {
  --padding: 1.5rem;
  --color-black: #000;
  --color-white: #fff;
  --color-grey: #777;
  --color-light: #efefef;
  --color-text: #2e2e2e;
  --color-text-grey: var(--color-grey);
  --color-background: #e0d4b0;
  --color-code-light-grey: #cacbd1;
  --color-code-comment: #a9aaad;
  --color-code-white: #c5c9c6;
  --color-code-red: #d16464;
  --color-code-orange: #de935f;
  --color-code-yellow: #f0c674;
  --color-code-green: #a7bd68;
  --color-code-aqua: #8abeb7;
  --color-code-blue: #7e9abf;
  --color-code-purple: #b294bb;
  --font-family-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol";
  --font-family-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo,
    Courier, monospace;
  --font-family-fancy: "Ballet";
  --font-family-title: "Instrument";
}

html {
  font-family: var(--font-family-sans);
  color: var(--color-text);
  background: white;
}

body {
  padding: var(--padding);
  margin: 0 auto;
  padding-top: 0;
  padding-bottom: 20px;
  box-shadow: inset -1px -1px 20px 16px #ffffff;
  background: var(--color-background);
}

main.main.homepage {
  margin: 0 1rem;
}

li {
  list-style: none;
}

a {
  color: currentColor;
  text-decoration: none;
}

button {
  font: inherit;
  background: none;
  border: 0;
  color: currentColor;
  cursor: pointer;
}

figcaption {
  font-size: 0.7rem;
}

strong,
b {
  font-weight: 600;
}

small {
  font-size: inherit;
  color: var(--color-text-grey);
}

.text p,
.text td,
p.tagline {
  font-size: 0.8rem;
  line-height: 1.1rem;
}

.bg-light {
  background-color: var(--color-light);
}

.color-grey {
  color: var(--color-text-grey);
  font-size: 1.4rem;
}

.header {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-right: -1rem;
  margin-left: -1rem;
  margin-bottom: 0px;
}

.main-page-title a {
  padding-right: 40px;
}

.title-icon {
  height: 1.7rem;
  position: absolute;
}

.logo {
  padding: 1rem;
  display: flex;
  align-items: center;
  font-weight: 600;
  cursor: pointer;
}

.menu {
  z-index: 10;
  position: fixed;
  right: 0;
  top: 0;
  text-align: right;
  padding: 10px 10px 0px 10px;
  box-shadow: 0px 0px 20px 20px white;
  background: white;
  border-bottom-left-radius: 15px;
}

.footer-menu li.nav-item {
  width: 100%;
}

nav.menu li.nav-item:nth-child(1) a {
  background: radial-gradient(#fccfcb00, #ffb9b9);
}

nav.menu li.nav-item:nth-child(2) a {
  background: radial-gradient(#fccfcb00, #ffbf00);
}

nav.menu li.nav-item:nth-child(3) a {
  background: radial-gradient(#fccfcb00, #c5b9ff);
}

nav.menu li.nav-item a:hover {
  background: white;
  -webkit-box-shadow: inset 0px 0px 0px 1px #000;
  box-shadow: inset 0px 0px 0px 1px #000;
}

ul.nav-dropdown {
  display: none;
  top: 24px;
  position: absolute;
}

li.nav-item:hover>.nav-dropdown {
  display: block;
}

li.nav-item {
  position: relative;
  display: inline-block;
}

a.homepage-subtitle {
  text-decoration: underline;
  font-size: 2rem;
  text-decoration-color: #72a2ff;
  transform: scale(1, 1.4);
  font-family: var(--font-family-title);
  line-height: 1.7rem;
  width: fit-content;
}

a.homepage-subtitle:hover {
  color: grey;
  text-decoration-color: #3a6dd1;
}

.menu a {
  font-size: 13px;
  padding: 4px 40px;
  margin: 0 1px;
  display: block;
  border-radius: 15px;
}

@media (min-width: 957px) {
  .col-sm-1andhalf {
    flex: 0 0 auto;
    width: 12.5% !important;
    padding-left: 0 !important;
  }
}

@media (max-width: 957px) and (min-width: 576px) {
  .col-sm-1andhalf {
    flex: 0 0 auto;
    width: 16.5% !important;
    padding-left: 0 !important;
  }
}

@media (max-width: 576px) {
  .col-sm-1andhalf {
    flex: 0 0 auto;
    width: 100%;
  }
}


@media (max-width: 768px) {
  .col-md-8.home-excerpt {
    margin-top: 10px;
  }

  .col-md-2.about-link {
    margin-top: 10px;
    text-align: center;
  }
}

@media (min-width: 768px) {
  .col-md-8.home-excerpt {
    margin-top: 50px;
  }

  .col-md-2.about-link {
    margin-top: 59px;
    text-align: center;
  }
}


a.about-link {
  background: radial-gradient(#ffffff2e, white);
  font-family: var(--font-family-title);
  text-align: center;
  font-size: 1.3rem;
  transform: scale(1, 1.75);
  border-radius: 15px;
  width: -webkit-fill-available;
  display: block;
}

a.about-link:hover {
  background: white;
}

.home-menu a {
  font-size: 21px;
  padding: 4px 10px;
  width: fit-content;
  margin: 0 7px;
  display: block;
}

p.proj-title {
  margin-bottom: 4px;
  font-weight: bold;
  font-size: 17px;
}

img.homepage-background.section-cover.hover {
  display: block;
}

img.homepage-background.section-cover {
  z-index: -9;
  display: none;
  overflow: hidden;
  width: 100%;
}

.parent-link .parent-title,
.parent-category .parent-title {
  color: black;
}

.projects-listing {
  margin-top: 40px;
}

.menu a[aria-current] {
  text-decoration: underline;
  box-shadow: 3px 9px 20px #c9b98a;
}

ul.nav-dropdown a {
  color: grey;
}

.social {
  display: flex;
  padding: 0 0.5rem;
}

.social a {
  padding: 1rem 0.5rem;
}

.section {
  padding: 3rem 0;
}

.grid {
  --columns: 12;
  --gutter: 1.5rem;
  display: grid;
  grid-gap: var(--gutter);
  grid-template-columns: 1fr;
}

.grid>.column {
  margin-bottom: var(--gutter);
}

.homepage-block.grid>.column {
  margin-bottom: 0;
}

.autogrid {
  --gutter: 3rem;
  --min: 10rem;
  display: grid;
  grid-gap: var(--gutter);
  grid-template-columns: repeat(auto-fit, minmax(var(--min), 1fr));
  grid-auto-flow: dense;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.text a {
  text-decoration: underline;
}

.text :first-child {
  margin-top: 0;
}

.text :last-child {
  margin-bottom: 0;
}

.text p,
.text ul,
.text ol {
  margin-bottom: 1.5rem;
}

.text ul,
.text ol {
  margin-left: 1rem;
}

.text ul p,
.text ol p {
  margin-bottom: 0;
}

.text ul>li {
  list-style: disc;
}

.text ol>li {
  list-style: decimal;
}

.text ul ol,
.text ul ul,
.text ol ul,
.text ol ol {
  margin-bottom: 0;
}

.text h1,
.h1,
.intro {
  font-size: 3.5rem;
  margin-bottom: 3rem;
  line-height: 1.25em;
}

.text h2,
.h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.text h3,
.h3 {
  font-weight: 600;
}

.text .codeblock {
  display: grid;
}

.text code {
  font-family: var(--font-family-mono);
  font-size: 1em;
  background: var(--color-light);
  padding: 0 0.5rem;
  display: inline-block;
  color: var(--color-black);
}

.text pre {
  margin: 3rem 0;
  background: var(--color-black);
  color: var(--color-white);
  padding: 1.5rem;
  overflow-x: scroll;
  overflow-y: hidden;
  line-height: 1.5rem;
}

.text pre code {
  padding: 0;
  background: none;
  color: inherit;
}

.text hr {
  margin: 6rem 0;
}

.text dt {
  font-weight: 600;
}

.text blockquote {
  font-size: 1.25rem;
  line-height: 1.325em;
  border-left: 2px solid var(--color-black);
  padding-left: 1rem;
  margin: 3rem 0;
  max-width: 25rem;
}

.text blockquote footer {
  font-size: 0.875rem;
  font-style: italic;
}

.text figure {
  margin: 3rem 0;
}

.text figcaption {
  padding-top: 0.75rem;
  color: var(--color-text-grey);
}

.large-par {
  font-size: 1.2rem;
  line-height: 1.4rem;
}

img.homepage-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: -10;
}

header.h1.home {
  background: transparent;
}

main.main.home {
  border: none;
  height: 100vh;
}

.home-fixed-holder {
  width: fit-content;
  margin: auto;
  margin-top: 20vw;
}

.home-fixed-holder li.nav-item {
  display: unset;
}

.inpage-tags {
  margin: 24px 0;
}

p.tags-title {
  margin: 0 0 8px 0;
}

hr {
  border: 0;
  background: currentColor;
  height: 2px;
  width: 1.5rem;
  margin: 3rem auto;
}

.align-center {
  text-align: center;
}

.intro {
  max-width: 40rem;
}

.intro *:not(:last-child) {
  margin-bottom: 1em;
}

.cta {
  background: var(--color-black);
  color: var(--color-white);
  display: inline-flex;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border: 4px solid var(--color-white);
  outline: 2px solid var(--color-black);
}

.box {
  background: var(--color-light);
  padding: 1.5rem;
  border: 4px solid var(--color-white);
  outline: 2px solid var(--color-light);
}

.video,
.img {
  position: relative;
  display: block;
  --w: 1;
  --h: 1;
  padding-bottom: calc(100% / var(--w) * var(--h));
  background: var(--color-black);
}

.img img,
.video iframe {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

.img[data-contain] img {
  object-fit: contain;
}

.img-caption,
.video-caption {
  padding-top: 6px;
  font-size: 13px;
}

.dev-projects img {
  border: 1px solid #bfbfbf;
}

.memorial.page-overview {
  font-size: 14px;
}

.memorial.page-overview p {
  padding-bottom: 15px;
}

.footer {
  margin: 7rem -10px 0;
  padding: 45px 10px 0;
  box-shadow: 0px -6px 0 0px hsl(359deg 88% 87%),
    0px -12px 0 0px hsl(42deg 96% 64%), 0px -18px 0 0px hsl(250deg 2% 77%);
  line-height: 1.5em;
}

.footer h2 {
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.footer ul,
.footer p {
  color: var(--color-text-grey);
}

.footer p {
  max-width: 15rem;
}

.footer a:hover {
  color: var(--color-text);
}

img.smaller-item {
  width: 100%;
}

.map {
  --w: 2;
  --h: 1;
  padding-bottom: calc(100% / var(--w) * var(--h));
  position: relative;
  overflow: hidden;
  background: var(--color-black);
}

.map iframe {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.margin-s {
  margin-bottom: 0.75rem;
}

.margin-m {
  margin-bottom: 1.5rem;
}

.margin-l {
  margin-bottom: 3rem;
}

.margin-xl {
  margin-bottom: 4.5rem;
}

.margin-xxl {
  margin-bottom: 6rem;
}

.projects-listing span.img:hover {
  opacity: 0.5;
  transition: 0.2s;
}

.projects-listing li.column:hover {
  text-decoration: underline;
}

@media screen and (min-width: 60rem) {
  body {
    --padding: 10px;
  }

  .grid {
    grid-template-columns: repeat(12, 1fr);
  }

  .grid>.column {
    grid-column: span var(--columns);
  }

  .grid li {
    list-style: none;
    --columns: 4;
    grid-column: span var(--columns);
  }

  .grid.project-table li.project-table-item {
    list-style: none;
    --columns: 3;
    grid-column: span var(--columns);
  }

  .grid .album-gallery li {
    --columns: 6;
  }

  .album-gallery {
    grid-template-columns: repeat(6, 1fr);
    --columns: 12;
    --gutter: 3rem;
    display: grid;
    grid-gap: var(--gutter);
  }
}

@media (max-width: 961px) {
  .grid.projects-listing {
    grid-template-columns: repeat(2, 1fr);
    --gutter: 11px !important;
  }
}

@media (max-width: 700px) {

  .main-gallery,
  .title-holder,
  .more-info {
    width: 98%;
  }

  nav.menu {
    display: none !important;
  }
}

@media (min-width: 700px) {

  .main-gallery,
  .title-holder,
  .more-info {
    width: 90%;
  }

  .mobile-menu,
  .mobile-menu-holder {
    display: none;
  }
}

button#mobile-menu-expander {
  position: fixed;
  right: 20px;
  top: 17px;
  z-index: 10;
  font-size: 13px;
}

.mobile-menu {
  display: none;
}

.mobile-menu ul.nav-list {
  padding: 50px 0 0 0;
}

button#mobile-menu-close {
  padding: 10px 0px;
  display: block;
  position: fixed;
  right: 30px;
}

li.column.memorial:hover {
  text-decoration: none !important;
}

.memorial.page-overview a {
  color: #c50000;
  text-decoration: underline;
}

.mobile-menu.opened {
  display: block;
  position: fixed;
  right: 0px;
  top: 0px;
  padding: 29px 30px 40px 0px;
  z-index: 10;
  background: white;
  width: 100%;
}

.mobile-menu li.nav-item {
  text-align: right;
  padding: 10px 0px;
  display: block;
}

.main-gallery {
  margin: auto;
  margin-top: 18px;
}

.profile-page-holder {
  text-align: center;
  padding: 40px 0 20px 0;
}

.profile-page-holder.text {
  padding: 0px 0 20px 0;
  font-size: 14px;
  text-align: left;
}

.main article {
  position: relative;
}

h1.main-page-title {
  text-decoration: underline;
  font-size: 3rem;
  text-decoration-color: #ebeb79;
  text-decoration-thickness: 1.4px;
  transform: scale(1, 1.75);
  font-family: var(--font-family-title);
  line-height: 1.2rem;
  width: fit-content;
  background: #ffffff;
  padding: 0 20px 0 10px;
  margin-left: -10px;
  border-bottom-right-radius: 30px;
  box-shadow: 0px 0px 20px 20px #ffffff;
}

a.h1.current-inline {
  display: inline-block;
  vertical-align: top;
}

img.title-gif {
  display: inline-block;
  width: 80px;
  position: absolute;
  top: -20px;
  margin-left: -20px;
}

ul.album-gallery a,
ul.album-gallery li,
ul.album-gallery img {
  cursor: pointer;
}

header.h1 {
  z-index: 1;
  position: sticky;
  top: 2rem;
  margin-bottom: 0;
}

.tags a.active {
  background: #a7a7a7;
  color: white;
}

.category-title {
  display: inline-block;
  font-size: 13px;
  padding: 0px 14px 0 0;
}

.category-selector {
  margin: 10px 0 0px 0;
  transition-duration: 0.5s;
  padding: 5px 0;
}

ul.tags {
  margin: 0;
  display: inline-block;
  font-size: 13px;
}

ul.tags li {
  list-style: none;
  display: inline-block;
  padding: 0 5px;
}

p#see-options {
  margin: 10px 0 0 0;
  font-size: 13px;
}

p#hide-options {
  margin: 10px 0 0 0;
  font-size: 13px;
  display: none;
}

.notes a {
  color: #c50000;
  text-decoration: underline;
}

.notes a:hover {
  color: red;
  text-decoration: none;
}

.home-menu ul {
  background: white;
}

.home-menu a.nav-item-link:hover {
  text-decoration: underline;
  transition-duration: 0.3s;
  text-decoration-color: grey;
  transform: skewY(3deg);
}

p#see-options.opened {
  display: none;
}

p.thumbnail-question {
  font-size: 13px;
  float: right;
}

.tags a {
  color: #bfbfbf;
  padding: 2px 14px;
  transition-duration: 0.4s;
  cursor: pointer;
}

.tags a:hover {
  background: white;
  color: black;
}

.notes {
  margin: 27px 0 4px 0;
}

.notes-title {
  margin: 0 0 6px 0;
  text-decoration: underline;
}

.pagination {
  display: flex;
  padding-top: 6rem;
}

.pagination>span {
  color: var(--color-text-grey);
}

.pagination>* {
  padding: 0.5rem;
  width: 45vw;
  font-size: 12px;
  text-align: center;
  border: 2px solid currentColor;
  margin-right: 1.5rem;
}

.pagination>a:hover {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}

.series-selector {
  margin: 10px 0 0 0;
}

.note-excerpt {
  line-height: 1.5em;
}

.note-excerpt header {
  margin-bottom: 1.5rem;
}

.note-excerpt figure {
  margin-bottom: 0.5rem;
}

.note-excerpt-title {
  font-weight: 600;
}

.note-excerpt-date {
  color: var(--color-text-grey);
}

h1.title {
  display: none;
}

h1.current-title {
  margin-bottom: 30px;
}

.title-holder {
  position: sticky;
  bottom: 0;
  margin: auto;
  background: #ffffff82;
}

.project-extra,
.project-year {
  font-size: 14px;
  font-weight: 600;
}

.project-extra .first {
  padding: 0px 8px;
}

.project-extra {
  padding: 1px 0px;
}

.project-year {
  float: right;
  padding: 22px 8px;
}

.project-info {
  font-size: 14px;
  font-weight: 400;
  padding: 2px 20px;
}

.album-gallery img {
  max-height: 80vh;
  width: auto;
}

.album-gallery li {
  margin: auto;
}

html .hb-wrapper .hb-image-container div.hb-image-div {
  padding: 5px;
}

.more-info {
  margin: auto;
  font-size: 14px;
  font-weight: 600;
  padding-left: 16px;
}

footer.footer li,
h2 {
  font-size: 13px;
}

.footer .footer-title {
  font-size: 16px;
}

h1.parent-title,
h1.parent-category {
  display: inline-block;
  color: grey;
}

ul.submenu {
  display: none;
}

a:hover nav.menu .submenu li {
  display: block;
}

/*About me page*/

@font-face {
  font-family: Ballet;
  src: url("../fonts/Ballet_Regular.ttf");
}

@font-face {
  font-family: Instrument;
  src: url("../fonts/InstrumentSerif-Regular.ttf");
}

img.profile-image {
  width: 280px;
  border: 3px solid white;
  box-shadow: 0 0 0 3px hsl(0deg 0% 0%), 0 0 0 6px hsl(0deg 0% 100%);
}

.cta-item-full {
  width: 100%;
  text-align: center;
}

.classic a,
.classic {
  font-size: 13px;
  padding: 6px 0;
  margin: 0;
  display: block;
  border-radius: 15px;
}

.classic a:hover {
  text-decoration: underline;
}

.classic a:nth-child(1) {
  background: radial-gradient(#fccfcb00, white);
}

.profile-page-holder.text .titletext {
  font-family: var(--font-family-title);
  font-size: 4.5vw;
  text-align: center;
  width: fit-content;
  margin: auto;
  margin-top: 16px;
  margin-bottom: 0px;
  -webkit-transform: scale(1, 2);
  -moz-transform: scale(1, 2);
  -o-transform: scale(1, 2);
  transform: scale(1, 2);
}

nav.menu ul.nav-list {
  margin-bottom: 3px;
}

/*Homepage*/

.prof-img-home img {
  width: -webkit-fill-available;
  width: -moz-available;
  margin-bottom: 14px;
}

.homepage-block {
  margin: 40px 0 40px 0 !important;
  padding: 15px 0 0 0;
  border-top: 3px solid white;
  border-bottom: 3px solid white;
}

.homepage-block .margin-xl {
  margin-bottom: 0;
}

h2.homepage-subtitle {
  text-decoration: underline;
  font-size: 2rem;
  text-decoration-color: white;
  transform: scale(1, 1.4);
  font-family: var(--font-family-title);
  line-height: 1.7rem;
  width: fit-content;
  padding: 0 20px 0 0;
  margin: -10px 0 15px 0;
}

.homepage-proj-grid ul.grid.projects-block {
  margin-top: 2rem;
}

/*Hidden Breadcrumbs*/

span#hidden-breadcrumb {
  display: none;
  padding-left: 30px;
}

/*Projects Page*/

.project-item img {
  width: -webkit-fill-available;
  width: -moz-available;
}

ul.grid.projects-block {
  margin-top: 95px;
}

.project-tagline {
  font-size: 0.8rem;
  line-height: 1.1rem;
}

.project-title {
  padding: 10px 0 0 0;
  font-size: 22px;
  line-height: 22px;
  margin: 0 0 5px 0;
}

/*Individual Project Page */

.sub-title {
  font-size: 1.6rem;
}

.project-pg,
.text-pg {
  margin-top: 110px;
}

figure.project-cover img {
  width: -webkit-fill-available;
  width: -moz-available;
}

.sub-title p {
  font-size: 1.6rem;
  margin-bottom: 7px;
}

.text td:first-child {
  padding-right: 10px;
  border-bottom: 1px solid #d8ca9f;
}

.text td:nth-child(2) {
  border-bottom: 1px solid white;
}

.text td:nth-child(3) a {
  text-decoration: none;
  border-bottom: none;
  background: #d3c28e;
  padding: 2px 5px;
}

.text td:nth-child(3) a:hover {
  background: grey;
  cursor: pointer;
}

.project-table-item img {
  width: -webkit-fill-available;
  width: -moz-available;
  background: white;
}

ul.grid.project-table li {
  list-style: none;
}

.project-pg .col-sm-6.large-par {
  padding: 0 1rem;
}

.project-pg .text h2 {
  padding: 0 calc(1rem + 15px);
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1.4rem;
}

.project-table-item .proj-title {
  font-size: 1.2rem;
  font-weight: unset;
  line-height: 1.5rem;
  margin-bottom: 30px;
  margin-top: 5px;
}

.project-table-item .tagline {
  background: white;
  padding: 0 5px;
  margin: 0;
}

.project-table-item p.tagline.institution {
  padding: 0 5px 10px 5px;
  font-style: italic;
}

.row.project-table {
  padding: 0 1rem;
}

.project-pg .text h2 {
  padding: 0 15px;
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1.4rem;
}

.row.project-table {
  padding: 0 1rem 40px 1rem;
}

.project-pg .intro-section.row {
  padding: 0 1rem;
  margin-bottom: 20px;
}

/*Homepage Mobile*/

@media (max-width: 575px) {
  .prof-img-home img {
    margin: 0 19vw;
  }

  .prof-img-home figcaption {
    margin: 5px 19vw;
  }
}

/*Writing page*/
.text-pg .intro-text.large-par {
  margin: 0 1rem;
}

img.project-img {
  margin-right: 10px;
}

.text-pg .row.project-table {
  padding: 40px 0;
}

.text-pg .text td {
  vertical-align: top;
  padding: 5px;
}

.text-pg table.text {
  margin-top: 50px;
}

.text-pg table.text a {
  text-decoration: none;
  border-bottom: none;
  background: #d3c28e;
  padding: 2px 5px;
}

.text-pg table.text a:hover {
  background: grey;
  cursor: pointer;
}

.text-pg .large-par h2 {
  font-size: 32px;
  font-weight: 600;
  margin: 0 0 -10px 0;
}