/* start light mode styling */
	:root {
		--text: white;
		--border: #343c24;
		--accent: #343c24;
		--bg: #643c44;
		--gradientTop: #643c44;
		--gradientBottom: #442c48;
        a:link { color: #ec4464; }
	}
	header {
		background: url('***light mode banner image***');
	}
/* end light mode styling */


/* start dark mode styling */
	@media (prefers-color-scheme: dark) {
		:root {
			--text: rgb(255, 255, 255);
			--border: #343c24;
			--accent: #343c24;
			--bg: #643c44;
			--gradientBottom: #442c48;
			--gradientTop: #643c44;
			a:link { color: #ec4464; }
		}
		header {
			background-color: rgba(46, 112, 73, 0.3);
		}
	}
/* end dark mode styling */


* { 
	box-sizing: border-box;
}
body {
	padding: 10px;
	font-family: 'Lusitana', serif;
	color: var(--text);

	/* page background pattern */
	background: #020321 url('home_images/bg.png');
}

/* Guestbook iframe styling */
#guestbook {
    width: 100%;
    min-height: 1500px;
    border: 0;
}


.container {
	max-width: 55rem;
	margin: 5vw auto 12px auto;
	border: 6px ridge var(--border);
	outline: 3px solid var(--gradientTop);
	outline-offset: 4px;
	border-radius: 10px;
	display: flex;
	flex-wrap: wrap;
	padding: 5px;
	gap: 5px;

	/* container background pattern */
	background-color: var(--gradientBottom);
	background-image:  url('home_images/darkflowerbg.png');
}
/* these control the column widths */
.small { flex: 1 1 9%; }
.large { flex: 1 1 82%; }
.full { flex: 1 1 100%; }
.half { flex: 1 1 49%; }


header {
	background-size: cover;
	background-position: center;
	width: 100%;
	height: 120px; /* change banner height here*/
	border: 2px ridge var(--border);
	border-radius: 5px;
	position: relative;
}
header span {
	font-size: 2.5rem;
	position: absolute;
	bottom: 0;
	right: 10px;
	margin: 10px;
	font-weight: bold;
	font-family: "Princess Sofia", serif;
	color: #e9899b;
    text-shadow: 1px 1px var(--bg),
		-1px 1px var(--bg),
		1px -1px var(--bg),
		-1px -1px var(--bg);
}


nav {
	border: 2px ridge var(--border);
	border-radius: 5px;
	padding: 5px;
	background: linear-gradient(var(--gradientTop),var(--gradientBottom));
}
nav div {
	text-align: center;
	font-size: 1.25rem;
	margin: 5px 5px 10px 5px;
	font-family: "Princess Sofia", serif;
}
nav a {
	display: block;
	margin: 5px;
	background: linear-gradient(to right,var(--bg),var(--gradientBottom));
	border-radius: 5px;
	padding: 2px 7px;
	text-decoration: none;
}
nav a:link, nav a:visited { 
	color: var(--text);
}
nav a:hover, nav a:focus {
	background: linear-gradient(to right,var(--bg), var(--gradientBottom), var(--gradientTop));
}

/* optional button styling like in the preview */
div.small > img {
	display: block;
	margin: 30px auto;
	border: none;
}

.grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Creates three equal-width columns */
  gap: 5px; /* Adds space between columns */
}
.column-one, .column-two {
  /* Optional: Add styling for individual columns */
  padding: 0px;
  border: none;
}

section {
	border: 2px ridge var(--border);
	border-radius: 5px;
	background: linear-gradient(var(--gradientTop),var(--gradientBottom));
	padding: 5px;
}

/* Add scrollable styling for the about section */
section.half {
	max-height: 400px; /* Adjust this height as needed */
	overflow-y: auto;
	overflow-x: hidden;
}

/* Custom scrollbar styling to match your theme */
section.half::-webkit-scrollbar {
	width: 8px;
}

section.half::-webkit-scrollbar-track {
	background: var(--gradientBottom);
	border-radius: 5px;
}

section.half::-webkit-scrollbar-thumb {
	background: var(--border);
	border-radius: 5px;
}

section.half::-webkit-scrollbar-thumb:hover {
	background: var(--accent);
}

/* For Firefox */
section.half {
	scrollbar-width: thin;
	scrollbar-color: var(--border) var(--gradientBottom);
}


footer {
	text-align: center;
	margin-bottom: 5vw;
	font-size: 0.8rem;
}
footer a { 
	text-decoration: none;
}


h1, h2, h3, h4, h5, h6, p  { 
	margin: 5px;
	line-height: 1.2;
}
h1 { 
	font-size: 1.4rem;
	letter-spacing: 2px;
	font-weight: normal;
	text-align: center;
	border-bottom: 2px ridge var(--border);
	padding-bottom: 5px;
	font-family: "Princess Sofia", serif;
}
h2 { 
	font-size: 1.25rem;
	font-weight: normal;
	text-align: center;
	font-family: "Princess Sofia", serif;
}
h3 { 
	font-size: 1.1rem;
}
h4 { 
	font-size: 1rem;
	color: var(--text);
	padding-left: 12px;
}


/* prevents overflow on smaller screens */
img { max-width: 100%; }
pre { overflow-x: auto; }


a:hover, a:focus {
	font-style: italic;
}
a:visited {
	color: var(--accent);
}

article {
	padding: 15px;
	overflow: auto;
    margin: 5px;
	border: 26px solid transparent;
	border-image: url(home_images/lilybdr.png) 26 round;
	border-radius: 5px;
	background: transparent;
}
