/* -------------------- Background & Template Styling -------------------- */

/* Button Hover Glowing Animation */
@keyframes pulseGlow {
    0% {
        box-shadow:
            0 0 5px var(--glow-color, #00ffaa33),
            0 0 5px var(--glow-color, #00ffaa33),
            0 0 2px var(--glow-color, #00ffaa33);
    }
    50% {
        box-shadow:
            0 0 25px var(--glow-color, #00ffaa99),
            0 0 20px var(--glow-color, #00ffaa33),
            0 0 10px var(--glow-color, #00ffaa33);
    }
    100% {
        box-shadow:
            0 0 5px var(--glow-color, #00ffaa33),
            0 0 5px var(--glow-color, #00ffaa33),
            0 0 2px var(--glow-color, #00ffaa33);
    }
}

/* Disables scroll bar visibility  */
html, body {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none;
}

/* Website Background & Template */
html {
    font-family: Video;

    background-image: 
        url("../assets/background_dark.png"),
        linear-gradient(180deg, #111111, #00ffaa);

    background-attachment: fixed;

    padding: 0;
    margin: 0;

    width: 100%;

    background-size: cover;
    background-position: 50%;
}

body {
    display: flex;
    flex-direction: column;

    padding: 0;
    margin: 0;

    width: 100%;
    height: 2000px;

    justify-content: center;
}

header {
    top: 0;

    width: 100%;
    height: 100px;

    position: sticky;
    z-index: 25;

    padding: 0;
    margin: 0;
}

/* Fonts & Text Styling */
h1 {
    font-size: 55px;
    font-family: Video;
    font-weight: normal;
    
    letter-spacing: 10px;;

    margin: 50px 0 25px 0;
    padding: 0;
}

h2 {
    font-size: 25px;
    font-family: Video;
    font-weight: lighter;

    letter-spacing: 1px;

    margin: 0 0 50px 0;
    padding: 0;
}

hr {
    background-color: #ffffff;

    border-width: 0.5px;

    margin: 50px 200px 100px 200px;
    padding: 0;
}

/* -------------------- Nav Contianer -------------------- */

nav {
    background-color: #000000;

    width: 100%;
    height: 100px;
    z-index: 20;

    display: grid;
    grid-template-columns:
        1fr
        110px 2%
        175px 2%
        155px 5fr
        222px 5fr
        165px 2%
        175px 2%
        125px
        1fr;

    align-content: center;

    font-size: 25px;
    letter-spacing: 0.05em;
}


/* -------------------- Item Base -------------------- */

nav a,
nav button {
    display: flex;
    justify-content: center;
    align-items: center;

    width: auto;
    height: 20px;

    z-index: 19;
    font-family: Video;
}


/* -------------------- Icon / Text Spacing -------------------- */

nav span {
    padding: 0 5px;
}


/* -------------------- Grid Placement -------------------- */

nav button:nth-child(1) { color: #00ffaa; grid-column: 2; }
nav a:nth-child(2)      { color: #00ffaa; grid-column: 4; }
nav a:nth-child(3)      { color: #00ffaa; grid-column: 6; }
nav a:nth-child(4)      { grid-column: 8; align-self: center; }
nav a:nth-child(5)      { color: #00ffaa; grid-column: 10; }
nav a:nth-child(6)      { color: #00ffaa; grid-column: 12; }
nav a:nth-child(7)      { color: #00ffaa; grid-column: 14; }


/* -------------------- Button / Link Styling -------------------- */

nav a:not(:nth-child(4)),
nav button {
    background-image: linear-gradient(90deg, #000000, #222222);
    border: 1px solid #00ffaa;
    padding: 5px 10px;

    text-decoration: none;
    transform: skewX(-25deg);
    transition:
        transform 0.25s cubic-bezier(0.25, 0.1, 0.25, 1);
}


/* -------------------- Un-Skew Content -------------------- */

nav a span,
nav button span {
    display: inline-block;
    transform: skewX(25deg) translateX(-10px);
}


/* -------------------- Button-Specific  -------------------- */

nav button {
    height: 32px;
    font-size: 25px;
}

nav button span img {
    transform: translate(2px, -2px);
}

nav button span {
    transform: skewX(25deg) translateX(-15px);
}

/* -------------------- Hover / Active -------------------- */

nav a:not(:nth-child(4)):hover,
nav a:not(:nth-child(4)):active,
nav button:hover,
nav button:active {
    animation: pulseGlow 1.5s ease-in-out infinite;
    transform: skewX(-25deg) scale(1.1);
}


/* -------------------- Notification Banner -------------------- */

main .notification-banner {
    position: sticky;
    z-index: 5;

    width: 99.5%;
    height: 25px;

    background-color: #ffaa00;
    color: #000000;

    font-size: 25px;
    margin: 0;
    padding: 5px;
}

main .notification-banner span {
    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 6;
    transform: translateY(-5px);
}


/* ------------------------------ Main Body ------------------------------ */

main {
    display: flex;
    flex-direction: column;

    width: 100%;
    height: 100%;

    justify-self: center;
    justify-items: center;
}

main .main-content {
    color: #ffffff;
    display: block;
    background-color: #000000aa;

    width: 80%;
    height: 100%;

    align-self: center;
    text-align: center;
}

main .portfolio-content figcaption {
    color: #ffffff;

    display: flex;

    border-radius: 5px;

    width: fit-content;

    padding: 10px 15px;

    font-size: 30px;
    font-weight: lighter;

    justify-self: center;

    transform: translateZ(60px);
}

main .portfolio-content img {
    border-radius: 15px;

    margin: 10px 10px 4px 10px;

    transform: translateZ(40px);
}

main .portfolio-content {
    display: grid;

    grid-template-columns: 500px 500px 500px;
    grid-auto-rows: 500px;
    gap: 25px;

    justify-self: center;
}

main .portfolio-content a {
    background-image: linear-gradient(45deg, #111111, #282828);
    display: flex;

    border-radius: 25px;

    perspective: 1200px;

    text-decoration: none;

    justify-items: center;
    justify-content: center;
    align-content: start;

    transform-style: preserve-3d;
    transition:
        box-shadow 0.25s ease transform 0.5s ease;

    will-change: transform;
}

main .portfolio-content a:hover {
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

/* ------------------------------ Footer Bar ------------------------------ */

footer {
    display: grid;
    grid-template-columns: 1fr 300px 300px 300px 300px 1fr;
    gap: 150px;

    background-color: #000;
    width: 100%;
    height: 200px;
    align-items: center;
}

/* --- Link Boxes --- */
footer a {
    display: flex;
    flex-direction: column;
    align-items: center;

    height: 75px;
    padding: 10px 25px;
    margin-top: 15px;

    background-image: linear-gradient(90deg, #000000, #222222);
    border: 5px solid currentColor;

    font-family: Video;
    font-size: 40px;
    letter-spacing: 5px;
    text-decoration: none;

    transform: skewX(-25deg);
    transition:
        transform 0.25s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* --- Un-Skew Content --- */
footer a span {
    transform: skewX(25deg);
    display: flex;
    justify-content: center;
}

/* --- Icon Position --- */
footer a span img {
    margin-right: 30px;
    margin-top: -50px;
}

/* --- Text Position --- */
footer a span {
    margin-left: 10px;
    margin-top: auto;
    margin-bottom: 0;
    line-height: 1;
}

/* --- Colours & Grid --- */
footer a:nth-child(1) {
    color: #ff0000;
    grid-column: 2;
    text-shadow:
    1.5px  1.5px 0 #FFCCCC;
    border-image: linear-gradient(45deg, #FF0000, #FF6666) 1;
}
footer a:nth-child(2) {
    color: #6441a5;
    grid-column: 3;
    text-shadow:
    1.5px  1.5px 0 #cb7ceb;
    border-image: linear-gradient(45deg, #6441a5, #9B59B6) 1;
}
footer a:nth-child(3) {
    color: #5865f2;
    grid-column: 4;
    text-shadow:
    1.5px  1.5px 0 #aabbfc;
    border-image: linear-gradient(45deg, #5865f2, #7289DA) 1;
}
footer a:nth-child(4) {
    color: #222222;
    grid-column: 5;
    text-shadow:
        -1px -1px 0 #25F4EE,
        1px  1px 0 #FE2C55;
    border-image: linear-gradient(45deg, #25F4EE, #FE2C55) 1;
}

/* --- Hover Glow Call --- */
footer a:hover {
    animation: pulseGlow 1.5s ease-in-out infinite;
    transform: skewX(-25deg) scale(1.1);
}


/* ------------------------------ Temp Disabling ------------------------------ */

nav a:nth-child(2) {
    filter:
        saturate(0%)
        brightness(40%);
    pointer-events: none;
}

/* nav a:nth-child(3) {
    filter:
        saturate(0%)
        brightness(40%);
    pointer-events: none;
} */

nav a:nth-child(5) {
    filter:
        saturate(0%)
        brightness(40%);
    pointer-events: none;
}

/* nav a:nth-child(6) {
    filter:
        hue-rotate(240deg);
    pointer-events: none; 
} */

nav a:nth-child(7) {
    filter:
        saturate(0%)
        brightness(40%);
    pointer-events: none;
}