@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');



/* CSS Zeroing*/
/* 1. Use a more-intuitive box-sizing model */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* 2. Remove default margin */
* {
  margin: 0;
}

html {
  font-size: clamp(.6571rem, 1vw, 1.2857rem);
}

/* 3. Enable keyword animations */
@media (prefers-reduced-motion: no-preference) {
  html {
    interpolate-size: allow-keywords;
  }
}

body {
  font-family: 'Roboto', sans-serif;
  /* 4. Add accessible line-height */
  line-height: 1.5;
  /* 5. Improve text rendering */
  -webkit-font-smoothing: antialiased;
}

/* 6. Improve media defaults */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/* 7. Inherit fonts for form controls */
input,
button,
textarea,
select {
  font: inherit;
}

/* 8. Avoid text overflows */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

/* 9. Improve line wrapping */
p {
  text-wrap: pretty;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}

/*
  10. Create a root stacking context
*/
#root,
#__next {
  isolation: isolate;
}




ul {
  list-style-type: none;
  padding: 0;
}
a {
  text-decoration: none;
  color: inherit;
}

h3 {
  font-size: 1.7143rem;
  font-weight: 600;
  line-height: 122%;
  letter-spacing: -0.5%;
  margin-bottom: .7857rem;
}

.header {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}


.hero {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  min-height: 100vh;
  color: black;
}



.hero_textBlock {
  display: flex;
  justify-content: space-between;
  align-items: last baseline;
  margin-left: 4.2857rem;
  margin-bottom: 4.2857rem;
  margin-right: 4.2857rem;
}

.hero_title {
  font-weight: 900;
  font-size: 9.1429rem;
  line-height: 120%;
}

.hero_name {
  display: inline-block;
  opacity: 0;

  will-change: opacity;
}
.hero_name--first {
  transform: translateY(3.4286rem);
    will-change: transform;
}
.hero_name--last {
  transform: translateY(1.7143rem);
  will-change: transform;
}


.hero_article {
  font-size: 1.7143rem;
  line-height: 1.5;
  margin-top: 1.4286rem;
  max-width: 42.8571rem;
  opacity: 0;
}


.section {
  position: relative;
  /* makes sticky work relative to this container */
  width: 100%;
  background-color: white;
  padding-top: 14.2857rem;
}

.projects {
  display: flex;
  margin-top: -100vh;
  padding-left: 45%;
  padding-bottom: 7.1429rem;
}

.project_list {
  display: flex;
  flex-direction: column;
  gap: 0rem;
}
.project-description {
  position: sticky;
  display: flex;
  flex-direction: column;
  top: 0;
  font-size: 18px;
  margin-top: -100vh;
  padding: 63vh 4.2857rem 0 4.2857rem;
  height: 100vh;
  width: 45%;
}
#container3D {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  z-index: 10;
  pointer-events: none;
  padding-top: 2.5rem;
}



/* change height to make laptop responsive */
.section_about {
  position: relative;
  min-height: 250vh;
  width: 100%;
}

.about_wrapper {
  position: sticky;
  top: 35%;
  padding-left: 40%;
}

.about_content {
  display: flex;
  flex-direction: column;
  gap: 1.5714rem;
  transform: translate3d(0, 3.5714rem, 0);
}


.about_title {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 128%;
  width: fit-content;
  mask: linear-gradient(90deg, rgb(0, 0, 0) -80%, rgba(255, 255, 255, 0) -50%);
  transform: translate3d(0, 100%, 0);
}

.about_text {
  width: 50%;
}

.about_line {
  font-size: 1rem;
  line-height: 150%;
  letter-spacing: -0.5%;
  width: fit-content;
  mask: linear-gradient(90deg, rgb(0, 0, 0) -80%, rgba(255, 255, 255, 0) -50%);
  transform: translate3d(0, 100%, 0);
}

.project_item {
  color: black;
  font-size: 4.5714rem;
  font-weight: 400;
  opacity: 0;
  pointer-events: none;
  line-height: 130%;
}

.project_link {
  color: black;
}



.pointer {
  position: fixed;
  top: 0;
  left: 0;
  width: 2.2857rem;
  height: 1.7143rem;
  pointer-events: none;
  z-index: 200;
  fill: #000;
  mix-blend-mode: difference;
}

.home {
  margin-bottom: 50vh;
  padding-bottom: 5.5rem;
  display: flex;
  flex-direction: column;
}

.page {
  background: #fff;
}

.transition {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  height: 100vh;
  background-color: #0a0a0a;
  pointer-events: none;
  transform: translateY(100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.transition-text {
  color: #fff;
  font-size: 3rem;
  font-weight: 300;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  opacity: 0;
}

.body1 {
  height: 100vh;
  background-color: white;
}



.footer {
  background: #000;
  bottom: 0;
  color: #fff;
  left: 0;
  position: fixed;
  width: 100%;
  height: 50vh;
  z-index: -1;
  padding: 2.8571rem 4.2857rem 1.4286rem 4.2857rem;
  display: flex;
  align-items: center;
}

.footer_content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}


.footer_list {
  display: flex;
  flex-direction: column;
  letter-spacing: -0.0357rem;
  font-size: 4.5714rem;
}
.footer_socials {
  display: flex;
  gap: 1.4286rem;
}

.footer_cv {
  font-size: 18.2857rem;
  line-height: 110%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}


/* Shared animation for all footer links */
.hover-fill-white {
  position: relative;
  display: inline-block;
  vertical-align: top;
  overflow: hidden;
  color: white;
  transition: color 0.4s ease;
}

/* sliding white background */
.hover-fill-white::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0%;
  height: 100%;
  background: white;
  display: block;
  z-index: -1;
  transition: width 0.5s ease;
}

/* animate ONLY the hovered link */
.hover-fill-white:hover {
  color: black;
}

.hover-fill-white:hover::before {
  width: 100%;
}

.hero_contact {
  opacity: 0;
  transform: translateY(.8571rem);
  will-change: transform, opacity;
  font-size: 4.5714rem;
  font-weight: 400;
  letter-spacing: .0714rem;
  padding: 0 .7143rem;
  position: relative;
  display: inline-block; /* ensures pseudo-element aligns correctly */
  color: black; /* initial text color */
  text-decoration: none; /* remove default underline */
}

/* the animated underline */
.hero_contact::after {
  content: '';
  position: absolute;
  bottom: 0;      /* stick to bottom of text */
  left: 0;
  width: 0%;      /* start hidden */
  height: .3571rem;    /* thickness of the underline */
  background-color: black;
  transition: width 0.3s ease;
}

/* hover triggers the animation */
.hero_contact:hover::after {
  width: 100%;
}





.linkedin-border {
  display: inline-block;
  width: .0714rem;
  height: 100%;
  background: white;
  margin-right: 1.4286rem;
  vertical-align: middle;
}

/* Contact Page Footer Styles */
.footer--contact {
  padding: 0 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.footer__inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px 0 40px 0;
}

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

.footer__row--main {
  align-items: flex-start;
}

.footer__row--bottom {
  align-items: flex-end;
  position: relative;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer__col--right {
  align-items: flex-end;
  justify-content: center;
}

.footer__col--center {
  align-items: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.footer__cta-link {
  font-size: 4rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #fff;
  text-decoration: none;
  position: relative;
  display: inline-block;
  width: fit-content;
  line-height: 1.2;
  padding: 14px 0;
}

.footer__cta-link::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 0;
  width: 0%;
  height: 3px;
  background-color: #fff;
  transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.footer__cta-link:hover::after {
  width: 100%;
}

.footer__cv-link {
  font-size: 12rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #fff;
  text-decoration: none;
  position: relative;
  display: inline-block;
  line-height: 1;
  padding: 14px 0;
}

.footer__cv-link::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 0;
  width: 0%;
  height: 3px;
  background-color: #fff;
  transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.footer__cv-link:hover::after {
  width: 100%;
}

.footer__socials {
  display: flex;
  gap: 32px;
  align-items: center;
}

.footer__social-link {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  position: relative;
  display: inline-block;
}

.footer__social-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 1px;
  background-color: #fff;
  transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.footer__social-link:hover::after {
  width: 100%;
}

.footer__meta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer__meta-item {
  font-size: 0.875rem;
  font-weight: 300;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.6);
}

.footer__meta-divider {
  color: rgba(255, 255, 255, 0.3);
}

.footer__clock {
  font-variant-numeric: tabular-nums;
}

.footer__meta-link {
  font-size: 0.875rem;
  font-weight: 300;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  position: relative;
  display: inline-block;
  transition: color 0.3s ease;
}

.footer__meta-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.6);
  transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.footer__meta-link:hover {
  color: #fff;
}

.footer__meta-link:hover::after {
  width: 100%;
  background-color: #fff;
}

/* Contact Page Styles */
.contact {
  margin-bottom: 50vh;
  padding-bottom: 5.5rem;
  display: flex;
  flex-direction: column;
}

.section_contact {
  position: relative;
  min-height: 100vh;
  width: 100%;
  background-color: white;
  display: flex;
  align-items: center;
}

.contact_wrapper {
  padding-left: 4.2857rem;
  padding-right: 4.2857rem;
  width: 100%;
}

.contact_content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.contact_title {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 128%;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.contact_titleText {
  display: inline-block;
}

.contact_info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact_link {
  font-size: 4.5714rem;
  font-weight: 400;
  letter-spacing: -0.0357rem;
  color: black;
  position: relative;
  display: inline-block;
  width: fit-content;
  transition: color 0.4s ease;
}

.contact_link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: .2857rem;
  background-color: black;
  transition: width 0.4s cubic-bezier(0.76, 0, 0.24, 1);
}

.contact_link:hover::after {
  width: 100%;
}

.contact_socials {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.contact_socials .contact_link {
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}


