/* ==========================================================
   newfn v4
   style.css
========================================================== */


/* ==========================================================
   Reset
========================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* ==========================================================
   Variables
========================================================== */

:root {

    --bg: #0d24cc;

    --text: #ffffff;

    --accent: #00ffaf;

    --line: rgba(255, 255, 255, .18);

    --ease: cubic-bezier(.22, 1, .36, 1);

    --content-left: 10%;

}

/* ==========================================================
   Base
========================================================== */

html {

    scroll-behavior: smooth;

}

body {

    background: var(--bg);

    color: var(--text);

    min-height: 100vh;

    font-family:
        "Geist Mono",
        "Zen Kaku Gothic Antique",
        sans-serif;

    -webkit-font-smoothing: antialiased;

    text-rendering: optimizeLegibility;

}

img{
    display:block;
    max-width:100%;
}

a{
    color:inherit;
    text-decoration:none;
}

body.home {

    overflow: hidden;

}

body.page {

    overflow-x: hidden;
    overflow-y: auto;
}


/* ==========================================================
   Typography
========================================================== */

h1 {

    font-family: "Geist Mono", monospace;

    font-size: 24px;

    font-weight: 400;

    letter-spacing: .04em;

}

h2 {

    font-family: "Zen Kaku Gothic Antique", sans-serif;

    font-size: 20px;

    font-weight: 500;

}

p {

    font-family: "Zen Kaku Gothic Antique", sans-serif;

    font-size: 16px;

    line-height: 2.1;

    font-weight: 400;

}


/* ==========================================================
   Loading
========================================================== */

#loading-screen {

    position: fixed;
    inset: 0;

    z-index: 9999;

    display: flex;
    justify-content: center;
    align-items: center;

    background: #000;

    transition: opacity .8s ease;

}

.terminal-window{

    width:min(640px,86vw);

    font-family:"Geist Mono", monospace;

}

.progress {

    width: 100%;
    height: 1px;

    margin: 20px 0 12px;

    background: rgba(255, 255, 255, .15);

}

.progress-bar {

    width: 0;
    height: 100%;

    background: #fff;

}

#progress-text {

    font-family: "Geist Mono", monospace;
    font-size: 14px;

}


/* ==========================================================
   Main
========================================================== */

#site {

    opacity: 0;

    transform: translateY(10px);

    transition:
        opacity .8s ease,
        transform .8s ease;

}

/* ==========================================================
   Hero
========================================================== */

.hero {

    position: relative;

    width: 100%;

    min-height: 100dvh;

    overflow: hidden;

}

/* ==========================================================
   Logo
========================================================== */

.logo {

    position: absolute;

    left: 50%;

    top: 8vh;

    transform: translateX(-50%);

    width: min(230px, 38vw);

    animation: logoFade .8s var(--ease) forwards;

    animation-play-state: paused;

    user-select: none;

    -webkit-user-drag: none;

}



/* ==========================================================
   Menu
========================================================== */

.menu {

    position: absolute;

    left:var(--content-left);

    top: 34vh;

    display: flex;

    flex-direction: column;

    gap: 22px;

}



/* ==========================================================
   Menu Link
========================================================== */

.menu a {

    display:flex;

    align-items:center;

    gap:10px;

    width:fit-content;

    color:var(--text);

    text-decoration:none;

    font-size:18px;

    font-weight:400;

    letter-spacing:.03em;

    opacity:0;

    transition:
        color .25s ease,
        transform .25s var(--ease);

    animation:menuFade .45s var(--ease) forwards;

    animation-play-state:paused;

    user-select:none;

}

.arrow{

    width:14px;

    flex-shrink:0;

}

.label{

    display:inline-block;

}


/* ==========================================================
   Hover
========================================================== */

.menu a:hover{

    color:var(--accent);

}

.arrow,
.label{

    transition:transform .25s var(--ease);

}

.menu a:hover .arrow,
.menu a:hover .label{

    transform:translateX(12px);

}

/* ==========================================================
   Animation
========================================================== */

@keyframes logoFade {

    from {

        opacity: 0;

        transform:
            translateX(-50%) translateY(12px);

    }

    to {

        opacity: 1;

        transform:
            translateX(-50%) translateY(0);

    }

}



@keyframes menuFade{

    from{

        opacity:0;

    }

    to{

        opacity:1;

    }

}



/* ==========================================================
   Menu Delay
========================================================== */

.menu a:nth-child(1) {

    animation-delay: .35s;

}

.menu a:nth-child(2) {

    animation-delay: .43s;

}

.menu a:nth-child(3) {

    animation-delay: .51s;

}

.menu a:nth-child(4) {

    animation-delay: .59s;

}

.menu a:nth-child(5) {

    animation-delay: .67s;

}

.menu a:nth-child(6) {

    animation-delay: .75s;

}

.menu a:nth-child(7) {

    animation-delay: .83s;

}



/* ==========================================================
   Selection
========================================================== */

::selection {

    background: var(--accent);

    color: var(--bg);

}



/* ==========================================================
   Scrollbar
========================================================== */

::-webkit-scrollbar {

    width: 8px;

}

::-webkit-scrollbar-track {

    background: transparent;

}

::-webkit-scrollbar-thumb {

    background: rgba(255, 255, 255, .18);

    border-radius: 999px;

    transition: background .25s ease;

}

::-webkit-scrollbar-thumb:hover {

    background: rgba(255, 255, 255, .35);

}

/* ==========================================================
   Common Page
========================================================== */

.container{

    width:min(860px,80vw);

    margin:64px 0 120px var(--content-left);

}

.artist-image {

    display: block;

    width: 100%;

    max-width: 760px;

    margin-bottom: 32px;

}

.container h1 {

    margin-bottom: 24px;

}

.container p {

    max-width: 860px;

    margin-bottom: 10px;

}

.member {

    max-width: 420px;

    margin-top: 40px;

}

.member h2 {

    margin-bottom: 10px;

}

.member a {

    display: block;

    width: fit-content;

    margin-top: 12px;

    color: var(--text);

    text-decoration: none;

    font-family: "Geist Mono", monospace;

    transition:
        color .25s ease,
        transform .45s var(--ease);

}

.member a:hover {

    color: var(--accent);

    transform: translateX(16px);

}



/* ==========================================================
   Footer
========================================================== */

.page-footer {

    max-width: 900px;

    margin-top: 52px;

}

.divider {

    width: 100%;

    height: 1px;

    background: var(--line);

    margin-bottom: 28px;

}

.back-link {

    display: inline-block;

    color: var(--text);

    text-decoration: none;

    transition:
        color .25s ease,
        transform .45s var(--ease);

}

.back-link:hover {

    color: var(--accent);

    transform: translateX(-12px);

}


/* ==========================================================
   Profile Fade
========================================================== */

.page .container{

    animation:pageFade .8s var(--ease);

}

@keyframes pageFade{

    from{

        opacity:0;

        transform:translateY(12px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/* ==========================================================
   Responsive
========================================================== */

@media (max-width:768px) {

    .hero {

        display: flex;

        flex-direction: column;

        justify-content: flex-start;

        align-items: center;

        min-height: 100svh;

        padding-top: 40px;

    }

    .logo{

    position:static;

    transform:none;

    display:block;

    width:170px;

    margin:0 auto 40px;

    }

    .menu {

        position: static;

        width: 84vw;

        gap: 18px;

    }

    .menu a {

        font-size: 17px;

    }

    .container {

        width: 88vw;

        margin: 40px auto 72px;

    }

    .artist-image {

        margin-bottom: 32px;

    }

    .container h1 {

        font-size: 22px;

    }

    .container h2 {

        font-size: 20px;

    }

    .container p {

        max-width: none;

        font-size: 16px;

        line-height: 1.8;

    }

    .member {

        max-width: none;

        margin-top: 44px;

    }

}