:root {
    --bg: #141414;
    --card: #1c1c1d;
    --card2: #020910;
    --text: #f6f3f7;
    --muted: #8c8c93;
    --line: #333742;
    --accent: #ce09f4;
    --accent2: #ff66f7;
    --radius: 18px;
    --max: 1140px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Poppins,system-ui,sans-serif;
    overflow-x: hidden
}

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

.site-header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(var(--max),90vw);
    height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 50
}

.logo {
    font-family: 'Great Vibes',cursive;
    font-size: 38px
}

.main-nav {
    display: flex;
    gap: 44px;
    font-weight: 700
}

    .main-nav a {
        opacity: .92
    }

        .main-nav a.active, .main-nav a:hover {
            color: var(--accent)
        }

.menu-grid {
    background: none;
    border: 0;
    display: grid;
    grid-template-columns: repeat(2,11px);
    gap: 5px;
    cursor: pointer
}

    .menu-grid span {
        width: 11px;
        height: 11px;
        background: #eee;
        border-radius: 2px
    }

.panel {
    min-height: 100vh;
    position: relative;
    padding: 120px max(8vw,24px) 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden
}

    .panel > *:not(.topo) {
        z-index: 2
    }

.link-btn {
    display: inline-block;
    margin-top: 16px;
    padding: 10px 17px;
    border-radius: 10px;
    background: linear-gradient(90deg, #ce09f4, #ff66f7);
    color: white;
    font-weight: 500;
    text-decoration: none;
    transition: 0.25s ease;
}

    .link-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(206, 9, 244, 0.35);
    }

.section-dots {
    position: fixed;
    right: 54px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 45;
    display: flex;
    flex-direction: column;
    gap: 22px
}

    .section-dots a {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: #727272;
        transition: .25s
    }

        .section-dots a.active {
            background: var(--accent);
            transform: scale(1.18)
        }

.ghost-title {
    font-size: clamp(52px,7vw,86px);
    line-height: .75;
    margin: 0;
    color: transparent;
    -webkit-text-stroke: 2px #4d4d52;
    font-weight: 800
}

.page-head {
    width: min(var(--max),100%);
    margin: 0 auto 25px
}

    .page-head h2, .section-copy h2 {
        margin: 8px 0 0;
        font-size: 28px
    }

    .page-head span, .section-copy span {
        color: var(--accent)
    }

.neon {
    text-shadow: 0 0 8px var(--accent),0 0 22px var(--accent)
}

.script {
    font-family: 'Great Vibes',cursive
}

.hero-content {
    text-align: center;
    margin: auto
}

.hero-stack {
    position: relative;
    display: inline-grid /*inline-block*/
}

.block-text {
    font-weight: 800;
    font-size: clamp(120px,10vw,110px);
    letter-spacing: -5px;
    transform: translateY(-90px);
    position: relative;
    z-index: -1;
}

.hero .script {
    font-size: clamp(78px,10vw,142px);
    position: relative;
    margin-left: -80px
}

.hero h1 {
    position: absolute;
    right: 28%;
    top: 25%;
    font-size: 35px;
    margin: 0
}

    .hero h1 span {
        font-size: 35px;
        color: transparent;
        -webkit-text-stroke: 2px #fff
    }

.hero p {
    max-width: 630px;
    margin: 24px auto;
    font-weight: 600
}

.socials {
    position: absolute;
    right: 6vw;
    bottom: 34px;
    display: flex;
    gap: 24px;
    color: #85858a;
    font-weight: 800
}

    .socials a img {
        width: 25px;
        height: 25px;
        object-fit: contain;
        transition: transform 0.3s ease, opacity 0.3s ease;
        cursor: pointer;
    }

        .socials a img:hover {
            transform: scale(1.15);
            opacity: 0.8;
        }

.topo {
    position: absolute;
    width: 380px;
    height: 280px;
    border: 3px solid var(--accent);
    border-radius: 50%;
    opacity: .85;
    filter: drop-shadow(0 0 2px var(--accent));
    animation: floaty 8s ease-in-out infinite
}

    .topo:before, .topo:after {
        content: '';
        position: absolute;
        inset: 25px;
        border: 3px solid var(--accent);
        border-radius: 50%
    }

    .topo:after {
        inset: 55px
    }

.topo-tr {
    right: -120px;
    top: 30px
}

.topo-bl {
    left: -140px;
    bottom: -90px
}

.big {
    width: 520px;
    height: 390px
}

.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px
}

.section-copy {
    max-width: 590px
}

/* .section-copy p {
        line-height: 1.55
    }

*/

.shape-cards {
    position: relative;
    height: 420px;
    display: grid;
    place-items: center;
    margin-top: -10em;
}

    .shape-cards span {
        position: absolute;
        width: 320px;
        height: 170px;
        border: 6px solid rgba(206,9,244,.25);
        border-radius: 20px;
        transform: rotate(12deg)
    }

        .shape-cards span:nth-child(2) {
            transform: rotate(-8deg) translate(60px,130px) /* translate(40px,80px) */
        }

        .shape-cards span:nth-child(3) {
            transform: rotate(28deg) translate(-20px,170px) /* translate(-15px,105px)  */
        }

    .shape-cards em {
        font-family: 'Great Vibes';
        font-size: 72px;
        z-index: 1;
    }

    .shape-cards strong {
        font-family: 'Great Vibes';
        font-size: 92px;
        position: absolute;
        top: 235px
    }

.skills-grid {
    width: min(var(--max),100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 36px
}

.skill-box, .learning {
    background: #1A1B1B; /*linear-gradient(115deg,#02070d,#06131f 72%,#02101e);*/
    border-top: 1px solid var(--line);
    padding: 12px 18px;
    border-radius: 10px;
    box-shadow: 0 18px 50px #0005
}

    .skill-box h3, .learning h3 {
        margin: 0 0 10px;
        text-transform: uppercase;
        font-size: 14px;
        letter-spacing: 1px
    }

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px
}

    .chips span {
        padding: 13px 28px;
        border-radius: 5px;
        background: linear-gradient(90deg,#064f97,#078dd5);
        font-weight: 700;
        box-shadow: inset 0 0 20px #fff1
    }

        .chips span:nth-child(3n+1) {
            background: linear-gradient(90deg,#7127a8,#4c2478)
        }

        .chips span:nth-child(3n+2) {
            background: linear-gradient(90deg,#df1b08,#ff7a00)
        }

        .chips span:nth-child(3n) {
            background: linear-gradient(90deg,#0d7b29,#17a83c)
        }

.learning {
    width: min(690px,90%);
    margin: 55px auto 0;
    text-align: center
}

    .learning small {
        color: #aaa;
        font-style: italic
    }

.tabs {
    margin: -10px auto 36px;
    background: #1c1c1d;
    border-radius: 14px;
    display: flex;
    overflow: hidden
}

    .tabs button {
        border: 0;
        background: transparent;
        color: #fff;
        padding: 16px 54px;
        font-weight: 800;
        cursor: pointer
    }

        .tabs button.active {
            color: var(--accent);
            background: #181818
        }

.carousel {
    width: min(var(--max),100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 54px 1fr 54px;
    align-items: center;
    gap: 10px
}

.cards {
    /* display: grid; */
    grid-template-columns: repeat(3,1fr);
    display: flex;
    gap: 32px;
    overflow: hidden;
}

.project-card, .article-card {
    background: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 18px 40px #0005;
    transition: .25s;
    flex: 0 0 calc((100% - 64px) / 3);

    /*    background: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 18px 40px #0005;
    transition: .25s;
    flex: 0 0 calc((100% - 64px) / 3);*/
}

    .project-card:hover, .article-card:hover {
        transform: translateY(-8px)
    }

    .project-card img, .article-card img {
        width: 100%;
        height: 305px;
        object-fit: cover
    }

    .project-card div, .article-card div {
        padding: 22px
    }

    .project-card p, .article-card p {
        font-size: 13px;
        color: #cfcfd4
    }

.arrow {
    border: 0;
    background: transparent;
    color: var(--accent);
    font-size: 36px;
    cursor: pointer
}

.blog-layout {
    width: min(var(--max),100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px
}

.article-card.featured {
    grid-column: 2;
    grid-row: 1 / span 2
}

.blog-layout .article-card:not(.featured) img {
    height: 190px
}

.contact-grid {
    width: min(var(--max),100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 60px;
    align-items: center
}

.contact-list {
    text-align: center;
    font-size: 15px
}

    .contact-list h4 {
        margin-top: 34px;
        text-align: center
    }

    .contact-list a img {
        width: 20px;
        height: 20px;
        object-fit: contain;
        transition: transform 0.3s ease, opacity 0.3s ease;
        cursor: pointer;
    }

        .contact-list a img:hover {
            transform: scale(1.15);
            opacity: 0.8;
        }

.coffee {
    display: inline-block;
    margin-top: 18px;
    padding: 14px 28px;
    border-radius: 10px;
    background: linear-gradient(90deg,#d487ff,#a971ff);
    font-weight: 800;
}

    .profile-card {
        margin-top: -40px;
        background: var(--card);
        border-radius: 14px;
        overflow: hidden;
        text-align: center;
        font-weight: 500;
        font-size: 17px
    }

    .profile-card img {
        width: 100%;
        display: block
    }

    .profile-card figcaption {
        padding: 25px;
    }

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: .8s ease
}

    .reveal.in {
        opacity: 1;
        /*transform: translateY(0)*/
        transform: none
    }

.cursor-glow {
    position: fixed;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle,rgba(206,9,244,.15),transparent 60%);
    z-index: 1;
    transform: translate(-50%,-50%)
}

@keyframes floaty {
    50% {
        transform: translateY(-18px) rotate(4deg)
    }
}

@media (max-width:900px) {
    .main-nav {
        position: absolute;
        right: 0;
        top: 80px;
        background: #1e1e1f;
        padding: 20px;
        border-radius: 12px;
        display: none;
        flex-direction: column;
        gap: 16px
    }

        .main-nav.open {
            display: flex
        }

    .section-dots {
        display: none
    }

    .about, .skills-grid, .blog-layout, .contact-grid {
        grid-template-columns: 1fr
    }

    .article-card.featured {
        grid-column: auto;
        grid-row: auto
    }

/*    .cards {
        grid-template-columns: 1fr;
        flex-direction: column;
        overflow: visible;
    }*/

    .project-card,
    .article-card {
        flex: 0 0 100%;
    }

    .carousel {
        grid-template-columns: 1fr;
    }

    .carousel {
        grid-template-columns: 1fr
    }

    .arrow {
        /*display: none*/
        border: 0;
        background: transparent;
        color: var(--accent);
        font-size: 36px;
        cursor: pointer
    }

    .hero h1 {
        position: static
    }

    .panel {
        padding-top: 110px
    }

    .ghost-title {
        font-size: 54px
    }

    .project-card img {
        height: 240px
    }

    .block-text {
        transform:translateY(-45px);
        font-size: 95px;
    }
}
