:root {
  --primary-color: #797181;
  --dark-color: #111C26;
  --darkest-color: #121212;
  --accent-color: #985cd4;
  --nav-color: #111C26;
  --text-color: #f9e9d9;
  --secondary-color: #D95964;
  --third-color: #F279C8;
  --fourth-color: #985cd4;
  --bright-color: #f9e9d9;
  --fourth-color-rgba: rgb(#985cd4), $transparency;
  --dark-color-rgba: 17, 28, 38, 0.5;
  --transparency: 0.3;
  --rounding: 1rem;
  --gap: 0.1rem;
  --compounded-gap: 0.5rem;
  --vw: 1vw;
  --vh: 1vh;
  --aspect-ratio: calc(var(--vw) / var(--vh));
  --base-font-size: 5vw;
  --aspect-ratio-adjustment: 2vw;
}

:root {
  --anim-long: 1.2s;
  --anim-med: 0.5s;
  --anim-short: 0.3s;
  --ease-in: cubic-bezier(0.2, 0.2, 0.5, 0.9);
  --ease-out: cubic-bezier(0.8, 0.2, 0.8, 1);
  --ease: cubic-bezier(0.0, 0.09, 0.0, 0.82);
  --bounce: cubic-bezier(0.18, 0.89, 0.32, 1.27);
}

/* For areas needing higher contrast */
.high-contrast-text {
  color: var(--beige);
  background-color: var(--dark-purple);
  padding: 0.5em;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  .nav-menu a {
    transition: none;
  }
  .nav-menu a:hover, .nav-menu a:focus {
    transform: none;
  }
  .nav-menu a::after {
    transition: none;
  }
}
.mosaic-container {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100vh;
  overflow-y: auto;
  scroll-behavior: smooth;
}

.grid {
  display: grid;
  grid-auto-rows: minmax(200px, auto);
  width: 100%;
  box-sizing: border-box;
}

.grid-item {
  overflow: hidden;
  position: relative;
  min-width: 0;
  filter: grayscale(100%) blur(5px);
  transition: filter var(--anim-med) var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .grid-item:hover {
    filter: grayscale(0%) blur(0px);
  }
}
.grid-item.revealed {
  filter: grayscale(0%) blur(0px);
}
.grid-item img {
  width: 105%;
  height: 105%;
  display: block;
  object-fit: cover;
}

.grid-item.portraitSmall-item,
.grid-item.portraitLarge-item {
  grid-column: span 1;
  grid-row: span 1;
}

.grid-item.landscapeSmall-item {
  grid-column: span 1;
  grid-row: span 1;
}

.grid-item.landscapeLarge-item {
  grid-column: span 2;
  grid-row: span 1;
}
@media (orientation: portrait) {
  .grid-item.landscapeLarge-item {
    grid-column: span 1;
  }
}

.tile-container {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.thumbnail-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--anim-med) var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .tile-container:hover .thumbnail-image {
    transform: scale(1.1);
  }
}
.grid-item.revealed .thumbnail-image {
  transform: scale(1.1);
}

.tile-overlay {
  padding: 0;
  margin: 0;
  padding: var(--gap);
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0.5rem;
  text-align: center;
  opacity: 0;
  transition: opacity var(--anim-med) var(--ease);
  width: 100%;
  min-width: 120px;
}
@media (hover: hover) and (pointer: fine) {
  .tile-container:hover .tile-overlay {
    opacity: 1;
  }
}
@media (hover: none) and (pointer: coarse) {
  .grid-item.revealed .tile-overlay {
    opacity: 1;
  }
}
.tile-overlay h3 {
  text-transform: uppercase;
  color: var(--text-color);
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4), -1px -1px 2px rgba(0, 0, 0, 0.5), 0px 0px 8px rgba(0, 0, 0, 0.5);
  font-size: clamp(1.8em, 4vw, 3em);
  overflow: hidden;
  text-overflow: ellipsis;
}
.grid-item.portraitSmall-item .tile-overlay h3, .grid-item.portraitLarge-item .tile-overlay h3, .grid-item.landscapeSmall-item .tile-overlay h3, .grid-item.landscapeLarge-item .tile-overlay h3 {
  font-size: clamp(2em, 3vw, 3em);
}
.tile-overlay h3.long-title {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: clamp(0.9em, 2.8vw, 1.6em);
  line-height: 1.1;
}
.grid-item.portraitSmall-item .tile-overlay h3.long-title, .grid-item.landscapeSmall-item .tile-overlay h3.long-title {
  font-size: clamp(0.8em, 2.2vw, 1.3em);
}
@media (max-width: 768px) {
  .tile-overlay h3 {
    font-size: clamp(1em, 3.5vw, 1.8em);
  }
  .tile-overlay h3.long-title {
    font-size: clamp(0.8em, 2.5vw, 1.4em);
  }
}

.panel-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.panel-content {
  position: relative;
  padding: var(--gap);
  margin: 0;
  background-color: var(--darkest-color);
  margin: 20px;
  padding: 10px;
  width: 80%;
  height: 80%;
  overflow-y: auto;
  z-index: 5000;
}

.close-button {
  position: absolute;
  right: 10px;
  top: 10px;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}
.close-button:hover {
  color: var(--accent-color);
}

.project-data {
  padding: 0;
  margin: 0;
  padding: var(--gap);
  margin: 0;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.panel-content h2 {
  font-family: ITCSerifGothicStdBlack, sans-serif;
  text-transform: uppercase;
  font-optical-sizing: auto;
  padding: 0;
  margin: 0;
  padding: var(--gap);
  margin: 0;
  margin: var(--gap);
  padding-right: 30px;
  display: block;
  position: relative;
}

iframe div {
  padding: 0;
  margin: 0;
  padding: var(--gap);
  margin: 0;
  margin: var(--gap);
  width: 100%;
  height: 100%;
}

iframe {
  width: 100%;
}

.project-data {
  justify-content: space-between;
  flex: 0 0 50%;
}

.project-data > div {
  display: flex;
  padding: 0;
  margin: 0;
  padding: var(--gap);
  margin: 0;
  margin: 1em;
  flex-direction: column;
  align-items: baseline;
  justify-items: baseline;
  align-items: flex-start;
  margin-bottom: var(--gap);
}

.project-data > div:first-child { /* Target the description div */
  flex: 1; /* Allow description to grow and take up available space */
}

.meta-data {
  width: auto;
  align-items: baseline;
  padding: 0;
  margin: 0;
}

.meta-data div {
  display: flex;
  flex-direction: row;
  align-items: baseline;
}

.meta-data h4 {
  display: flex;
  text-align: right;
  padding: var(--gap);
  margin: 0;
  flex-direction: row;
  white-space: nowrap;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

.meta-data ul {
  padding: var(--gap);
  margin: 0;
  display: flex; /* Make list items display horizontally */
  list-style: none; /* Remove list markers */
  flex-direction: row;
  align-items: baseline;
  flex-wrap: wrap;
  flex-grow: 1;
  margin-right: 0;
}

.meta-data li {
  padding: var(--gap);
  margin: 0;
  align-content: center;
  flex-direction: row;
  white-space: nowrap;
}
.meta-data li::after {
  content: ",";
  margin-left: 0;
}
.meta-data li:last-child::after {
  content: "";
}

.nav-button {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1001;
}

.nav-container {
  padding: 0;
  margin: 0;
  padding: var(--gap);
  margin: 0;
  position: fixed;
  top: 3.5rem;
  right: -350px;
  width: auto;
  height: auto;
  transition: right var(--anim-med) var(--ease-in);
  z-index: 1000;
}
.nav-container.open {
  right: 0;
}

.nav-list {
  list-style-type: none;
  padding: var(--gap);
  margin: 0;
}

.nav-item {
  font-family: ITCSerifGothicStdRoman, sans-serif;
  line-height: 1.2;
  font-size: 2.5rem;
  font-family: ITCSerifGothicStdBlack, sans-serif;
  text-transform: uppercase;
  font-optical-sizing: auto;
  padding: var(--compounded-gap) 0;
}

.nav-link {
  text-decoration: none;
}

.nav-container :is(.roles-list) ul {
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--gap);
}

ul li {
  text-decoration: none;
  text-align: right;
  position: relative;
}
ul li a {
  padding: 0.7rem;
  text-decoration: none;
  position: relative;
  color: currentColor;
  transition: color var(--anim-med) var(--ease);
}
ul li a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: currentColor;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--anim-med) var(--ease);
}
ul li a:hover {
  color: var(--inverted-text-color, var(--nav-color));
}
ul li a:hover::before {
  transform: scaleX(1);
}
ul li:nth-child(1) a {
  color: var(--primary-color);
}
ul li:nth-child(1) a::before {
  background-color: var(--primary-color);
}
ul li:nth-child(1) a:hover, ul li:nth-child(1) a:focus {
  color: var(--nav-color);
}
ul li:nth-child(2) a {
  color: var(--primary-color);
}
ul li:nth-child(2) a::before {
  background-color: var(--primary-color);
}
ul li:nth-child(2) a:hover, ul li:nth-child(2) a:focus {
  color: var(--nav-color);
}
ul li:nth-child(3) a {
  color: var(--primary-color);
}
ul li:nth-child(3) a::before {
  background-color: var(--primary-color);
}
ul li:nth-child(3) a:hover, ul li:nth-child(3) a:focus {
  color: var(--nav-color);
}
ul li:nth-child(4) a {
  color: var(--fourth-color);
}
ul li:nth-child(4) a::before {
  background-color: var(--fourth-color);
}
ul li:nth-child(4) a:hover, ul li:nth-child(4) a:focus {
  color: var(--nav-color);
}
ul li:nth-child(5) a {
  color: var(--accent-color);
}
ul li:nth-child(5) a::before {
  background-color: var(--accent-color);
}
ul li:nth-child(5) a:hover, ul li:nth-child(5) a:focus {
  color: var(--nav-color);
}
ul li:nth-child(6) a {
  color: var(--primary-color);
}
ul li:nth-child(6) a::before {
  background-color: var(--primary-color);
}
ul li:nth-child(6) a:hover, ul li:nth-child(6) a:focus {
  color: var(--nav-color);
}

a {
  text-decoration: none;
  transition: color var(--anim-med) var(--ease);
  position: relative;
}
a:hover, a:focus {
  color: var(--accent-color);
}
a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -1px;
  left: 0;
  background-color: var(--accent-color);
  transition: width var(--anim-long) var(--ease);
}
a:hover::after, a:focus::after {
  width: 100%;
}

.about-page {
  padding: 0;
  margin: 0;
  background-color: var(--darkest-color);
  color: var(--bright-color);
  padding: 20px;
}
.about-page h1 {
  text-align: center;
}
.about-page p, .about-page li {
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  line-height: 1.5rem;
}
.about-page .about-header {
  display: flex;
  flex-direction: column;
  gap: var(--compounded-gap);
  margin-bottom: 2rem;
}
@media (orientation: landscape) {
  .about-page .about-header {
    flex-direction: row;
    align-items: flex-start;
  }
  .about-page .about-header .about-summary {
    flex: 1;
    padding-right: var(--compounded-gap);
  }
  .about-page .about-header .about-image {
    flex: 0 0 300px;
  }
}
@media (orientation: portrait) {
  .about-page .about-header .about-summary {
    order: 1;
  }
  .about-page .about-header .about-image {
    order: 2;
    margin-top: var(--compounded-gap);
  }
}
.about-page .about-summary h1 {
  margin-bottom: 1rem;
}
.about-page .about-summary p {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}
.about-page .about-summary p:last-child {
  margin-bottom: 0;
}
.about-page .about-image {
  background-color: var(--dark-color);
  border-radius: var(--rounding);
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-page .about-image:empty::after {
  content: "Image Placeholder";
  color: var(--text-color);
  opacity: 0.5;
}
.about-page .about-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
@media (orientation: landscape) {
  .about-page .about-content {
    flex-direction: row;
    align-items: flex-start;
  }
  .about-page .about-content .about-main {
    flex: 2;
    padding-right: var(--compounded-gap);
  }
  .about-page .about-content .about-sidebar {
    flex: 1;
    min-width: 300px;
  }
}
@media (orientation: portrait) {
  .about-page .about-content .about-main {
    order: 1;
  }
  .about-page .about-content .about-sidebar {
    order: 2;
  }
}
.about-page .about-main h2 {
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}
.about-page .about-section-main {
  margin-bottom: 2rem;
  border-right: 1px solid var(--accent-color);
}
.about-page .about-section-main h3 {
  font-family: ITCSerifGothicStdRoman, sans-serif;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}
.about-page .about-section-main h4 {
  font-family: ITCSerifGothicStdRoman, sans-serif;
  color: var(--text-color);
  opacity: 0.8;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.about-page .roles-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.about-page .roles-list li {
  flex-shrink: 0;
  display: block;
  padding: var(--compounded-gap);
  color: var(--darkest-color);
  border-radius: calc(var(--rounding) * 0.5);
  font-size: 0.9rem;
  background-color: var(--primary-color);
}
.about-page .job-description {
  display: flex;
  flex-direction: column;
  text-align: left;
  align-items: flex-start;
}
.about-page .job-description ul {
  flex-direction: column;
  list-style-type: none;
}
.about-page .job-description li {
  text-align: left;
  list-style-position: inside;
  margin-bottom: 0.5rem;
}
.about-page .job-description li:last-child {
  margin-bottom: 0;
}
.about-page .about-sidebar {
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 1.5rem;
}
.about-page .about-sidebar-section {
  display: flex;
  flex-direction: column;
}
.about-page .about-sidebar-section h3 {
  font-family: ITCSerifGothicStdRoman, sans-serif;
  color: var(--accent-color);
}
.about-page .about-sidebar-section ul {
  padding: 0;
  margin: 0;
  border-bottom: 1px solid var(--accent-color);
  list-style: none;
}
.about-page .about-sidebar-section ul li {
  text-align: left;
  padding: 0.25rem 0;
}
.about-page .about-sidebar-section ul li:last-child {
  padding-bottom: var(--compounded-gap);
}

/* For landscape */
@media (orientation: landscape) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* For portrait */
@media (orientation: portrait) {
  /* Styles for portrait mode */
  .grid {
    grid-template-columns: 1fr;
  }
  iframe {
    height: auto;
    width: 100%;
  }
  .project-data {
    flex-direction: column;
  }
}
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: var(--darkest-color);
  border-radius: var(--rounding);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: var(--rounding);
  border: 2px solid var(--darkest-color);
  transition: background var(--anim-short) var(--ease);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-color);
}
::-webkit-scrollbar-thumb:active {
  background: var(--bright-color);
}

::-webkit-scrollbar-corner {
  background: var(--darkest-color);
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) var(--darkest-color);
}

.panel-content::-webkit-scrollbar-thumb {
  background: var(--accent-color);
}
.panel-content::-webkit-scrollbar-thumb:hover {
  background: var(--bright-color);
}

.contact-page {
  padding: 1rem;
  height: 90vh;
  text-align: center;
}
.contact-page a {
  padding: 0.7rem;
  text-decoration: none;
  color: currentColor;
  transition: color var(--anim-med) var(--ease);
}
.contact-page a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: currentColor;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--anim-med) var(--ease);
}
.contact-page a:hover {
  color: var(--inverted-text-color, var(--nav-color));
}
.contact-page a:hover::before {
  transform: scaleX(1);
}
.contact-page:nth-child(1) a {
  color: var(--primary-color);
}
.contact-page:nth-child(1) a::before {
  background-color: var(--primary-color);
}
.contact-page:nth-child(1) a:hover, .contact-page:nth-child(1) a:focus {
  color: var(--nav-color);
}

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

html {
  font-size: 16px;
  background-color: var(--darkest-color);
  color: var(--bright-color);
}

body {
  display: flex;
  flex-direction: column;
  margin: 0;
}

main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol {
  padding: 0;
  margin: 0;
  padding: var(--gap);
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: ITCSerifGothicStdBlack, sans-serif;
  text-transform: uppercase;
  font-optical-sizing: auto;
}

button {
  display: flex;
  padding: var(--compounded-gap);
  transition: background-color var(--anim-long) var(--ease) 0s;
}

button:hover {
  background-color: var(--accent-color);
  color: var(--dark-color);
}

.home-container {
  z-index: 1;
  display: flex;
  height: 100vh;
  position: relative;
}

.panel {
  padding: 0;
  margin: 0;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  z-index: 1;
}
.panel .panel-text {
  padding: 0;
  margin: 0;
  font-size: 2.5em;
  font-family: ITCSerifGothicStdBlack, sans-serif;
  text-transform: uppercase;
  font-optical-sizing: auto;
  line-height: 1em;
  text-shadow: 8px 8px 16px rgba(0, 0, 0, 0.5);
}
.panel .panel-text > div {
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.right-panel {
  background-color: var(--darkest-color);
}

.left-panel {
  padding: 0;
  margin: 0;
  background-color: var(--accent-color);
  /* ... other styles ... */
  display: flex;
  justify-content: space-around;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.left-panel .counter {
  padding: 0;
  margin: 0;
  line-height: 0.65em;
  font-size: 6em;
}
.left-panel .years {
  padding: 0;
  margin: 0;
  font-size: 3em;
  padding: 0;
  margin: 0;
}

@keyframes jump {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}
.three-js-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 100;
}

/*# sourceMappingURL=styles.css.map */
