:root {
    --main-bg: #000000;
    --main-alt-bg: #0E0E0E;
    --sec-bg: #161616;
    --logo-color: #ffffff;
    --info-color: #b0861c;
    --text-color: #a3a3a3;
    --text-alt-color: #777777;
    --btn-color: #0071e3;
    --btn-alt-color: #4f9dff;
    --valid-color: #28a745;
    --invalid-color: red;
}

@font-face {
    /*
    * Gonzales Sans
    */
    font-family: 'GonzalesSans';
    src: url('../media/fonts/GonzalesSans.ttf');
}

@font-face {
    /*
    * Questrial Regular
    * Licensed under SIL Open Font License, Version 1.1
    * https://scripts.sil.org/OFL
    */
    font-family: 'Questrial';
    src: url('../media/fonts/Questrial.ttf');
}

* {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;

    padding: 0;
    margin: 0;

    background: var(--main-bg);

    font-family: "Questrial", -apple-system, BlinkMacSystemFont,
        "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-style: normal;

    overflow-x: hidden;
    overflow-y: auto;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 0.9rem;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    border: none;
    border-radius: 50px;
}

.btn-primary {
    background: linear-gradient(135deg, #007aff, #4f9dff);
    color: #fff;
    box-shadow: 0 8px 18px rgba(0, 113, 227, 0.4);
    transition: .3s transform ease;
}

.btn-primary:hover {
    background: var(--btn-color);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0, 113, 227, 0.55);
}

.btn-ghost {
    background: transparent;
    color: var(--logo-color);
    border: 1px solid rgba(148, 163, 184, 0.5);
}

.btn-ghost:hover {
    background: rgba(0, 0, 0, 0.03);
}

input,
button {
    font-family: "Questrial", -apple-system, BlinkMacSystemFont,
        "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--logo-color);
}

h2 {
    font-size: 2rem;
}

p {
    font-size: 1.25rem;
    color: var(--text-color);
}

/* ------------------------------------ */
/*                 INTRO                */
/* ------------------------------------ */
.intro {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;

    background-color: var(--sec-bg);
    backdrop-filter: blur(14px) saturate(180%);
    transition: background-color 0.3s ease, color 0.3s ease;
    transition: 1s;
}

.intro_logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    font-family: 'Questrial';
    font-size: 2rem;

    color: var(--text-color);
}

.intro_logo span:first-of-type {
    font-family: 'GonzalesSans';
    font-size: 1.4rem;

    color: var(--logo-color);
}

@media screen and (max-width: 1118px) {
    .intro_logo span:last-of-type {
        display: none;
    }
}

/* ------------------------------------ */
/*              ANIMATIONS              */
/* ------------------------------------ */
@keyframes appear {
    from {
        opacity: 0;
        scale: 0.5;
    }

    to {
        opacity: 1;
        scale: 1;
    }
}

@keyframes heroFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroItemIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroImageIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ------------------------------------ */
/*                HEADER                */
/* ------------------------------------ */
header {
    width: calc(100% - 40px);
    background: var(--sec-bg);
    border-radius: 10px;
    margin: 20px 20px 10px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 0;
}

header h2 {
    display: inline-flex;
    align-items: center;
    column-gap: .25rem;
    -webkit-tap-highlight-color: transparent;

    font-size: 1.2rem;
    font-weight: normal;
    color: var(--text-color);
}

header h2 span {
    margin-left: 40px;

    font-family: "GonzalesSans", sans-serif;
    font-size: 0.8rem;
    font-weight: normal;
    color: var(--logo-color);
}

.icons {
    margin-right: 40px;
}

.icons a {
    display: inline-block;
    font-size: 1rem;
    margin-right: 1.2rem;

    color: var(--text-color);
    transition: all .4s ease;
}

.icons a:hover {
    color: var(--logo-color);
}

.nav-links {
    margin-right: 40px;
}

.nav-links a {
    display: inline-block;
    font-size: 1rem;
    text-decoration: none;
    margin-right: 1.2rem;

    color: var(--text-color);
    transition: all .4s ease;
}

.nav-links a:hover {
    color: var(--logo-color);
}

/* ===================================================== */
/*               RESPONSIVE HEADER                       */
/* ===================================================== */

@media (max-width: 768px) {

    h2 {
        font-size: 1.6rem;
    }

    p {
        font-size: 1rem;
    }

    header {
        flex-direction: column;
        gap: 0;
        padding: 1rem;
    }

    header h2 span {
        margin-left: 0;
    }

    .nav-links a,
    .icons a {
        display: none;
    }
}