body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;

    background-color: #050008;

    font-family: Arial, sans-serif;
    color: white;
    text-align: center;
}


/* DARK GALAXY */

.galaxy-background {
    position: fixed;
    inset: -100px;

    z-index: 0;
    pointer-events: none;
    will-change: transform;

    background:
        radial-gradient(
            ellipse at 20% 25%,
            rgba(45, 8, 60, 0.45),
            transparent 35%
        ),

        radial-gradient(
            ellipse at 80% 20%,
            rgba(28, 4, 45, 0.45),
            transparent 38%
        ),

        radial-gradient(
            ellipse at 55% 70%,
            rgba(55, 10, 70, 0.35),
            transparent 42%
        ),

        radial-gradient(
            ellipse at 85% 80%,
            rgba(22, 3, 35, 0.5),
            transparent 35%
        ),

        radial-gradient(
            ellipse at 30% 90%,
            rgba(38, 6, 50, 0.35),
            transparent 38%
        ),

        linear-gradient(
            135deg,
            #010002,
            #050007,
            #0d0012,
            #020003
        );
}


/* STAR LAYER */

.stars-background {
    position: fixed;
    inset: -100px;

    z-index: 1;
    pointer-events: none;
    will-change: transform;

    background-image:
        radial-gradient(circle at 8% 15%, white 0 1px, transparent 1.5px),
        radial-gradient(circle at 15% 65%, white 0 1px, transparent 1.5px),
        radial-gradient(circle at 23% 32%, #d9c2e9 0 1px, transparent 1.5px),
        radial-gradient(circle at 31% 82%, white 0 1px, transparent 1.5px),
        radial-gradient(circle at 40% 18%, white 0 1px, transparent 1.5px),
        radial-gradient(circle at 48% 58%, #c9a7db 0 1px, transparent 1.5px),
        radial-gradient(circle at 56% 37%, white 0 1px, transparent 1.5px),
        radial-gradient(circle at 64% 75%, white 0 1px, transparent 1.5px),
        radial-gradient(circle at 72% 12%, #d9c2e9 0 1px, transparent 1.5px),
        radial-gradient(circle at 79% 48%, white 0 1px, transparent 1.5px),
        radial-gradient(circle at 86% 84%, white 0 1px, transparent 1.5px),
        radial-gradient(circle at 92% 28%, #c9a7db 0 1px, transparent 1.5px),
        radial-gradient(circle at 5% 90%, white 0 1px, transparent 1.5px),
        radial-gradient(circle at 36% 47%, white 0 1px, transparent 1.5px),
        radial-gradient(circle at 68% 93%, white 0 1px, transparent 1.5px),
        radial-gradient(circle at 96% 67%, white 0 1px, transparent 1.5px);

    background-size: 500px 500px;
}


/* STARS */

.star {
    position: absolute;

    color: white;

    text-shadow:
        0 0 4px white,
        0 0 8px rgba(220, 190, 255, 0.7);
}

.star1 {
    top: 14%;
    left: 7%;
    font-size: 14px;
}

.star2 {
    top: 27%;
    left: 19%;
    font-size: 9px;
    color: #d8c4e8;
}

.star3 {
    top: 11%;
    left: 39%;
    font-size: 12px;
}

.star4 {
    top: 36%;
    left: 57%;
    font-size: 8px;
    color: #cdb3dd;
}

.star5 {
    top: 17%;
    left: 81%;
    font-size: 15px;
}

.star6 {
    top: 52%;
    left: 11%;
    font-size: 9px;
    color: #d8c4e8;
}

.star7 {
    top: 69%;
    left: 31%;
    font-size: 13px;
}

.star8 {
    top: 57%;
    left: 51%;
    font-size: 8px;
    color: #cdb3dd;
}

.star9 {
    top: 74%;
    left: 73%;
    font-size: 14px;
}

.star10 {
    top: 43%;
    left: 88%;
    font-size: 9px;
    color: #d8c4e8;
}

.star11 {
    top: 87%;
    left: 16%;
    font-size: 11px;
}

.star12 {
    top: 89%;
    left: 91%;
    font-size: 8px;
    color: #cdb3dd;
}


/* MAIN WINDOW */

.portfolio-window {
    position: relative;
    z-index: 2;

    width: 85%;
    max-width: 900px;
    min-height: 300px;

    margin: 60px auto;

    box-sizing: border-box;

    background-color: rgba(6, 0, 10, 0.78);

    border: 1px solid #c9a7db;
    border-radius: 4px;

    overflow: hidden;
}


/* WINDOW TITLE */

.window-titlebar {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 8px 12px;

    background-color: rgba(6, 0, 10, 0.78);

    border-bottom: 1px solid #c9a7db;

    font-family: "Courier New", monospace;
    font-size: 14px;

    color: #d8c4e8;

    text-align: left;
}

.window-title {
    letter-spacing: 1px;
}

.window-controls {
    display: flex;
    align-items: center;

    gap: 12px;

    font-size: 16px;

    color: #d8c4e8;
}


/* PROFILE */

.profile-area {
    display: flex;

    flex-direction: row;
    flex-wrap: nowrap;

    align-items: center;

    gap: 45px;

    padding: 55px 65px;

    text-align: left;
}

.profile-image-side {
    flex: 0 0 250px;
}

.profile-image {
    display: block;

    width: 250px;
    height: 190px;

    max-width: none;

    object-fit: cover;

    border: 1px solid #c9a7db;
    border-radius: 3px;
}

.profile-text {
    flex: 1;

    min-width: 0;
}

.profile-text h2 {
    margin-top: 0;
    margin-bottom: 22px;

    font-family: "Courier New", monospace;

    font-size: 30px;
    font-weight: normal;

    color: #e3d2ed;
}


/* PROFILE TERMINAL MENU */

.profile-terminal-links {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 12px;

    margin-top: 20px;

    font-family: "Courier New", monospace;
}

.profile-terminal-links a {
    color: #c9a7db;

    font-size: 17px;

    text-decoration: none;

    transition:
        color 0.2s ease,
        transform 0.2s ease,
        text-shadow 0.2s ease;
}

.profile-terminal-links a:hover {
    color: #f2eaf7;

    transform: translateX(4px);

    text-shadow:
        0 0 6px rgba(201, 167, 219, 0.65);
}

.terminal-cursor {
    color: #d8c4e8;

    font-family: "Courier New", monospace;
    font-size: 17px;

    animation: cursor-blink 0.9s steps(1) infinite;
}

@keyframes cursor-blink {

    50% {
        opacity: 0;
    }

}


/* SECTION HEADINGS */

.section-heading {
    margin-bottom: 80px;

    font-family: "Courier New", monospace;

    font-size: 22px;

    letter-spacing: 2px;

    color: #d8c4e8;

    border-bottom: 1px solid rgba(201, 167, 219, 0.45);

    padding-bottom: 12px;
}


/* ACHIEVEMENTS */

#achievements {
    position: relative;
    z-index: 2;

    width: 85%;
    max-width: 1000px;

    margin: 130px auto;

    padding: 0;

    text-align: left;
}

.achievement-file {
    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 60px;

    min-height: 350px;

    padding: 45px;

    box-sizing: border-box;

    border: 1px solid #c9a7db;
    border-radius: 4px;

    background-color: rgba(6, 0, 10, 0.68);
}

.achievement-text {
    max-width: 420px;
}

.file-name {
    margin: 0 0 18px;

    font-family: "Courier New", monospace;

    font-size: 13px;

    letter-spacing: 1px;

    color: #c9a7db;
}

.achievement-text h2 {
    margin: 0 0 8px;

    font-family: "Courier New", monospace;

    font-size: 27px;
    font-weight: normal;

    color: #f2eaf7;
}

.achievement-subtitle {
    margin: 0 0 25px;

    color: #cdbfd4;

    font-size: 15px;
}

.achievement-data {
    margin-bottom: 22px;

    font-family: "Courier New", monospace;

    font-size: 13px;

    color: #d8c4e8;
}

.achievement-data p {
    margin: 6px 0;
}

.achievement-description {
    margin: 0;

    line-height: 1.7;

    color: #eee5f2;

    font-size: 15px;
}

.achievement-image-side {
    width: 100%;

    text-align: left;
}

.achievement-image {
    display: block;

    width: 100%;
    height: 280px;

    max-width: 430px;

    object-fit: cover;

    border: 1px solid rgba(201, 167, 219, 0.55);
    border-radius: 3px;
}

.techx-image {
    filter: brightness(0.7);
}

.achievement-image[src="badge.png"] {
    width: 65%;
    height: auto;

    max-height: 210px;

    object-fit: contain;

    margin: 0 auto;
}

.image-file-name {
    margin-top: 9px;

    font-family: "Courier New", monospace;

    font-size: 11px;

    letter-spacing: 1px;

    color: #9f88ad;
}

.file-text-left .achievement-text {
    justify-self: start;
}

.file-text-left .achievement-image-side {
    justify-self: end;
}

.file-image-left .achievement-image-side {
    justify-self: start;
}

.file-image-left .achievement-text {
    justify-self: end;
}


/* CONNECTOR */

.gallery-connector {
    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 3px;

    margin: 45px 0;

    font-family: "Courier New", monospace;

    color: #8f729e;

    opacity: 0.8;
}

.gallery-connector span:first-child {
    font-size: 14px;
}

.gallery-connector span:last-child {
    font-size: 25px;

    line-height: 0.8;
}


/* PROJECTS */

#projects {
    position: relative;
    z-index: 2;

    width: 85%;
    max-width: 1000px;

    margin: 140px auto;

    padding: 0;

    text-align: left;
}

.program-selector {
    margin-bottom: 30px;
}

.program-selector-title {
    margin: 0 0 18px;

    font-family: "Courier New", monospace;

    font-size: 13px;

    letter-spacing: 1px;

    color: #9f88ad;
}

.program-row {
    display: flex;

    align-items: center;

    gap: 10px;

    flex-wrap: nowrap;
}

.program-button {
    flex: 1;

    padding: 11px 10px;

    border: 1px solid rgba(201, 167, 219, 0.5);
    border-radius: 3px;

    background-color: rgba(6, 0, 10, 0.55);

    font-family: "Courier New", monospace;

    font-size: 12px;

    color: #aa94b7;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.program-button:hover {
    border-color: #c9a7db;

    color: #e3d2ed;

    background-color: rgba(45, 10, 55, 0.55);
}

.program-button.active {
    border-color: #d8c4e8;

    background-color: rgba(60, 15, 75, 0.55);

    color: #f2eaf7;
}


/* PROJECT PANEL */

.project-panel {
    border: 1px solid #c9a7db;

    border-radius: 4px;

    background-color: rgba(6, 0, 10, 0.72);

    overflow: hidden;
}

.project-panel[hidden] {
    display: none;
}

.project-running-bar {
    padding: 10px 14px;

    border-bottom: 1px solid rgba(201, 167, 219, 0.6);

    background-color: rgba(11, 2, 16, 0.75);

    font-family: "Courier New", monospace;

    font-size: 13px;

    letter-spacing: 0.5px;

    color: #d8c4e8;
}


/* PROJECT CONTENT */

.project-content {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 55px;

    align-items: start;

    padding: 45px;
}

.project-left {
    display: flex;

    flex-direction: column;

    align-items: flex-start;
}

.project-preview {
    width: 100%;
}

.project-preview-image {
    display: block;

    width: 100%;
    height: 260px;

    max-width: 430px;

    object-fit: cover;

    border: 1px solid rgba(201, 167, 219, 0.55);
    border-radius: 3px;
}

.project-image-name {
    margin: 9px 0 0;

    font-family: "Courier New", monospace;

    font-size: 11px;

    letter-spacing: 1px;

    color: #8f789d;
}


/* BUILT WITH */

.project-tools {
    width: 100%;

    margin-top: 27px;
    margin-bottom: 22px;

    padding-top: 18px;

    border-top: 1px solid rgba(201, 167, 219, 0.22);

    font-family: "Courier New", monospace;

    font-size: 13px;

    color: #c9b5d4;
}

.project-tools-title {
    margin: 0 0 13px;

    color: #c9a7db;

    letter-spacing: 1px;
}

.project-tools p {
    margin: 7px 0;
}


/* PROJECT TERMINAL */

.project-terminal {
    font-family: "Courier New", monospace;

    color: #e8dced;
}

.project-terminal h2 {
    margin: 0 0 22px;

    font-size: 25px;
    font-weight: normal;

    color: #f2eaf7;
}

.terminal-metadata {
    margin-bottom: 25px;

    font-size: 13px;

    color: #c9b5d4;
}

.terminal-metadata p {
    margin: 8px 0;
}


/* BUILD LOG */

.build-log {
    padding-top: 20px;

    border-top: 1px solid rgba(201, 167, 219, 0.25);

    margin-bottom: 25px;

    font-size: 13px;

    line-height: 1.6;

    color: #d9cedf;
}

.build-log-title {
    margin: 0 0 15px;

    color: #c9a7db;

    letter-spacing: 1px;
}

.build-log p {
    margin: 8px 0;
}


/* PROJECT DESCRIPTION */

.project-description {
    padding-top: 20px;

    border-top: 1px solid rgba(201, 167, 219, 0.22);

    font-family: Arial, sans-serif;

    font-size: 14px;

    line-height: 1.7;

    color: #e8dfed;
}

.project-description p {
    margin: 0;
}


/* PROJECT LINK */

.project-link {
    display: inline-block;

    padding: 8px 11px;

    border: 1px solid #c9a7db;
    border-radius: 3px;

    background-color: rgba(20, 4, 28, 0.55);

    font-family: "Courier New", monospace;

    font-size: 12px;

    color: #e3d2ed;

    text-decoration: none;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.project-link:hover {
    background-color: rgba(60, 15, 75, 0.6);

    border-color: #ead8f4;
}

.project-link-placeholder {
    display: inline-block;

    padding: 8px 11px;

    border: 1px solid rgba(201, 167, 219, 0.55);
    border-radius: 3px;

    font-size: 12px;

    color: #b9a6c4;

    opacity: 0.75;
}


/* CONTACT */

#contact {
    position: relative;
    z-index: 2;

    width: 85%;
    max-width: 1000px;

    margin: 150px auto 100px;

    padding: 0;

    text-align: left;
}

.transmission-panel {
    overflow: hidden;

    border: 1px solid #c9a7db;
    border-radius: 4px;

    background-color: rgba(6, 0, 10, 0.72);
}

.transmission-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    padding: 11px 15px;

    border-bottom: 1px solid rgba(201, 167, 219, 0.55);

    background-color: rgba(11, 2, 16, 0.78);

    font-family: "Courier New", monospace;

    font-size: 13px;

    color: #d8c4e8;
}

.transmission-channel {
    font-size: 11px;

    color: #917b9d;
}


/* CONSTELLATION */

.signal-area {
    padding: 32px 30px 28px;

    text-align: center;
}

.leo-constellation {
    display: block;

    width: 100%;
    max-width: 380px;
    height: auto;

    margin: 0 auto 13px;
}

.constellation-lines line {
    fill: none;

    stroke: rgba(201, 167, 219, 0.55);

    stroke-width: 1.5;
}

.constellation-stars circle {
    fill: #f7effb;

    stroke: #d8c4e8;

    stroke-width: 1.5;

    filter: drop-shadow(
        0 0 3px rgba(220, 190, 255, 0.6)
    );
}

.signal-message {
    margin: 0;

    font-family: "Courier New", monospace;

    font-size: 12px;

    color: #917b9d;
}


/* CONNECTIONS */

.connections-area {
    padding: 35px 45px 45px;

    border-top: 1px solid rgba(201, 167, 219, 0.22);
}

.connections-heading {
    margin: 0 0 30px;

    font-family: "Courier New", monospace;

    font-size: 13px;

    letter-spacing: 1px;

    color: #c9a7db;
}

.shortcut-row {
    display: flex;

    justify-content: center;
    align-items: flex-start;

    gap: 70px;
}

.contact-shortcut {
    display: flex;

    flex-direction: column;
    align-items: center;

    width: 150px;

    color: #e3d2ed;

    text-decoration: none;

    font-family: "Courier New", monospace;

    text-align: center;
}

.shortcut-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 62px;
    height: 72px;

    margin-bottom: 13px;

    border: 1px solid #c9a7db;
    border-radius: 2px;

    background-color: rgba(22, 5, 30, 0.65);

    font-size: 20px;

    color: #d8c4e8;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.contact-shortcut:hover .shortcut-icon {
    border-color: #ead8f4;

    background-color: rgba(60, 15, 75, 0.6);

    transform: translateY(-3px);
}

.shortcut-name {
    margin-bottom: 7px;

    font-size: 12px;

    letter-spacing: 0.5px;
}

.shortcut-open {
    font-size: 10px;

    color: #927da0;
}


/* CONTACT BRAND ICONS */

.brand-icon {
    font-family: Arial, sans-serif;

    font-weight: bold;
}


/* GITHUB LOGO */

.github-logo {
    width: 30px;
    height: 30px;

    max-width: none;

    object-fit: contain;

    border-radius: 0;

    filter:
        invert(84%)
        sepia(12%)
        saturate(650%)
        hue-rotate(230deg)
        brightness(96%);
}


/* LINKEDIN */

.linkedin-mark {
    padding: 2px 5px;

    border: 1px solid currentColor;
    border-radius: 1px;

    font-size: 23px;

    line-height: 1;
}


/* STATUS */

.transmission-status {
    padding: 28px 45px;

    border-top: 1px solid rgba(201, 167, 219, 0.22);

    font-family: "Courier New", monospace;

    font-size: 12px;

    color: #bba9c5;
}

.status-heading {
    margin: 0 0 13px;

    color: #c9a7db;

    letter-spacing: 1px;
}

.transmission-status p {
    margin-top: 7px;
    margin-bottom: 7px;
}


/* ENDING */

.transmission-ending {
    padding: 32px 45px 38px;

    border-top: 1px solid rgba(201, 167, 219, 0.22);

    text-align: center;

    font-family: "Courier New", monospace;

    color: #e2d6e8;
}

.transmission-ending p {
    margin: 7px 0;
}

.end-transmission {
    margin-top: 18px !important;

    font-size: 12px;

    color: #917b9d;
}


/* GENERAL */

header,
section {
    position: relative;

    z-index: 2;
}

h1 {
    text-align: center;
}

img {
    width: 450px;
    height: 300px;

    max-width: 90%;

    object-fit: cover;

    border-radius: 50px;
}

.profile-image {
    width: 250px;
    height: 190px;

    max-width: none;

    border-radius: 3px;
}

.achievement-image {
    width: 100%;
    height: 280px;

    max-width: 430px;

    border-radius: 3px;
}

.project-preview-image {
    width: 100%;
    height: 260px;

    max-width: 430px;

    border-radius: 3px;
}

.github-logo {
    width: 30px;
    height: 30px;

    max-width: none;

    object-fit: contain;

    border-radius: 0;
}


/* STAR TWINKLE */

.star {
    animation: twinkle 2.8s ease-in-out infinite alternate;
}

.star:nth-child(2n) {
    animation-duration: 3.6s;
    animation-delay: 0.6s;
}

.star:nth-child(3n) {
    animation-duration: 4.2s;
    animation-delay: 1s;
}

.star:nth-child(4n) {
    animation-duration: 5s;
    animation-delay: 0.3s;
}

@keyframes twinkle {

    from {
        opacity: 0.35;

        filter: brightness(0.75);

        transform: scale(0.9);
    }

    to {
        opacity: 1;

        filter: brightness(1.35);

        transform: scale(1.08);
    }

}


/* SMALL SCREENS */

@media (max-width: 700px) {

    .portfolio-window {
        width: 94%;
    }

    .profile-area {
        gap: 25px;

        padding: 35px 25px;
    }

    .profile-image-side {
        flex: 0 0 200px;
    }

    .profile-image {
        width: 200px;
        height: 155px;
    }

    #achievements,
    #projects,
    #contact {
        width: 90%;

        margin-top: 100px;
    }

    .achievement-file {
        grid-template-columns: 1fr;

        gap: 25px;

        min-height: 0;

        padding: 30px;
    }

    .achievement-image-side {
        grid-row: 1;

        justify-self: center !important;
    }

    .achievement-text {
        grid-row: 2;

        justify-self: center !important;

        max-width: 500px;
    }

    .achievement-image {
        max-width: 100%;

        height: 250px;
    }

    .gallery-connector {
        margin: 65px 0;
    }

    .program-row {
        flex-direction: column;

        align-items: stretch;
    }

    .program-button {
        width: 100%;
    }

    .project-content {
        grid-template-columns: 1fr;

        gap: 35px;

        padding: 30px;
    }

    .project-preview-image {
        max-width: 100%;

        height: 250px;
    }

    .shortcut-row {
        gap: 25px;

        flex-wrap: wrap;
    }

    .connections-area {
        padding: 30px 25px;
    }

    .transmission-status,
    .transmission-ending {
        padding-left: 25px;

        padding-right: 25px;
    }

}


/* PHONE */

@media (max-width: 420px) {

    .profile-area {
        flex-direction: column;

        padding: 30px 20px;

        text-align: center;
    }

    .profile-image-side {
        flex: none;
    }

    .profile-image {
        width: 220px;
        height: 165px;
    }

    .profile-terminal-links {
        align-items: flex-start;
    }

    .section-heading {
        font-size: 18px;

        margin-bottom: 55px;
    }

    .achievement-file {
        padding: 22px;
    }

    .achievement-text h2 {
        font-size: 23px;
    }

    .achievement-image {
        height: 220px;
    }

    .project-content {
        padding: 22px;
    }

    .project-preview-image {
        height: 220px;
    }

    .project-terminal h2 {
        font-size: 22px;
    }

    .transmission-header {
        font-size: 11px;
    }

    .transmission-channel {
        font-size: 9px;
    }

    .signal-area {
        padding: 25px 15px;
    }

    .leo-constellation {
        max-width: 300px;
    }

    .shortcut-row {
        flex-direction: column;

        align-items: center;

        gap: 32px;
    }

    .contact-shortcut {
        width: 100%;
    }

}