
:root {
	
	--color--black: #000000; 
	
	--color--white: #ffffff; 
	
	--color--gray: #777777; 
	
	--color--lightgray: #f7f7f7; 
	
	--color--highlight: #a89f91; 
	
	--margin: 30px;
        --content-width: 1024px;
}


* {
        margin: 0;
        padding: 0;
        font-weight: normal;
        color: inherit;
        background: transparent;
        box-sizing: inherit;
        /* Add more properties here */
}

/* [2] tl;dr; Provide inheritable defaults (base case) */
html {
        box-sizing: border-box;
        font-size: 16px;
        font-family: /*'Bodoni Moda',*/ 'Georgia', serif !important;
        color: var(--color--black);
        line-height: 1.25; /* 1.5; */
        background: var(--color--white);
        /* provide defaults for properties in [1] (except margin & padding */
}



:root {
	--header--step: 1.333;
	--header--base: clamp(0.5rem, 2vw, 1.1rem);

	--navbar--icon--height: 60px;
}

h6 { font-size: var(--header--base); }

h5 {
	font-size: calc(
		var(--header--base) * 
		var(--header--step)
	);
}

h4 { 
	font-size: calc(
		var(--header--base) * 
		var(--header--step) * 
		var(--header--step)
	); 
}

h3 { 
	font-size: calc(
		var(--header--base) * 
		var(--header--step) * 
		var(--header--step) * 
		var(--header--step)
	);
}

h2 {
	font-size: calc(
		var(--header--base) * 
		var(--header--step) * 
		var(--header--step) * 
		var(--header--step) * 
		var(--header--step)
	);
}

h1 { 
	font-size: calc(
		var(--header--base) * 
		var(--header--step) * 
		var(--header--step) * 
		var(--header--step) * 
		var(--header--step) * 
		var(--header--step)
	);
}

a {
	border: none;
	text-decoration: none;
}

main a:not(:has(*)) {
	border-bottom: 1px dotted currentColor;
}

a:hover {
	color: var(--color--highlight) !important;
	border-color: var(--color--highlight) !important;
}

strong {
	font-weight: bold;
}

img {
	max-width: 100%;
	height: auto;
}

body > header > section {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
}

body > header nav ul {
	list-style: none;
	display: flex;
	flex-flow: row wrap;
	position: relative;
	gap: calc(var(--margin) / 2) calc(var(--margin) / 4);
	justify-content: center;
}

body > header nav {
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	color: white;
}

body > header .closer,
body > header .hamburger {
	display: none;
}

body > header nav ul li {
	display: flex;
}

body > header nav ul a {
	text-align: center;
	text-transform: capitalize;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	box-sizing: border-box;
	padding: calc(var(--margin) * 0.25) calc(var(--margin) * 0.5);
	text-decoration: none;
	cursor: pointer;
	color: var(--color--black);
}

@media (max-width: 1023px) {
	body.mobile-menu-open > header nav .closer,
	body:not(.mobile-menu-open) > header nav .hamburger {
		display: flex;
		width: var(--navbar--icon--height);
		height: var(--navbar--icon--height);
		color: var(--color--black);
		cursor: pointer;
		padding: calc(var(--margin) / 2);
	}

	body.mobile-menu-open > header nav .closer {
		margin: var(--margin);
	}

	body.mobile-menu-open > header nav .closer:hover,
	body:not(.mobile-menu-open) > header nav .hamburger:hover {
		color: var(--color--highlight);
	}

	body > header nav ul {
		display: none;
	}

	body.mobile-menu-open > header nav ul {
		display: flex;
		flex-flow: column nowrap;
		width: 100%;
		height: 100%;
		align-items: center;
		padding: calc(var(--navbar--icon--height) + calc(var(--margin) * 3)) var(--margin); /* avoid clashing with closer */ 
	}

	body.mobile-menu-open > header nav ul li a {
		font-size: clamp(1rem, 5vw, 2rem);
	}

	body.mobile-menu-open > header nav .closer {
		position: absolute;
		top: 0;
		right: 0;
	}

	body.mobile-menu-open > header nav {
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 1000;
		background: var(--color--white);
	}

	body.mobile-menu-open {
		overflow: hidden;
		min-height: 100vw;
	}
}

footer ul {
	list-style-type: none;
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	justify-content: center;
	gap: calc(var(--margin) / 2) 0;
}

footer ul a {
	display: flex;
	padding: calc(var(--margin) / 2)
}

footer ul svg {
	height: 2em !important;
}

footer #copyright {
	flex-basis: 100%;
	font-size: 0.75em;
}

h1, h2, h3, h4, h5, h6 {
	text-transform: capitalize;
	width: 75%;
}

p:not(:last-child) {
	margin-bottom: 1em;
}

body {
	display: flex;
	flex-flow: column nowrap;
	align-items: center;
	min-height: 100vh;
}

body > main {
	flex: 1;
	width: 100%;
	display: flex;
	flex-flow: column nowrap;
	align-items: center;
}

body > header {
	width: 100%;
	padding: 1rem;
	box-sizing: border-box;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-flow: row wrap;
	row-gap: calc(var(--margin) / 2);
	color: var(--color--black);
	background: var(--color--white);
}

body > footer {
	color: var(--color--white);
	background: var(--color--gray);
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	text-align: center;
	width: 100%;
	padding: var(--margin);
	gap: calc(var(--margin) / 2) var(--margin);
}

main section h1,
main section h2,
main section h3,
main section h4,
main section h5,
main section h6 {
	margin-bottom: calc(var(--margin) / 2);
}

section {
	display: flex;
	flex-flow: column nowrap;
	align-items: flex-start;
	width: 100%;
	background: var(--color--white);
}

section section {
	background: transparent;
}

/* Site Icon */
body > header .logo {
	max-width: 100%;
	display: flex;
	text-align: center;
	height: var(--navbar--icon--height);
	position: relative;
	z-index: 2000000;
}

main > section,
body > footer {
	position: relative;
}

body > header,
.contentwidth,
main > section:not(.fullwidth) {
	padding: var(--margin) calc(var(--margin) + calc(max(0px, calc(100% - var(--content-width))) / 2));
}

/* Layout */

.layout-container {
	display: flex;
	flex-flow: row wrap;
	gap: var(--margin);
	--adj-100: calc(var(--content-width) - calc(2 * var(--margin)));
    	--with-gaps: calc(var(--adj-100) - var(--margin));
}

/* full-width column */
.column-1-1 {
	flex: 1 1 100%;
}

/* quarter width column */
.column-1-4 {
	flex: 1 1 calc(var(--with-gaps) / 4);
}

/* half-width column */
.column-1-2 {
	flex: 1 1 calc(var(--with-gaps) / 2);
}

.column-1-3 {
	flex: 1 1 calc(var(--with-gaps) / 3);
}

.column-2-3 {
	flex: 1 1 calc(2 * calc(var(--with-gaps) / 3));
}

.fixed-size {
	flex-grow: 0;
	flex-shrink: 0;
}

/* collections */

.collection {
	list-style: none;
	width: 100%;
	gap: var(--margin);
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Buttons */

a.button {
	padding: calc(var(--margin) / 3);
	text-decoration: none;
	cursor: pointer;
	display: inline-block;
	border: none !important;
	background: var(--color--highlight) !important;
	color: var(--color--white) !important;
	text-align: center;
	text-transform: capitalize;
	box-sizing: border-box;
	cursor: pointer;
	border: 1px solid var(--color--highlight) !important;
}

a.button:hover {
	background: var(--color--white) !important;
	color: var(--color--highlight) !important;
}

/* Heroes */

.hero {
	padding: 0;
	position: relative;
	display: flex;
	flex-flow: column nowrap;
	align-items: center;
	justify-content: center;
	text-align: center;
	min-height: min(100vw, 600px);
	background-image: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.78) 51%, rgba(255, 255, 255, 0) 99%, rgba(255, 255, 255, 0.05) 100%);
	background-color: RGBA(255, 255, 255, 0);
}

.hero.hero-image img {
	object-fit: cover;
	object-position: center;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: -10;
}

.hero.hero-image > *:not(img) {
	max-width: var(--content-width);
	width: 75%;
	z-index: 2;
}

/*
 * Slider
 */

.slider {
	position: relative;
	scrollbar-width: none;
}

.slider ul {
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
	display: flex;
	flex-flow: row nowrap;
	overflow-x: scroll;
	overflow-y: hidden;


	overflow-x: auto;
	display: flex;
	scroll-snap-type: x mandatory;	/* snap on x axis */
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;

}

.slider ul::-webkit-scrollbar { display: none; }

.slider ul li {
	height: 100%;
	width: 100%;
	flex-shrink: 0;
	flex-grow: 1;
	scroll-snap-align: start;
	scroll-snap-stop: normal;
}

.slider ul li a {
	width: 100%;
	height: 100%;
	display: block;
}

.slider ul li a img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	-webkit-user-drag: none;
	user-drag: none;
	user-select: none;
	-webkit-user-select: none;
}

.slider--dots {
	width: 100%;
	height: 44px;
	position: absolute;
	bottom: 0;
	z-index: 10;
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	justify-content: center;
}

.slider--dots--dot {
	width: 11px;
	height: 11px;
	background: var(--color--gray);
	opacity: 0.6;
	border-radius: 100%;
	cursor: pointer;
	margin: 5px;
}

.slider--dots--dot.selected {
	background: var(--color--white);
	opacity: 1.0;
}
