* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  touch-action: manipulation;
}


html {
  font-family: InterVariable, sans-serif;
  -webkit-font-smoothing: antialiased;
  font-weight: 400;
  line-height: 1.4;
  font-size: 16px;
  touch-action: manipulation;
  -ms-scroll-chaining: none;
  overscroll-behavior: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  overflow: hidden
}

body {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow-y: hidden;
  overscroll-behavior: contain;
  background-color: #fff;
}

html::-webkit-scrollbar {
  display: none;
}

button,
a {
  all: unset;
  cursor: pointer;
  transition: none;
}

button:hover,
a:hover {
  color: black;
}

a {
  text-decoration: none;
  color: unset;
  cursor: pointer;
}

ul {
  list-style: none;
}

::-webkit-scrollbar,
a::-webkit-scrollbar,
body::-webkit-scrollbar,
html::-webkit-scrollbar {
  display: none;
}

#button-container {
  background: linear-gradient(180deg, #fff 0%, #4d4d4d 50%, #ffcdf7 88%);
  box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 0.08),
    0px 0px 1px 1px rgba(0, 0, 0, 0.25) inset;
  padding: 3px;
  border-radius: 28px;
}

#button-container:hover {
  opacity: 0.6;
}

#button {
  background: linear-gradient(180deg, #C4C4C4 0%, #797A7A 100%);
  color: white;
  border-radius: 28px;
  padding-inline: 3px;

}
#button svg {
  transform: rotate(-45deg);
}

.opacity-1 {
  opacity: 0;
}

.global-opacity-0 {
  opacity: 0;
}

.global-opacity-100 {
  opacity: 1;
}

.grid {
  display: grid;
  grid-template-columns: [full-start] 1fr [content-start] 255px [content-end] 1fr [full-end];
  grid-template-rows: [full-start] 1fr [content-start] 310px [content-end] 1fr [full-end];
  align-items: center;
  width: 100vw;
  pointer-events: none;
  height: calc(var(--1dvh, 1vh) * 100);
  /* This is the "polyfill" */
  height: 100svh;
  /* This is for future browsers that support svh, dvh and lvh viewport units */
  overscroll-behavior: none;
}

@media (min-width: 1024px) {
  .grid {
    grid-template-columns: [full-start] 1fr [content-start] 700px [content-end] 1fr [full-end];
    grid-template-rows: [full-start] 1fr [content-start] 540px [content-end] 1fr [full-end];
  }
}

.grid>* {
  grid-column: content;
  grid-row: 2;
}

.grid-content {
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}

.grid-content-default {
  transform: translate3d(0px, 0px, 0px);
  height: 100%;
  max-height: 100%;
  min-width: 100%;
}

.grid-content-content {
  display: flex;
  align-items: flex-end;
  height: 100%;
  max-width: 100%;
}

.grid-content-content.active {
  background-color: orange;
  transform: scale(1);
}

.timeline-root {
  display: flex;
  flex-direction: row;
  min-height: 0;

  align-items: flex-end;
  overflow: visible;
  flex-shrink: 0;
  width: auto;
  opacity: 1;
  max-height: 130px;
}

@media (min-width: 1024px) {
  .timeline-root {
    padding-right: 200px;
    max-height: 530px;
  }
}

.timeline-image-wrapper {
  position: relative;
  height: 100%;
  display: flex;
  align-items: flex-end;
}

.timeline-image-container {
  position: relative;
  display: flex;
  flex-shrink: 0;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  overflow: visible;
}

.timeline-image-container.wh1 {
  height: 126px;
  width: 50px;
  margin-right: 20px;
}

.timeline-image-container.wh2 {
  height: 126px;
  width: 222px;
  margin-right: 20px;
}

.timeline-image-container.wh3 {
  height: 92px;
  width: 46px;
  margin-right: 20px;
}

@media (min-width: 1024px) {
  .timeline-image-container.wh1 {
    height: 360px;
    width: 200px;
    margin-left: -5px;
  }

  .timeline-image-container.wh2 {
    height: 380px;
    width: 710px;
    margin-right: 70px;
  }

  .timeline-image-container.wh3 {
    height: 300px;
    width: 150px;
  }
}

.timeline-image-animations {
  position: absolute;
  bottom: 0;
  transform-origin: bottom center;
  will-change: transform, opacity;
  display: list-item;
  transition: all 0.5s cubic-bezier(0.32, 0.72, 0, 1);
}

.timeline-gallery-content-animations {
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.32, 0.72, 0, 1);
}


/* #endregion */
.timeline-image-animations::marker {
  color: white;
}

.timeline-image-animations2 {
  position: absolute;
  bottom: 0;
  transform-origin: top center;
  will-change: transform;
  /* display: list-item; */
}

.gallery-item-container {
  display: flex;
  height: 100%;
  max-height: 100%;
  max-width: 100%;
}

.gallery-item-container:last-of-type {
  margin-right: 0;
}

.gallery-item-centerer {
  display: flex;
  flex-shrink: 0;
  height: 100%;
  justify-content: center;
  align-items: center;
  max-width: 100%;
  max-height: 290px;
}

@media (min-width: 1024px) {
  .gallery-item-centerer {
    max-height: 550px;
  }
}

.gallery-item-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-direction: column-reverse;
  height: auto;
  max-width: 590px;
  max-height: 340px;
}

.gallery-item-inner.wh1 {
  max-width: 240px;
  max-height: 290px;
}

.gallery-item-inner.wh2 {
  max-width: 410px;
  max-height: 290px;
}

.gallery-item-inner.wh3 {
  max-width: 142px;
  max-height: 290px;
}

@media (min-width: 1024px) {
  .gallery-item-inner {
    flex-direction: row;
  }

  .gallery-item-inner.wh1 {
    max-width: 300px;
    max-height: 550px;
  }

  .gallery-item-inner.wh2 {
    max-width: 1000px;
    max-height: 600px;
  }

  .gallery-item-inner.wh3 {
    max-width: 300px;
    max-height: 550px;
  }
}

.gallery-content-container {
  display: flex;
  margin-top: 40px;
  margin-right: 0;
  align-items: flex-start;
  justify-content: flex-start;
  height: 170px;
  overflow: visible;
  min-width: 100%;
  padding-left: 0;
  padding-right: 0;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .gallery-content-container {
    min-width: 0;
    margin-right: 50px;
    margin-top: 0;
    height: 300px;
  }
}

.gallery-content-content {
  /* pointer-events: none; */
  transform: translateZ(0);
  display: inline-block;
}

.gallery-content-columns {
  font-size: 15px;
  display: flex;
  align-items: flex-start;
  align-content: flex-start;
}

@media (min-width: 1024px) {
  .gallery-content-columns {
    flex-direction: column;
  }
}

.gallery-content-column {
  margin-right: 70px;
  font-size: 15px;
}

.gallery-content-column:nth-child(2) {
  margin: 0;
}

@media (min-width: 1024px) {
  .gallery-content-column {
    margin-right: 0;
    margin-bottom: 30px;
  }

  .gallery-content-title {
    font-weight: 600;
  }
}

.rick-icon {
  width: 30px;
  height: 30px;
}

.gallery-content-title {
  /* font-size: 17px; */
  font-weight: 600;
}

.gallery-content-subtitle {
  font-weight: 350;
  line-height: 1.4;
  display: flex;
  flex-direction: column;
}

.gallery-content-text {
  display: flex;
  flex-direction: column;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 350;
  color: rgba(0, 0, 0, 0.4);
  white-space: nowrap;
}


.gallery-content-date {
  padding-top: 6px;
}

.gallery-content-link-btn {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-top: 24px;
  border-radius: 5px;
  color: rgba(0, 0, 0, 0.4);

  /* outline: 1px solid rgb(177, 177, 177); */
  /* SAFARI HACK */
  /* box-shadow: 0 0 0 1px rgb(177, 177, 177); */
  padding: 2px 6px 2px 0px;
  width: fit-content;
}

.project-image-container {
  flex-shrink: 0;
  max-height: 100%;
  transition: all 0.5s cubic-bezier(0.32, 0.72, 0, 1);
}

.project-image-container.wh1 {
  width: 500px;
  height: 290px;
}

.project-image-container.wh2 {
  width: 500px;
  height: 290px;
}

.project-image-container.wh3 {
  width: 142px;
  height: 290px;
}

@media (min-width: 1024px) {
  .project-image-container.wh1 {
    width: 300px;
    height: 540px;
  }

  .project-image-container.wh2 {
    width: 940px;
    height: 540px;
  }

  .project-image-container.wh3 {
    width: 300px;
    height: 540px;
  }
}

.project-image-image {
  max-width: 100%;
  max-height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: 50%;
  transform: translateZ(0);
}

.project-image-image:hover {
  cursor: pointer;
}

.about-image {
  min-width: 100%;
  min-height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

#about-transform {
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

#timeline-animations {
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.about-background-animations,
.about-image-animations,
.about-text-animations {
  transition: opacity 0.3s ease-out, filter 0.3s ease-out;
}

.about-image-animations {
  transition-delay: 0.05s;
  width: 255px;
  height: 255px;
}

.colon-blink {
  animation: blink 1s ease-in-out;
}

@keyframes blink {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
  
  100% {
    opacity: 1;
  }
}

.main-container {
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.timeline-header-animations {
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1),
}

/* ****************utilites*************** */
.util-locked {
  pointer-events: none;
}

.util-unlocked {
  pointer-events: all;
}

.util-show {
  display: grid;
}

.util-display-none {
  display: none;
}

.util-hide {
  opacity: 0;
}

.disable-overscroll {
  overflow: hidden !important;
}

.animate {
  transform: translate(0, 12px) rotate(0) skewY(0) scaleX(1) scaleY(1);

  transition-property: transform, opacity;
  transition-duration: 0.5s;
  transition-timing-function: cubic-bezier(0.33, 1, 0.68, 1);
  opacity: 0;
}

.animate.show {
  transform: translate(0, 0) rotate(0) skewY(0) scaleX(1) scaleY(1);

  opacity: 1;
}

.scale-093 {
  transform: scale(0.93);
}

.scale-1 {
  transform: scale(1)
}

/* ******************** Header ****************/
.header-root {
  width: 100%;
  height: 100%;
  transform: translateZ(0);
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  pointer-events: none;
}

.header-grid {
  display: grid;
  grid-template-columns: [full-start] 1fr [content-start] 260px [content-end] 1fr [full-end];
  grid-template-rows: [full-start] 1fr [content-start] 320px [content-end] 1fr [full-end];
  align-items: center;
  width: 100vw;
  pointer-events: none;

  overscroll-behavior: none;
}

.header-grid>* {
  grid-column: content;
  grid-row: 2;
}

.header-header {
  display: flex;
  transform-origin: top left;
  flex-direction: column;

  justify-content: space-between;
  height: auto;
}

@media (min-width: 1024px) {
  .header-header {
    flex-direction: row;
  }
}

.header-header-title-container {
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 12px;
  transition: all 0.5s cubic-bezier(0.32, 0.72, 0, 1);
  transform-origin: left;
}

.header-header-title {
  white-space: nowrap;
}

.header-header-date {
  white-space: nowrap;
}

.header-header-nav {
  font-size: 20px;
  align-self: flex-start;

  z-index: 3;
  transform-origin: top right;
}

.header-header-nav-inner {
  display: flex;
  flex-direction: column;
  font-size: 16px;
}

.header-header-nav-item {
  display: flex;
  align-items: center;
  gap: 2px;
  color: rgba(0, 0, 0, 0.4);
}

@media (max-width: 700px) {
  .header-header-nav-item {
    line-height: 1.6;
  }
}

/* *********** ABOUT ************* */
.about-root {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
}

.about-grid {
  display: grid;
  grid-template-columns: [full-start] 1fr [content-start] 255px [content-end] 1fr [full-end];
  grid-template-rows: [full-start] minmax(70px, 1fr) [content-start] 588px [content-end] 1fr [full-end];
  align-items: center;
  width: 100vw;
  pointer-events: none;
  height: calc(var(--1dvh, 1vh) * 100);
  /* This is the "polyfill" */
  height: 100svh;
  /* This is for future browsers that support svh, dvh and lvh viewport units */
  overscroll-behavior: none;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: [full-start] 1fr [content-start] 740px [content-end] 1fr [full-end];
    grid-template-rows: [full-start] 1fr [content-start] 520px [content-end] 1fr [full-end];
  }
}

.about-grid-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  grid-column: content;
  grid-row: 2;
  width: 100%;
  height: 100%;
}

.about-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  align-items: center;
  grid-row: full;
}

@media (min-width: 1024px) {
  .about-container {
    flex-direction: unset;
    justify-content: center;
  }
}

.about-background-animations {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: hsla(0, 0%, 100%, 1);
  transition: opacity 0.5s cubic-bezier(0.33, 1, 0.68, 1);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

.about-background-animations.animateAbout {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.about-inner {
  display: flex;
  align-items: center;
  flex-direction: column-reverse;

  max-width: 255px;
}

@media (min-width: 1024px) {
  .about-inner {
    flex-direction: unset;
    max-width: unset;
    justify-content: unset;
    padding-top: 0;
  }
}

.about-bio-content {
  font-size: 16px;
  margin-top: 20px;
  margin-left: -6px;
}

.about-bio-content footer {
  display: flex;
  flex-direction: column;
  padding-top: 16px;
  color: gray;
}

.about-bio-content footer a {
  padding: 0;
  width: fit-content;
  line-height: 1.6;
}

@media (min-width: 1024px) {
  .about-bio-content {
    margin-right: 60px;
    padding-left: 6px;
    max-width: 330px;
    margin-top: 0;
  }

  .about-bio-content footer {
    padding-top: 40px;
  }
}

.back-button-root {
  height: fit-content;
  padding-left: 20px;
  padding-top: 20px;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 200;
  color: gainsboro;
  transition: opacity 0.4s cubic-bezier(0.32, 0.72, 0, 1);
}

@media (min-width: 1023px) {
  .back-button-root {
    padding-left: 30px;
    padding-top: 30px;
  }
}

.back-button-button {
  width: fit-content;
  height: fit-content;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  padding: 2px 6px 2px 6px;
}

.back-button-button svg {
  stroke: rgba(0, 0, 0, 0.4);
  width: 26px;
  height: 30px;
  stroke-width: 5px;
}

.back-button-button svg:hover {
  stroke: black;
}
