/* styles.css file */

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

body {
	background-color: #F8F8F8;
	font-family: system-ui, -apple-system, sans-serif;
}

/* #################################################################################################### */
/* #################################################################################################### */

/* Navigation */
.navbar {
    padding: 1rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: transparent;
}
/* Make the text blend with difference mode */
.nav-brand, .nav-link {
    /* color: white; */
    position: relative; /* Needed for z-index to work */
    z-index: 1; /* Ensure text is above other elements */
    /* mix-blend-mode: difference; */
}

.nav-container {
	/* max-width: 1200px; */
	margin: 0 auto;
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

.nav-brand {
	font-size: 1.25rem;
	text-decoration: none;
	color: #000;
}

.nav-links {
	display: flex;
	gap: 2rem;
}

.nav-link {
	text-decoration: none;
	color: #000;
}



/* ################################################################################## */
/* ###################################################################################### */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #F8F8F8;
    transform: translateY(-100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); /* Smoother easing */
    z-index: 999;
    overflow: hidden;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Peek state - shows just bottom 15% of menu */
.menu-overlay.peeking {
    transform: translateY(-80%);
	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.menu-overlay.active {
    transform: translateY(0);
}

/* Optional: Add a visual cue during peek */
.peek-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 1.25rem;
    color: #666;
}

.menu-overlay.peeking .peek-indicator {
    opacity: 1;
}
.menu-content {
    padding: 2rem;
    /* Remove overflow-y and height since parent handles scrolling */
}
.menu-text {
    font-size: 1.5rem;
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    padding: 0.5rem 1rem;
    opacity: 1;
    transition: opacity 0.3s ease;
    color: #000;
    position: relative;
    z-index: 1001;
    isolation: isolate;
    overflow: hidden;
}

.menu-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #F8F8F8;
    z-index: -1;
    border: 2px solid #000;
    transition: transform 0.3s ease;
}

.menu-text::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: rgba(0,0,0,0.1);
    transition: height 0.3s ease;
}

.menu-text:hover::after {
    height: 100%;
}

.menu-text:hover::before {
    transform: translateY(-2px); /* Box moves up slightly */
}

/* Optional: make the text appear to be pushed down */
.menu-text:hover {
    padding-top: 0.7rem;
    padding-bottom: 0.3rem;
}

/* Hide footer-note by default and during peek */
.menu-overlay .footer-note {
    position: absolute;
    z-index: 1001;
    opacity: 0;
    transition: opacity 0.3s ease 0.3s; /* Delay the fade in */
}

/* Only show footer-note when menu is fully active */
.menu-overlay.active .footer-note {
    opacity: 0.8;
}

/* Make sure it stays hidden during peek */
.menu-overlay.peeking .footer-note {
    opacity: 0;
    transition: none; /* No transition during peek */
}

@media (max-width: 768px) {
    .menu-overlay {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* #################################################################################################### */
/* #################################################################################################### */

/* Landing page grid  */

.grid-wrapper {
    min-height: 100svh; /* Uses actual screen height accounting for mobile UI */
	max-width: 90vw; /* Prevent extending past screen width */
    margin: 0 auto; /* Center the content */
    padding: 2rem; /* More responsive padding */
    gap: clamp(20px, 3vw, 60px); /* Responsive gap */

	
	display: flex;
	justify-content: space-evenly;
	align-items: center;
	font-family: system-ui, -apple-system, sans-serif;
	position: relative;
	/* top: 0;
	left: 0;
	right: 0;
	bottom: 0; */
	z-index: 0;

	/* Space between text and grid */
}


.side-content {
	flex-shrink: 0;
	/* Prevent shrinking */
	width: 300px;
	/* Adjust based on your needs */
	color: #333;
	/* Adjust color as needed */
}

/* Add some basic styling for the text */
.side-content h2 {
	margin-bottom: 1rem;
	font-size: 2rem;
	font-weight: 300;
}

.side-content p {
	line-height: 1.6;
	font-weight: 300;
	font-size: 1rem;
}
.side-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.side-btn {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
    text-decoration: none;
    color: #000;
    border: 1px solid #000;
    transition: all 0.3s ease;
    text-align: center;
    flex: 1;  /* Makes buttons take equal width */
    font-weight: 300;  /* Matches your text weight */
}

.side-btn:hover {
    background-color: #000;
    color: #fff;
}
.video-grid {
	display: grid;
	gap: 1rem;
	/* Create 12 columns with adjusted aspect ratio */
	grid-template-columns: repeat(10, minmax(0, 1fr));
	grid-template-rows: repeat(14, minmax(0, 1fr));
	width: min(1250px, 60%); /* Maximum 1250px, but never wider than container */
    height: min(900px, 70vh); /* Maximum 900px, but scales with viewport */
    min-width: unset; /* Remove the fixed min-width */
    aspect-ratio: 1.47 / 1; /* Maintain the original proportion (1100/750) */
	/* or your preferred minimum */
}

.video-container {
	position: relative;
	width: 100%;
	height: 100%;
	background: #000;
	border-radius: 8px;
	overflow: hidden;
	transition: all 0.3s ease;
}

.video-container:hover {
	box-shadow: 0 0 30px rgba(0, 0, 0, 0.75);
	transform: translateY(-5px) scale(101%);
	/* transform: ; */
	/* Slight lift */
}

.video-container video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.video-link {
	text-decoration: none;
	/* Removes underline from links */
	color: inherit;
	/* Maintains current text color */
	display: contents;
	/* Makes the anchor behave like its children */
}

/* Optional: Add focus styles for accessibility */
.video-link:focus .video-container {
	outline: 2px solid #4A90E2;
	outline-offset: 2px;
}

/* Grid spans for 12x12 grid */
.ar-video {
	grid-column: 1 / span 4;
	/* Takes 6 columns */
	grid-row: 1 / span 14;
	/* Takes all 12 rows */
}

.games-video {
	grid-column: 5 / span 6;
	/* Takes remaining 6 columns */
	grid-row: 1 / span 7;
	/* Takes top 6 rows */
}

.vfx-video {
	grid-column: 5 / span 4;
	/* Takes 4 columns */
	grid-row: 8 / span 7;
	/* Takes bottom 6 rows */
}

.design-box {
	grid-column: 9 / span 2;
	/* Takes 4 columns */
	grid-row: 8 / span 7;
}

.video-container img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.video-element {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* This ensures the video fills the container while maintaining aspect ratio */
}

/* Remove the background from the text itself */
/* Top title (existing) */
.video-title-top {
	position: absolute;
	top: 20px;
	left: 50%;
	transform: translateX(-50%);
	color: white;
	font-size: 1.5rem;
	font-weight: thin;
	z-index: 2;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
	letter-spacing: 0.5px;
	opacity: 0.95;
	transition: opacity 0.3s ease, transform 0.3s ease;
	font-family: Arial, Helvetica, sans-serif;
	padding: 0;
}

/* Bottom title (new) */
.video-title-bottom {
	position: absolute;
	bottom: 20px;
	/* Changed from top to bottom */
	left: 50%;
	transform: translateX(-50%);
	color: white;
	font-size: 1.5rem;
	font-weight: thin;
	z-index: 2;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
	letter-spacing: 0.5px;
	opacity: 0.95;
	transition: opacity 0.3s ease, transform 0.3s ease;
	font-family: Arial, Helvetica, sans-serif;
	padding: 0;
}

/* Top gradient */
.video-container.top-text::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 120px;
	background: linear-gradient(to bottom,
			rgba(0, 0, 0, 0.7) 0%,
			rgba(0, 0, 0, 0.5) 25%,
			rgba(0, 0, 0, 0) 100%);
	pointer-events: none;
	z-index: 1;
}

/* Bottom gradient (new) */
.video-container.bottom-text::after {
	content: '';
	position: absolute;
	bottom: 0;
	/* Changed from top to bottom */
	left: 0;
	right: 0;
	height: 120px;
	background: linear-gradient(to top,
			/* Changed direction */
			rgba(0, 0, 0, 0.7) 0%,
			rgba(0, 0, 0, 0.5) 25%,
			rgba(0, 0, 0, 0) 100%);
	pointer-events: none;
	z-index: 1;
}

.footer-note {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    opacity: 0.8;
    z-index: 9; /* Below the menu overlay which likely has a higher z-index */

	line-height: 1.6;
	font-weight: 300;
	font-size: 1rem;

}

/* Special handling for when it's in the menu overlay */
.menu-overlay .footer-note {
    position: absolute; /* Change to absolute within the overlay */
    z-index: 1001; /* Ensure it's visible above overlay content */
}



/* Responsive Design */
@media (max-width: 1400px) {
	.grid-wrapper {
		flex-direction: column;
		gap: clamp(10px, 2vw, 30px);
	}

	.video-grid {
		width: min(950px, 95%); /* Slightly smaller on medium screens */		
		height: auto;
		aspect-ratio: 1.5 / 1;
	}
}

@media (max-width: 768px) {

	.grid-wrapper {
		padding-top: 2rem; /* Reduced from 6rem to give more space to content */
        gap: 2rem; /* Add some space between side-content and grid */
		padding: 0;
	}

	 .side-content {
        margin-top: 5rem; /* Add some space at the top */
		margin-bottom: 5rem;
    }

	.video-grid {
		display: flex;
		flex-direction: column;
		gap: 20px;
		aspect-ratio: auto;
		width: 100%;
	}

	.video-container {
		width: 100%;
		aspect-ratio: 16 / 9;
	}

	/* Consider a specific order for mobile layout */
	.ar-video {
		order: 1;
		aspect-ratio: 3/4;
	}

	.games-video {
		order: 2;
	}

	.vfx-video {
		order: 3;
	}

	.design-box {
		order: 4;
	}
	.footer-note {
        position: static; /* Remove fixed positioning */
        transform: none; /* Remove transform */
        left: auto; /* Remove left positioning */
        bottom: auto; /* Remove bottom positioning */
        margin: 2rem auto; /* Add some spacing */
        width: 90%; /* Maintain width control */
    }
	.menu-overlay .footer-note {
        position: static;
        margin-top: auto; /* Push to bottom of flex container */
        padding-bottom: 2rem; /* Add some bottom padding */
    }
}

/* #################################################################################################### */
/* #################################################################################################### */
/* #################################################################################################### */

/* Project description template  */

/* Main content */
.container {
	max-width: 1800px;
	margin: 0 auto;
	padding: 0 1rem;
}

.project-section {
	display: flex;
	align-items: center;
	margin: 0rem 0rem;
	margin-top: 0em;
	margin-bottom: 0em;
	/* gap: 2rem; */
}

/* Create equal halves */
.content-half {
	flex: 0 0 50%;
	/* Take exactly half, don't grow or shrink */
	display: flex;
	justify-content: center;
	/* Center content horizontally in its half */
}


.video-wrapper {
	width: 100%;
	max-width: 450px;
	/* Your video width */
	position: relative;
	aspect-ratio: 9 / 16;
	overflow: hidden;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
	/* or 'contain' depending on your preference */
    object-fit: cover; 
    position: absolute;
    top: 0;
    left: 0;
}

.image-wrapper {
	
	width: 100%;
	max-width: 600px;
	/* Your video width */
	position: relative;
	aspect-ratio: 9 / 16;
	overflow: hidden;
}


/* Add this alongside your existing video-wrapper styles */
.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
}

/* Content styling */
.content-wrapper {
	/* width: 500px; */
	/* Or your preferred width */
	display: flex;
	flex-direction: column;
	align-items: left;
	text-align: left;
}

.logo {
	width: 110px;
	border-radius: 25px;
	margin-bottom: 1rem;
}


.logo.framestore {
    width: 300px; /* Adjust this value to your preferred size */
    mix-blend-mode: multiply;
    filter: invert(1); /* This inverts black to white and vice versa */
	margin-left: -28px;
}

.logo.facemeshgl {
	mix-blend-mode: multiply;
    filter: invert(1); /* This inverts black to white and vice versa */
}

.project-title {
	font-size: 3.5rem;
	font-weight: 500;
	margin-bottom: 0.5rem;
	text-align: left;
}

.project-tech {
	font-size: 2.5rem;
	font-weight: 300;
	margin-bottom: 1rem;
	text-align: left;
}

.project-description {
	font-size: 1.5rem;
	font-weight: 300;
	margin-bottom: 2rem;
	width:100%;
	max-width: 700px;

	text-align: left;
}

.btn {
	display: inline-block;
	padding: 0.8rem 2rem;
	font-size: 1.25rem;
	text-decoration: none;
	color: #000;
	border: 1px solid #000;
	transition: all 0.3s ease;
}

.btn:hover {
	background-color: #000;
	color: #fff;
}


.project-section:nth-child(even) .content-half:first-child {
	order: 2;
}

.project-section:nth-child(even) .content-half:last-child {
	order: 1;
}


/* Responsive design */
@media (max-width: 768px) {
	.project-section {
		flex-direction: column;
		gap: 2rem;
	}

	.content-half {
		flex: 1 1 100%;  /* Allow full width */
		width: 100%;
	  }
	
	  .video-wrapper {
		width: 100%;     /* Make video wrapper full width of container */
		max-width: 300px; /* But don't let it get wider than original desktop size */
	  }

	.content-wrapper {
		width: 100%;
	}

	.project-description {
		max-width: 100%;
	}

	/* Reset the order on mobile if you want content to always be below video */
    .project-section .content-half {
        order: 0; /* or specific orders for mobile layout */
    }
    
    /* Or keep the alternating pattern */
    .project-section:nth-child(even) .content-half:first-child {
        order: 0;
    }
    
    .project-section:nth-child(even) .content-half:last-child {
        order: 0;
    }
}

@media (max-width: 480px) {
	.project-title {
		font-size: 1.5rem;
	}

	.project-tech {
		font-size: 1rem;
	}

	.project-description {
		font-size: 1rem;
	}

	.btn {
		padding: 0.6rem 1.5rem;
		font-size: 1rem;
	}
}


/* ####################################################################################################
######################################################################################################### */

.section-overlay {
	height: 90vh;
	overflow: hidden;
	/* Prevent content from spilling out */
	position: relative;
	/* Create positioning context */
	padding-left: 14rem;
	padding-right: 14rem;
	padding-top: 1rem;
	padding-bottom: 1rem;
	max-width: 2000px;
	max-height: 1000px;
	 /* Add these lines to center the section */
	 margin-left: auto;
	 margin-right: auto;
	 font-size: 16px; /* Reset font size for this section specifically */
}

.article-overlay {
	width: 100%;
	height: 100%;
	/* Changed from min-height to fixed height */
	display: grid;
	grid-template-columns: 1fr 2fr 1fr 1fr minmax(0, 40ch) 1fr;
	grid-template-rows: 20% 2fr auto auto 1fr;
	position: relative;
	/* Create positioning context */
	overflow: hidden;
	/* Contains the video */
}

.h1-overlay {
	font-size: clamp(1.3rem, 1.8vmax, 2.5rem);  /* Won't go smaller than 1.2rem */

	grid-column: 3 / 6;
	grid-row: 3 / 4;
	align-self: start;
	background: black;
	color: white;
	margin: 0;
	padding: 22px;
	line-height: 1.2;
	font-weight: normal;
	z-index: 2;
	position: relative;
	/* border-color: #F8F8F8; */
	/* Required - can be solid, dashed, dotted, etc. */
    /* border-style: solid;     */
	 /* Adjust thickness as needed */
    border-width: 2px;     
}

.vid-overlay {
	grid-column: 2 / 5;
	grid-row: 1 / 6;
	width: 70%;
	height: 100%;
	object-fit: cover;
	object-position: center bottom;
	position: relative;
	z-index: 1;
}

.p-overlay {
	background: white;
	padding: 22px;
	margin: 0;
}

div.txt-overlay {
	font-size: clamp(1rem, 1.2vmax, 1.8rem);  
	grid-column: 3 / 6;
	grid-row: 4 / 5;
	z-index: 2;
	position: relative;
	/* Ensures z-index works */
	background: white;
	/* Ensure text container has background */
	max-height: 100%;
	/* Prevent overflow */
	overflow-y: auto;
	/* Allow scrolling if content is too long */
}

@media (max-width: 1150px) {
	.section-overlay {
		padding: 1rem;
	}
	.vid-overlay {
		grid-column: 2 / 6;
	}
}

@media (max-width: 480px) {
	section.overlay {
		height: 70vh;
	}
	.vid-overlay {
		width: 90%;}
	.h1-overlay {
		margin-top: 10rem;
		margin-left: 1rem;
		grid-column: 4/6;
	}

	div.txt-overlay {
		margin-left: 1rem;
		grid-column: 4 / 6;
		grid-row: 4 / 5;
		z-index: 2;
		position: relative;
		/* Ensures z-index works */
		background: white;
		/* Ensure text container has background */
		max-height: 100%;
		/* Prevent overflow */
		overflow-y: auto;
		/* Allow scrolling if content is too long */
	}
}

/* ###############################################################################################
############################################################################################### */
.vision-statement {
    width: 100%;
	padding: 8rem 3rem;
    margin: 6rem 0;  /* This adds 6rem of space above and below the section */
    display: flex;
    justify-content: center;
    align-items: center;
}

.vision-text {
    max-width: 1400px;  /* Reduced from 1800px for more contained look */
    font-size: clamp(2rem, 3vmax, 4rem);  /* Slightly reduced max size */
    line-height: 1.2;  /* Slightly increased line height for boxier feel */
    margin: 0 auto;
    font-weight: 500;
    text-align: center;
}


.hero-text {
	font-family: var(--font-condensed-md);
	font-weight: var(--font-condensed-md-weight);
	line-height: 100%;
	font-size: 5vw;
	margin: 0 0 .5em;
	/* text-transform: uppercase; */
	/* letter-spacing: -0.01em; */
}

.margin-top-extra {
	margin-top: .5em;
 } 

@media only screen and (max-width: 821px) {
	
    .hero-text {
		font-family: var(--font-condensed-md);
		font-weight: 500;
		font-size: 1em;
		margin-bottom: .2em;
	  }

	 .margin-top-extra {
		margin-top: 1.5em;
	 } 
}

@media (max-width: 480px) {
    .vision-statement {
        padding: 4rem 1.5rem;
    }
}


/* ###############################################################################################
############################################################################################### */

.filter-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 0.4em;
    /* padding: 20px; */
    max-width: 1600px;
	/* Vertical spacing with horizontal auto */
    /* margin: 8rem 0rem;   */
}
.filter-grid-item {
	position: relative;
	width: 100%;
	padding-bottom: 177.78%;
	background: #f0f0f0;
	border-radius: 8px;
	overflow: hidden;
}

.filter-grid-video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	pointer-events: none;
}

@media (max-width: 768px) {
	.filter-grid-wrapper {
		grid-template-columns: repeat(2, 1fr);
	}
}




/* ################################################################################################### */
/* ###################################################################################################### */

.analytics-container {
    width: 100%;
    padding: 0rem;
    margin: 0rem 0;
    display: flex;
    flex-direction: column;
    align-items: left;
    gap: 2rem;  /* Space between heading and image */
}

.analytics-text {
    /* max-width: 1400px; */
    font-size: clamp(1.8rem, 3vmax, 4rem);
    line-height: 1.2;
    margin: 0;
    font-weight: 500;
    text-align: center;
}

.analytics-sub-text {
    /* max-width: 1400px; */
    font-size: clamp(1.8rem, 3vmax, 4rem);
    line-height: 1.2;
    margin: 0;
    font-weight: 400;
    text-align: center;
}

.analytics-image {
    max-width: 1600px;
    width: 100%;
    height: auto;
    margin: 0 auto;
}




/* ################################################################################################### */
/* ###################################################################################################### */


.vision-statement,
.analytics-container {
    margin-top: 8rem;
    margin-bottom: 8rem;
}

@media (max-width: 900px) {
    .vision-statement,
    .analytics-container,
    .project-section {
        margin-top: 4rem;
        margin-bottom: 4rem;
    }
}

@media (max-width: 768px) {
    .vision-statement,
    .analytics-container,
    .project-section {
        margin-top: 4rem;
        margin-bottom: 4rem;
    }

    .filter-grid-wrapper {
        margin: 4rem auto;
    }
}

/* ################################################################################################################# */
/* ################################################################################################################# */

.sugar-rush-section {
    position: relative;
    width: 100%;
    height: 80vh;
    margin: 4rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sugar-rush-wrapper {
    position: relative;
    width: 100%;
    max-width: 1400px;
    /* Set aspect ratio to match video */
    aspect-ratio: 16/9;
    margin: 0 auto;
    padding: 0 2rem;
}

.sugar-rush-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sugar-rush-content {
    position: absolute;
    top: 2rem;
    left: 2rem;
    z-index: 1;
    color: white;
}
.sugar-rush-content h2 {
    font-size: clamp(2rem, 3vmax, 4rem);
    line-height: 1.2;
    font-weight: lighter;
    margin: 0;
}

.sugar-rush-content p {
    font-size: clamp(1rem, 1.5vmax, 2.5rem);
    line-height: 1.2;
    font-weight: lighter;
    margin-top: 0.5rem;
}

@media (max-width: 1024px) {
	.sugar-rush-section {
        height: auto;
        margin: 2rem 0;
    }
    
    .sugar-rush-wrapper {
        padding: 0 1rem;
    }
    
    .sugar-rush-content {
        top: 1.5rem;
        left: 1.5rem;
    }
	
}

@media (max-width: 768px) {
    
    /* Added these new styles */
    .sugar-rush-content h2 {
        font-size: clamp(1.5rem, 2vmax, 2rem);
    }

    .sugar-rush-content p {
        font-size: clamp(1rem, 1.5vmax, 1.5rem);
    }
}

/* ##########################################################################################################################*/
/* ############################################################################################################################ */

.end-navigation {
    display: flex;
    width: 100%;
    height: 250px; /* Increased height to accommodate larger text */
    margin-top: 8rem;
}

.end-nav-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem; /* Increased gap between text and arrow */
    background: none;
    border: 1px solid #000;
    color: #000;
    font-size: 2rem; /* Increased from 1.5rem */
    font-weight: 300;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    position: relative;
}

.end-nav-btn:first-child {
    border-right: none;
}

.end-nav-btn:hover {
    background-color: #000;
    color: #fff;
}

.btn-text {
    position: relative;
    z-index: 1;
}

.arrow-icon {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
    width: 32px; /* Increased from 24px */
    height: 32px; /* Increased from 24px */
}

.end-nav-btn:hover .arrow-icon {
    transform: translateX(5px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .end-navigation {
        flex-direction: column;
        height: auto;
    }

    .end-nav-btn {
        padding: 3rem; /* Increased padding for mobile */
        font-size: 1.75rem; /* Slightly smaller font on mobile but still larger than original */
    }

    .end-nav-btn:first-child {
        border-right: 1px solid #000;
        border-bottom: none;
    }
}

/* ##########################################################################################################################*/
/* ############################################################################################################################ */

.spirit-tales-themes {
	display: flex;
}
.spirit-tales-themes img{
	width: 80%;
	margin: 0 auto;  /* This centers it */
}

@media (max-width: 1000px) {

	.spirit-tales-themes img{
		width: 100%;
	}
}