:root {
  /* === Backgrounds === */
  /* Fallback hex values for older browsers */
  --color-bg: #000000;
  --sidebar-bg-color: #000000b8;
  --header-bg-color: #FFFFFF1F;
  --container-bg-color: #001f7c38;
  --card-bg-color: #080020b7;
  --hero-element-bg-color: #2200493d;
  --apps-link-color: #00ffff;


  /* Modern OKLCH values (override fallbacks in supporting browsers) */
  --color-bg: oklch(0% 0 0);
  /* Primary background. Pure black for maximum contrast and WCAG compliance. */
  --sidebar-bg-color: oklch(0% 0 0 / 0.72);
  /* Sidebar background. Semi-transparent black for depth, preserving contrast for low-vision users. */
  --header-bg-color: oklch(100% 0 0 / 0.12);
  /* Header background. Subtle, semi-transparent white for a glassmorphism effect, ensuring text remains readable. */
  --container-bg-color: oklch(0.2 0.15 250 / 0.22);
  /* Container background. Transparent dark blue for separation without harsh contrast, accessible for most vision types. */
  --card-bg-color: oklch(0.08 0.2 270 / 0.72);
  /* Card background. Deep, semi-transparent blue for card elements, balancing contrast and visual comfort. */
  --hero-element-bg-color: oklch(0.15 0.25 280 / 0.24);
  /* Hero element background. Soft, transparent purple for visual interest while maintaining text legibility. */
  --apps-link-color: oklch(0.9 0.2 200);
  /* app page. Soft, updated link colour for WCAM. */

  /* === Font & Text === */
  /* Fallback hex values */
  --main-font-color: #FFFFFF;
  --text-color-main: #D3D3D3;
  --text-shadow-color: #4c4c4c;

  /* Modern OKLCH values */
  --main-font-color: oklch(100% 0 0);
  /* Main font color. Pure white for high readability on dark backgrounds, meeting WCAG standards. */
  --text-color-main: oklch(85% 0 0);
  /* Secondary text color. Light gray for less prominent text, ensuring sufficient contrast. */
  --text-shadow-color: oklch(35% 0 0);
  /* Text shadow. Subtle dark gray to enhance text clarity for users with dyslexia or visual processing needs. */

  /* === Navigation & UI Accents === */
  /* Fallback hex values */
  --nav-bg-color: #00004553;
  --nav-shadow-color: #72a1de63;
  --header-shadow-color: #72a1dea2;
  --scroll-box-shadow-color: #FFFFFFA0;

  /* Modern OKLCH values */
  --nav-bg-color: oklch(0.15 0.2 250 / 0.33);
  /* Navigation background. Deep, semi-transparent blue for clear navigation, accessible for color vision deficiencies. */
  --nav-shadow-color: oklch(0.65 0.12 230 / 0.39);
  /* Navigation shadow. Soft blue glow for focus indication, aiding users with cognitive or visual disabilities. */
  --header-shadow-color: oklch(0.65 0.12 230 / 0.64);
  /* Header shadow. More opaque blue for clear separation, improving structure for screen readers and low vision. */
  --scroll-box-shadow-color: oklch(100% 0 0 / 0.63);
  /* Scroll area shadow. Light, semi-transparent white for focus cues, supporting keyboard navigation and accessibility. */

  /* === Accent & Interactive Elements === */
  /* Fallback hex values */
  --color-secondary: #FFB86B;
  --icon-one-color: #72a1de;
  --element-accent-color: #72a1de81;
  --card-button-bg-color: #0f1217;

  /* Modern OKLCH values */
  --color-secondary: oklch(0.8 0.12 65);
  /* Secondary accent. Warm, muted orange for friendly highlights, chosen for strong contrast with both dark and light elements. */
  --icon-one-color: oklch(0.65 0.12 230);
  /* Icon & highlight color. Versatile blue, tested for visibility across common color blindness variants. */
  --element-accent-color: oklch(0.65 0.12 230 / 0.51);
  /* Hero element accent. Semi-transparent blue for borders/shadows, ensures focus without overwhelming users with sensory sensitivity. */
  --card-button-bg-color: oklch(0.08 0.02 230);
  /* Card button background. Nearly black for strong contrast, aiding users with visual impairments. */

  /* === Borders === */
  /* Fallback hex value */
  --card-border-color: #808080;

  /* Modern OKLCH value */
  --card-border-color: oklch(0.55 0 0);
  /* Card border. Neutral gray for subtle separation, chosen to avoid color confusion for users with color blindness. */
}

/* Thanks confirmation (hidden by default, shown on #thanks) */


body {
  margin: 0;
  padding: 0;
  font-family: Helvetica, Arial, sans-serif;
  /* Fonts are web-safe, highly legible on screens of all sizes, website loads faster, positively impact SEO. */
  color: var(--text-color-main);
}

/* Skip link: off-screen by default, visible when focused */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -40px;
  background: #000;
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  z-index: 1000;
}

.skip-link:focus {
  top: 10px;
  outline: 2px solid var(--icon-one-color);
}

/* Global link reset: remove underline site-wide */
a {
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: none;
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  /* Tone down any AOS/data-animated elements */
  [data-aos] {
    transition: none !important;
    animation: none !important;
  }
}

/* Restore heading defaults (previously broken by merge) */
h3 {
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  font-weight: bold;
  unicode-bidi: isolate;
  color: var(--color-secondary);
}

html {
  scroll-behavior: smooth;
}

.container {
  position: relative;
  width: 100%;
  height: 100hv;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--container-bg-color);
}


.back-vid {
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: -1;
  mix-blend-mode: overlay;
}


header {
  display: flex;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  height: 70px;
  background-color: var(--header-bg-color);
  backdrop-filter: blur(5px);
  box-shadow: 0 0 15px var(--header-shadow-color);
  z-index: 999;
}

.left {
  display: flex;
  align-items: center;
}

.left img {
  width: 200px;
  margin: 0 15px;
}

.logo {
  max-width: 200px;
  min-width: 100px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 6px var(--scroll-box-shadow-color));
  transition: filter 0.3s ease;
}

header ul {
  display: flex;
  justify-content: space-evenly;
  width: clamp(360px, 40vw, 600px);
  padding: 15px 15px;
  border-radius: 50px;
  background-color: var(--nav-bg-color);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 10px var(--nav-shadow-color);
}

header ul li {
  list-style: none;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

header ul a {
  text-decoration: none;
  color: var(--main-font-color);
  font-weight: 700;
  transition: 0.3s;
  display: block;
  text-align: center;
}

header ul a:hover {
  color: var(--color-secondary);
  text-shadow: 0 0 15px var(--color-secondary);
}

.box-icons {
  display: flex;
  gap: 40px;
}

.box-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  width: 30px;
  height: 30px;
  border: 2px solid var(--icon-one-color);
  border-radius: 50%;
  cursor: pointer;
  transition: 0.5s;
  color: var(--text-color-main);
  text-decoration: none;
}

.box-icons a:hover {
  background-color: var(--icon-one-color);
  color: black;
  box-shadow: 0 0 15px var(--icon-one-color);
}


.blackhole-box {
  position: absolute;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: -1;
  mix-blend-mode: lighten;
}

.blackhole-box video {
  width: 100%;
  margin-top: -23.5%;
}

.title {
  position: relative;
  padding-top: clamp(300px, 133.33px + 13.89vw, 400px);
}

.title-text {
  font-size: clamp(40px, 3.125vw, 60px);
  max-width: 600px;
  font-weight: 700;
  background: linear-gradient(90deg, #874600 0%, #C8AA6E 25%, #E7D797 50%, #C8AA6E 75%, #874600 100%);
  background-size: 100% 100%;
  background-position: 0% 0%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  margin: 0 auto;
  color: transparent;
}

.hero {
  position: relative;
  display: flex;
  width: 100%;
  height: 100vh;
  align-items: center;
  justify-content: space-between;
  padding-top: 70px;
  /* Added padding to account for header height */
}

.hero-info {
  position: absolute;
  left: 5%;
}

body>div>section.hero>div.hero-info.autoBlur>div>h2 {
  font-size: clamp(22px, 1vw, 24px);
  line-height: 0px;
  margin: 0;
}

.sm-break {
  display: none;
}

.hero-info .hero-info-title {
  color: var(--icon-one-color);
  padding: 8px 15px;
  border-radius: 50px;
  border: 1px solid var(--element-accent-color);
  width: 100%;
  max-width: 500px;
  background-color: var(--hero-element-bg-color);
  box-shadow: 0 0 5px var(--element-accent-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-info h2 {
  font-size: clamp(40px, 3.125vw, 60px);
  max-width: 600px;
  font-weight: 700;
  line-height: 70px;
  margin-top: 40px;
  margin-bottom: 30px;
}

.hero-info p {
  max-width: 550px;
  line-height: 25px;
  margin-bottom: 40px;
  font-size: 20px;
}

.hero-info button {
  color: var(--main-font-color);
  padding: 15px 35px;
  border-radius: 20px;
  border: 1px solid var(--element-accent-color);
  background-color: var(--hero-element-bg-color);
  box-shadow: 0 0 5px var(--element-accent-color);
  cursor: pointer;
  transition: 0.3s;
  font-size: 20px;
}

.hero-info button:hover {
  box-shadow: 0 0 15px var(--element-accent-color);
}

/* Gradient Animation */
.gradient {
  background: linear-gradient(to right, #00aaa7, #7e42a7, #6600c5, #6070fd, #2a46ff, #0099ff, #008ead);
  background-size: 200%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: animate-gradient 2.5s linear infinite;
}

@keyframes animate-gradient {
  to {
    background-position: 200%;
  }
}

.skills-video-box {
  position: absolute;
  right: 3%;
}

.skills-video {
  height: 900px;
  mix-blend-mode: lighten;
}


.scroll-down {
  height: 50px;
  width: 30px;
  border: 2px solid var(--text-color-main);
  position: absolute;
  left: 49%;
  bottom: 8%;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 0 10px var(--scroll-box-shadow-color);
}

.scroll-down::before,
.scroll-down::after {
  content: "";
  position: absolute;
  top: 20%;
  left: 50%;
  height: 10px;
  width: 10px;
  transform: translate(-50%, -100%) rotate(45deg);
  border: 2px solid var(--text-color-main);
  border-top: transparent;
  border-left: transparent;
  animation: scroll-down 2s ease-in-out infinite;
}

@keyframes scroll-down {
  0% {
    /* top:20%; */
    opacity: 0;
  }

  30% {
    opacity: 1;
  }

  60% {
    opacity: 1;
  }

  100% {
    top: 90%;
    opacity: 0;
  }
}


.info-section {
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 90%;
  margin-top: 100px;
}

.section-title {
  font-size: 40px;
  font-weight: 700;
}

h3.section-title {
  color: var(--color-secondary);
}

.info-cards {
  display: grid;
  grid-template-columns: auto auto auto;
  gap: 20px;
  width: 100%;
  height: 100%;
  margin-top: 30px;
}

.card {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  width: auto;
  height: 44.5vh;
  overflow: hidden;
  border: 1px solid var(--card-border-color);
  background-color: var(--card-bg-color);
  border-radius: 20px;
  transition: 0.5s;
}

.card h2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 20px 20px;
  font-size: clamp(22px, 1vw, 24px);
  /* Ensure the heading stays above absolutely positioned text blocks */
  z-index: 2;
  color: var(--text-color-main);
}

.card p {
  position: absolute;
  bottom: 3%;
  left: 5%;
  z-index: 1;
  max-width: 500px;
  color: var(--main-font-color);
  font-size: clamp(14px, 1vw, 16px);
  line-height: 20px;
  padding: 0 10px 0px 0px;

}

.card img {
  width: 80%;
  height: 50%;
  object-fit: cover;
}

.card:nth-child(3) video {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 50%;
  object-fit: cover;
  mix-blend-mode: lighten;
}

.card button {
  position: absolute;
  bottom: 4%;
  left: 5%;
  padding: 15px 35px;
  border: 1px solid var(--element-accent-color);
  background-color: var(--hero-element-bg-color);
  color: var(--main-font-color);
  border-radius: 20px;
  box-shadow: 0 0 5px var(--element-accent-color);
  cursor: pointer;
  transition: 0.3s;
  font-size: 20px;
}

.card button:hover {
  box-shadow: 0 0 15px lightgray;
  opacity: 0.7;
}

.card:hover {
  box-shadow: 0 0 15px rgb(211, 211, 211);
}

.card:nth-child(1) img {
  width: 30%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  margin: 20px auto 0;
}

.card:nth-child(2) img {
  width: 30%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  margin: 20px auto 0;
  filter: brightness(1.5);
}

.card:nth-child(3) {
  grid-row: span 2;
  height: 91vh;
}

.card:nth-child(3) p {
  bottom: 12%;
}

.card:nth-child(3) h2 {
  bottom: 21%;
}

.card:nth-child(4) {
  grid-column: span 2;
  /* Let this card expand with its content while keeping a baseline size */
  min-height: 44.5vh;
  height: auto;
}

.card:nth-child(4) p:first-of-type {
  /* Constrain width relative to card so it won't collide with right-side image */
  max-width: min(800px, 60%);
  /* This card spans two columns, so 5% left offset appears further in than
     single-column cards. Use 2.5% to visually align with others. */
  left: 2.5%;
  /* Always reserve space for the right-aligned image to avoid overlap */
  padding-right: 24%;
  /* Anchor below the heading so long lines cannot rise into the h2 */
  bottom: auto;
  top: 70px;
}

/* Second paragraph: full width below the image */
.card:nth-child(4) p:last-of-type {
  position: absolute;
  left: 2.5%;
  right: 2.5%;
  bottom: 4%;
  top: auto;
  max-width: none;
  padding-right: 0;
}

/* Balance paragraph/image spacing around ~1490px widths */
@media (max-width: 1600px) {
  .card:nth-child(4) p:first-of-type {
    max-width: min(700px, 60%);
    padding-right: 22%;
    top: 35px;
  }

  .card:nth-child(4) img {
    max-width: 22%;
  }
}

/* Tighten layout a bit more as we approach ~1490px */
@media (max-width: 1520px) {
  .card:nth-child(4) p:first-of-type {
    max-width: min(640px, 60%);
    padding-right: 20%;
    top: 35px;
  }

  .card:nth-child(4) img {
    max-width: 20%;
  }
}

/* At tablet/desktop crossover reduce image footprint to create more text room */
@media (max-width: 1200px) {
  .card:nth-child(4) img {
    max-width: 16%;
    min-width: 100px;
  }

  .card:nth-child(4) p:first-of-type {
    padding-right: 18%;
    max-width: min(700px, 60%);
  }
}

/* On smaller screens hide the image and allow the first paragraph to span full width */
@media (max-width: 900px) {
  .card:nth-child(4) {
    display: block;
    column-count: 1;
  }

  .card:nth-child(4) img {
    display: none;
  }

  /* Let both paragraphs flow naturally and span full width */
  .card:nth-child(4) p,
  .card:nth-child(4) p:first-of-type,
  .card:nth-child(4) p:last-of-type {
    position: static;
    display: block;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    max-width: none;
    width: 95%;
    padding-right: 0;
    margin: 0 2.5% 12px 2.5%;
    font-size: clamp(14px, 1vw, 16px);
    line-height: 20px;
    float: none;
    clear: both;
    column-count: 1;
    columns: auto;
  }
}

.card:nth-child(4) h1 {
  bottom: 35%;
}

.card:nth-child(4) img {
  position: absolute;
  top: 35%;
  right: 5%;
  transform: translateY(-50%);
  /* Keep generous breathing room between the paragraph and the image */
  max-width: 22%;
  min-width: 220px;
  height: auto;
  object-fit: contain;
}

.my-project {
  display: flex;
  flex-direction: column;
  gap: 10%;
  align-items: center;
  position: relative;
  width: 95%;
  height: 100vh;
  margin: 200px 40px 700px 40px;
}

.project-card {
  display: flex;
  width: 100%;
  height: 50%;
  align-items: center;
  gap: 10%;
  justify-content: center;
  margin-top: 50px;
}

.project-one {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50%;
  mix-blend-mode: exclusion;
  position: relative;
  cursor: pointer;
  transition: 0.5s;
}

.project-one img {
  width: 80%;
  height: auto;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 0 10px var(--text-color-main);
  transition: 0.5s;
  max-width: 100%;
}

.project-two {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50%;
  mix-blend-mode: exclusion;
  position: relative;
  cursor: pointer;
  transition: 0.5s;
}

.project-two img {
  width: 80%;
  height: auto;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 0 10px var(--text-color-main);
  transition: 0.5s;
  max-width: 100%;
}

.project-three {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50%;
  mix-blend-mode: exclusion;
  position: relative;
  cursor: pointer;
  transition: 0.5s;
}

.project-three img {
  width: 80%;
  height: auto;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 0 10px var(--text-color-main);
  transition: 0.5s;
  max-width: 100%;
}

.project-info {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  width: 50%;
}

.project-info p {
  width: 100%;
  max-width: 900px;
  min-width: 300px;
  margin-bottom: 50px;
  margin-top: 0;
  font-size: clamp(14px, 1vw, 16px);
}

.project-info button {
  color: var(--main-font-color);
  padding: 15px 35px;
  border-radius: 20px;
  border: 1px solid var(--element-accent-color);
  background-color: var(--hero-element-bg-color);
  box-shadow: 0 0 5px var(--element-accent-color);
  cursor: pointer;
  transition: 0.3s;
  font-size: 20px;
  width: 180px;
}

.project-info button:hover {
  opacity: 0.8;
  box-shadow: 0 0 15px #72a1de81;
}

.project-grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: minmax(80px, auto) auto;
  /* First row is at least 80px, can grow */
  gap: 40px;
  align-items: center;
}

.project-title {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  justify-self: center;
  text-align: center;
}

.project-button {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  justify-self: center;
  color: var(--main-font-color);
  padding: 15px 35px;
  border-radius: 20px;
  border: 1px solid var(--element-accent-color);
  background-color: var(--hero-element-bg-color);
  box-shadow: 0 0 5px var(--element-accent-color);
  cursor: pointer;
  transition: 0.3s;
  font-size: 20px;
  width: 180px;
  justify-self: center;
  align-self: center;
  text-align: center;
}

.project-button i {
  margin-right: 10px;
}

.project-image {
  grid-column: 1 / 2;
  grid-row: 2 / 3;

  border-radius: 20px;
  height: auto;
  object-fit: cover;
  transition: 0.5s;
  max-width: 100%;
  box-shadow: 0 0 10px var(--text-color-main);
  justify-self: center;
  align-self: center;
}

.project-description {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  width: 100%;
  max-width: 900px;
  min-width: 300px;
  font-size: clamp(14px, 1vw, 22px);
}

.project-grid-container-reversed {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: minmax(80px, auto) auto;
  gap: 40px;
  align-items: center;
}

.project-grid-container-reversed .project-title {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  justify-self: center;
  text-align: center;
}

.project-grid-container-reversed .project-button {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  justify-self: center;
}

.project-grid-container-reversed .project-description {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
  width: 100%;
  max-width: 900px;
  min-width: 300px;
  font-size: clamp(14px, 1vw, 22px);
}

.project-grid-container-reversed .project-image {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  border-radius: 20px;
  height: auto;
  object-fit: cover;
  transition: 0.5s;
  max-width: 100%;
  box-shadow: 0 0 10px var(--text-color-main);
  justify-self: center;
}

.hover-sign::before,
.hover-sign::after {
  content: "👆";
  text-align: center;
  position: absolute;
  font-size: 50px;
  top: 20%;
  left: 40%;
  border-radius: 40px;
  animation: hover-animation 4s ease-in-out infinite;

}

.hover-sign.active {
  display: none;
}

@keyframes hover-animation {
  0% {
    /* top:20%; */
    box-shadow: 0 0 5px rgb(255, 255, 255);
    transform: translate(100%, 50%) rotate(30deg);
  }

  100% {
    box-shadow: 0 0 5px rgb(255, 255, 255);
    transform: translateX(80%, 80%) rotate(20deg);
  }
}




/* Skills section */
.skills-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  margin-top: 50vh;
}

.skills-box {
  width: 100%;
  height: 120vh;
  position: relative;
  display: flex;
  align-items: start;
  justify-content: center;
  mix-blend-mode: lighten;
  opacity: 0.7;
}

.skills-image {
  width: 70%;
  mix-blend-mode: difference;
}

.Designer {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: start;
  top: 25%;
  left: 5%;
  max-width: 300px;
}

.Designer h1 {
  font-size: 50px;
  display: flex;
  align-items: center;
}

.Designer p,
.coder p {
  line-height: 23px;
  font-size: clamp(14px, 1vw, 16px);
}


.coder {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: start;
  top: 25%;
  right: 5%;
  max-width: 300px;
}

.coder h1 {
  font-size: 50px;
  display: flex;
  align-items: center;
}

.coder-text {
  font-size: 50px;
}

/* SLIDER  */

.slider {
  position: absolute;
  bottom: 5%;
  right: 20%;
  width: 60%;
  height: var(--height);
  overflow: hidden;
  mask-image: linear-gradient(to right,
      transparent,
      #000 10% 90%,
      transparent);
  mix-blend-mode: difference;
  opacity: 0.7;
}

.slider .list {
  display: flex;
  width: 100%;
  min-width: calc(var(--width) * var(--quantity));
  position: relative;
}

.slider .list .item {
  width: var(--width);
  height: var(--height);
  position: absolute;
  left: 100%;
  animation: autoRun 10s linear infinite;
  transition: filter 0.5s;
  animation-delay: calc((10s / var(--quantity)) * (var(--position) - 1) - 10s) !important;
}

.slider .list .item img {
  width: 100%;
}

@keyframes autoRun {
  from {
    left: 100%;
  }

  to {
    left: calc(var(--width) * -1);
  }
}

.slider:hover .item {
  animation-play-state: paused !important;
  filter: grayscale(1);
}

.slider .item:hover {
  filter: grayscale(0);
}


/* CONTACT SECTION */
.contact-section {
  width: 80%;
  height: 50vh;
  display: flex;
  justify-content: center;
  gap: 10%;
  align-items: center;
  position: relative;
}

.social-box {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.social-box a {
  color: var(--text-color-main);
  text-decoration: none;
  font-size: 20px;
  text-wrap: nowrap;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.social-box a:hover {
  transform: scale(1.1);
}

.social-box a:hover .bxl-telegram {
  color: #24A1DE;
  /* Telegram Blue */
}

.social-box a:hover .bxl-linkedin-square {
  color: #0A66C2;
  /* LinkedIn Blue */
}

.social-box i {
  color: #7668ff;
  font-size: 30px;
  margin-right: 10px;
}

.social-icons a i {
  color: var(--main-font-color);
  font-size: 30px;
  margin-right: 10px;
  margin-top: 40px;
}

.social-icons a:hover .bxl-youtube {
  color: #FF0000;
  /* YouTube Red */
}

.social-icons a:hover .bxl-facebook-circle {
  color: #1877F2;
  /* Facebook Blue */
}

.social-icons a:hover svg {
  fill: #FFFFFF;
  /* X White */
  filter: drop-shadow(0 0 5px #FFFFFF);
}


.footer {
  display: flex;
  justify-content: space-between;
  position: sticky;
  width: 100%;
  height: 70px;
  background-color: var(--header-bg-color);
  backdrop-filter: blur(5px);
  z-index: 999;
  justify-content: center;
}

.footer h2 {
  font-size: clamp(19px, 2.167vw, 26px);
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Balance footer heading text wrapping on very small screens */
@supports (text-wrap: balance) {
  .footer h2 {
    white-space: normal;
    text-wrap: balance;
    overflow: visible;
    text-overflow: clip;
    hyphens: auto;
  }
}

.back-to-top {
  position: relative;
  display: block;
  margin: 0 auto 10vh;
  width: 40%;
  max-width: 180px;
  /* keeps it crisp on large screens */
  aspect-ratio: 1 / 1;
  /* keeps the image square           */
  overflow: hidden;
  /* hides shine that slides out      */
  transition: transform .45s cubic-bezier(.23, 1, .32, 1),
    box-shadow .45s;
}

.back-to-top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s cubic-bezier(.23, 1, .32, 1), filter .45s;
}

.back-to-top::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,
      transparent 20%,
      rgba(255, 255, 255, .55) 50%,
      transparent 80%);
  transform: translateX(-120%);
  transition: transform .65s;
}

.back-to-top:hover::after {
  transform: translateX(150%);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  outline: none;
  transform: translateY(-8px);
}

.back-to-top:hover img,
.back-to-top:focus-visible img {
  transform: scale(1.08);
  filter: brightness(1.15) saturate(1.15);
}

.back-to-top:hover::after,
.back-to-top:focus-visible::after {
  transform: translateX(120%);
}

@media (prefers-reduced-motion: reduce) {

  .back-to-top,
  .back-to-top img,
  .back-to-top::after,
  .back-to-top-link,
  .back-to-top-link::after {
    transition: none !important;
  }
}

/* Text-based Back to Top (non-sticky)
  Sits in normal flow, centered above the footer */
.back-to-top-container {
  position: static;
  display: flex;
  justify-content: center;
  width: 100%;
  margin: auto auto 24px;
  /* keep clear of 70px footer */
}

.back-to-top-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: 1px solid var(--element-accent-color);
  color: var(--main-font-color);
  background-color: var(--hero-element-bg-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.3s ease;
  overflow: hidden;
  /* enable shine sweep */
}

/* Shine sweep animation to mirror image-based button */
.back-to-top-link::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,
      transparent 20%,
      rgba(255, 255, 255, .55) 50%,
      transparent 80%);
  transform: translateX(-120%);
  transition: transform .65s;
}

.back-to-top-icon {
  font-size: 1.1rem;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.back-to-top-text {
  transition: color 0.3s ease;
}

.back-to-top-link:hover {
  transform: translateY(-3px);
  border-color: var(--color-secondary);
  color: var(--main-font-color);
  box-shadow: 0 8px 25px rgba(114, 161, 222, 0.25);
}

.back-to-top-link:hover .back-to-top-icon {
  transform: translateY(-2px);
  color: var(--color-secondary);
}

.back-to-top-link:hover::after,
.back-to-top-link:focus-visible::after {
  transform: translateX(120%);
}

.back-to-top-link:focus {
  outline: 3px solid var(--color-secondary);
  outline-offset: 3px;
  transform: translateY(-3px);
}

.back-to-top-link:active {
  transform: translateY(-1px);
  transition: transform 0.1s ease;
}

@media screen and (max-width: 768px) {
  .back-to-top-container {
    margin: 20px auto 84px;
  }

  .back-to-top-link {
    padding: 0.75rem 1.2rem;
    font-size: 0.9rem;
  }

  .back-to-top-icon {
    font-size: 1rem;
  }
}

/* Extra small phones: lift button a bit more to avoid footer overlap */
@media screen and (max-width: 480px) {
  .back-to-top-container {
    margin: 16px auto 120px;
  }

  .back-to-top-link {
    padding: 0.7rem 1rem;
    font-size: 0.85rem;
  }

  .back-to-top-icon {
    font-size: 0.95rem;
  }
}

/* BLUR EFFECT ANIMATION */

.autoBlur {
  animation: autoBlurAnimation linear both;
  animation-timeline: view();

}

@keyframes autoBlurAnimation {
  0% {
    filter: blur(40px);
  }

  35%,
  65% {
    filter: blur(0);
    opacity: 1;
  }

  100% {
    filter: blur(40px);
    opacity: 0;
  }
}

.autoBlur-fallback {
  opacity: 0;
  filter: blur(40px);
  transition:
    opacity 0.8s cubic-bezier(.4, 0, .2, 1),
    filter 0.8s cubic-bezier(.4, 0, .2, 1);
}

.autoBlur-fallback.visible {
  opacity: 1;
  filter: blur(0px);
}


/* AUTO DISPLAY ANIMATION */
.autoDisplay {
  animation: autoDisplayAnimation both;
  animation-timeline: view();

}

@keyframes autoDisplayAnimation {
  from {
    filter: blur(10px);
    transform: translateY(-200px) scale(0);
  }

  50% {
    opacity: 1;
    filter: blur(0px);
    transform: translateX(0) scale(1);
  }
}


/* FADEIN_LEFT */

.fadein-left {
  animation: fadeInLeftAnimation both;
  animation-timeline: view();
}

@keyframes fadeInLeftAnimation {
  0% {
    opacity: 0;
    transform: translateX(-500px) scale(0.2);
    filter: blur(10px);
  }

  25%,
  65% {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0px);
  }

  100% {
    filter: blur(10px);
  }
}

.fadein-left-fallback {
  opacity: 0;
  transform: translateX(-500px) scale(0.2);
  filter: blur(10px);
  transition:
    opacity 0.8s cubic-bezier(.4, 0, .2, 1),
    transform 0.8s cubic-bezier(.4, 0, .2, 1),
    filter 0.8s cubic-bezier(.4, 0, .2, 1);
}

.fadein-left-fallback.visible {
  opacity: 1;
  transform: translateX(0) scale(1);
  filter: blur(0px);
}

/* Sidebar */

.menu-icon {
  font-size: 35px;
  cursor: pointer;
  display: none
}


.sidebar {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 70%;
  width: 0%;
  background-color: var(--sidebar-bg-color);
  backdrop-filter: blur(10px);
  z-index: 999;
  box-shadow: 0 0 25px var(--scroll-box-shadow-color);
  backdrop-filter: blur(10px);
  opacity: 0;
  border-bottom-left-radius: 100%;

}

.close-icon {
  font-size: 50px;
  color: var(--text-color-main);
  padding-left: 10px;
  cursor: pointer;
}

.sidebar ul {
  padding-left: 20px;
}

.sidebar ul li {
  list-style: none;
  margin-bottom: 30px;
}

.sidebar ul li a {
  text-decoration: none;
  color: var(--text-color-main);
  font-size: 30px;
  font-weight: 900;
  text-shadow: 0 0 15px var(--text-shadow-color);
}

.sidebar ul li a:hover {
  text-decoration: none;
  color: var(--color-secondary);
  font-size: 30px;
  font-weight: 900;
  text-shadow: 0 0 15px var(--color-secondary);
}

.social-sidebar {
  padding-left: 20px;
  margin-top: 60px;
  text-wrap: nowrap;
}

.social-sidebar a {
  font-size: 35px;
  padding: 5px 16px;
  cursor: pointer;
  transition: 0.5s;
  border: 2px solid var(--icon-one-color);
  border-radius: 50%;
  color: var(--text-color-main);
}

.social-sidebar a:hover {
  background-color: var(--icon-one-color);
  color: var(--color-bg);
  box-shadow: 0 0 15px var(--icon-one-color);
}

/* Sidebar Open ANimation */
.sidebar.open-sidebar {
  animation: openSideBarAnimation 1.5s forwards;
}

@keyframes openSideBarAnimation {
  to {
    width: 80%;
    opacity: 1;
    bottom: 0;
    border-radius: 0;
  }
}

/* Sidebar close ANimation */

.sidebar.close-sidebar {
  animation: closeSideBarAnimation 1.5s forwards;
}

@keyframes closeSideBarAnimation {
  from {
    width: 80%;
    opacity: 1;
    bottom: 0;
    border-radius: 0;
  }

  to {
    width: 0;
    opacity: 0;
    bottom: 70%;
    border-bottom-left-radius: 50%;
  }
}

/* =====  Global form layout  ===== */
form {
  --gap: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  max-width: 600px;
  /* centre the block visually */
  margin: 0 auto;
  padding: 2rem 1rem;
  font-family: system-ui, sans-serif;
  color: var(--main-font-color);
}

/* =====  Label / input grouping  ===== */
label {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.label-txt {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .03em;
}

input,
textarea {
  padding: .9rem 1rem;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, .3);
  background-color: rgba(255, 255, 255, .08);
  color: var(--main-font-color);
  transition: border-color .25s, box-shadow .25s;
}

input:focus,
textarea:focus {
  outline: 3px solid var(--focus-color);
  outline-offset: 2px;
  border-color: var(--element-accent-color);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

/* =====  Submit button ===== */
button[type="submit"] {
  margin-top: 1rem;
  color: var(--main-font-color);
  padding: 15px 35px;
  border-radius: 20px;
  border: 1px solid var(--element-accent-color);
  background-color: var(--hero-element-bg-color);
  box-shadow: 0 0 5px var(--element-accent-color);
  cursor: pointer;
  transition: .3s;
  font-size: 1.125rem;
  align-self: flex-start;
  /* left-align under the inputs */
}

button[type="submit"]:hover,
button[type="submit"]:focus {
  opacity: .8;
  box-shadow: 0 0 15px #72a1de81;
}








@media (max-aspect-ratio: 16/9) {
  .back-vid {
    width: auto;
    height: 100%;
  }
}

@media (min-aspect-ratio: 16/9) {
  .back-vid {
    width: 100%;
    height: auto;
  }
}













@media screen and (max-width: 1200px) {

  .title {
    padding-top: clamp(200px, 60px + 20vw, 300px);
  }

  .section-title {
    font-size: 2em;
  }

  .title-text {
    font-size: clamp(28px, 3.167vw, 38px);
  }

  .info-section {
    width: 95%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 150px;
  }

  .blackhole-box video {
    margin-top: -20%;
  }

  .hero-info .hero-info-title {
    font-size: clamp(16px, 10.4px + 0.8vw, 20px);
    max-width: clamp(400px, 120px + 40vw, 600px);
  }

  body>div>header>div.menu-icon>i {
    font-size: 40px;
  }

  .bx {
    font-size: 20px;
  }

  body>div>section.hero>div.hero-info.autoBlur>div>h2 {
    font-size: clamp(22px, 1vw, 20px);
    max-width: 400px;
    line-height: 0px;
  }

  .hero {
    padding-top: 40px;
  }

  .hero-info h2 {
    font-size: clamp(30px, 3.125vw, 40px);
  }

  .hero-info P {
    max-width: 300px;
  }

  .card:nth-child(3) video {
    width: 25%;
    height: auto;
    object-fit: cover;
    margin: 0px 0px 20px auto;
    mix-blend-mode: lighten;
  }

  .skills-video-box {
    right: 0%;
  }

  .skills-video-box video {
    height: 500px;
    margin-top: 20vh;
  }

  .card p {
    font-size: clamp(16px, 1.5vw, 22px);
  }

  .card button {
    bottom: 3%;
  }

  .info-cards {
    grid-template-columns: auto;
  }

  .card:nth-child(3) {
    grid-column: span 2;
    height: 60vh;
  }

  .info-cards .card:nth-child(3) h1 {
    bottom: 25%;
  }

  .my-project {
    margin-bottom: 300px;
    width: 95%;
    margin-left: auto;
    margin-right: auto;
    height: 160vh;
  }

  .project-one img .project-two img .project-three img {
    width: 60%;
    height: auto;
  }

  .project-image,
  .project-grid-container-reversed .project-image {
    width: 80%;
  }

  .project-card {
    margin-bottom: 0vh;
    height: auto;
    /* Let the content decide the height */
    align-items: stretch;
    /* Optional: makes children fill height */
  }


  .skills-section {
    width: 95%;
  }

  .Designer {
    max-width: 280px;
  }

  .coder {
    max-width: 280px;
  }


  .contact-section .section-title {
    left: 30%;
  }

  .slider .list .item img {
    width: 60%;
  }

  form {
    --gap: 1.25rem;
  }

}










@media screen and (max-width: 700px) {

  .title {
    padding-top: clamp(200px, 60px + 20vw, 300px);
    text-align: center;
  }

  .section-title {
    font-size: 2em;
    max-width: clamp(400px, -36.36px + 90.9vw, 600px);
  }

  .title-text {
    font-size: clamp(20px, -14.91px + 7.27vw, 28px);
  }

  .logo {
    width: calc(100px + (200 - 100) * ((100vw - 200px) / (700 - 200)));
  }

  header {
    position: fixed;
    height: 50px;
  }

  header ul {
    display: none;
  }

  header .box-icons {
    display: none;
  }

  .menu-icon {
    display: inline;
  }

  .blackhole-box video {
    width: 100%;
    margin-top: -15%;
  }

  .hero-info h2 {
    font-size: clamp(16px, 7.27px + 1.82vw, 20px);
  }

  .autoBlur {
    animation: none;
  }

  .hero {
    flex-direction: column;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;

  }

  .hero-info {
    bottom: 5%;
    top: 20vh;
  }

  .scroll-down {
    bottom: 5%;
  }

  .skills-video-box video {
    display: none;
  }

  .info-cards {
    grid-template-columns: auto;
  }

  .card h2 {
    bottom: 60%;
    font-size: clamp(18px, 1vw, 20px);
  }

  .card:nth-child(3) {
    grid-column: span 2;
    height: 50vh;
  }

  .card:nth-child(3) p {
    bottom: 20%;
  }

  .card video {
    width: 100%;
  }

  .container {
    min-height: 100vh;
  }

  .my-project {
    height: auto;
    margin-top: 100px;
    margin-bottom: 100px;
  }

  .project-card {
    flex-direction: column;
    margin-left: 25%;
    gap: 30px;
  }

  .project-card-responsive {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-left: 0;
  }


  .project-card-responsive .project-one,
  .project-card-responsive .project-two,
  .project-card-responsive .project-three {
    width: 80%;
    margin-bottom: 20px;
  }

  .project-card-responsive .project-info {
    width: 80%;
    align-items: center;
    text-align: center;
  }

  .project-card-responsive .project-info p {
    min-height: 100px;
    /* Adjust as needed */
    margin-bottom: 20px;
  }

  .project-card-responsive .project-info button {
    display: block;
    margin: 0 auto;
  }

  .project-info {
    width: 85%;
  }

  .project-info h2 {
    text-wrap: wrap;
  }

  .project-grid-container,
  .project-grid-container-reversed {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    gap: 20px;
  }

  .project-grid-container .project-title,
  .project-grid-container-reversed .project-title {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    font-size: clamp(20px, 1vw, 26px);
  }

  .project-grid-container .project-button,
  .project-grid-container-reversed .project-button {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
  }

  .project-grid-container .project-image,
  .project-grid-container-reversed .project-image {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
    width: 80%;
  }

  .project-grid-container .project-description,
  .project-grid-container-reversed .project-description {
    grid-column: 1 / 2;
    grid-row: 4 / 5;
    text-align: center;
  }

  .project-info p {
    max-width: 400px;
    font-size: clamp(16px, 1vw, 20px);
  }

  .skills-section {
    margin-top: 30hv;
    margin-bottom: 100px;
    height: 700px;
    width: 100%;
    text-align: center;
  }

  .Designer {
    top: 15%;
    align-items: center;
    left: 50%;
    transform: translateX(-50%);
  }

  .Designer h3 {
    margin-bottom: 0;
    margin-top: 25vh;
  }

  .Designer p {
    line-height: 23px;
    font-size: clamp(14px, 1vw, 16px);
    margin-top: 5vh;
  }

  .coder {
    line-height: 23px;
    font-size: inherit;
    margin-top: 70vh;
    align-items: center;
    left: 50%;
    transform: translateX(-50%);
  }

  .coder h3 {
    margin-bottom: 0;
    line-height: 50px;
  }

  .coder p {
    line-height: 23px;
    font-size: clamp(14px, 1vw, 16px);
    margin-top: 5vh;
  }

  .slider {
    top: 150vh;
  }

  .slider .list .item img {
    width: 70%;
  }

  .contact-section {
    flex-direction: column;
    margin-top: 100vh;
    margin-bottom: 50px;
    align-items: center;
    text-align: center;
  }

  .footer {
    font-size: 10px;
  }

  .social-box {
    margin-left: 0;
  }

  .contact-box p {
    text-align: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .footer h2 {
    font-size: clamp(18px, 2.167vw, 18px);
  }

  form {
    --gap: 1rem;
    padding: 1.5rem .75rem;
  }

  button[type="submit"] {
    width: 100%;
    /* full-width button on phones */
    align-self: stretch;
  }
}













@media screen and (max-width: 480px) {

  .container {
    height: 100%;
  }

  .title {
    padding-top: clamp(200px, 60px + 20vw, 300px);
  }

  .section-title {
    font-size: 2em;
    max-width: clamp(400px, -36.36px + 90.9vw, 600px);
  }

  .title-text {
    font-size: clamp(12px, 2px + 3.33vw, 18px);
    margin-bottom: 60px;
  }

  .hero .skills-video-box {
    display: none;
  }

  .blackhole-box {
    overflow: hidden;
  }

  .blackhole-box video {
    width: 140%;
    margin-top: -27%;
  }

  body>div>section.hero>div.hero-info.autoBlur>div>h2 {
    font-size: clamp(16px, 7.27px + 1.82vw, 18px);
    max-width: 22ch;
    word-wrap: break-word;
    line-height: unset;
  }

  .sm-break {
    display: inline;
    /* activates the <br> */
  }

  .left {
    scale: 0.9;
    margin-left: -30px;
  }

  .left h2 {
    font-size: 20px;
    font-size: clamp(12px, 1vw, 16px);
  }

  .card h2 {
    bottom: 60%;
  }

  .hero {
    scale: 0.9;
  }

  .hero-info .hero-info-title {
    width: 200px;
    font-size: clamp(28px, 3.167vw, 38px);
    padding: 20px 0px;
  }

  .hero-info {
    bottom: 15%;
  }

  .hero-info h1 {
    font-size: 35px;
  }

  /* Footer mobile improvements */
  .footer {
    justify-content: center;
  }

  .footer h2 {
    font-size: clamp(14px, 3.5vw, 18px);
    white-space: normal;
    text-align: center;
    line-height: 1.2;
    max-width: 90vw;
  }

  .scroll-down {
    display: none;
  }

  .info-cards {
    grid-template-columns: auto;
    display: flex;
    flex-direction: column;
  }

  .card {
    min-height: 30rem;
  }

  .card:nth-child(3) {
    height: 60vh;
  }

  .card:nth-child(3) video {
    width: 50%;
    height: auto;
    object-fit: cover;
    mix-blend-mode: lighten;
  }

  .card:nth-child(4) img {
    width: 40%;
    padding: 0px 20px 0px 0px;
  }

  .card:nth-child(4) .project-card-responsive {
    height: auto;
    gap: 30px;
    margin-bottom: 50px;
  }

  .project-card-responsive .project-one,
  .project-card-responsive .project-two,
  .project-card-responsive .project-three {
    width: 90%;
    margin: 0 auto;
  }

  .project-card-responsive .project-info {
    width: 90%;
    margin: 0 auto;
    text-align: center;
  }

  .skills-section {
    margin-top: 2vh;
  }

  .skills-box {
    height: 160vh;
  }

  .coder h3,
  .Designer h3 {
    font-size: 34px;
  }

  .slider {
    top: 180vh;
  }

  .slider .list .item img {
    width: 40%;
  }

  .coder {
    margin-top: 80vh;
  }

  .contact-section {
    scale: 0.9;
    margin-top: 120vh;
  }

  .contact-section .section-title {
    top: -30px;
    left: 25%;
  }

  .back-to-top {
    bottom: 5vh;
  }

  .footer {
    z-index: 10;
  }

  .footer h1 {
    max-width: 150px;
  }

  .footer .box-icons {
    gap: 10px;
  }

  .project-grid-container,
  .project-grid-container-reversed {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    gap: 20px;
  }

  .project-grid-container .project-title,
  .project-grid-container-reversed .project-title {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    font-size: clamp(20px, 1vw, 26px);
  }

  .project-grid-container .project-button,
  .project-grid-container-reversed .project-button {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
  }

  .project-grid-container .project-image,
  .project-grid-container-reversed .project-image {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
    width: 80%;
  }

  .project-grid-container .project-description,
  .project-grid-container-reversed .project-description {
    grid-column: 1 / 2;
    grid-row: 4 / 5;
    text-align: center;
  }

  .footer h2 {
    font-size: clamp(16px, 2.167vw, 18px);
  }

  .label-txt {
    font-size: .875rem;
  }

  input,
  textarea {
    font-size: 1rem;
  }

  /* avoid iOS zoom */
}