@font-face {
  font-family: "ABC Diatype";
  src: url("fonts/ABC Diatype.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --page-top: 20px;
  --page-side: 40px;
  --page-bottom: 20px;
  --page-top-mobile: 18px;
  --page-side-mobile: 18px;
  --header-offset: 56px;
  --header-offset-mobile: 70px;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  cursor: auto !important;
}

body {
  background: #ffffff;
  color: #000000;
  font-family: "ABC Diatype", Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a,
button,
input,
textarea,
select,
summary,
label,
[role="button"] {
  cursor: pointer !important;
}

.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2147483647;
  transform: translate3d(-50%, -50%, 0);
  transition: width 0.2s ease, height 0.2s ease;
  will-change: transform, width, height;
  background: rgba(255, 255, 255, 0.01);
  -webkit-backdrop-filter: invert(1);
  backdrop-filter: invert(1);
}

.custom-cursor.is-hovering {
  width: 40px;
  height: 40px;
}

@media (hover: none) and (pointer: coarse) {
  .custom-cursor {
    display: none !important;
  }
}

.page {
  min-height: 100svh;
  padding: var(--header-offset) var(--page-side) var(--page-bottom);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.topbar {
  position: fixed;
  top: var(--page-top);
  left: var(--page-side);
  right: var(--page-side);
  width: auto;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 1000;
  mix-blend-mode: normal;
}

.logo,
.clock,
.footer,
.footer a {
  font-size: calc(0.00569620253164557 * 100vw + 19px) !important;
  line-height: 1.2;
  font-weight: normal;
  text-decoration: none;
  color: #000000;
}

.logo {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: flex-start;
  white-space: nowrap;
}

.logo .copyright {
  display: inline-block;
  position: static;
  flex: 0 0 auto;
  font-size: 0.7em;
  line-height: 1.2;
  margin-left: 0.12em;
  margin-top: 0.1em;
}

.clock {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 0.25em;
  flex: 0 0 auto;
  margin-left: auto;
  text-align: right;
  white-space: nowrap;
}

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

.main-content h1 {
  margin: 0;
  max-width: 1600px;
  font-size: clamp(34px, 2.5vh + 2.3vw, 72px) !important;
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: 0em;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex: 0 0 auto;
}

.footer-left,
.footer-right {
  white-space: nowrap !important;
}

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

.footer a:hover {
  text-decoration: none;
}

@media screen and (max-width: 749px) {
  .topbar {
    top: var(--page-top-mobile);
    left: var(--page-side-mobile);
    right: var(--page-side-mobile);
    gap: 8px;
  }

  .clock {
    display: flex !important;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
  }

  .footer-center,
  .email-hide-mobile {
    display: none !important;
  }
}

@media screen and (max-width: 640px) {
  .page {
    padding: var(--header-offset-mobile)
      var(--page-side-mobile)
      var(--page-top-mobile);
  }

  .main-content h1 {
    max-width: 100%;
  }
}

.fade-in-up {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeInUp 0.9s ease forwards;
  animation-delay: 0.15s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .fade-in-up {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

::selection {
  background: #edf79e;
  color: #000000;
}

::-moz-selection {
  background: #edf79e;
  color: #000000;
}

.topbar {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px !important;
}

.topbar .logo,
.topbar .clock {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  flex: 0 0 auto !important;
  width: auto !important;
  gap: 0.25em !important;
  white-space: nowrap !important;
}

.topbar .logo {
  align-items: flex-start !important;
}

.topbar .logo-second {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: flex-start;
  white-space: nowrap;
}

.topbar .copyright {
  position: static !important;
  margin: 0.1em 0 0 0.12em !important;
}

.topbar .clock {
  align-items: baseline !important;
  margin-left: auto;
  text-align: right;
}

.topbar.is-stacked .logo,
.topbar.is-stacked .clock {
  flex-direction: column !important;
  gap: 0 !important;
}

.topbar.is-stacked .clock {
  align-items: flex-end !important;
}