*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

:root {
	--content-width: 1280px;
	--color-primary: #5E1615;
  --color-accent: #b3966b;
  --color-secondary: #212E31;
  --color-text: #000000;
  --header-font-family: "Slabo 27px", serif;
  --header-font-weight: 600;
  --text-font-family: Roboto, sans-serif;
  --text-font-weight: 400;
}

html, body {
	font-size: 16px;
	line-height: 1.5;
	font-family: Roboto, Helvetica, sans-serif;
	background-color: #fff;
	color: #222;
	background: linear-gradient(to right, rgba(255,255,255, 0), rgba(255,255,255, .66)), url('./img/2024.webp') no-repeat top center;
}

a {
	color: var(--color-primary);
	text-decoration: none;
	font-family: var(--header-font-family);
	font-weight: var(--header-font-weight);
}

a:hover,
a:focus {
	text-decoration: underline;
}

p {
	margin-bottom: 1em;
	font-family: var(--text-font-family);
	font-weight: var(--text-font-weight);
}

img,
picture,
video,
canvas,
svg {
	display: block;
	max-width: 100%;
	height: auto;
}

ul,
ol {
	list-style: none;
}

button,
input,
select,
textarea {
	font: inherit;
	border: none;
	outline: none;
	background: none;
}

button {
	cursor: pointer;
}

.button {
	display: inline-block;
	padding: 0.5em 1em;
	background-color: var(--color-primary);
	color: white;
	border-radius: 4px;
	font-family: var(--text-font-family);
	font-weight: var(--text-font-weight);
	text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: 600;
	line-height: 1.2;
	margin-bottom: 0.5em;
	color: var(--color-primary);
	font-family: var(--header-font-family);
	font-weight: var(--header-font-weight);
}
h1 {font-size: 2.5em;}
h2 {font-size: 2em;}
h3 {font-size: 1.75em;}
h4 {font-size: 1.5em;}
h5 {font-size: 1.25em;}
h6 {font-size: 1em;}

.container {
	width: 100%;
	max-width: var(--content-width);
	margin: 0 auto;
	padding: 2em;
}

/* Header styles */
.address {
	font-family: var(--text-font-family);
	font-weight: var(--text-font-weight);
	background: var(--color-primary);
	color: var(--color-accent);
	margin:0 auto;
	text-align: center;
	padding: 0.3rem;
	font-size: 0.9em;
}
.address p {
	margin-bottom: 0.6rem;
}

header {
	background-color: var(--color-accent);
	background-image: url('wood.webp');
	padding: 1em;
	color: var(--color-primary);
}

header .container {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	padding:0;
}

.logo {
	max-width: 400px;
}

nav {
	margin-left: auto;
}
nav ul {
	display: flex;
	gap: 1em;
}

.circle {
	width: 30px;
  height: 30px;
	background-color: var(--color-primary);
  border-radius: 25%;
  display: flex;
  justify-content: center;
  align-items: center;
	color: white;
}

/* Main content styles */

main {
	display: block;
}

#hero .container {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	flex-direction: column;
	color: black;
	padding: 10em 2em;
	text-align: center;
	font-size: 1.5em;
	text-shadow: white 0 0 5px;
}

.sideImage {
	float: right;
	padding:1rem;
}
.sideImage:even {
	float: left;
}

#text {
	background-color: white;
	clear: both;
}

#description, #images {
	background-color: var(--color-secondary);
	color: white;
	clear: both;
}

#description h2, #images h2, #description h3, #images h3 {
	color: var(--color-accent);
	margin-bottom: 1em;
}

#description .sideImage {
	float: left;
}

.container::after {
  clear: both;
  content: "";
  display: table;
}

#location {
	color: black;
	padding: 2em;
	text-align: center;
}
#location img {
	max-width: 100%;
	height: auto;
	margin: 0 auto
}


#gallery {
  display: flex;
  justify-content: space-around;
  padding: 0.5rem;
}
#gallery div {
	flex:1;
}
#gallery div img {
	display: block;
  width: 100%;
  padding: 0 0.5rem 0.5rem 0;
}
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding: 2rem;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
}
.modal img {
	max-width:100%;
	max-height:100%;
	margin:0 auto;
}
/* 
@media (prefers-color-scheme: dark) {
	html {
		background-color: #181818;
		color: #eee;
	}
	body {
		background-color: #222;
	}
	a {
		color: var(--color-primary);
	}
} */

@media (max-width: 768px) {
	header .container {
		flex-direction: column;
		align-items: center;
	}
	.logo {
		max-width: 100%;
	}
	#hero .container {
		padding: 5em 1em;
	}
	.sideImage {
		width: 100%;
		float: none;
	}
}