/* Positioning */
/* Box model */
/* Typographic */
/* Visual */

:root {
	/* Configuration */

	/* Box model */
	--art-page-navbar-item-height: 60px;
	--art-page-navbar-item-width: 170px;
	--art-page-width: 1600px;
	--art-page-navbar-option-border-thickness: 6px;

	/* Visual */
	--art-page-background-color: #ABB8C3;
	--art-page-content-color: #FFF;
	--art-page-accent-color: #8A5CAC;
}

[hidden] {
    display: none !important;
}

*, *::before, *::after {
	/* Box model */
	box-sizing: border-box;
}

html {
	/* Typographic */
	font-family: 'Rubik', sans-serif !important;
	color: #333;

	/* Visual */
	background: var(--art-page-background-color);
}

body {
	/* Box model */
	display: flex;
	min-height: 100vh;
	margin: 0;
	padding: 0;

	/* Visual */
	background-color: #C8CFA8;
	background-image: url("../media/bird-bg-2560x.webp");
	background-repeat: no-repeat;
	flex-direction: column;
    align-items: center;
}

#art-page-header, #art-page-footer {
	/* Box model */
	width: 100%;

	/* Visual */
	background: var(--art-page-content-color);
}

#art-page-header {
	/* Typographic */
	color: var(--art-page-accent-color);
	text-align: center;
}

#art-page-header-text {
	font-size: 2.5em;
}

#art-page-footer {
	/* Typographic */
	text-align: center;
}

#art-page-navbar-list {
	/* Box model */
	display: flex;
	width: 100%;
	max-width: var(--art-page-width);
	margin: auto;
	padding: 0;

	/* Typographic */
	list-style-type: none;

	/* Visual */
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;
}

.art-page-navbar-link {
	/* Box model */
	display: block;
	height: var(--art-page-navbar-item-height);
	width: var(--art-page-navbar-item-width);
	padding: 0;

	/* Typographic */
	font-weight: bold;
	line-height: var(--art-page-navbar-item-height);
	color: var(--art-page-accent-color);
	text-align: center;
	text-decoration: none;
}

.art-page-navbar-link:hover {
	/* Typographic */
	color: #FFF;

	/* Visual */
	background: var(--art-page-accent-color);
}

.art-page-navbar-link-selected::after {
	/* Positioning */
	position: relative;
	bottom: var(--art-page-navbar-option-border-thickness);

	/* Box model */
	display: block;
	height: var(--art-page-navbar-option-border-thickness);
	width: 100%;

	/* Visual */
	background: var(--art-page-accent-color);
	content: '';
}

.art-page-navbar-link-selected:hover::after {
	/* Visual */
	background: var(--art-page-content-color);
}

#art-pages {
	/* Box model */
	display: flex;
	width: 100%;
	max-width: var(--art-page-width);
	margin: auto;

	/* Typographic */
	line-height: 1.4em;

	/* Visual */
	background: var(--art-page-content-color);
	flex: 1;
}

.main-content {
	/* Box model */
	margin: 1em;
}

.flexed-content {
	/* Box model */
	display: flex;

	/* Visual */
	flex-basis: 100%;
	flex-direction: column;
	justify-content: center;
	align-content: center;
	align-items: center;
}

.gallery-flex-row {
	/* Box model */
	display: flex;

	/* Visual */
	flex-direction: row;
	gap: 10px;
}

.gallery-flex-row img {
	/* Box model */
	width: 100%;
	height: 100%;

	/* Visual */
	border-radius: 5px;
	object-fit: cover;
}

.gallery-flex-column {
	/* Box model */
	display: flex;

	/* Visual */
	flex-direction: column;
	gap: 10px;
}

.gallery-flex-column img {
	/* Box model */
	width: 100%;
	height: 100%;

	/* Visual */
	border-radius: 5px;
	object-fit: cover;
}

@media only screen and (max-width:1600px) {
	#art-page-header-text {
		font-size: 1.75em;
	}

	#art-page-navbar-list {
		/* Box model */
		flex-direction: column;
	}

	.art-page-navbar-item, .art-page-navbar-link {
		/* Box model */
		width: 100%;
	}

	.art-page-navbar-link-selected {
		/* Typographic */
		color: #FFF;

		/* Visual */
		background: var(--art-page-accent-color);
	}

	.art-page-navbar-link-selected::after {
		display: none;
	}
}

@media only screen and (max-width:700px) {
	.gallery-flex-row {
		/* Visual */
		flex-direction: column;
	}
}