@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&family=Space+Grotesk:wght@300..700&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    font-size: 62.5%;
}
:root {
    --background: #05050b;
    --background2: #0c0d1a;
    --accent: #00d4ff;
    --stars: #ffffff;
    --text: #e5e5e5;
    --text-muted: #9ca3af;
    --border: rgba(229, 229, 229, 0.2);
}
body {
    background: linear-gradient(to bottom, var(--background) 60%, #0b0d18 100%);
    background-attachment: fixed;
    overflow: hidden;
}
header {
    display: flex;
    justify-content: center;
    position: relative;
    margin-top: 1rem;
}
.header-logo {
    display: flex;
    position: relative;
    margin-top: 7rem;
}
.logo-img {
    display: block;
}
.header-logo-img {
    height: 10rem;
    filter: drop-shadow(0 0 15px rgba(170, 186, 255, 0.25));
    user-select: none;
}
.header-faq {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 3rem;
    right: 3rem;
    opacity: 1;
    cursor: pointer;
    z-index: 10;
}
.header-faq-img {
    height: 2.5rem;
    filter: drop-shadow(0 0 15px rgba(170, 186, 255, 1));
    user-select: none;
    transition: all 0.3s ease-in-out;
}
.header-faq-img-hover {
    position: absolute;
    opacity: 0;
    height: 2.5rem;
    filter: drop-shadow(0 0 15px var(--accent));
    user-select: none;
    transition: all 0.3s ease-in-out;
}
.header-faq:hover .header-faq-img-hover {
    opacity: 1;
}
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 50;
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s ease;
}
.overlay.show {
    opacity: 1;
    pointer-events: all;
}
.faq-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding-top: 2rem;
    padding-bottom: 2rem;
    position: fixed;
    opacity: 0;
    background: rgba(12, 13, 26, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    z-index: 100;
    pointer-events: none;
    border: 1px solid var(--border);
    transition: all 0.5s ease;
}
.faq-menu.show {
    opacity: 1;
    pointer-events: all;
    transform: translate(-50%, -50%) scale(1);
}
.faq-bot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.faq-text {
    font-family: 'Space Grotesk', sans-serif;
    max-width: 600px;
    font-size: 2.4rem;
    color: var(--text);
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
}
.faq-social {
    display: flex;
    gap: 20px;
}
#text-link-github:hover {
    color: var(--accent);
}
#text-link-linkedin:hover {
    color: var(--accent);
}
.text-copy {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    color: var(--text-muted);
    text-align: center;
}
.main {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 5rem;
    gap: 30px;
}
.main-text {
    font-family: 'Space Grotesk', sans-serif;
    max-width: 700px;
    font-size: 3.6rem;
    color: var(--text);
    text-align: center;
    transform: scale(1);
    transition: all 0.5s ease;
}
.main-text.hide {
    transform: scale(0);
}
.main-input {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    gap: 30px;
    z-index: 2;
}
.question {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.5rem;
    width: 25rem;
    height: 7rem;
    box-sizing: border-box;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 1px;
    font-size: 1.8rem;
    color: var(--text);
    outline: none;
    flex-grow: 1;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}
.question::placeholder {
    color: var(--text-muted);
}
.question:focus {
    background: rgba(255, 255, 255, 0.01);
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}
.answer {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    top: -75%;
}
.answer-yn {
    font-size: 6.2rem;
    opacity: 0;
    pointer-events: none;
    transform: scale(0);
    transition: all 0.3s ease;
}
.answer-yn.show {
    opacity: 1;
    transform: scale(1);
}
.gif-star {
    width: 100%;
    height: 100%;
}
.ask {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 12px;
    font-family: 'Space Grotesk', sans-serif;
    text-align: center;
    height: 7rem;
    width: 25rem;
    font-size: 2.4rem;
    color: var(--text);
    user-select: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10rem);
    transition: all 0.5s ease;
}
.ask:hover {
    background: rgba(0, 212, 255, 0.3);
    border: 1px solid var(--accent);
    cursor: pointer;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}
.ask.move {
    transform: translateY(0);
    opacity: 1;
}
.ask.move-end {
    pointer-events: all;
}
.stars {
    position: absolute;
    top: 200%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    height: 300vw;
    width: 300vw;
    animation: sky-rotate 500s linear infinite;
}
.star {
    position: absolute;
    user-select: none;
    pointer-events: none;
    height: 1rem;
    width: 1rem;
    background: var(--stars);
    border-radius: 50%;
    animation-name: star-opacity;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}
.answer-star {
    opacity: 0;
    overflow: hidden;
    object-fit: cover;
    background: transparent;
    border: 1px solid var(--border);
    transition: all 0.5s ease;
}
.answer-star.show {
    opacity: 1;
}
#answer-star1 {
    height: 2rem;
    width: 2rem;
    transform: translate(80px, 10px) scale(0.9);
}
#answer-star2 {
    height: 2rem;
    width: 2rem;
    transform: translate(-80px, -10px) scale(1);
}
#answer-star3 {
    height: 2rem;
    width: 2rem;
    transform: translate(55px, -45px) scale(0.8);
}
#answer-star4 {
    height: 2rem;
    width: 2rem;
    transform: translate(-40px, -50px) scale(1.2);
}
#answer-star5 {
    height: 2rem;
    width: 2rem;
    transform: translate(-10px, 50px) scale(1.1);
}
@keyframes sky-rotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}
@keyframes star-opacity {
    0% {
        opacity: 100%;
    }
    25% {
        opacity: 60%;
    }
    50% {
        opacity: 100%;
    }
    75% {
        opacity: 60%;
    }
    100% {
        opacity: 100%;
    }
}
.comet {
    position: absolute;
    width: 8rem;
    height: 3px;
    background: linear-gradient(to left, transparent, var(--stars));
    pointer-events: none;
    border-radius: 50%;
    margin-left: -4rem; 
    margin-top: -1px;
    animation: comet-fly 1s linear forwards;
}
@keyframes comet-fly {
    0% {
        opacity: 0;
        transform: rotate(310deg) translateX(50px);
    }
    10% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(310deg) translateX(-150px);
    }
}
.comets {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}
/* MEDIA */
@media (max-width: 1100px) {
    html {
        font-size: 55%;
    }
    .stars {
        position: fixed;
        top: 140%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    .header-faq {
        top: 3rem;
        right: 3rem;
        padding: 1rem; 
        margin: -1rem;
    }
    .header-faq-img {
        height: 4rem;
    }
    .header-faq-img-hover {
        height: 4rem;
    }
    .header-logo {
        margin-top: 20rem;
        margin-bottom: 5rem;
    }
    .main {
        margin-top: 3rem;
        gap: 50px;
    }
    .main-text {
        font-size: 3.2rem;
        max-width: 90%;
    }
    .question, .ask {
        width: 30rem;
    }
    .answer {
        top: -65%;
    }
}
@media (max-height: 700px) and (orientation: landscape) {
    html {
        font-size: 55%;
    }
    .stars {
        position: fixed;
        top: 150%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    .header-faq {
        top: 3rem;
        right: 3rem;
        padding: 1rem; 
        margin: -1rem;
    }
    .header-faq-img {
        height: 4rem;
    }
    .header-faq-img-hover {
        height: 4rem;
    }
    .header-logo {
        margin-top: 8rem;
        margin-bottom: 5rem;
    }
    .main {
        margin-top: 3rem;
        gap: 50px;
    }
    .main-text {
        font-size: 3.2rem;
        max-width: 90%;
    }
    .question, .ask {
        width: 30rem;
    }
    .answer {
        top: -65%;
    }
}
@media (max-width: 600px) {
    html {
        font-size: 50%;
    }
    .stars {
        position: fixed;
        top: 120%;
    }
    .main {
        gap: 50px;
    }
    .header-logo {
        margin-top: 6rem;
        margin-bottom: 5rem;
    }
    .header-logo-img {
        height: 8rem;
    }
    .main-text {
        font-size: 2.8rem;
        line-height: 1.3;
    }
    .question {
        width: 85vw;
        font-size: 2rem;
    }
    .ask {
        width: 85vw;
    }
    .answer {
        top: -75%;
    }
    .answer-yn {
        font-size: 5rem;
    }
    .faq-menu {
        width: 90%;
        padding: 2rem;
        gap: 25px;
    }
    .faq-text {
        font-size: 2rem;
    }
}
@media (max-height: 600px) and (orientation: landscape) {
    .header-logo {
        margin-top: 3rem;
        margin-bottom: 2rem;
    }
    .header-logo-img {
        height: 6rem;
    }
    .main-text {
        max-width: 550px;
    }
    .main {
        margin-top: 1rem;
        gap: 15px;
    }
    .header-faq {
        top: 1rem;
        right: 1rem;
    }
}
@media (max-width: 400px) {
    .stars {
        position: fixed;
        top: 110%;
    }
    .header-logo {
        margin-top: 10rem;
        margin-bottom: 0;
    }
    .answer {
        top: -65%;
    }
}
@media (max-height: 400px) and (orientation: landscape) {
    html {
        font-size: 47%;
    }
    .header-logo {
        margin-top: 0;
    }
    .header-faq {
        top: 2rem;
        right: 2rem;
    }
    .main-input {
        gap: 10px;
    }
    .main-text {
        max-width: 550px;
    }
    .answer-star.show {
        opacity: 0;
    }
}