@font-face {
	src: url("/wp-content/themes/millenarte-wp/assets/fonts/KyivType Sans.ttf") format("ttf"), url("/wp-content/themes/millenarte-wp/assets/fonts/KyivType Sans.woff") format("woff");
	font-display: swap;
	font-family: "Kyiv*Type Sans";
}
@font-face {
	src: url("/wp-content/themes/millenarte-wp/assets/fonts/LaBelleAurore-Regular.ttf");
	font-display: swap;
	font-family: "La Belle Aurore";
}

html, body {
	background-color: whitesmoke;
	margin: 0;
}
body {
	padding: 4em 0;
}

main {
	max-width: 119ch;
	padding: 2em 1em;
	margin: 0 auto;
}

header, dialog {
	padding: 1em;
}

h1, h2 {
	margin: 0.25em 0;
}

img {
	max-width: 100%;
}

a {
	color: #2525dd;
	text-decoration: none;
}
a:visited {
	color: #252590;
}
a:hover {
	border-bottom: 1px solid currentColor;
}

#logo, h1, header h2, #logo span, header, nav {
	font-family: "Kyiv*Type Sans";
}

p, article {
	line-height: 1.67;
}

header, footer, menu, .list, .flex, .menu, dialog[open], #logo {
	display: -ms-flex;
	display: flex;
}

.list, header, footer, menu, .menu {
	row-gap: 1em;
	column-gap: 1em;
	flex-wrap: wrap;
}
.list, header, footer, .vertical, dialog, #logo {
	flex-direction: column;
}
.horizontal, #logo.horizontal {
	flex-direction: row;
}

header, menu {
	align-items: center;
}

header, section, footer, article, aside, .gallery li, #hero {
	background-size: cover;
	background-position: center;
}

menu {
	padding: 0;
}

nav a {
	text-transform: uppercase;
	font-size: .8em;
}
nav a {
	color: currentColor !important;
}

dialog, .gallery li {
	row-gap: 1em;
}
dialog header {
	padding: 0;
	align-items: flex-start;
}
dialog::backdrop {
	background-color: rgba(10, 10, 10, 0.5);
	backdrop-filter: blur(8px);
}

.bordo, menu li, button, .button, dialog, .tag, .menu li {
	background-color: whitesmoke;
	border: 2px solid currentColor;
	padding: .5em 1em;
}

menu li, button, .button, .tag, .menu li {
	list-style: none;
	cursor: pointer;
}

body.decoup {
	background-image: url(/wp-content/themes/millenarte-wp/assets/images/20230611.jpg);
}

.grid {
	display: -ms-grid;
	display: grid;
	list-style: none;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}
.gallery li {
	padding: .5em;
	background-color: #eeeeee;
}
.gallery li:hover {
	background-color: #cccccc;
	color: currentColor;
}
/*.gallery li {
	border: none;
}*/

menu li:hover, button:hover, .button:hover,
menu li.target, button.target, .button.target,
menu li.current-menu-item {
	background-color: black;
	color: whitesmoke;
	transform: translateY(5px);
	box-shadow: 0 -4px 1px 2px #999999;
}

.spacer {
	flex-grow: 2;
}

#logo {
	align-items: center;
	column-gap: 1em;
}
#logo h1, #logo h3 {
	margin: 0;
}
#logo h3, .firma {
	font-family: "La Belle Aurore";
}
#logo span {
	font-weight: 100;
}
#logo a:hover {
	--shadow: green;
	border: 0;
	transform: scale(105%);
	filter: drop-shadow(0 -6px 8px var(--shadow));
}

.full-width { /* credit: gomakethings.com */
	position: relative;
	width: 100vw;
	max-width: 100vw;
	margin-left: -50vw;
	margin-right: -50vw;
	left: 50%;
	right: 50%;
	object-fit: cover;
	background-size: cover;
	background-attachment: fixed;
	background-position: center;
}

.icon {
	height: 1em;
}
.big.icon {
	height: 1.5em;
}
menu li:hover .icon, button:hover .icon, .button:hover .icon,
.target .icon {
	filter: invert();
}

@media (min-width: 600px) {
	nav li {
		flex-shrink: 0;
	}
	nav menu {
		flex-wrap: nowrap;
		overflow-x: auto;
	}
}
@media (max-width: 599px) {
	#logo {
		flex-direction: row;
	}
	menu li, .menu li {
		flex-grow: 1;
		width: 100%;
	}
}

menu li, button, .button, a, #logo img {
	transition: transform 250ms ease, filter 250ms ease;
}