body {
	font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
	line-height: 1.4em;
	margin: 0;
	padding-bottom: 6rem;
	background: #FDFDF8;
	color: #232323;
	text-align: center;
}

.text {
	max-width: 60ch;
	margin: 3em auto;
	padding: 0 1em;
}

.small-galli {
	position: fixed;
	bottom: 1em;
	right: 1em;
	transition: all .24s ease-in-out;
	width: 52px;
	display: none;
	@media (width > 1200px) {
		display: block;
	}
}

.small-galli:hover {
	transform: rotate(10deg) scale(1.1);
}

.breaker {
	display: none;
}

#container {
	max-width: 940px;
	margin: 10px auto;
}

img {
	max-width: 100%;
}

a img {
	border:none;
}

header {
	 text-align: center;
	 margin-block: 3rem;
}

header img {
	width: 230px;
	margin-right: -2rem;
}

nav {
	position: sticky;
	top: 1rem;
	backdrop-filter: blur(10px);
	background-color: rgba(255, 255, 255, 0.166);
	width: fit-content;
	margin-inline: auto;
}

@keyframes add-shadow {
    to {
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
		0 4px 6px -4px rgba(0, 0, 0, 0.1);
    }
}

@supports (animation-timeline:scroll()) {
    nav {
        animation: add-shadow linear both;
        animation-timeline: scroll();
        animation-range: 150px 600px;
    }
}



nav a {
	display:block;
	padding: 0.625em 1em;
	width:auto;
	color:#232323;
	text-decoration:none;
	transition: all .23s ease-in;
}
nav a:hover {
	background: yellow;
}

ul#navigation {
	padding-left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}
ul#navigation li {
	list-style:none;
	margin:0px;
	padding:0px;
}

#portrait #nav1 a, #art #nav2 a, #show #nav3 a, #contact #nav5 a {
	background: black;
	color: yellow;
}

li.yo a {
	background: black;
	color: yellow
}

a:link {
	text-decoration:none;
}
a.mail {
	color:#0CA3D2;
}

@media (min-width:740px) {
  nav a {
  	font-size: 1.25em;
  }
}
