html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
	font-size: 16px; /* Base font size */
    font-family: 'Inter';
}


a {
	cursor: pointer;
	text-decoration: none;
}

/* ------ Media ------ */
img {
	/*
    max-width: 100%;
    max-height: 100%;
	pointer-events: none !important;
	display: block;
	*/

	max-width: 100%;
	height: auto;
}
video {
	display: block;
	max-width: 100%;
	height: auto;
}

/* ---- Animations ---- */
.slide {
	animation: slide 1s cubic-bezier(0.2, 0.6, 0.2, 1);
	animation-fill-mode: backwards;
}

.delay01 { animation-delay: .20s; }
.delay02 { animation-delay: .40s; }

@keyframes slide {
  0% {
    opacity: 0;
    transform: translateY(8vh);
  }
  100% {
    opacity: 1;
    transform: translateY(0%);
  }
}


/* --- Page container --- */
.page-container {
	max-width: 720px;
	margin: 160px auto;
	padding-left: 16px !important;
	padding-right: 16px !important;
}

html {
	scroll-behavior: smooth;
}


/* --- header --- */


header {
	position: fixed;
	top: 1vh;
	left: 0;
	right: 0;
	z-index: 1000;
 	box-sizing: border-box;

	display: flex;
	align-items: center;
	justify-content: space-between;

	max-width: 96vw;
	max-width: 480px;
	margin: 0 auto;
	border-radius: 100px;

	padding:8px 24px 8px 8px;
	background: rgba(255, 255, 255, 0.6);
	backdrop-filter: blur(12px);
	
	border: 1px solid rgba(0, 0, 0, 0.05); 

	animation: expand-nav 1s cubic-bezier(0.40,0.00,0.20,1.00) forwards;
	
}
@keyframes expand-nav {
  from {
    opacity: 0;
	max-width: 440px;
  }
}

/*
animation: expand-nav 1s cubic-bezier(0.00,0.93,0.60,0.95) forwards;

@keyframes expand-nav {
  from {
    opacity: 0;
	max-width: 560px;
  }
}
*/


a.logo {
	text-decoration: none;
	color: #111111;
}

.logo {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 12px;
}

.avatar {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	flex-shrink: 0;
	border-radius: 100px;
	overflow: hidden;
}

.avatar img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.name {
	font-size: 16px;
    font-family: 'Inter';
	font-weight: 500;
}

.name:hover {
	text-decoration: underline;
}

.header-nav ul {
	display: flex;
	align-items: center;
	gap: 20px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.header-nav a {
	font-size: 16px;
	line-height: 140%;
	color: #333333;
	font-family: 'Inter';
	font-weight: 500;
}

.header-nav a:hover {
	text-decoration: underline;
	color: #111111;
}

.header-nav a.active {
	text-decoration: underline;
	color: #111111;
}

.header-nav a[aria-current="page"] {
	text-decoration: underline;
	color: #111111;
}




/* ---------------- MOBILE NAV ---------------- */
.m-nav-btn,
.m-nav-panel {
  display: none;
}

@media (max-width: 480px) {

	/* hide desktop nav */
	.header-nav { 
		display: none; 
	}

	/* header becomes one full-width pill */
	header {
		max-width: 100%;
		margin: 0 16px;
		padding: 0;
		border-radius: 0;
		background: transparent;
		backdrop-filter: none;
		border: 0;
		box-shadow: none;
	}

	/* logo stays same, but no separate pill */
	a.logo {
		padding: 4px 16px 4px 4px;
		border-radius: 999px;
		background: rgba(255, 255, 255, 0.72);
		backdrop-filter: blur(16px);
		border: 1px solid rgba(0, 0, 0, 0.06);
		box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
	}

  	/* hamburger stays on the right */
	.m-nav-btn {
		display: inline-flex;
		align-items: center;
		justify-content: center;

		width: 50px;
		height: 50px;
		
		border-radius: 999px;
		background: rgba(255, 255, 255, 0.72);
		backdrop-filter: blur(16px);
		border: 1px solid rgba(0, 0, 0, 0.06);
		box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
		
		cursor: pointer;
		-webkit-tap-highlight-color: transparent;

	}

	.m-nav-icon {
		position: relative;
		display:block;
		width:20px;
		height:12px; 
	}
	.m-nav-icon::before,
	.m-nav-icon::after{
		content:"";
		position:absolute;
		left:0;
		width:20px;
		height:2px;
		background:#111;
		border-radius:2px;
		transition: transform 160ms ease, top 160ms ease, opacity 160ms ease;
	}

	/* closed state */
		.m-nav-icon::before{ top:0; }
		.m-nav-icon::after { top:10px; }

	/* OPEN STATE */
	header.is-menu-open .m-nav-icon::before{
		top: 5px;
		transform:rotate(45deg);
	}
	header.is-menu-open .m-nav-icon::after{
		top: 5px;
		transform:rotate(-45deg);
	}

	/* open menu panel */
	.m-nav-panel {
		display: block;
		position: fixed;
		z-index: 1001;
		right: 16px;

		width: min(260px, calc(100vw - 32px));

		top: calc(1vh + 58px);
		width: 180px;
		padding: 8px;
		border-radius: 16px;

		background: rgba(255, 255, 255, 0.72);
		backdrop-filter: blur(16px);
		border: 1px solid rgba(0, 0, 0, 0.06);
		box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);

		/* closed state */
		opacity: 0;
		transform: translateY(-24px) scale(0.98);
		visibility: hidden;
		pointer-events: none;
		transition: opacity 220ms ease, transform 280ms cubic-bezier(0.2, 0.9, 0.2, 1), visibility 0ms linear 220ms;
	}

	/* open state */
	header.is-menu-open .m-nav-panel {
		opacity: 1;
		transform: translateY(0) scale(1);
		visibility: visible;
		pointer-events: auto;
		transition-delay: 0ms, 0ms, 0ms;
	}

	/* linki znotraj panela */
	.m-nav-panel a {
		display: block;
		font-size: 16px;
		line-height: 140%;
		color: #333333;
		font-family: 'Inter';
		font-weight: 500;

		padding: 12px 10px;
		text-decoration: none;
	}
		
	.m-nav-panel a:hover {
		text-decoration: underline;
		color: #111;
	}

	.m-nav-panel a.active,
	.m-nav-panel a[aria-current="page"] {
		background: rgba(0, 0, 0, 0.06);
		color: #111111;
	}

}

	/* IMPORTANT: ensure hidden works even if display:block is set */
	.m-nav-panel[hidden] { 
		display: none !important; 
	}



.section {
	margin-top: 80px;
	margin-top: 100px;
}

h1 {
	font-size: 48px;
	line-height: 120%;
	margin-bottom: 20px;
	color: #111111;
    font-family: 'Inter';
	font-weight: 500;
}

@media (max-width: 768px) {
	h1 {
		font-size: 40px;
	}
}


h2 {
	font-size: 18px;
	line-height: 160%;
	color: #111111;
    font-family: 'Inter';
	font-weight: 400;
	margin: 24px 0 16px 0;
}

.bolder {
	font-size: 18px;
	line-height: 160%;
	color: #111111;
    font-family: 'Inter';
	font-weight: 600;
	margin: 24px 0 16px 0;
}



p {
	font-size: 18px;
	line-height: 160%;
	margin-bottom: 12px;
	color: #333333;
    font-family: 'Inter';
	font-weight: 400;
}


.email {
	font-size: 18px;
	line-height: 160%;
    font-family: 'Inter';
	font-weight: 500;
	color: #111111;
	text-decoration: none;
}

.email:hover {
	text-decoration: underline;
}

.copy-toast {
	position: fixed;
	left: 50%;
	bottom: 24px;
	transform: translateX(-50%) translateY(10px);
	padding: 8px 12px;
	border-radius: 8px;
	background: #111111;
	color: #ffffff;
	font-size: 14px;
	line-height: 1;
	font-family: 'Inter';
	font-weight: 500;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease, transform 0.2s ease;
	z-index: 1000;
}

.copy-toast.is-visible {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}

ul {
	list-style-position: outside;
	padding-left: 20px;
}

li {
	font-size: 18px;
	line-height: 160%;
	color: #333333;
    font-family: 'Inter';
	font-weight: 400;
}

.footer {
	margin-bottom: 140px;
}

.splide__track {
	border-radius: 12px;
}

.splide__slide img{
  width: 100%;
  height: auto;
  display: block;
}






/*------ FEED ----------*/

/*  Masonry  */

.grid {
	padding: 4px 2px;
}
.item {
	padding: 2px 4px;
	border-radius: 8px;
}

@media screen and (max-width: 767px) {
	.grid {
		padding: 10px;
	}
	
	.item {
		padding: 2px 4px;
	}
}










/*------ PHOTOS ----------*/


.goverlay { 
 background: white !important;
 opacity: 0.8 !important;
}

.gslide-media,
.gslide-image img {
  box-shadow: none !important;
}


.glightbox-container .gslide-image img {
  max-width: 80vw;
  max-height: 80vh;
  object-fit: contain;
}

@media screen and (max-width: 767px) {
	.glightbox-container .gslide-image img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	}
}






/*------ ABOUT ----------*/

h3 {
	font-size: 24px;
	line-height: 120%;
	color: #111111;
    font-family: 'Inter';
	font-weight: 500;
	margin: 24px 0 16px 0;
}

a.link {
	font-size: 18px;
	line-height: 160%;
    font-family: 'Inter';
	font-weight: 400;
	color: #111111;
	text-decoration: none;
}


.about h2 {
	margin-top: 32px;
} 


.header-nav a {
	font-size: 16px;
	line-height: 140%;
	color: #333333;
	font-family: 'Inter';
	font-weight: 400;
}

.header-nav a:hover {
	text-decoration: underline;
	color: #111111;
}