
@font-face {
    font-family: 'ESKlarheitGrotesk';
    src: 
        url('../fonts/ESKlarheitGrotesk-Md.woff2') format('woff2'),
        url('../fonts/ESKlarheitGrotesk-Md.woff') format('woff'),
        url('../fonts/ESKlarheitGrotesk-Md.otf') format('opentype');
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ESKlarheitGrotesk';
    src:
        url('../fonts/ESKlarheitGrotesk-MdIt.woff2') format('woff2'),
        url('../fonts/ESKlarheitGrotesk-MdIt.woff') format('woff'),
        url('../fonts/ESKlarheitGrotesk-MdIt.otf') format('opentype');
    font-style: italic;
    font-display: swap;
}

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

html, body {
    font-family: 'ESKlarheitGrotesk', sans-serif;
    line-height: 1.3rem;
    font-size: 16px;
    color: black;
    overflow: hidden;
}

h1 {
    display: inline-block;
    font-weight: normal;
    font-size: 1.1rem;
    text-transform: uppercase;
}

a:link { 
    text-decoration: none; 
    color: black;
}

a:visited { 
    text-decoration: none; 
    color: #000;
}

.menu-button {
    display: inline-block;
}

.menu-button:hover {
    cursor: pointer;
    color: #787878;
}

.logo:hover {
    cursor: pointer;
    color: #00FF00;
}

.root {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

/* plain green placeholder for JPEGs, PNGs and GIFs */
img[src$=".jpg" i],
img[src$=".jpeg" i],
img[src$=".png" i],
img[src$=".gif" i] {
    background-color: "white";
    display: block;
}

img {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img.loaded {
    opacity: 1;
}

.container-header {
    display: flex;
    flex-direction: row;
    background-color: white;
    position: sticky;
    top: 0;
    border-bottom: .12rem solid #00FF00;
    padding: 1.2rem 0 .6rem;
    z-index: 4;
}

@media only screen and (max-width: 1024px) and (orientation: landscape) {
    .container-header {
        padding-top: 1rem;
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

.container {
    flex-direction: row;
    flex: 1;
    width: 96vw;
    margin: 0 auto 0;
}

@media only screen and (max-width: 1024px) and (orientation: landscape) {
    .container {
        width: 88vw;
    }
}

.scroll-wrapper {
    position: relative;
    overflow-y: auto;
    padding-right: 1.2rem;
    height: calc(100vh - 6.4rem);
}

@media (max-width: 768px) {
    .scroll-wrapper {
        padding-bottom: 4rem;
    }
}

.container-footer {
    position: fixed;
    display: flex;
    flex-direction: row;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: white;
    border-top: .12rem solid #00FF00;
    padding: .8rem 0 1.2rem 0;
    z-index: 6;
}

@media only screen and (max-width: 1024px) and (orientation: landscape) {
    .container-footer {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

/* MENU ITEMS */
.menu-items-header-footer {
    width: 96vw;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.menu-items-header-footer .bio-toggle {
    cursor: pointer;
}

.menu-items-header-footer .socials {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
}

.menu-items-header-footer .footer-bio {
    display: none;
}

@media (max-width: 768px) {
    .menu-items-header-footer .header-bio {
        display: none;
    }
    .menu-items-header-footer .footer-bio {
        display: flex;
    }
    .menu-items-header-footer .socials {
        display: none;
    }
}

/* BIO POPUP */
.bio {
    position: absolute;
    display: flex;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.167s, visibility 0.167s;
    flex-direction: column;
    right: 0;
    width: 50%;
    height: 100vh;
    background-color: #00FF00;
    z-index: 5;
}

@media (max-width: 1024px), (max-width: 1024px) and (orientation: landscape) {
    .bio {
        width: 100%;
        padding-bottom: 5rem;
        right: 0;
        height: 100vh;
    }
}

.bio .bio-text {
    height: calc(100vh - 4.2rem);
    overflow-y: auto;
    font-size: 1.2rem;
    line-height: 1.5rem;
    padding: 1.8rem 20% 3rem 2rem;
}

@media (max-width: 768px) {
    .bio .bio-text {
        font-size: 1.1rem;
        line-height: 1.2rem;
        padding-left: 0.6rem;
        padding-right: 18%;
        padding-bottom: 9rem;
    }
}

@media only screen and (max-width: 1024px) and (orientation: landscape) {
    .bio .bio-text {
        padding-left: 3rem;
    }
}

.bio .bio-text a {
    text-decoration: underline;
    color: black;
    text-decoration-color: black;
    text-decoration-thickness: .108rem;
}

.bio .bio-text a:hover {
    color: #787878;
    text-decoration: underline;
    text-decoration-color: #787878;
}

.bio .bio-socials {
    display: none;
}

@media (max-width: 768px) {
    .bio .bio-socials {
        display: block;
        line-height: 1.5rem;
    }
}

.bio.visible {
    opacity: 1;
    visibility: visible;
}

/* BIO TOGGLE CROSS */
.cross {
    color: "black";
    font-size: 3.6rem;
    font-weight: 400;
    position: fixed;
    bottom: 4.7rem;
    right: 5vh;
    transform: rotate(90deg);
    transition: transform 0.167s;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    -ms-user-select: none; 
}

@media (max-width: 1024px) {
    .cross {
        right: 1.5vh;
        font-weight: 350;
    }
}

.cross.rotated {
    transform: rotate(45deg);
    user-select: none;
}

/* TAGLINE */
.intro {
    font-size: 1.2rem;
    line-height: 1.5rem;
    padding-top: 1.8rem;
    padding-right: 20%;
    padding-bottom: 4rem;
}

@media (max-width: 768px) {
    .intro {
        padding-right: 4%;
    }
}

/* DOTS FOR NAVIGATING COLUMNS ON MOBILE */
.slider-indicator {
    display: none;
}

@media (max-width: 768px) {
    .slider-indicator {
        position: fixed;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        justify-content: center;
        gap: .6rem;
        bottom: 4.6rem;
        z-index: 2;
    }
    .slider-indicator .dot {
        position: relative;
        z-index: 1;
        width: .8rem;
        height: .8rem;
        background: #787878;
        border: none;
        border-radius: 50%;
        transition: background .2s;
    }
    .slider-indicator .dot::before {
        content: "";
        position: absolute;
        top: -8px;
        bottom: -8px;
        left: -8px;
        right: -8px;
        pointer-events: none;
    }
    .slider-indicator .dot.active {
        background: #00FF00;
        border-color: #00FF00;
    }
}

/* PROJECTS / OTHER WORK SELECTOR */
.category-row {
    display: flex;
    flex-direction: row;
    gap: 2.4rem;
    position: sticky;
    top: .6rem;
    z-index: 4;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

@media (max-width: 1024px) and (orientation: landscape) {
    .category-row {
        gap: 1.6rem;
    }
}

.category-row::-webkit-scrollbar {
    display: none;
}

.category-circle {
    width: 100%;
    background-color: white;
    padding-top: .8rem;
    padding-bottom: .8rem;
    margin-bottom: 2rem;
    border-left: .21rem solid #000;
    border-right: .21rem solid #000;
    border-top: .1rem solid #000;
    border-bottom: .1rem solid #000;
    border-radius: 50%;
    text-align: center;
}

.listing-row {
    display: flex;
    flex-direction: row;
    margin-bottom: 2rem;
    gap: 2.4rem;
}

@media (max-width: 1024px) and (orientation: landscape) {
    .listing-row {
        gap: 1.6rem;
    }
}

/* MAIN COLUMNS */
.column {
    width: 50%;
}

.column figure img {
    width: 100%;
    display: block;
    height: auto;
    object-fit: contain;
}

.column a {
    text-decoration: underline;
    text-decoration-color: #787878;
    text-decoration-thickness: .108rem;
}

.column a:hover {
    text-decoration: underline;
    color: #00FF00;
    text-decoration-color: #00FF00;
}

.column .image-container {
    position: relative;
    display: inline-block;
}

.column .image-container-wrapper {
    position: relative;
}

.column .project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    opacity: 0;
    transition: opacity 0.167s ease-out;
    z-index: 1;
}

@media (max-width: 1024px), (max-width: 1366px) and (orientation: landscape) {
    .column .project-overlay {
        display: none !important;
    }
}

@media (min-width: 1024px) {
    .column .image-container:hover .project-overlay {
        opacity: 1;
    }
}

.column .column-mobile {
    display: none;
}

@media (max-width: 1024px), (max-width: 1024px) and (orientation: landscape) {
    .column .column-mobile {
        display: block;
        width: 100%;
    }
}

.column .column-desktop {
    display: block;
}

@media (max-width: 1024px), (max-width: 1024px) and (orientation: landscape) {
    .column .column-desktop {
        display: none;
    }
}

@media (hover: none) {
    .column .project-link {
        -webkit-tap-highlight-color: transparent;
    }
    .column .project-link:hover,
    .column .project-link:active {
        color: inherit !important;
        background: none !important;
    }
}

.column .intro-text {
    color: black;
    padding-left: 1.2rem;
    padding-top: 1.2rem;
    padding-right: 20%;
}

@media (max-width: 768px) {
    .column .intro-text {
        padding-left: .6rem;
        font-size: .95rem;
        line-height: 1.1rem;
        padding-right: 12%;
    }
}

.column .intro-text-mobile {
    display: none;
}

@media (max-width: 1024px), (max-width: 1366px) and (orientation: landscape) {
    .column .intro-text-mobile {
        padding-top: .6rem;
        padding-bottom: .8rem;
        display: block;
    }
}

.column .project-arrow {
    color: #00FF00;
    font-size: 3rem;
    position: absolute;
    bottom: 2rem;
    right: 2.5vh;
}

@media (max-width: 768px) {
    .column .project-arrow {
        bottom: 1.5rem;
    }
}

.column .project-arrow-mobile {
    display: none;
}

@media (max-width: 768px) {
    .column .project-arrow-mobile {
        font-size: 2rem;
        padding-top: .4rem;
        right: 0;
        display: flex;
        color: #00FF00;
    }
}

.column .project-caption-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.column .project-caption {
    padding-top: .4rem;
    padding-right: 10%;
    font-size: 1.05rem;
}

@media (max-width: 768px) {
    .column .project-caption {
        padding-top: .6rem;
        font-size: 1.15rem;
        text-decoration: none;
    }
}

.column .other-slider-container {
    position: relative;
    overflow: hidden;
    touch-action: pan-y;
    -ms-touch-action: pan-y;
}

.column .other-slider-container:focus {
    outline: none;
}

.column .other-slides {
    display: flex;
    transition: transform 0.167s;
}

.column .other-slide {
    min-width: 100%;
}

.column .other-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter .35s;
}

@media (pointer: coarse) {
    .column .other-slide img {
        filter: grayscale(0);
    }
}

.column .other-slider-container.hovered .other-slide img:hover,
.column .other-slider-container.hovered .other-slide.active img {
    filter: grayscale(0);
}

.column .caption {
    padding-top: .6rem;
    padding-bottom: .2rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.column .arrows {
    align-items: center;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    -ms-user-select: none; 
}

.column .arrows.hidden {
    visibility: hidden;
}

.column .arrow {
    font-size: 1.2rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .column .arrow {
        padding-top: .5rem;
        font-size: 1.4rem;
    }
}

.column .arrow:hover {
    color: #00FF00;
    cursor: pointer;
}

.column .date {
    color: #787878;
    line-height: 0rem;
    font-size: 1.05rem;
}

@media (max-width: 768px) {
    .column .date {
        padding-top: .4rem;
        padding-bottom: .4rem;
        font-size: 1.1rem;
    }
}

.column .photo-index {
    font-size: 1.05rem;
}

@media (max-width: 768px) {
    .column .photo-index {
        padding-top: .4rem;
        padding-bottom: .4rem;
        font-size: 1.1rem;
    }
}

.column .listing,
.column .listing-other {
    list-style: none;
    padding-bottom: 1.2rem;
}

.column .other-description .other-title {
    font-style: italic;
}

/* SWIPE ARROW AT THE BOTTOM OF PROJECT COLUMN (MOBILE) */
.swipe-hint {
    display: none;
}

@media (max-width: 768px) {
    .category-row,
    .listing-row {
        display: flex;
        align-items: flex-start;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .category-row::-webkit-scrollbar,
    .listing-row::-webkit-scrollbar {
        height: 0;
    }
    .scroll-wrapper {
        padding-right: .6rem;
    }
    .category-row > .column,
    .listing-row > .column {
        flex: 0 0 100%;
        scroll-snap-align: start;
    }
    .listing-row > .column:first-child .swipe-hint {
        display: block;
        margin: 1rem 0;
        text-align: right;
        color: #00FF00;
        font-size: 3rem;
        padding-bottom: 2rem;
    }
}
