@font-face {
    font-family: '1089-02';
    src: url('../assets/fonts/1089Display-02.woff2') format('woff2'),
        url('../assets/fonts/1089Display-02.woff') format('woff');
    font-display: swap;
}

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('../assets/fonts/CormorantGaramond-Bold.woff2') format('woff2'),
        url('../assets/fonts/CormorantGaramond-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('../assets/fonts/CormorantGaramond-Light.woff2') format('woff2'),
        url('../assets/fonts/CormorantGaramond-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@keyframes mainTitle {
    from {
        transform: translateY(100%);
  }
    to {
        transform: translateY(0%);
  }
}

@keyframes headingInfo {
    from {
        transform: translateY(0%);
  }
    to {
        transform: translateY(-100%);
  }
}

:root {
  --ease-out-cubic: cubic-bezier(0.215, 0.61, 0.355, 1);
  background-color: white;
}

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

html,
body {
  width: 100%;
  padding: 0;
  margin: 0;
  overscroll-behavior: none;
}

body {
  background: white;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
  /* color: black */
  font-family: 'Cormorant Garamond', serif;
}

@media only screen and (max-width: 750px) {

body {
    -webkit-overflow-scrolling: touch;
  }
}

canvas {
  position: fixed;
  z-index: 1;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  background: white;
  display: none;
}

@media only screen and (max-width: 750px) {

canvas {
    position: absolute;
  }
}

.app {
  z-index: 2;
}

h1 {
  position: relative;
  font-family: '1089-02', serif;
  color: white;
  transition: color 400ms var(--ease-out-cubic);
  z-index: 4;
  left: 0;
  font-size: 10.9vw;
  white-space: nowrap;
  padding: 0;
  margin: 0;
  padding-top: calc(100vw * (2.57/14));
  letter-spacing: 0.14vw;
  animation-delay: 500ms;
  font-weigt: lighter;
  pointer-events: none;
  overflow: hidden;
}

h1 span {
    overflow: hidden;
    display: block;
    height: 10.42vw;
    transform: translateY(100%);
    animation: mainTitle 1200ms cubic-bezier(0.250, 0.460, 0.450, 0.940) forwards;
}

@media only screen and (max-width: 750px) {

h1 {
    padding-top: calc(100vw * (4.5/14));
  }
    h1 span {
      height: auto;
  }
}

.banner {
  position: absolute;
  width: 100vw;
  top: 0;
  left: 0;
  height: calc(100vw * (4/14));
  z-index: 1;
  background-image: url('/assets/header.webp');
  background-size: cover;
  background-position: center center;
}

@media only screen and (max-width: 750px) {

.banner {
    height: calc(100vw * (6/14));
  }
}

.headinginfo {
  position: relative;
  margin-top: calc(100vw * (1/14));
  margin-bottom: calc(100vw * (1/14));
  padding: 0 calc(100vw * (1/14));
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  z-index: 2;
}

@media only screen and (max-width: 750px) {

.headinginfo {
    flex-direction: column;
    margin-top: 5px;
    margin-bottom: 20px;
    padding: 0 20px;
  }
}

.headinginfo__overlay {
  position: absolute;
  top: 0;
  width: calc(100vw * (12/14));
  height: 250%;
  z-index: 1;
  overflow: hidden;
}

@media only screen and (max-width: 750px) {

.headinginfo__overlay {
    display: none;
  }
}

.headinginfo__overlay::after {
    content: '';
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(to bottom, white 50%, rgba(255, 255, 255, 0));
    background: -webkit-linear-gradient(to bottom, white 50%, rgba(255, 255, 255, 0));
    animation: headingInfo 2000ms cubic-bezier(0.250, 0.460, 0.450, 0.940) forwards;
    animation-delay: 1300ms;
}

.headinginfo__title {
  font-size: 3.5vw;
  font-family: '1089-02', serif;
  opacity: 0.9;
  line-height: 1;
  transition: color 400ms var(--ease-out-cubic);
}

@media only screen and (max-width: 750px) {

.headinginfo__title {
    font-size: 5vw;
    width: 100%;
  }
}

.headinginfo__from {
  font-size: 1.4vw;
  font-weight: 400;
  line-height: 1;
}

.headinginfo__from span {
    font-family: '1089-02', serif;
}

@media only screen and (max-width: 750px) {

.headinginfo__from {
    font-size: 3vw;
    margin-top: 3vw;
    width: 100%;
    display: none;
  }
}

.projects {
  position: relative;
  z-index: 2;
  padding: 0 calc(100vw * (1/14));
}

@media only screen and (max-width: 750px) {

.projects {
    padding: 0;
  }
}

.link {
  display: flex;
  position: relative;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
  display: inline-block;
  color: black;
  cursor: pointer;
  width:  calc(100vw * (5/14));
  margin-bottom: calc(100vw * (2/14));
}

.link img {
    width: 100%;
    aspect-ratio: 500 / 600;
}

@media only screen and (max-width: 750px) {

.link img {
      margin-bottom: 10px;
  }
}

.link:nth-child(even) {
    margin-left: calc(100vw * (2/14));
    top: calc(100vw * (1/14));
}

@media only screen and (max-width: 750px) {

.link:nth-child(even) {
      top: 0;
      margin-left: 0;
  }
}

.link_title {
    font-family: '1089-02', serif;
    font-size: 1.6vw;
    line-height: 1;
    transform: translate3D(0.25vw, 0.25vw, 0px);
    opacity: 0;
    transition: opacity 400ms cubic-bezier(0.250, 0.460, 0.450, 0.940), transform 700ms cubic-bezier(0.250, 0.460, 0.450, 0.940);
    will-change: transform, opacity;
}

.link_info {
    font-size: 1.4vw;
    margin-top: 5px;
    line-height: 1;
    transform: translate3D(0.25vw, 0.25vw, 0px);
    font-weight: 300;
    opacity: 0;
    transition: opacity 400ms cubic-bezier(0.250, 0.460, 0.450, 0.940), transform 700ms cubic-bezier(0.250, 0.460, 0.450, 0.940);
    will-change: transform, opacity;
}

.link:hover .link_title,
    .link:hover .link_info {
      opacity: 1;
      transition: opacity 200ms cubic-bezier(0.250, 0.460, 0.450, 0.940), transform 400ms cubic-bezier(0.250, 0.460, 0.450, 0.940);
      transform: translate3D(0px, 0px, 0px);
}

@media only screen and (max-width: 750px) {

.link {
    width: 100vw;
    height: auto;
    justify-content: flex-start;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 0;
    box-sizing: border-box;
  }
    .link_title,
    .link_info {
      padding: 0 10px;
      width: auto;
      opacity: 1;
      transform: none;
  }
    .link_title {
      font-size: 4vw;
  }
    .link_info {
      font-size: 3.2vw;
      margin-top: 2vw;
  }
}

.archive {
  position: relative;
  padding: calc(100vw * (1/14));
  width: calc(100vw * (12/14));
  display: flex;
  z-index: 2;
  flex-direction: column;
  border-top: 1px solid black;
}

@media only screen and (max-width: 750px) {

.archive {
    padding: 20px;
    width: calc(100vw - 40px);
  }
}

.archive__title {
  font-size: 3.5vw;
  font-family: '1089-02', serif;
  opacity: 0.9;
  line-height: 1;
  margin-bottom: calc(100vw * 0.5/14);
}

@media only screen and (max-width: 750px) {

.archive__title {
    font-size: 5vw;
    width: 100%;
  }
}

.archive__list {
  display: block;
}

.archive__project {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(100vw * 0.15/14) 0;
  border-bottom: 1px solid currentColor;
  gap: calc(100vw * 0.25/14);
}

@media only screen and (max-width: 750px) {

.archive__project {
    gap: 10px;
    padding: 10px 0;
  }
}

.archive__project__year {
  font-size: 1vw;
}

@media only screen and (max-width: 750px) {

.archive__project__year {
    font-size: 4vw;
  }
}

.archive__project__title {
  width:  30%;
  font-size: 1.2vw;
}

@media only screen and (max-width: 750px) {

.archive__project__title {
    width: 70%;
    font-size: 4vw;
  }
}

.archive__project__description {
  width: 30%;
  font-size: 1vw;
}

@media only screen and (max-width: 750px) {

.archive__project__description {
    width: 60%;
    font-size: 3vw;
    display: none;
  }
}

.archive__project__link {
  text-decoration: underline;
  color: currentColor;
  cursor: pointer;
  width: 8%;
  text-align: right;
}

@media only screen and (max-width: 750px) {

.archive__project__link {
    display: none;
  }
}

.archive__project__link--offline {
    text-decoration: none;
    cursor: default;
    opacity: 0.8;
}

.artgallery {
  position: relative;
  padding: calc(100vw * (1/14)) 0;
  z-index: 2;
  font-size: 0;
}

@media only screen and (max-width: 750px) {

.artgallery {
    flex-direction: column;
  }
}

.artgallery__title {
  padding: 0 calc(100vw * (1/14)) calc(100vw * (0.5/14));
  font-size: 3.5vw;
  font-family: '1089-02', serif;
  opacity: 0.9;
  line-height: 1;
}

@media only screen and (max-width: 750px) {

.artgallery__title {
    font-size: 5vw;
    width: auto;
    padding: 20px;
  }
}

.art {
  width: calc(100vw * (3.5/14));
  height: calc(100vw * (3.5/14));
  aspect-ratio: 1;
  display: inline-flex;
  cursor: pointer;
}

.about {
  position: relative;
  z-index: 2;
  padding: calc(100vw * (1/14));
  width: calc(100vw * (12/14));
  transition: color 400ms var(--ease-out-cubic);
  border-top: 1px solid black;
}

.about__picture {
  position: absolute;
  right: 0;
  top: 100%;
  width: calc(100vw * (4/14));
  height: calc(100vw * (6/14));
  background-image: url('/assets/new-toto.webp');
  background-size: cover;
  background-position: top center;
}

@media only screen and (max-width: 750px) {

.about__picture {
    display: none;
  }
}

.location {
  position: relative;
  text-align: right;
  font-family: '1089-02', serif;
  font-size: 1.7vw;
  padding-bottom: calc(100vw * (0.5/14));
  font-weight: 300;
}

@media only screen and (max-width: 750px) {

.location {
    font-size: 3vw;
    text-align: left;
    margin: 7vw 0;
  }
}

p {
  padding: 0;
  margin: 0;
  margin-bottom: 2vw ;
  text-align: justify;
  width: calc(100vw * (7/14));
  font-size: 1.6vw;
  font-weight: 300;
}

p strong {
    font-weight: 400;
}

p a {
    color: black;
    font-weight: 400;
    transition: color 200ms var(--ease-out-cubic);
}

@media only screen and (max-width: 750px) {

p {
    font-size: 4vw;
    width: calc(100vw * (12/14));
  }
}

.reach {
  display: flex;
  font-size: 1.5vw;
  font-family: '1089-02', serif;
  margin-top: 5vw;
}

.reach div {
    overflow: hidden;
    display: inline-block;
    margin-left: 5vw;
}

.reach a {
    color: black;
    width: fit-content;
    text-decoration: none;
    position: relative;
    text-decoration: none;
    overflow: hidden;
    box-sizing: border-box;
    margin-bottom: 4px;
    transition: color 200ms var(--ease-out-cubic);
}

.reach a:before,
    .reach a:after {
      content: '';
      position: absolute;
      bottom: -1px;
      width: 100%;
      height: 0.1vw;
      max-height: 2px;
      background-color: black;
}

.reach a:before {
      left: -102%;
      transition: none;
}

.reach a:after {
      left: 102%;
      transition: 700ms cubic-bezier(0.215, 0.61, 0.355, 1);
}

.reach a:hover:before {
        transition: 400ms cubic-bezier(0.215, 0.61, 0.355, 1);
        left: 0;
}

.reach a:hover:after {
        transition-delay: 200ms;
        left: 0;
}

@media only screen and (max-width: 750px) {

.reach {
    font-size: 3vw;
    margin-top: 10vw;
  }
    .reach div {
      height: 6vw;
  }
      .reach a:before {
        transition: 400ms cubic-bezier(0.215, 0.61, 0.355, 1);
        left: 0;
  }
      .reach a:after {
        transition-delay: 200ms;
        left: 0;
  }
}

.awards__title {
  margin-top: calc(100vw * (0.5/14));
  font-size: 1.6vw;
}

@media only screen and (max-width: 750px) {

.awards__title {
    font-size: 3vw;
    margin-top: 40px;
  }
}

.footer {
  font-style: italic;
  margin-top: calc(100vw * (0.25/14));
  font-size: 1.4vw;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

@media only screen and (max-width: 750px) {

.footer {
    position: static;
    font-size: 2.5vw;
    margin: 7vw 0;
  }
}

.footer__column {
    width: fit-content;
    display: inline-block;
}

:root[data-theme="dark"] {
  background-color: black;
}

:root[data-theme="dark"] body {
    background: black;
    color: white;
}

:root[data-theme="dark"] h1 {
    color: black;
}

:root[data-theme="dark"] .headinginfo__overlay::after {
      background: linear-gradient(to bottom, black 50%, rgba(0, 0, 0, 0));
      background: -webkit-linear-gradient(to bottom, black 50%, rgba(0, 0, 0, 0));
}

:root[data-theme="dark"] .link {
    color: white;
}

:root[data-theme="dark"] .reach a {
      color: white;
}

:root[data-theme="dark"] .reach a:before,
      :root[data-theme="dark"] .reach a:after {
        background-color: white;
}

:root[data-theme="dark"] p a {
      color: white;
}

:root[data-theme="dark"] .themeswitch {
    border: 1px solid #fff;
}

:root[data-theme="dark"] .themeswitch__circle {
      border: 1px solid #fff;
      background: #fff;
      transform: translateY(20px);
}

@media only screen and (max-width: 750px) {

:root[data-theme="dark"] .themeswitch__circle {
        transform: translateY(15px);
  }
}

:root[data-theme="dark"] .lightbox__background {
      background-color: #ffffff80;
}

.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  cursor: pointer;
  z-index: 10;
}

.lightbox__background {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background-color: #00000090;
    opacity: 0;
    transition: opacity 700ms var(--ease-out-cubic);
}

.lightbox img,
  .lightbox video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    max-width: calc(100% - 200px);
    max-height: calc(100% - 200px);
    visibility: hidden;
    cursor: default;
    transition: opacity 500ms var(--ease-out-cubic), transform 700ms var(--ease-out-cubic);
    transition-delay: 200ms;
    opacity: 0;
}

@media only screen and (max-width: 750px) {

.lightbox img,
  .lightbox video {
      max-width: calc(100% - 40px);
      max-height: calc(100% - 40px);
  }
}

.themeswitch {
  position: fixed;
  top: calc(100vh - 60px);
  right: 20px;
  height: 40px;
  width: 20px;
  border: 1px solid #000;
  z-index: 4;
  border-radius: 40px;
  box-sizing: border-box;
  cursor: pointer;
}

@media only screen and (max-width: 750px) {

.themeswitch {
    height: 30px;
    width: 15px;
    top: calc(var(--fullheight) - 35px);
    right: 5px;
  }
}

.themeswitch__circle {
    position: absolute;
    pointer-events: none;
    left: 2px;
    top: 2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    box-sizing: border-box;
    border: 1px solid black;
    background: #000;
    transition: transform 400ms var(--ease-out-cubic);
}

@media only screen and (max-width: 750px) {

.themeswitch__circle {
      width: 10.5px;
      height: 10.5px;
      top: 1.5px;
      left: 1.5px;
  }
}