@charset "UTF-8";
@page {
    margin: 0;
    size: 13.6in 49.5in;
}
:root {
    --main: #ffffff;
    --subtle: #191919;
    --background: #000000;

    --card-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.15), 0px 8px 16px 0px rgba(0, 0, 0, 0.20);
    --card-shadow-hovered: 0px 2px 2px 0px rgba(0, 0, 0, 0.25), 0px 8px 32px 0px rgba(0, 0, 0, 0.40);
    --card-shadow-pressed: 0px 0px 1px 0px rgba(0, 0, 0, 0.15), 0px 2px 4px 0px rgba(0, 0, 0, 0.20);
    --big-shadow: 0px 16px 40px 0px rgba(0, 0, 0, 0.3), 0px 4px 8px 0px rgba(0, 0, 0, 0.2);


    --page-padding: 2rem;

    --default-transition: 0.4s cubic-bezier(0.71, 0, 0.25, 1);

    --shadow-distance: 12px;
    --funk-border: 2px solid var(--main);
    --funk-shadow:
            calc(-1 * var(--shadow-distance)) calc(1 * var(--shadow-distance)),
            calc(-0.96 * var(--shadow-distance)) calc(0.96 * var(--shadow-distance)),
            calc(-0.92 * var(--shadow-distance)) calc(0.92 * var(--shadow-distance)),
            calc(-0.88 * var(--shadow-distance)) calc(0.88 * var(--shadow-distance)),
            calc(-0.84 * var(--shadow-distance)) calc(0.84 * var(--shadow-distance)),
            calc(-0.80 * var(--shadow-distance)) calc(0.80 * var(--shadow-distance)),
            calc(-0.76 * var(--shadow-distance)) calc(0.76 * var(--shadow-distance)),
            calc(-0.72 * var(--shadow-distance)) calc(0.72 * var(--shadow-distance)),
            calc(-0.68 * var(--shadow-distance)) calc(0.68 * var(--shadow-distance)),
            calc(-0.64 * var(--shadow-distance)) calc(0.64 * var(--shadow-distance)),
            calc(-0.60 * var(--shadow-distance)) calc(0.60 * var(--shadow-distance)),
            calc(-0.56 * var(--shadow-distance)) calc(0.56 * var(--shadow-distance)),
            calc(-0.52 * var(--shadow-distance)) calc(0.52 * var(--shadow-distance)),
            calc(-0.48 * var(--shadow-distance)) calc(0.48 * var(--shadow-distance)),
            calc(-0.44 * var(--shadow-distance)) calc(0.44 * var(--shadow-distance)),
            calc(-0.40 * var(--shadow-distance)) calc(0.40 * var(--shadow-distance)),
            calc(-0.36 * var(--shadow-distance)) calc(0.36 * var(--shadow-distance)),
            calc(-0.32 * var(--shadow-distance)) calc(0.32 * var(--shadow-distance)),
            calc(-0.28 * var(--shadow-distance)) calc(0.28 * var(--shadow-distance)),
            calc(-0.24 * var(--shadow-distance)) calc(0.24 * var(--shadow-distance)),
            calc(-0.20 * var(--shadow-distance)) calc(0.20 * var(--shadow-distance)),
            calc(-0.16 * var(--shadow-distance)) calc(0.16 * var(--shadow-distance)),
            calc(-0.12 * var(--shadow-distance)) calc(0.12 * var(--shadow-distance)),
            calc(-0.08 * var(--shadow-distance)) calc(0.08 * var(--shadow-distance)),
            calc(-0.04 * var(--shadow-distance)) calc(0.04 * var(--shadow-distance));



    -webkit-print-color-adjust: exact !important; /* Chrome, Safari, Edge */
    color-adjust: exact !important; /* Firefox */
}

*{
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background-color: var(--background);
    color: var(--main);

    -webkit-print-color-adjust: exact !important; /* Chrome, Safari, Edge */
    color-adjust: exact !important; /* Firefox */
    /*&:before {*/
    /*    content: "";*/
    /*    display: block;*/
    /*    position: fixed;*/
    /*    top: 0;*/
    /*    left: 0;*/
    /*    width: 100vw;*/
    /*    height: 100vh;*/
    /*    box-sizing: border-box;*/
    /*    border: 2rem solid var(--main);*/
    /*    pointer-events: none;*/
    /*}*/
    /*&:after {*/
    /*    content: "";*/
    /*    display: block;*/
    /*    position: fixed;*/
    /*    top: 2rem;*/
    /*    left: 2rem;*/
    /*    width: calc(100vw - 4rem);*/
    /*    height: calc(100vh - 4rem);*/
    /*    z-index: 2;*/
    /*    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;*/
    /*    pointer-events: none;*/
    /*}*/
}

body::-webkit-scrollbar,
*::-webkit-scrollbar {
    display: none;
}



* {
    box-sizing: border-box;
    font-family: 'Oswald', Arial, sans-serif;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    outline: none;
    margin: 0;
    padding: 0;
    position: relative;
    transition-timing-function: cubic-bezier(0.81, 0.1, 0.25, 1);
}

strong {
    font-weight: 700;
}

.logoSignature {
    fill: var(--main);
    display: grid;
    width: 100px;
    height: auto;
}

img {
    max-width: 100%;
}

.bigText {
    font-family: 'Anton', 'Times New Roman', serif;
    text-transform: uppercase;
    & * {
        font-family: 'Anton', 'Times New Roman', serif;
        text-transform: uppercase;
    }
}

p {
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
}

.bigText {
    font-size: 48px;
    font-weight: 400;
    line-height: 1.2;
}

.supText {
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

a {
    color: var(--main);
    &:active, &:focus, &:visited {
        color: var(--main);
    }
}

h1 {
    font-size: 48px;
    font-weight: 200;
    font-style: italic;
}


h2 {
    font-size: 28px;
}

h3 {
    font-size: 22px;
    margin-bottom: 1rem;
    font-weight: 600;
    & * {
        font-size: 22px;
        font-weight: 600;
    }
}

/*.home * {*/
/*    mix-blend-mode: difference;*/
/*}*/

section {
    padding: var(--page-padding);
    h1 {
        font-family: 'Anton', 'Times New Roman', serif;
        font-size: 36px;
        margin-bottom: 36px;
        font-style: normal;
    }
}


header {
    display: grid;
    grid-template-columns: 100px max-content;
    justify-content: space-between;
    align-items: start;
    padding: var(--page-padding);
    z-index: 9;
}

nav {
    display: flex;
    gap: 0;
    flex-direction: row-reverse;
    a {
        font-family: 'Anton', sans-serif;
        text-decoration: none;
        font-weight: 600;
        font-size: 1.2rem;
        text-transform: uppercase;
        margin-left: -2px;
    }
}

#hello {
    display: grid;
    grid-gap: 8px;
    align-items: center;
    align-content: center;
    height: 400px;






    * {
        z-index: 1;
    }

    .bigText {
        &:first-child {
            font-size: 64px;
            line-height: 1;
            margin-bottom: 16px;
        }

        &:last-of-type {

            font-size: 24px;
            letter-spacing: 0.4px;
            max-width: 500px;
        }
    }
    p:last-child {
        max-width: 560px;
    }

    a {
        transition: 0.3s;
        &:hover {
            color: var(--main);
            letter-spacing: 0.1px;
        }
    }
}



.resumeHeading {
    display: inline-grid;
    grid-gap: 4px;
    margin-bottom: 1rem;
    margin-left: -6px;
    grid-template-columns: max-content 1fr;
    align-items: center;
    h2 {
        font-size: 18px;
        font-weight: 300;
    }
    .downArrow {
        font-size: 36px;
        margin-right: calc(1rem + 6px);
        line-height: 54px;
        text-align: center;
    }
}

.jobs {
    display: grid;
    grid-gap: 30px;

    .job {
        display: grid;
        grid-gap: 24px;
        max-width: 768px;
        border-left: 6px solid var(--main);
        padding: 1rem;
        padding-left: 2rem;
        page-break-inside: avoid;
        break-inside: avoid; /* for newer browsers */

        h2 {
            text-transform: uppercase;
            position: absolute;
            top: 0;
            left: 0;
            opacity: 0;
        }

        .jobContent {
            display: grid;
            grid-gap: 8px;
        }

        .related-logos {
            display: flex;
            width: 100%;
            overflow: visible;
            flex-direction: row;
            align-items: center;
            gap: 48px;

            &.withScrollbar {
                scrollbar-width: none; /* Firefox */
                -ms-overflow-style: none; /* IE/Edge */

                &::-webkit-scrollbar {
                    display: none; /* Chrome/Safari */
                }
                mask-image: linear-gradient(to right, transparent 0, black 32px, black calc(100% - 32px), transparent 100%);
                -webkit-mask-repeat: no-repeat;
                mask-repeat: no-repeat;
            }
        }
    }

    &:after {
        content: '';
        display: block;
        position: absolute;
        bottom: 0;
        left: 2px;
        height: 100%;
        width: 2px;
        background-color: var(--main);
    }
}

.company-logo svg {
    fill: var(--main);
}
.related-logo svg {
    fill: var(--main);
}



#softGradient {
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    z-index:-1;
    opacity: 0.3;
    filter: blur(200px);
}

.tagsWrapper {
    display: flex;
    gap: 0;
    flex-wrap: wrap;
    .tag {
        border: var(--funk-border);
        font-weight: 900;
        text-transform: uppercase;
        background-color: var(--background);
        padding: 4px 8px;
        font-family: 'Anton', 'Times New Roman', serif;
        font-size: 12px;
        margin-left: -2px;
    }
}


.workPage {
    .itemsListsHeader {
        padding: 1em var(--page-padding);
        .bigText:first-child {
            font-size: 8vw;
            line-height: 1;
        }
    }

    .itemsLists {
        display: grid;
        gap: 8em;
        width: 100%;
        .itemsListWrapper {
            border: var(--funk-border);
            display: grid;
            grid-template-columns: 300px 1fr;
            .itemsListHeading {
                display: grid;
                align-content: start;
                align-items: start;
                padding: 2rem;
                height: fit-content;
                position: sticky;
                top: 0;
                background-color: var(--background);
                border-bottom: var(--funk-border);
                p {
                    font-size: 14px;
                    line-height: 1.2rem;
                }
            }
            .itemsList {
                border-left: var(--funk-border);
                display: flex;
                flex-direction: column;
                gap: 0 2em;

                .portfolioItem {
                    display: grid;
                    align-content: space-between;
                    cursor: pointer;
                    border-bottom: var(--funk-border);
                    &:last-child {
                        border-bottom: none;
                    }

                    a {
                        display: block;
                        position: absolute;
                        height: 100%;
                        width: 100%;
                        top: 0;
                        left: 0;
                        z-index: 99;
                        cursor: pointer;
                    }

                    .itemHeader {
                        width: 100%;
                        border-bottom: var(--funk-border);
                        position: sticky;
                        top: 0;
                        background-color: var(--background);
                        z-index: 2;
                    }

                    .itemHeading {
                        padding: 1rem;
                    }

                    .itemEnd {
                        border-top: var(--funk-border);
                        display: grid;
                        grid-template-columns: max-content 1fr max-content;
                        justify-content: space-between;

                        .itemYear {
                            font-family: 'Anton', 'Times New Roman', serif;
                            font-size: 12px;
                            font-weight: 800;
                            letter-spacing: 1px;
                            line-height: 1rem;
                            border-right: var(--funk-border);
                            padding: 1rem;
                        }
                        .readingTime {
                            padding: 1rem;
                            border-left: var(--funk-border);
                            font-size: 12px;
                            font-weight: 800;
                            line-height: 1rem;
                        }

                        .itemRole {
                            padding: 1rem;
                            font-size: 14px;
                            line-height: 1rem;
                        }
                    }

                    .itemDetails {
                        position: absolute;
                        top: -2px;
                        right: -2px;
                        z-index: 3;
                    }
                }
            }
        }
    }
}

.bigImage {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0;
    filter: blur(16px);
    mask-image: radial-gradient(ellipse 0% 0% at center, #ffffff, transparent);
}

.iPhone {
    display: grid;
    position: absolute;
    left: calc(50% - 175px);
    top: calc(50% - 360px);
    height: 718px;
    width: 343.2px;
    filter: drop-shadow(0 32px 32px rgba(0,0,0,0.4));

    &.loaded {
        opacity: 1;
    }

    &:after {
        content: '';
        display: block;
        position: absolute;
        height: 703px;
        width: 100%;
        background-image: url(/wp-content/themes/ekin-portfolio/assets/iphone.png);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: top left;
        z-index: 2;
    }
}

.iPhone video.screenRec {
    height: 679px;
    width: 316px;
    object-fit: fill;
    top: 12px;
    left: 12px;
    position: relative;
}




.messageMagazine {
    position: absolute;
    right: var(--page-padding);
    top: 100%;
    display: grid;
    grid-gap: 8px;
    margin-top: -1em;
    z-index: 9999;

    .message {
        background-color: var(--main);
        transition: var(--default-transition);
        width: max-content;
        max-width: 90vw;
        position: absolute;
        top: 0;
        right: 0;
        padding: 16px;
        font-size: 16px;
        color: var(--background);
        font-weight: 800;
        letter-spacing: -0.5px;
        text-align: right;
        &.notCalledIn {
            transform: translateX(8px);
            opacity: 0;
        }

        &.calledOut {
            opacity: 0;
            transform: translateX(-8px);
        }
    }
}




















.funky-bg {
    /* This corresponds to your original --c2 variable */
    background-color: transparent;

    /* This is the SVG pattern embedded in a URL */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg'%3e%3cdefs%3e%3cpattern id='p' x='16' y='16' width='32' height='32' patternUnits='userSpaceOnUse'%3e%3ccircle cx='32' cy='32' r='16' fill='none' stroke='%23ffffff' stroke-width='1.92'/%3e%3ccircle cx='0' cy='0' r='16' fill='none' stroke='%23ffffff' stroke-width='1.92'/%3e%3c/pattern%3e%3c/defs%3e%3crect width='100%25' height='100%25' fill='url(/wp-content/themes/ekin-portfolio/styles/)'/%3e%3c/svg%3e");

    /* Add this to match the fixed behavior of your original CSS */
    background-attachment: fixed;
}



footer {
    min-height: 300px;
    display: grid;
    align-items: end;
    justify-content: end;
    margin-top: 8em;
    border-top: var(--funk-border);
    .idontknowman {
        display: none;
    }
}

#education {
    border-top: var(--funk-border);
    margin-top: 48px;
    padding-top: 72px;

    .job {
        grid-template-columns: 100px auto;
        grid-gap: 8px;
        .company-logo {
            width: 100px;
            height: 100px;
            svg {
                width: 100%;
                height: 100%;
                padding: 8px;
                padding-left: 0;
            }
        }
    }
}

#skills {
    border-top: var(--funk-border);
    margin-top: 48px;
    padding-top: 72px;
    .skills {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        padding: 64px;
        padding-bottom: 0;
        .skillset {
            display: grid;
            align-content: start;
            grid-gap: 0;
            ul {
                display: grid;
                grid-gap: 8px;
            }
        }
    }
}


#bottomNav {
    border-top: var(--funk-border);
    margin-top: 96px;
    padding-top: 120px;
    nav {
        justify-content: center;
    }
}

#fourOhFour {
    min-height: calc(100vh - 506px);
    align-content: center;
}


.clickableBox {
    box-shadow:
            calc(-1 * var(--shadow-distance)) calc(1 * var(--shadow-distance)),
            calc(-0.96 * var(--shadow-distance)) calc(0.96 * var(--shadow-distance)),
            calc(-0.92 * var(--shadow-distance)) calc(0.92 * var(--shadow-distance)),
            calc(-0.88 * var(--shadow-distance)) calc(0.88 * var(--shadow-distance)),
            calc(-0.84 * var(--shadow-distance)) calc(0.84 * var(--shadow-distance)),
            calc(-0.80 * var(--shadow-distance)) calc(0.80 * var(--shadow-distance)),
            calc(-0.76 * var(--shadow-distance)) calc(0.76 * var(--shadow-distance)),
            calc(-0.72 * var(--shadow-distance)) calc(0.72 * var(--shadow-distance)),
            calc(-0.68 * var(--shadow-distance)) calc(0.68 * var(--shadow-distance)),
            calc(-0.64 * var(--shadow-distance)) calc(0.64 * var(--shadow-distance)),
            calc(-0.60 * var(--shadow-distance)) calc(0.60 * var(--shadow-distance)),
            calc(-0.56 * var(--shadow-distance)) calc(0.56 * var(--shadow-distance)),
            calc(-0.52 * var(--shadow-distance)) calc(0.52 * var(--shadow-distance)),
            calc(-0.48 * var(--shadow-distance)) calc(0.48 * var(--shadow-distance)),
            calc(-0.44 * var(--shadow-distance)) calc(0.44 * var(--shadow-distance)),
            calc(-0.40 * var(--shadow-distance)) calc(0.40 * var(--shadow-distance)),
            calc(-0.36 * var(--shadow-distance)) calc(0.36 * var(--shadow-distance)),
            calc(-0.32 * var(--shadow-distance)) calc(0.32 * var(--shadow-distance)),
            calc(-0.28 * var(--shadow-distance)) calc(0.28 * var(--shadow-distance)),
            calc(-0.24 * var(--shadow-distance)) calc(0.24 * var(--shadow-distance)),
            calc(-0.20 * var(--shadow-distance)) calc(0.20 * var(--shadow-distance)),
            calc(-0.16 * var(--shadow-distance)) calc(0.16 * var(--shadow-distance)),
            calc(-0.12 * var(--shadow-distance)) calc(0.12 * var(--shadow-distance)),
            calc(-0.08 * var(--shadow-distance)) calc(0.08 * var(--shadow-distance)),
            calc(-0.04 * var(--shadow-distance)) calc(0.04 * var(--shadow-distance));
    transition: var(--default-transition);
    background-color: var(--background);
    border: var(--funk-border);
    letter-spacing: 1px;
    padding: 8px 16px;
}