@import url('https://fonts.googleapis.com/css2?family=Italianno&family=Mozilla+Text:wght@200..700&family=Pinyon+Script&family=Rosarivo:ital@0;1&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Anton&family=League+Gothic&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Cagliostro&family=Edu+AU+VIC+WA+NT+Arrows:wght@400..700&family=Foldit:wght@100..900&family=League+Gothic&family=Nothing+You+Could+Do&display=swap');

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

body {
    background-color: #000;
    color: #fff;
    font-family: "Mozilla Text", sans-serif;
    font-optical-sizing: auto;
    overflow-x: hidden;
    min-height: auto;
    line-height: 1.6;
    margin: 0 auto;
}

a {
    text-decoration: none;
}

h2 {
    font-family: "Inconsolata", monospace;
    font-weight: normal;
    font-size: 18px;
    font-optical-sizing: auto;
    color: #d2d2d2;
    margin-bottom: 10px;
}

/* Matrix Background Canvas */
#matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.15;
}

/* ===== HEADER ===== */
.header {
    display: flex;
    flex-direction: row;
    margin: 0 auto;

    /* Set a specific height */
    height: 90px;
    background-color: #000000;
    border-bottom: solid 1px #ffffff;

}

/* Left side: Name/logo images */
.header-name {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    height: 90px;
    min-width: 35%;
}

.header-name .header-logo {
    display: flex;
    align-items: center;
    gap: 0;
    width: 100%;
}

.header-name .header-logo h2 {
    font-family: "Foldit", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 80px;
}


.header-name .header-logo img {
    height: 90px;
    display: block;
    padding: 0 10px;
}

/* Right side: nav on top, socials on bottom */
.header-right {
    display: flex;
    flex-direction: column;
    flex: 1;
    height: 60px;
    font-family: "League Gothic", sans-serif;
    font-optical-sizing: auto;
}

/* Nav row */
.header-row-top {
    display: flex;
    align-items: stretch;
    width: 100%;
    flex: 1;
    font-weight: 400;
    font-style: normal;
    font-variation-settings:
            "wdth" 100;
    border-bottom: solid 1px #ffffff;
}

.header-row-top a {
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    height: 100%;
    padding: 0;
    color: #ffffff;

}

.navig-button {
    text-transform: uppercase;
}

.navig-button h1 {
    font-size: 2rem;
    letter-spacing: 0.05em;
    line-height: 1;
    padding: 10px 4px 5px 4px;
    transition: background-color 0.4s ease;

}

.navig-button h1:hover {
    color: #000000;
    background-color: rgb(255, 255, 255);
    border-radius: 2px;
}


/* Social links row */
.header-row-bottom {
    display: flex;
    justify-content: left;
    flex: 1;
    align-items: stretch;
    margin: 0 auto;
    width: 100%;
    height: 30px;
    float: left;
    padding-left: 12%;
}

.header-row-bottom a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-family: "Edu AU VIC WA NT Arrows", cursive;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
    font-size: 1.5rem;
    letter-spacing: 0.15em;
    transition: color 0.3s ease;
    margin: 20px 50px;
}

.header-row-bottom a:hover {
    color: #5cda39;
}

.header-row-bottom a img {
    width: 20px;
    height: 20px;
    filter: invert(0.8);
    margin-right: 6px;
    transition: filter 0.2s ease;
}

.header-row-bottom a:hover img {
    filter: invert(1);
}





/* ===== END HEADER ===== */

.title {
    margin-left: 10%;
    margin-top: 50px;
    font-size: 2.5em;
    font-weight: bold;
    letter-spacing: 0.1em;
    color: #858585;
    border-bottom: solid 1px #858585;
}

/* Hide old icon systems */
.email-link,
.fa.fa-envelope,
.fa.fa-instagram,
.desktop-icons,
.mobile-icons,
.mobile-contact-btn {
    display: none !important;
}

/* Glitch Animation Keyframes */
@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

/* Cursor Trail Effect */
.cursor-trail {
    position: fixed;
    width: 2px;
    height: 2px;
    background: #00ff00;
    pointer-events: none;
    z-index: 9999;
    box-shadow: 0 0 5px #00ff00;
}

.container {
    display: flex;
    min-height: 100vh;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 60px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.95);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-content-art {
    position: relative;
    margin: 5% auto;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.modal-art-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    pointer-events: auto;
}

.modal-art-info {
    margin-top: 30px;
    text-align: center;
    color: #fff;
    pointer-events: auto;
}

.modal-art-title {
    font-size: 1.5rem;
    font-weight: normal;
    margin-bottom: 10px;
}

.modal-art-year {
    font-size: 1rem;
    color: #ccc;
    font-style: italic;
}

.close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 30px;
    font-weight: normal;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 1001;
    transition: opacity 0.3s ease;
    pointer-events: auto;
}

.close:hover {
    opacity: 0.7;
}

.modal-nav-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    text-align: center;
    pointer-events: none;
}

/* ===== footer ===== */
.footer {
    display: flex;
    margin: 0 auto;

    /* Set a specific height */
    height: 90px;
    border-top: solid 1px rgba(255, 255, 255, 0.51);

}

/* Social links row */
.footer-row-bottom {
    display: flex;
    justify-content: left;
    flex: 1;
    align-items: stretch;
}

.footer-row-bottom a {
    display: flex;
    align-items: center;
    color: #ffffff;
    font-family: "Edu AU VIC WA NT Arrows", cursive;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
    font-size: 1rem;
    letter-spacing: 0.15em;
    transition: color 0.3s ease;
    margin: 10px 30px;
}

.footer-row-bottom a:hover {
    color: #5cda39;
}

.footer-row-bottom a img {
    width: 20px;
    height: 20px;
    filter: invert(0.8);
    margin-right: 6px;
    transition: filter 0.2s ease;
}

.footer-row-bottom a:hover img {
    filter: invert(1);
}

.footer-note{
    float: right;
    font-family:"Inconsolata", monospace;
    color: #999999;
    font-size: 15px;
    font-weight: normal;
    bottom: 0;
    padding: 50px 30px 5px 0;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1200px) {
    .container {
        padding: 30px;
    }

    .navig-button h1 {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    body {
        width: 100%;
    }

    .header-name .header-logo img {
        max-height: 50px;
    }

    .top-nav a {
        padding: 12px 0;
    }

    .navig-button h1 {
        font-size: 0.8rem;
        letter-spacing: 0.05em;
    }

    .header-row-bottom a {
        padding: 6px 12px;
        font-size: 0.65rem;
    }

    .header-row-bottom a img {
        width: 14px;
        height: 14px;
    }

    .top-nav {
        gap: 0;
        width: auto;
        flex: 1;
    }
}

@media (max-width: 480px) {
    .header-name .header-logo img {
        max-height: 35px;
    }

    .navig-button h1 {
        font-size: 0.7rem;
    }

    .header-row-bottom a {
        padding: 5px 8px;
        font-size: 0.6rem;
        letter-spacing: 0.05em;
    }
}