:root {
    --theme: #FA3F00;
    --off-white: #F7F9FA;
    --text-dg: #3f3f3f;
    --text-mg: #EBEBEB;
    --theme-font: "Merriweather Sans";
    --body-font: "Nunito";
    --hero-head-size: clamp(3rem, 1.9437rem + 3.3803vw, 6rem);
    --heading-font-size: clamp(2.25rem, 1.6338rem + 1.9718vw, 4rem);
    --med-head-size: clamp(1.75rem, 1.3099rem + 1.4085vw, 3rem);
    --small-head-size: clamp(1.125rem, 0.993rem + 0.4225vw, 1.5rem);
    --body-font-size: clamp(0.875rem, 0.831rem + 0.1408vw, 1rem);
}

* {
    box-sizing: border-box;    
    margin: 0;
    padding: 0;
    font-family: var(--body-font);
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    background-color: var(--off-white);
    padding-top: 3rem;
    position: relative;
    min-height: 100svh;
}

body p {
    font-size: var(--body-font-size);
    font-family: var(--body-font);
}

main {
    position: relative;
    z-index: 2;
}

.bg {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    background-image: url('/img/bg.png');
}

.bg img {
    
}

.content-container {
    width: 100%;
    padding: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

img {
    display: block;
}

.img-wrapper {
    display: block;
    overflow: hidden;
}

.img-wrapper img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    user-select: none;
}
.img-wrapper.contain img {
    object-fit: contain;
}

.flex {
    display: flex;
}

.flex.column {
    flex-direction: column;
}

.flex.center-justify{
    justify-content: center;
}

.flex-center-align {
    align-items: center;
}

.flex.between {
    justify-content: space-between;
}

.gap-1rm {
    gap: 1rem;
}

.grid {
    display: grid;
}

.heading {
    font-family: var(--theme-font);
    font-size: var(--heading-font-size);
    color: var(--theme-blue);
    letter-spacing: -0.07em;
    line-height: 0.95;
    font-weight: 700;
}

.hero-heading {
    font-size: var(--hero-head-size);
    color: var(--theme-blue);
    font-weight: 800;
}

.heading-medium {
    font-size: var(--med-head-size) !important;
    font-family: var(--theme-font);
    font-weight: 700;
}

.heading-small {
    font-size: var(--small-head-size);
    font-family: var(--theme-font);
    font-weight: 600;
}

.centered {
    text-align: center;
}

.auto-margin {
    margin: auto;
}

.mt-sm  { margin-top: 0.5rem; }
.mt-md  { margin-top: 1rem; }
.mt-lg  { margin-top: 2rem; }
.mt-xl  { margin-top: 4rem; }
.mb-sm  { margin-bottom: 0.5rem; }
.mb-md  { margin-bottom: 1rem; }
.mb-lg  { margin-bottom: 1rem; }

.med-scale {
    font-size: clamp(1rem, 0.912rem + 0.2817vw, 1.25rem) !important;
}

.plain-btn {
    text-decoration: none;
}

.semi-bold {
    font-weight: 600;
}

.bold {
    font-weight: 700;
}

.extra-bold {
    font-weight: 800;
}

.white-font {
    color: var(--off-white) !important;
}
.dg-font {
    color: var(--text-dg) !important;
}
.mg-font {
    color: var(--text-mg) !important;
}

.container {
  width: 7em;
  height: 7em;
  position: relative;
}

.button {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 4px solid #f0f0f0;
  background-color: transparent;
  background-image: linear-gradient(145deg, #dee0e1, #ffffff);
  box-sizing: border-box;
  box-shadow: 3px 3px 7px #c1c2c3, inset -3px -3px 7px #ffffff;;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  font-weight: 800;
  color: var(--text-dg);
  cursor: pointer;
}

.button::before {
  position: absolute;
  content: "";
  width: 7.25em;
  height: 7.25em;
  border-radius: inherit;
  background-color: transparent;
  background-image: linear-gradient(145deg, #262626, #606060);
  z-index: -1;
  box-shadow: 11px 11px 21px #c1c2c3,
             -11px -11px 21px #ffffff;
}

.button.selected {
  box-shadow: inset 19px 19px 16px #ebedee,
              inset -19px -19px 16px #ffffff,
              0 0 15px rgba(255, 60, 0, 0.452);
  border: 4px solid rgba(255, 60, 0, 0.699);
  color: #f03c00;
  text-shadow: #ff480031 1px 0 5px;
  animation: animeBorder .7s linear alternate-reverse infinite;
}

.skill-pill-holder {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 700px;
    gap: 1rem;
    margin: 2rem auto;
}

.skill-pill, .proj-tag {
    background-color: #1eff0034;
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 1rem; 
    border-radius: 50px;
    font-weight: 600;
    transition: transform 1s ease, opacity 1s ease;
}

.init {
    transform: translateY(-10px);
    opacity: 0;
}

.skill-pill span, .proj-tag span {
    content: '';
    height: 10px;
    width: 10px;
    background-color: #119600;
    border-radius: 50%;
}

.storyline-holder {
    
}

iframe {
    border: none;
    outline: none;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
}

.proj-tag {
    background-color: #e7e7e7 !important; 
}

.vant-sshot-1 {
    width: 30%;
    float: right;
    border-radius: 7px;
}

.storyline-ul {
    width: 80%;
    margin: auto;
    font-size: var(--body-font-size);
}

.storyline-ul li {
    margin-top: 0.5rem;
}

.code-block {
  background: #1e1e1e;
  border-radius: 12px;
  overflow: hidden;
  font-family: "Fira Code", "Consolas", monospace;
  border: 1px solid #2d2d2d;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  width: 70%;
  margin: auto;
}

/* Header */
.code-header {
  background: #2a2a2a;
  color: #9da1a6;
  font-size: 12px;
  padding: 6px 12px;
  border-bottom: 1px solid #333;
  font-weight: 500;
}

/* Code area */
.code-block pre {
  margin: 0;
  padding: 18px 16px;
  overflow-x: auto;
}

/* Base text */
.code-block code {
  color: #d4d4d4;
  font-size: 14px;
  line-height: 1.6;
  display: block;
  white-space: pre;
}

/* Syntax colors (VS Code–like) */
.comment {
  color: #6a9955;
}

.keyword {
  color: #569cd6;
}

.string {
  color: #ce9178;
}

.boolean {
  color: #569cd6;
}

.function {
  color: #dcdcaa;
}

/* Scrollbar (subtle like screenshot) */
.code-block pre::-webkit-scrollbar {
  height: 6px;
}
.code-block pre::-webkit-scrollbar-track {
  background: transparent;
}
.code-block pre::-webkit-scrollbar-thumb {
  background: #3a3a3a;
  border-radius: 4px;
}

.vant-sshot-2 {
    width: 75%;
    margin: auto;
    border-radius: 10px;
}

.about-me-holder * {
    transition: transform 0.7s ease, opacity 0.7s ease
}

.about-me-img {
    width: 300px;
    float: left;
    border-radius: 7px;
    margin-right: 1rem;
}

/* button:active {
    background: linear-gradient(145deg, #dee0e1, #ffffff);
    color: var(--theme);
    text-shadow: #ff480075 1px 0 5px;
}

button.selected {
        background: linear-gradient(145deg, #dee0e1, #ffffff);
    color: var(--theme);
    text-shadow: #ff480075 1px 0 5px;
} */

.about-me-top {
    grid-template-columns: 350px 1fr;
}

@media (max-width: 500px) {
    .about-me-img {
        float: none;
        margin: 1rem auto;
    }
    .code-block {
        width: 100%;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
    .vant-sshot-2 {
        width: 100%;
    }
}

@keyframes animeBorder {
  to {
    border-color: rgba(255, 60, 0, 0.315);
  }
}
