
@font-face {
  font-family: "Karla";
  src: url("/font/Karla-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Karla";
  src: url("/font/Karla-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fira Code";
  src: url("/font/FiraCode-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --background-main: #0f1111;
  --background-panel: #132422;
  --text-main: #f1f1ed;
  --text-soft: rgba(241, 241, 237, 0.88);
  --text-dim: rgba(241, 241, 237, 0.68);
  --accent: #39e8d4;
  --accent-strong: #1ef7df;
  --line: rgba(57, 232, 212, 0.56);
  --line-soft: rgba(255, 255, 255, 0.09);
  --shadow-large: 0 26px 80px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  position: relative;
  isolation: isolate;
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  font-family: "Inter", sans-serif;
  color: var(--text-main);
  background: #0b1110;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  width: 100vw;
  min-width: 100%;
  pointer-events: none;
}

body::before {
  z-index: -2;
  opacity: 0.96;
  background-image:
    url("./assets/imgs/12. Skill set Background.png"),
    linear-gradient(180deg, #08100f 0%, #121313 44%, #121313 100%);
  background-position: center top, center;
  background-size: cover, cover;
  background-repeat: no-repeat, no-repeat;
}

body::after {
  z-index: -1;
  opacity: 0.98;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.1) 24%, rgba(18, 19, 19, 0.86) 100%),
    radial-gradient(940px 460px at 88% 0%, rgba(57, 232, 212, 0.13), transparent 46%),
    radial-gradient(720px 380px at 78% 5%, rgba(57, 232, 212, 0.09), transparent 62%);
}

img {
  max-width: 100%;
  display: block;
}

a,
button,
input,
textarea {
  font: inherit;
}

a[href],
button:not(:disabled),
label,
summary,
[role="button"],
[role="link"],
[tabindex]:not([tabindex="-1"]) {
  cursor: pointer;
}

input[type="text"],
input[type="email"],
textarea {
  cursor: text;
}

button {
  border: 0;
}

section,
header,
footer,
main {
  position: relative;
  z-index: 1;
  background: transparent;
}

section,
[id] {
  scroll-margin-top: 96px;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(8, 16, 15, 0.9);
}

::-webkit-scrollbar-thumb {
  border: 2px solid rgba(8, 16, 15, 0.9);
  border-radius: 999px;
  background: rgba(57, 232, 212, 0.42);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(57, 232, 212, 0.64);
}

.cursor-shadow {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 5000;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: screen;
  will-change: transform;
  transform: translate3d(-50%, -50%, 0);
  transition: opacity 0.18s ease;
  background: radial-gradient(
    circle,
    rgba(57, 232, 212, 0.34) 0%,
    rgba(57, 232, 212, 0.16) 38%,
    transparent 72%
  );
  box-shadow:
    0 0 18px rgba(57, 232, 212, 0.42),
    0 0 44px rgba(57, 232, 212, 0.28);
}

body.cursor-shadow-visible .cursor-shadow {
  opacity: 1;
}

@media (pointer: coarse) {
  .cursor-shadow {
    display: none;
  }
}

:root {
  --responsive-gutter: 96px;
  --responsive-section-gap: 118px;
}

@media (max-width: 1320px) {
  :root {
    --responsive-gutter: 72px;
  }
}

@media (max-width: 1180px) {
  :root {
    --responsive-gutter: 64px;
    --responsive-section-gap: 104px;
  }
}

@media (max-width: 980px) {
  :root {
    --responsive-gutter: 56px;
    --responsive-section-gap: 96px;
  }

  html {
    scroll-padding-top: 86px;
  }
}

@media (max-width: 768px) {
  :root {
    --responsive-gutter: 28px;
    --responsive-section-gap: 76px;
  }

  html {
    scroll-padding-top: 104px;
  }

  body {
    overflow-x: hidden;
  }

  body::before {
    background-image:
      url("./assets/imgs/12. Skill set Background.png"),
      linear-gradient(180deg, #08100f 0%, #161818 35%, #191919 100%);
    background-position: center top, center;
    background-size: cover, cover;
    background-repeat: no-repeat, no-repeat;
  }

  body::after {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.34) 0%, rgba(0, 0, 0, 0.12) 30%, rgba(20, 22, 22, 0.9) 100%),
      radial-gradient(620px 360px at 86% 0%, rgba(57, 232, 212, 0.13), transparent 52%);
  }

  section,
  [id] {
    scroll-margin-top: 118px;
  }

  
}

@media (max-width: 360px) {
  :root {
    --responsive-gutter: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html,
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}