@font-face {
    font-family: 'Inter';
    src: url('InterVariable.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.cursor-trace {
  position: fixed;
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: background-color 0.2s ease, transform 0.1s ease;
  mix-blend-mode: difference;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.cursor-trace::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  background: white;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

body, html {
  height: 100%;
  background-color: rgba(0, 0, 0, 1);
  font-family: 'Inter', sans-serif;
  overflow: hidden;
  cursor: none;
}

.profile-image {
  position: fixed;
  top: 0;
  right: 0;
  width: 50vw;
  height: 100vh;
  z-index: 0; /* sits behind text */
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.profile-image img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  opacity: 0.5;
}

.container {
  position: absolute;
  top: 0;
  left: 0;
  width: 50vw;
  height: 100vh;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 5vw;
  z-index: 1;
  overflow: hidden;
  max-width: 100%;
  box-sizing: border-box;
}

header {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

main {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

h1, h2 {
  font-size: 7.5vw;
  margin: 0;
  position: relative;
  width: 100%;
  display: block;
}

h1 span.ch{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    width: 100%;
    display: block;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

h1 span.en {
    display: block;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

h1:hover span.en {
    opacity: 0;
    transition: opacity 0.3s ease;
}

h1:hover span.ch {
    opacity: 1;
}

h2.small {
  font-size: 1rem;
  font-weight: normal;
  letter-spacing: 1px;
  margin-top: 1rem;
  position: relative;
  width: 100%;
  display: block;
}

h2 span.ch{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    width: 100%;
    display: block;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

h2 span.en {
    display: block;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

h2:hover span.en {
    opacity: 0;
    transition: opacity 0.3s ease;
}

h2:hover span.ch {
    opacity: 1;
}

p.description {
  font-size: 0.75rem;
  margin-top: 2rem;
  max-width: 400px;
  line-height: 1.6;
  letter-spacing: 0.5px;
  width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

a {
  transition: all 0.3s ease;
  color: white;
  text-decoration: none;
}

a:hover {
  color: black;
  background-color: white;
}

.contact-links {
  margin-top: 2rem;
}

.contact-links a {
  display: inline-block;
  color: white;
  margin-right: 1rem;
  transition: all 0.3s ease;
}

.contact-links a:hover {
  color: #d26738;
  background-color: transparent;
}

footer {
  position: absolute;
  bottom: 20px;
  left: 5vw;
  font-size: 0.7rem;
  color: #ccc;
  z-index: 2;
}