* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {

    background: #050505;
    color: white;

    overflow-x: hidden;
    overflow-y: auto;

    font-family: "Montserrat", sans-serif;
}

section {
    min-height: 100vh;
    padding: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* -------------------------- */
/* Background Canvas */
/* -------------------------- */

#constellation-bg {

    position: fixed;

    width: 100%;
    height: 100%;

    top: 0;
    left: 0;

    z-index: -2;
}

/* -------------------------- */
/* Cursor Glow */
/* -------------------------- */

#cursor-glow {

    position: fixed;

    width: 350px;
    height: 350px;

    border-radius: 50%;

    pointer-events: none;

    background:
        radial-gradient(
            circle,
            rgba(0,255,255,.15),
            transparent 70%
        );

    transform: translate(-50%, -50%);

    z-index: 9999;
}

/* -------------------------- */
/* Hero Layout */
/* -------------------------- */

#hero {

    position: relative;

    width: 100vw;
    height: 100vh;
}

/* -------------------------- */
/* Center Node */
/* -------------------------- */

.center-node {

    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    text-align: center;
}

.center-node h1 {

    font-size: 4rem;
    margin-bottom: 10px;
}

.center-node p {

    opacity: .8;
}

/* -------------------------- */
/* Portfolio Nodes */
/* -------------------------- */

.node {

    width: 130px;
    height: 130px;

    position: absolute;

    border-radius: 50%;

    display: flex;

    justify-content: center;
    align-items: center;

    cursor: pointer;

    background: rgba(255,255,255,.05);

    border: 1px solid rgba(0,255,255,.25);

    backdrop-filter: blur(8px);

    transition: .3s ease;
}

.node:hover {

    transform: scale(1.15);

    box-shadow:
        0 0 15px cyan,
        0 0 40px cyan,
        0 0 80px cyan;
}

/* -------------------------- */
/* Node Placement */
/* -------------------------- */

.skills {
    top: 18%;
    left: 18%;
}

.projects {
    top: 22%;
    right: 18%;
}

.resume {
    bottom: 25%;
    right: 15%;
}

.about {
    bottom: 20%;
    left: 18%;
}

.contact {
    bottom: 8%;
    left: 50%;
    transform: translateX(-50%);
}

.challenge {
    top: 8%;
    left: 50%;
    transform: translateX(-50%);
}

/* ================================= */
/* ABOUT SECTION */
/* ================================= */

#about-section {

    background: #070707;

    position: relative;

    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 100px;
}

.about-container {

    width: 100%;
    max-width: 1400px;

    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 80px;
}

.about-text {

    flex: 1;
}

.about-text h2 {

    font-size: 4rem;

    margin-bottom: 15px;

    color: white;
}

.about-divider {

    width: 120px;
    height: 3px;

    background: cyan;

    margin-bottom: 35px;

    box-shadow:
        0 0 10px cyan,
        0 0 20px cyan;
}

.about-text p {

    font-size: 1.15rem;

    line-height: 1.8;

    color: rgba(255,255,255,.85);

    margin-bottom: 25px;
}

.about-image {

    flex-shrink: 0;
}

.about-image img {

    width: 400px;
    height: 500px;

    object-fit: cover;

    border-radius: 20px;

    border: 1px solid rgba(0,255,255,.3);

    box-shadow:
        0 0 20px rgba(0,255,255,.2),
        0 0 60px rgba(0,255,255,.1);
}

@media (max-width: 900px) {

    .about-container {

        flex-direction: column-reverse;

        text-align: center;
    }

    .about-divider {

        margin-left: auto;
        margin-right: auto;
    }

    .about-image img {

        width: 280px;
        height: 350px;
    }

    .about-text h2 {

        font-size: 2.5rem;
    }
}

/* ================================= */
/* SKILLS SECTION */
/* ================================= */

#skills-section {

    background: #070707;

    position: relative;

    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 100px;
}

.skills-container {

    width: 100%;
    max-width: 1400px;

    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 80px;
}

.skills-text {

    flex: 1;
}

.skills-text h2 {

    font-size: 4rem;

    margin-bottom: 15px;

    color: white;
}

.skills-divider {

    width: 120px;
    height: 3px;

    background: cyan;

    margin-bottom: 35px;

    box-shadow:
        0 0 10px cyan,
        0 0 20px cyan;
}

.skills-text p {

    font-size: 1.15rem;

    line-height: 1.8;

    color: rgba(255,255,255,.85);

    margin-bottom: 25px;
}

@media (max-width: 900px) {

    .skills-container {

        flex-direction: column-reverse;

        text-align: center;
    }

    .skills-divider {

        margin-left: auto;
        margin-right: auto;
    }

    .skills-text h2 {

        font-size: 2.5rem;
    }
}


/* ================================= */
/* CONTACT SECTION */
/* ================================= */

#contact-section {

    background: #070707;

    position: relative;

    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 100px;
}

.contact-container {

    width: 100%;
    max-width: 1400px;

    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 80px;
}

.contact-text {

    flex: 1;
}

.contact-text h2 {

    font-size: 4rem;

    margin-bottom: 15px;

    color: white;
}

.contact-divider {

    width: 120px;
    height: 3px;

    background: cyan;

    margin-bottom: 35px;

    box-shadow:
        0 0 10px cyan,
        0 0 20px cyan;
}

.contact-text p {

    font-size: 1.15rem;

    line-height: 1.8;

    color: rgba(255,255,255,.85);

    margin-bottom: 25px;
}

@media (max-width: 900px) {

    .contact-container {

        flex-direction: column-reverse;

        text-align: center;
    }

    .contact-divider {

        margin-left: auto;
        margin-right: auto;
    }

    .contact-text h2 {

        font-size: 2.5rem;
    }
}


.resume-container {

    width: 100%;
    max-width: 1200px;

    margin: auto;
}

.resume-viewer {

    width: 100%;
    height: 900px;

    border: none;

    border-radius: 20px;

    background: white;

    margin-top: 30px;
}

.download-btn {

    display: inline-block;

    margin-top: 25px;

    padding: 15px 25px;

    color: white;

    text-decoration: none;

    border: 1px solid cyan;

    border-radius: 12px;

    transition: .3s;
}

.download-btn:hover {

    box-shadow:
        0 0 15px cyan,
        0 0 30px cyan;
}