@font-face {
    font-family: 'Alte Haas Grotesk';
    src: url('fonts/AlteHaasGrotesk_Bold.woff2') format('woff2'),
        url('fonts/AlteHaasGrotesk_Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap; /* Optimizes font loading for better user experience */
}

@font-face {
    font-family: 'Kernevel';
    src: url('fonts/for-kernevel-regular.woff2') format('woff2'),
        url('fonts/for-kernevel-regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Kernevel';
    src: url('fonts/for-kernevel-italic.woff2') format('woff2'),
        url('fonts/for-kernevel-italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

.mobile-only {
    display: none;
}

body {
    font-family: 'Kernevel', serif;
    font-weight: normal;
    font-size: 11.5pt;
    line-height: 14pt; /* Improves text readability */
    letter-spacing: 0.2pt;
    height: 100vh; 
    width: 100vw;
    padding: 0;
    margin: 0;
    overflow: hidden; /* Ensures no scrollbars appear */
    background: transparent;
}


html, body {
    overflow: hidden !important;
}

/* Hide scrollbars for webkit browsers */
::-webkit-scrollbar {
    display: none;
}


.menu-links {
    list-style: none;
    padding-left: 0;
}
.menu-links li {
    list-style: none;
}


.info-text {
    text-indent: 20px;
    text-align: left;
    align-items: flex-start;
    position: relative;
    max-width: 480px;
    padding-left: 10px;
    padding-right: 30px;
    padding-bottom: 30px;
    margin-bottom: 0;
}

.info-text p {
	text-indent: 20px;
}

.caption-above {
    font-style: italic;
}

a, .title-studio:hover {
    color: black;
    text-decoration: none;}

.menu-links a:hover {
color: rgb(171, 153, 127);
}

.page {
    height: 100vh; 
    background-color: #feaccf;
    display: flex; /* Centers content vertically and horizontally */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: transparent;
}

.subtitle, .menu-links a {
    font-family: 'Alte Haas Grotesk';
    font-weight: bold;
    font-size: 11.7pt;
    line-height: 14pt;
    color: black;
    text-decoration: none;
}

.subtitle {
    text-align: center;
    align-items: flex-start;
    position: relative;
    max-width: 500px;
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 0;
}

h1 {
    font-family: 'Alte Haas Grotesk', sans-serif;
    letter-spacing: 0.1px;
    font-weight: bold;
    font-size: 18pt;
    padding: 0;
    margin: 0;
    color: black;
    position: relative;
    top: 3px;
text-shadow:none
}

h1:hover {
color: rgb(171, 153, 127);
}


#menu-toggle {
    font-family: 'Alte Haas Grotesk', sans-serif;
    letter-spacing: 0.1px;
    font-weight: bold;
    font-size: 28pt;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

#menu-toggle.hidden {
    display: none !important;
}

.upper-menu {
    min-height: 50px;
    width: 100vw;
    display: flex;
    flex-direction: row;
    justify-content: center; /* Centers menu items */
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 3;
}

.bottom-menu {
    min-height: 50px;
    width: 100vw;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    cursor: pointer;
    position: fixed;
    bottom: 0;
    left: 0;
}

.bottom-menu h1 {
    margin: 0;
    z-index: 2; /* Ensures h2 remains above menu links */
    position: relative;
top: 5px;
}

.menu-links {
    margin: 0;
    position: absolute;
    bottom: 0; /* Positions menu links directly below h1 */
    left: 0;
    width: 100%;
    display: none;
    flex-direction: row; 
    justify-content: center;
    z-index: 3; /* Ensures links are above other elements */
}

.menu-links a {
    display: block;
    text-align: center;
    padding-top: 24px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 20px;
    text-decoration: none;
}

.menu-links {
    display: none;
}

.menu-links.active {
    display: flex;
}

@media only screen and (max-width: 768px) {
    .menu-links {
        display: flex !important;
    }
    .menu-links.active {
        display: flex !important;
    }
    .bottom-menu h1 {
        display: none;
    }
}

.bottom-menu h1.hidden {
    display: none;
}

.portfolio {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    text-align: center;
    overflow-y: auto;
    overflow-x: hidden;
    margin-top: 0px; /* height of upper-menu */
    margin-bottom: 0px; /* height of bottom-menu */
    padding-top: 50px;
    padding-bottom: 50px;
}


.scroll-container {
    display: flex;
    overflow-x: auto;
    width: 100%;
    height: 100%;
    margin: 0;
    scrollbar-width: none; /* Hide scrollbar for Firefox */
    gap: 0;
}

.scroll-container::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome, Safari, Edge */
}

 .scroll-item {
    flex: 0 0 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 80vh;
    margin: 0 30px 0 0;
    overflow: hidden;
}

.scroll-item:first-child {
    margin-left: 30vw;
}

.scroll-item-link {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    width: auto;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.scroll-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: mix-blend-mode 0.3s, filter 0.3s;
    position: relative;
    z-index: 1;
}

.image-wrapper {
    position: relative;
    width: 50vh;
    height: 60vh;
    display: inline-block;
}
.scroll-item img:hover + .pink-overlay {
    opacity: 0.5;
}
 .image-wrapper .pink-overlay {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    mix-blend-mode: multiply;
    transition: opacity 0.3s;
    background: #feaccf;
    opacity: 0;
}
.image-wrapper:hover .pink-overlay {
    opacity: 0.5;
}



.caption-above {
    font-style: italic;
}

.scroll-item img:hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: magenta;
    opacity: 0.5;
    z-index: 100;
    pointer-events: none;
    mix-blend-mode: multiply;
}

.caption-above, .caption-below {
    position: static;
    width: 100%;
    max-width: 90vw;
    pointer-events: none;
    text-align: inherit;
}

.project-title {
    position: relative;
    width: 100%;
    max-width: 90vw;
    padding-top: 21px;
    font-style: italic;
    font-family: 'Kernevel', serif;
    font-size: 11.5pt;
    line-height: 14pt;
    text-align: center;
    margin-top: 0;
    margin-bottom: 0;
}



.caption-above {
    padding-top: 10px;
    padding-bottom: 0px;
    margin: 0;
    height: 7vh;
}

.caption-below {
    padding-top: 30px;
    padding-bottom: 10px;
    height: calc(7vh - 30px);
}

.caption-above, .caption-below {
    display: none;
}

.scroll-item .caption-above,
.scroll-item .caption-below {
    display: block;
    text-align: center;
}


.project-gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    /* gap: 60px; */
    margin-top: 0;
    margin-bottom: calc(100vh - 60px - 70vh);
}


.gallery-image, .project-gallery img {
    width: 50vh;
    height: 60vh;
    object-fit: cover;
    margin-top: 0;
    padding-top: 12px;
    padding-bottom: 12px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.project-gallery img:first-of-type {
margin-top: 15px;
width: 50vh !important;
max-width: 50vh !important;
}

.gallery-caption, .project-gallery p {
    font-family: 'Kernevel', serif;
    font-size: 11.5pt;
    line-height: 14pt;
    text-align: left;
    max-width: 60vw;
    margin: 0;
    padding-top: 12px;
    padding-bottom: 12px;
    font-style: normal;
    text-decoration: none;
}


.gallery-caption--nav {
    text-align: center;
    font-style: italic;
    text-decoration: underline;
    margin-top: 30px;
}
