.landing-header {
    top: 4.2vh;
    width:37%;
    position: fixed;
    right: 24vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 400;

}

:root {
    --bg: var(--page);
    --card: var(--page);
    --brand-soft: var(--surface-2);
    --radius: .85rem;
}
body {
    margin: 0;
    
}
#logo {
    position: fixed;
    width: 14.20vw;
    top: -4.41vh;
    left: 40px;
}

.hero {
    height: 88vh;
    position: relative;
    top: 12vh;
    color: white;
    /* border-bottom: 1px solid black; */
}



.hero h1 {
    font-family: face;
    font-weight: 1;
    font-size: 6vw;
    position: absolute;
    left: 3vw;
    right: 50%;
    width: fit-content;
    top: 13vh;
}


/* .highlight {
    background-color: #e2de49;
} */
.highlight {
    color: black;
    display: inline-block;
}


.highlight1 {
    background-color: #8534F3;
}

.highlight2{
    background-color: white;
}

.highlight3 {
    color: black;
}

.highlight4 {
    color: black;
    animation: blink 1.5s ease-in-out infinite,
                upup 1s ease-in-out;
}

h1::selection,
h2::selection{
    background-color: var(--ink);
    color: var(--page);
}


@font-face {
    font-family: face;
    src: url("https://cdn.hackclub.com/01a09f6d-388e-7b00-bc97-f496aba42ac6/safiro-medium-webfont%20(2).ttf");
}

@keyframes blink {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes upup {
    from {
        transform: translateY(-200%);
    }
    to {
        transform: translateY(0);
    }
}




br{
    user-select: none;
    pointer-events: none;
}

#login {
    top: 0;
    left: 4%;
    position: absolute;
    width: 10vw;
}

#log {
    top: 2vh;
    right: 2vw;
    position: fixed;
    width: 10vw;
    height: 7.9vh;
    text-decoration: none;
    color: inherit;
    border-radius: 60px;
    z-index: 10;
}
#textl {
    position: absolute;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    top: 11%;
    color: var(--on-brand);
    font-size: 1.5vw;
}

#log:hover {
    transform: scale(1.05);
}
#log:active {
    transform: scale(0.95);
    transition: 0.1s;
}


.landing-header a {
    position: relative;
    font-size: 1.3vw;
    font-family: face;
    text-decoration: none;
    color: black;
}

.landing-header a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 3px;
    background-color: #703e18;
    transition: width 0.3s ease;
}

.landing-header a:hover::after {
    width: 100%;
}

#girl {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
    animation-delay: 200ms;
    z-index: -10000;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

body{
    height: 100vh;
}

img {
    user-select: none;
}
/* --- auth pages --- */
.auth { max-width: 380px; margin: 4rem auto; }
.auth-form { display: flex; flex-direction: column; gap: .4rem; }
.auth-form input, .auth-form select { padding: .6rem; font: inherit; }
.auth-form button { margin-top: .8rem; padding: .7rem; cursor: pointer; }
.oauth-btn { display: block; padding: .7rem; margin-top: .5rem;
             text-align: center; text-decoration: none; border: 1px solid currentColor; }
.oauth-hackclub { background: #ec3750; border-color: #ec3750; color: var(--on-brand); }
.oauth-discord { background: #5865f2; border-color: #5865f2; color: var(--on-brand); }
.auth-divider { margin: 1.4rem 0 .6rem; text-align: center; opacity: .6; }
.auth-alt { margin-top: 7rem; text-align: center; }
.field-error { color: var(--bad-strong); font-size: .85rem; margin: 0 0 .4rem; }
.flashes { list-style: none; padding: 0; max-width: 380px; margin: 1rem auto; }
.flash-error { color: var(--bad-strong); }

/* --- onboarding questionnaire --- */
.quiz { max-width: 560px; margin: 3rem auto; padding: 0 1rem; }
.quiz h1 { font-size: 1.5rem; margin: 1.2rem 0 .4rem; }
.quiz-bar { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.quiz-bar-fill { display: block; height: 100%; width: 0;
                 background: var(--accent); transition: width .25s ease; }
.quiz-body { margin: 1.2rem 0; }
.quiz-options { display: flex; flex-direction: column; gap: .5rem; }
/* `button { color: var(--on-brand) }` below paints every button white, so
   anything that sets its own background has to set its own ink too. */
.quiz-option { padding: .8rem 1rem; font: inherit; text-align: left; cursor: pointer;
               border: 2px solid var(--line-strong); border-radius: 10px;
               background: var(--surface); color: var(--ink);
               transition: border-color .15s ease, transform .1s ease; }
.quiz-option:hover { border-color: var(--accent); }
.quiz-option.is-chosen { border-color: var(--accent); background: var(--surface-2); }
.quiz-question { margin-bottom: 1.6rem; }
.quiz-question-prompt { font-weight: 600; margin: 0 0 .5rem; }
.quiz-hint { font-size: .85rem; opacity: .7; margin: .6rem 0 0; }
.quiz-error { color: var(--bad-strong); font-size: .9rem; margin: .4rem 0 0; }
.quiz-actions { display: flex; justify-content: space-between; gap: .6rem; margin-top: 1.4rem; }
.quiz-primary { margin-left: auto; padding: .7rem 1.4rem; font: inherit; cursor: pointer;
                border: none; border-radius: 8px; background: var(--accent); color: var(--on-brand); }
.quiz-primary:disabled { opacity: .45; cursor: not-allowed; }
.quiz-secondary { padding: .7rem 1.1rem; font: inherit; cursor: pointer;
                  border: none; border-radius: 8px;
                  background: var(--surface-3); color: var(--ink); }
.quiz-summary { padding: 1rem 1.2rem; border-radius: 12px; background: var(--surface-2); }
.quiz-summary h2 { margin: 0 0 .5rem; font-size: 1.2rem; }
.quiz-reason, .quiz-summary-line { margin: .3rem 0; }
.quiz-goal { margin: .8rem 0 0; font-weight: 600; }
.quiz-score { margin: 0 0 1rem; }
.quiz-loading { opacity: .6; }

/* --- profile & settings --- */
.profile, .settings { max-width: 640px; margin: 3rem auto; padding: 0 1rem; }
.profile-head { display: flex; align-items: center; gap: 1rem; }
.profile-avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 1.5px solid var(--brand-ink); }
.profile-avatar-blank { display: grid; place-items: center; font-size: 1.8rem;
                        background: var(--accent); color: var(--on-brand); }
.profile-id h1 { margin: 0; font-size: 1.4rem; }
.profile-handle { margin: .1rem 0; opacity: .7; }
.profile-joined { margin: 0; font-size: .85rem; opacity: .55; }
.profile-edit { margin-left: auto; padding: .5rem .9rem; border-radius: 8px;
                background: rgba(0,0,0,.08); text-decoration: none; color: inherit; }
.profile-level { margin: 1.6rem 0 .4rem; }
.profile-level-line { display: flex; justify-content: space-between; font-size: .9rem; margin-bottom: 0.5rem; }
.profile-bar { height: 8px; margin-top: .4rem; border-radius: 4px;
               background: rgba(0,0,0,.12); overflow: hidden; }
.profile-bar-fill { display: block; height: 100%; background: var(--accent); }
.profile-stats { display: grid; grid-template-columns: repeat(3, 1fr);
                 gap: .8rem; margin: 1.6rem 0; }
.stat { padding: .8rem; border-radius: 10px; background: var(--page); text-align: center; border: 1px solid var(--line); }
.stat b { display: block; font-size: 1.3rem; }
.stat span { font-size: .8rem; opacity: .7; }
.profile-track, .profile-activity { margin-top: 1.8rem; }
.profile-track h2, .profile-activity h2 { font-size: 1.1rem; margin: 0 0 .5rem; }
.activity-list { list-style: none; padding: 0; margin: 0; }
.activity-list li { display: flex; gap: .8rem; padding: .5rem 0;
                    border-bottom: 1px solid rgba(0,0,0,.08); }
.activity-xp { margin-left: auto; font-weight: 600; }
.activity-at { opacity: .55; font-size: .85rem; }
.profile-empty { opacity: .6; }

.settings-back { margin: 0 0 1.4rem; }
.settings-card { padding: 1.2rem; margin-bottom: 1.2rem;
                 border: 1px solid rgba(0,0,0,.1); border-radius: 12px; }
.settings-card h2 { margin: 0 0 .8rem; font-size: 1.1rem; }
.settings-card .auth-form { max-width: none; }
.settings-hint { font-size: .85rem; opacity: .65; }
.settings-list { list-style: none; padding: 0; margin: 0; }
.settings-list li { display: flex; align-items: center; gap: .8rem;
                    padding: .5rem 0; border-bottom: 1px solid rgba(0,0,0,.08); }
.settings-list form { margin-left: auto; }
.settings-link { border: none; background: none; padding: 0; font: inherit;
                 color: var(--accent); cursor: pointer; text-decoration: underline; }
.settings-danger { border-color: rgba(192,57,43,.4); }
.settings-danger h2 { color: var(--bad-strong); }
.settings-danger-btn { background: var(--danger-solid); color: var(--on-brand); border: none;
                       border-radius: 8px; padding: .7rem; cursor: pointer; }
.settings-connect-intro { margin: 1rem 0 .4rem; }
.settings-connect { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
                    gap: .5rem; }
.settings-connect form { margin: 0; }
/* Unbranded providers (Google, GitHub) have no colour rule of their own,
   so without this they inherit white from the bare `button` rule and
   disappear against the page. */
.settings-connect .oauth-btn { width: 100%; margin: 0; font: inherit; cursor: pointer;
                               background: transparent; color: var(--ink);
                               border: 1px solid var(--line-strong); }
.settings-connect .oauth-hackclub { background: #ec3750; color: var(--on-brand); }
.settings-connect .oauth-discord { background: #5865f2; color: var(--on-brand); }
.provider-dot { flex: 0 0 auto; width: .6rem; height: .6rem; border-radius: 50%; background: #999; }
.provider-dot.provider-hackclub { background: #ec3750; }
.provider-dot.provider-discord { background: #5865f2; }
.provider-dot.provider-github { background: #24292f; }
.provider-dot.provider-google { background: #4285f4; }

.choice-group { border: 0; padding: 0; margin: 0 0 1rem; }
.choice-group legend { padding: 0; font-weight: 600; }
.choice-grid { display: grid; gap: .5rem; margin-top: .5rem;
               grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.choice { display: flex; align-items: center; gap: .5rem; cursor: pointer;
          padding: .55rem .7rem; border: 1px solid var(--line); border-radius: 8px; }
.choice:hover { border-color: #9aa1ad; }
.choice:has(input:checked) { border-color: #1f2430; background: var(--surface-2); }
.choice:has(input:disabled) { opacity: .45; cursor: not-allowed; }
.choice input { margin: 0; }


.highlight {
    position: relative;
    display: inline-block;
}

.pencil-line {
    position: absolute;
    left: 0;
    bottom: -8px;

    width: 100%;
    height: 25px;

    overflow: visible;
}

.pencil-line path {
    fill: none;
    stroke: #f7c865;
    stroke-width: 9;
    vector-effect: non-scaling-stroke;
    stroke-linecap: round;

    filter: url("#rough");

    stroke-dasharray: 1100;
    stroke-dashoffset: 1100;

    animation: draw-line 0.7s ease-out 1.2s forwards;
}

@keyframes draw-line {
    to {
        stroke-dashoffset: 0;
    }
}

.highlight3,
.highlight1,
.highlight {
    display: inline-block;
}

.line2 {
    margin-top: 21vh;
}

.line3 {
    margin-top: 29vh;
}

#section2 {
  width: 50%;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  overflow: hidden;
  box-sizing: border-box;
  padding: 0 28px 18px 18px;
  background: transparent;
}

#section2::before,
#section2::after {
  content: "";
  position: absolute;
  z-index: 4;
  left: 0;
  right: 0;
  height: 15%;
  pointer-events: none;
}

#section2::before {
  top: 0;
  background: linear-gradient(
    #f7f7f4,
    rgba(247, 247, 244, 0 )
  );
}

#section2::after {
  bottom: 0;
  background: linear-gradient(
    rgba(247, 247, 244, 0),
    #f7f7f4
  );
}

#companies {
  width: 100%;
  height: 123%;
  margin-top: -9%;
  overflow: visible;
}

#companies .track {
  display: flex;
  flex-direction: column;
  gap: 0;
  will-change: transform;
}

#companies .masonry-set {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  gap: 10px;
  padding-bottom: 10px;
}

#companies .masonry-row {
  width: 100%;
  display: flex;
  align-items: stretch;
  gap: 10px;
}

/*
  Both cards have the same height.
  Width creates the vertical/horizontal effect.
*/

#companies .gallery-tile {
  flex: 1 1 0;
  min-width: 0;
  height: 25vh;
  min-height: 150px;
  overflow: hidden;
  border: 0;
  border-radius: 28px;
  background: transparent;
}

#companies .gallery-tall {
  flex: 0.78 1 0;
}

#companies .gallery-wide {
  flex: 1.35 1 0;
}

#companies .gallery-tile img {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  object-fit: cover;
  filter: saturate(1.45) contrast(1.03);
}

#companies .gallery-row:nth-child(even) .gallery-tile {
  border-radius: 28px 28px 48px 48px;
}

@media (prefers-reduced-motion: reduce) {
  #companies .track {
    transform: translateY(0);
  }
}

.settings-check { display: flex; align-items: center; gap: .5rem;
    font-size: .95rem; margin-bottom: .4rem; }
.settings-check input { width: auto; margin: 0; }
.settings-2fa { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.settings-2fa input { flex: 1; min-width: 12rem; }

.settings-check--stacked { flex-direction: column; align-items: stretch;
    gap: .3rem; margin-top: .8rem; }
.settings-check--stacked textarea { width: 100%; font: inherit; padding: .5rem;
    border: 1px solid var(--line-strong); border-radius: 8px; resize: none; height: 1.3rem; }

/* Security keys */
.key-list { list-style: none; margin: .6rem 0; padding: 0; }
.key-row { display: flex; align-items: center; gap: .6rem; padding: .5rem 0;
    border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.key-name { font-weight: 600; }
.key-tag { background: var(--brand); color: var(--on-brand); border-radius: 999px;
    padding: .05rem .45rem; font-size: .7rem; font-weight: 400; }
.key-when { color: var(--ink-soft); font-size: .8rem; flex: 1; }
.key-add { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .6rem; }


/* ---------------------------------------------------------------- meter */

.meter {
    width: 100%;
    height: 16px;
    padding: 0;
    margin: 0;
    border: 2px solid #3b2416;
    border-radius: 999px;
    background: var(--surface-3);
    box-shadow: 0 2px 0 #3b2416;
    overflow: hidden;
    box-sizing: border-box;
}

.meter__fill {
    display: block;
    height: 100%;
    margin: 0;
    padding: 0;
    border-radius: 999px;

    /* Your brand color */
    background: linear-gradient(
        180deg,
        color-mix(in srgb, var(--brand) 80%, white),
        var(--brand)
    );

    box-shadow:
        0 0 6px color-mix(in srgb, var(--brand) 65%, transparent),
        0 0 14px color-mix(in srgb, var(--brand) 35%, transparent);

    position: relative;
    overflow: hidden;

    /* Jinja's inline width controls the progress */
    transition: width .4s cubic-bezier(.22, 1, .36, 1);
}

/* Moving shine */
.meter__fill::after {
    content: "";
    position: absolute;
    inset: 0;
    width: 35%;
    height: 100%;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, .25),
        transparent
    );

    animation: meter-shine 2.2s ease-in-out infinite;
}

/* Green version if you use .meter--goal */
.meter--goal .meter__fill {
    background: linear-gradient(
        180deg,
        color-mix(in srgb, var(--good) 80%, white),
        var(--good)
    );

    box-shadow:
        0 0 6px color-mix(in srgb, var(--good) 65%, transparent),
        0 0 14px color-mix(in srgb, var(--good) 35%, transparent);
}

@keyframes meter-shine {
    from {
        transform: translateX(-150%);
    }

    to {
        transform: translateX(400%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .meter__fill::after {
        animation: none;
    }
}

/* ---------------------------------------------------------------- */
.card {
    position: relative;
    background: var(--card);
    border: 2px solid var(--line);
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow:
        0 3px 0 var(--line),
        0 8px 20px rgba(42, 26, 16, 0.06);
    transition:
        transform 160ms ease,
        box-shadow 160ms ease,
        border-color 160ms ease;
}

button {
    display: inline-block;
    padding: .55rem 1.1rem;
    border-radius: .5rem;
    border: 1px solid var(--brand);
    background: none;
    color: var(--brand);
    font: inherit;
    font-size: .92rem;
    text-decoration: none;
    cursor: pointer;
    transition: background .15s ease, transform .1s ease;
}
button:hover { background: var(--brand-soft); }
button:active { transform: scale(.98); }

button { background: var(--brand); color: var(--on-brand); }
button:hover { background: var(--brand-press); }

button--quiet { border-color: var(--line-strong); color: var(--ink-soft); padding: .45rem .9rem; }

.landing-nav {
    display: flex;
    gap: 1.5rem;
}



.section-2 {
    height: 100vh;
    margin-top: 12.5vh;
    position: relative;
}

.h11  {
    font-family: face;
    font-weight: 1;
    font-size: 6vw;
    position: absolute;
    left: 20vw;
    top: 6vh;
    width: fit-content;
}.h12  {
    font-family: face;
    font-weight: 1;
    font-size: 6vw;
    position: absolute;
    left: 20vw;
    top: 70vh;
    width: fit-content;
}

.imf {
    width: 100%;
    position: absolute;
    top: 0;
    z-index: -1;
}

.ght {
    position: absolute;
    top: 24vh;
    left: 20vw;
    width: clamp(260px, 31vw, 520px);
    height: 30px;
    pointer-events: none;
    overflow: visible;
}

.ght path {
    fill: none;
    stroke: #f7c865;
    stroke-width: 7;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
    filter: url("#rough-land-jobs");
    stroke-dasharray: 1200;
    stroke-dashoffset: 1200;
    opacity: 0;
    animation: none;
    transition: stroke-dashoffset 1.1s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.2s ease;
}

.ght.is-visible path {
    opacity: 1;
    stroke-dashoffset: 0;
}

.logo-marquee {
    --logo-height: 20rem;
    --logo-gap: 76px;
    --marquee-speed: 45s;

    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 28px 0;
    position: absolute;
    top: 30vh;
    z-index: -2;

    mask-image: linear-gradient(
    to right,
    transparent,
    black 8%,
    black 92%,
    transparent
);
-webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 8%,
    black 92%,
    transparent
);
}

.logo-marquee__track {
    display: flex;
    width: max-content;
    animation: logo-marquee-scroll var(--marquee-speed) linear infinite;
    will-change: transform;
}
.logo-marquee__group {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-shrink: 0;
    gap: var(--logo-gap);
    padding-right: var(--logo-gap);
}
.logo-marquee__group img {
    display: block;
    width: auto;
    height: var(--logo-height);
    max-width: 150px;
    object-fit: contain;
    flex-shrink: 0;
    opacity: 1;
    transition: opacity 0.2s ease;
}
.logo-marquee__group img:hover{
    opacity: 1;
}
@keyframes logo-marquee-scroll {
    from{
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}
@media (prefers-reduced-motion: reduce) {
    .logo-marquee__track {
        animation: none;
    }
}

.igf {
    animation: hover 2s infinite;
}

@keyframes hover {
  0% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-6px) scale(1.02);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

.section-3 {
    height: 130vh;
}

.gfg {
    margin-left: 10%;
}

.zz {
    height: 4rem;
    width: 4rem;
}

.immu {
    display: flex;
    align-items: center;
}

.z {
    position: absolute;
    font-size: 32px;
    opacity: 0;
}

.z-1 {
    animation: sawy 2s ease-out infinite;
}
.z-2 {
    animation: sawy 2s ease-out 0.5s infinite;
}.z-3 {
    animation: sawy 2s ease-out 1s infinite;
}.z-3 {
    animation: sawy 2s ease-out 1.5s infinite;
}

@keyframes sawy {
    0% {
        transform: translate(0,0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translate(80px, -100px) rotate(30deg);
        opacity: 0;
    }
}
/* From Uiverse.io by mrhyddenn */ 
.container {
  width: 230px;
  height: 194px;
}

.terminal_toolbar {
  display: flex;
  height: 30px;
  align-items: center;
  padding: 0 8px;
  box-sizing: border-box;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  background: linear-gradient(#504b45 0%, #3c3b37 100%);
}

.butt {
  display: flex;
  align-items: center;
}

.btn {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin-right: 5px;
  font-size: 8px;
  height: 12px;
  width: 12px;
  box-sizing: border-box;
  border: none;
  border-radius: 100%;
  background: linear-gradient(#7d7871 0%, #595953 100%);
  text-shadow: 0px 1px 0px rgba(255,255,255,0.2);
  box-shadow: 0px 0px 1px 0px #41403A, 0px 1px 1px 0px #474642;
}

.btn-color {
  background: #ee411a;
}

.btn:hover {
  cursor: pointer;
}

.btn:focus {
  outline: none;
}

.butt--exit {
  background: linear-gradient(#f37458 0%, #de4c12 100%);
}

.user {
  color: #d5d0ce;
  margin-left: 6px;
  font-size: 14px;
  line-height: 15px;
}

.terminal_body {
  background: var(--ink);
  height: calc(100% - 30px);
  padding-top: 2px;
  margin-top: -1px;
  font-size: 12px;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.terminal_promt {
  display: flex;
}

.terminal_promt span {
  margin-left: 4px;
}

.terminal_user {
  color: var(--on-brand);
}

.terminal_location {
  color: #4878c0;
}

.terminal_bling {
  color: #dddddd;
}

.terminal_cursor {
  display: block;
  height: 14px;
  width: 5px;
  margin-left: 10px;
  animation: curbl 1200ms linear infinite;
}

@keyframes curbl {
  
  0% {
    background: #ffffff;
  }

  49% {
    background: #ffffff;
  }

  60% {
    background: transparent;
  }

  99% {
    background: transparent;
  }

  100% {
    background: #ffffff;
  }
} 

.wid4 {
    margin-left: 10%;
    width: 30%;
}