   @font-face {
    font-family: "Inter var";
    src: url("fonts/Inter-VariableFont_opsz,wght.ttf") format("truetype-variations");
    font-weight: 100 900; 
    font-display: swap;
  }

body {
    overflow: auto;
    height: 100%;
    font-family: "Inter var", sans-serif;
    margin: 0;
    margin-bottom: 128px;
    padding: 0;
    min-height: 100vh;
    color: #fff;
    background-color: #121212;
    font-weight: 300;
}

canvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
}

.fade-in {
    opacity: 0;
    animation: fadeIn 0.5s ease-in forwards;
}

@keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
}

.container {
    max-width: 664px; 
    margin: 128px auto 0 auto; 
    padding: 2rem;
}

.container a {
    color: white;
    text-decoration: underline;
    font-size: normal;
}

.avatar {
    margin-bottom: 16px;
    height: 48px;
    width: 48px;
}
.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.container h1 {
    margin-top: 0;
    font-size: 1.1em;
    font-weight: 300;
}

p {
    font-size: 1em;
}

.jaron-description {
    margin-top: 32px;
    line-height: 150%;
    font-size: 0.9em;
    width: 336px;
}
.jaron-description p {
    margin-top: 0px;
    margin-bottom: 4px;
}
.jaron-description a {
    text-decoration: underline;
    text-decoration-style: dotted;
    text-decoration-thickness: 2px;
    text-decoration-color:#888888;
    transition: color 0.2s ease-in-out, text-decoration-color 0.2s ease-in-out;
    text-underline-offset: 4px;
}
.jaron-description a:hover {
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-decoration-style: solid;
    text-decoration-color: #fff;
}

.project-content {
    margin-top: 32px;
}
.project-list {
    list-style: none;
    padding: 0;
    margin-bottom: 0;
    text-decoration: none;
    font-size: 1em;
}
.project-list li a {
    position: relative;
    display: inline-block; 
    text-decoration: none;
    margin-bottom: 12px;
    opacity: 1;
    transition: opacity 0.2s ease-in-out;
}
.project-list li a .link-content {
    transition: opacity 0.2s ease-in-out;
}
.project-list li a:hover .link-content {
    opacity: 0.75;
}
.project-list li a:hover::before {
    content: "";
    position: absolute;
    left: -72px;           
    top: 50%;
    transform: translateY(-40%);
    width: 56px;           
    height: 56px;
    background: url('assets/bigfish.svg') no-repeat center / contain;
    animation: fishSwim 1s ease-in-out infinite;
}

.project-title {
    font-weight: 300;
    font-size: 0.9em;
    margin-bottom: 4px;
}

.project-description {
    font-weight: 300;
    font-size: 0.85em;
    margin: 0;
    color: #888888;
}

.jaron-about {
    margin-top: 32px;
    width: 316px;
}

.jaron-about p {
    margin-top: 0px;
    margin-bottom: 16px;
    line-height: 150%;
    font-size: 0.9em;
}

.jaron-about a {
  text-decoration: underline dotted;
    text-decoration-color:#888888;
    text-decoration-thickness: 2px;
    transition: color 0.2s ease-in-out, text-decoration-color 0.2s ease-in-out;
    text-underline-offset: 4px;
}

.jaron-about a:hover {
    text-decoration: underline solid;
    text-decoration-thickness: 1.5px;
    text-decoration-color: #fff;
}

.jaron-links {
    margin-top: 32px;
    font-size: 0.9em;
    display: flex;
    gap: 16px;
}
.jaron-links a {
    text-decoration: underline dotted;
    text-decoration-color:#888888;
    text-decoration-thickness: 2px;
    transition: color 0.2s ease-in-out, text-decoration-color 0.2s ease-in-out;
    text-underline-offset: 4px;
}
.jaron-links a:hover {
    text-decoration: underline solid;
    text-decoration-thickness: 1.5px;
    text-decoration-color: #fff;
}

@keyframes fishSwim {
    0%, 100% {
      transform: translateY(-40%) translateX(0);
    }
    50% {
      transform: translateY(-40%) translateX(-5px);
    }
}

.work-title {
    margin-bottom: 8px;
}

.work-subtitle {
    font-weight: 300px;
    font-size: 0.95em;
    color: #888888;
    margin: 0;
    margin-bottom: 4px;
    line-height: 1.4rem;
}

.work-subtitle a {
  color: #888888;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-decoration-thickness: 2px;
  text-decoration-color:#888888;
  transition: color 0.2s ease-in-out, text-decoration-color 0.2s ease-in-out;
  text-underline-offset: 4px;
}

.work-subtitle a:hover {
  color: #fff;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-decoration-style: solid;
  text-decoration-color: #fff;
}

.section {
    margin-top: 32px;
}

.section-title {
    font-size: 0.9em;
    margin-bottom: 8px;
}

.section-text {
    margin-top: 0px;
    margin-bottom: 8px;
    line-height: 1.65rem;
    font-size: 0.95em;
}

.section-text a {
  text-decoration: underline;
  text-decoration-style: dotted;
  text-decoration-thickness: 2px;
  text-decoration-color:#888888;
  transition: color 0.2s ease-in-out, text-decoration-color 0.2s ease-in-out;
  text-underline-offset: 4px;
}

.section-text a:hover {
  color: #fff;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-decoration-style: solid;
  text-decoration-color: #fff;
}

.section-caption {
    margin-bottom: 8px;
    line-height: 1.4rem;
    font-size: 0.85rem;
    color: #8c8c8c;
}

.section-caption a {
  color: #8c8c8c;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-decoration-thickness: 2px;
  text-decoration-color:#888888;
  transition: color 0.2s ease-in-out, text-decoration-color 0.2s ease-in-out;
  text-underline-offset: 4px;
}

.section-caption a:hover {
  color: #fff;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-decoration-style: solid;
  text-decoration-color: #fff;
}

.section-image {
    max-width: 100%;
    height: auto;
    margin-top: 32px;
    border-radius: 8px;
    background-color: #1d1d1d;
}

.section-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    overflow: clip;
}

.section-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  overflow: clip;
}

.tutorial-container {
    position: fixed;
    bottom: 48px;
    right: 48px;
    display: flex;
    flex-direction: row;
    gap: 24px;
    z-index: 999;
    opacity: 0;
    transform: translateY(48px);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}
.tutorial-container.show {
    opacity: 1;
    transform: translateY(0);
}
.tutorial-textbox {
    width: 400px;
    height: 120px;
    border-radius: 6px;
    background-color: #121212;
    border: 2px solid #fff;
    padding: 1rem;
    box-sizing: border-box;
    overflow: hidden;
}
.tutorial-text {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #fff;
}
.tutorial-portrait {
    width: 120px;
    height: 120px;
    background-color: #121212;
    border: 2px solid #fff;
    border-radius: 6px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.portrait-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#moonlight {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  isolation: isolate;
  background: #121212;
}

#glow,
#glow-bounce {
  position: absolute;
  width: 100%;
  opacity: 0.6;
}

#glow {
  height: 50%;
  top: 0;
  background: linear-gradient(
    340deg,
    rgba(255, 255, 255, 0.5),
    transparent 70%
  );
}

#glow-bounce {
  height: 50%;
  bottom: 0;
  background: linear-gradient(
    20deg,
    rgba(255, 255, 255, 0.15),
    transparent 50%
  );
}

#progressive-blur {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#progressive-blur > div {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backdrop-filter: blur(var(--blur-amount));
  backdrop-filter: blur(var(--blur-amount));
  -webkit-mask-image: linear-gradient(
    252deg,
    transparent,
    transparent var(--stop1),
    black var(--stop2),
    black
  );
  mask-image: linear-gradient(
    252deg,
    transparent,
    transparent var(--stop1),
    black var(--stop2),
    black
  );
}

#progressive-blur > div:first-child {
  --blur-amount: 32px;
  --stop1: 0%;
  --stop2: 0%;
}

#progressive-blur > div:nth-child(2) {
  --blur-amount: 72px;
  --stop1: 10%;
  --stop2: 80%;
}

.perspective {
  position: absolute;
  top: -30vh;
  right: 0;
  width: 80vw;
  height: 130vh;
  transform-style: preserve-3d;
  transform-origin: 100% 0;
  transform: matrix3d(
    0.95, -0.06, 0, 0.0008,
    0,    1,    0, 0,
    0,    0,    1, 0,
    0,    0,    0, 1
  );
  opacity: 0.7;
}

#leaves {
  position: absolute;
  bottom: 0;
  right: -600px;
  width: 1600px;
  height: 1400px;
  background: url("assets/leaves.png") no-repeat center / cover;
  animation: sway 6s ease-in-out infinite alternate;
}
@keyframes sway {
  0%   { transform: translateY(0)    rotateX(0); }
  50%  { transform: translateY(-6px) rotateX(2deg); }
  100% { transform: translateY(6px)  rotateX(-2deg);}
}

#blinds {
  position: relative;
  width: 100%;
  height: 100%;
}

.shutters {
  display: flex;
  flex-direction: column;
  gap: 50px;
  width: 100%;
  height: 100%;
}

.shutter {
  width: 100%;
  height: 60px;
  background: rgba(0, 0, 0, 0.7);
  filter: blur(4px);
}

.vertical {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  justify-content: space-around;
  width: 100%;
  height: 100%;
}

.bar {
  width: 12px;
  background: rgba(0, 0, 0, 0.7);
  filter: blur(4px);
}

.wide-content {
  width: 120%;
  max-width: none;
  margin-left: -10%;
  margin-right: -10%;
}

@media (max-width: 778px) {
  .wide-content {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}

  @media (max-width: 375px) {
    .container {
      margin-top: 72px;
    }
}