header {
    top: 4.2vh;
    width:50%;
    position: fixed;
    right: 28vh;
    display: flex;
    justify-content: space-between;
    align-items: center;


}
body {
    margin: 0;
    
}
#logo {
    position: absolute;
    width: 14.20vw;
    top: -4.41vh;
    left: 40px;
}

body {
    background-color: rgb(251, 246, 244);
    background-image:url("https://camo.githubusercontent.com/c42c83df2fd1e442ef1e0ed69cc20d21f65308fc2f0dca2a8035360738d49c8c/68747470733a2f2f7765622e77686174736170702e636f6d2f696d672f62672d636861742d74696c652d6461726b5f61346265353132653731393562366237333364393131306234303866303735642e706e67");
}
.hero {
    height: 88vh;
    position: relative;
    top: 12vh;
    color: white;
    border-bottom: 1px solid black;
}



.hero h1 {
    font-family: face;
    font-weight: 1;
    font-size: 9vw;
    position: absolute;
    left: 3vw;
    right: 50%;
}


.highlight {
    background-color: #e2de49;
}

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

.highlight2{
    background-color: white;
}

.highlight3 {
    color: black;
}

.highlight4 {
    background-color: white;
    color: black;
    animation: blink 1.5s ease-in-out infinite;
}

h1::selection,
h2::selection{
    background-color: rgb(255, 255, 255);
    color: black;
}


@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;
    }
}




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: rgb(251, 246, 244);
    font-size: 1.5vw;
}

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


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

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

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: 200vh;
}

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; }
.auth-divider { margin: 1.4rem 0 .6rem; text-align: center; opacity: .6; }
.auth-alt { margin-top: 1.4rem; text-align: center; }
.field-error { color: #c0392b; font-size: .85rem; margin: 0 0 .4rem; }
.flashes { list-style: none; padding: 0; max-width: 380px; margin: 1rem auto; }
.flash-error { color: #c0392b; }

/* --- 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: rgba(0,0,0,.12); overflow: hidden; }
.quiz-bar-fill { display: block; height: 100%; width: 0;
                 background: #6c5ce7; transition: width .25s ease; }
.quiz-body { margin: 1.2rem 0; }
.quiz-options { display: flex; flex-direction: column; gap: .5rem; }
.quiz-option { padding: .8rem 1rem; font: inherit; text-align: left; cursor: pointer;
               border: 2px solid rgba(0,0,0,.15); border-radius: 10px;
               background: #fff; transition: border-color .15s ease, transform .1s ease; }
.quiz-option:hover { border-color: #a29bfe; }
.quiz-option.is-chosen { border-color: #6c5ce7; background: #f3f0ff; }
.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: #c0392b; 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: #6c5ce7; color: #fff; }
.quiz-primary:disabled { opacity: .45; cursor: not-allowed; }
.quiz-secondary { padding: .7rem 1.1rem; font: inherit; cursor: pointer;
                  border: none; border-radius: 8px; background: rgba(0,0,0,.08); }
.quiz-summary { padding: 1rem 1.2rem; border-radius: 12px; background: #f3f0ff; }
.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; }
.profile-avatar-blank { display: grid; place-items: center; font-size: 1.8rem;
                        background: #6c5ce7; color: #fff; }
.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; }
.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: #6c5ce7; }
.profile-stats { display: grid; grid-template-columns: repeat(3, 1fr);
                 gap: .8rem; margin: 1.6rem 0; }
.stat { padding: .8rem; border-radius: 10px; background: #f3f0ff; text-align: center; }
.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: #6c5ce7; cursor: pointer; text-decoration: underline; }
.settings-danger { border-color: rgba(192,57,43,.4); }
.settings-danger h2 { color: #c0392b; }
.settings-danger-btn { background: #c0392b; color: #fff; border: none;
                       border-radius: 8px; padding: .7rem; cursor: pointer; }
.topnav { display: flex; align-items: center; gap: 1rem; justify-content: flex-end;
          max-width: 640px; margin: 1rem auto 0; padding: 0 1rem; font-size: .9rem; }
.topnav a { color: inherit; }
