:root {
	/* Color Palette */
	--jungle-green: #3b732d;
	--sunset: #f9bc40;
	--sunrise: #fbd17d;
	--seafoam: #7fb099;
	--deep-sea-green: #3d8865;
	--dark-cool-green: #005f3a;

	--mustard-translucent: hsla(39.15,47.97%,48.24%,0.9);
	--mustard: hsla(39.15,47.97%,48.24%,1);
	--mustard-border: hsla(39.15,47.97%,28.24%,0.3);
	--soft-bg: hsla(38.18,40.74%,94.71%,1);
	--dark-brown: hsla(13.55,65.96%,18.43%,1);
}

.ads-container {
	margin: 3rem auto 5rem;
	display: flex;
	justify-content: center;
}

.ads-container img {
	height: auto;
	border-radius: 3px;
	box-shadow: 3px 3px 7px #77777770;
	-webkit-box-shadow: 3px 3px 7px #77777770;
	-moz-box-shadow: 3px 3px 7px #77777773;
}


body {
	font-family: 'Raleway', sans-serif;
	background-color: var(--soft-bg);
	color: var(--dark-brown);
	font-size: 1rem;
	line-height: 1.5;
	font-weight: 500;
	position: relative;
	}

	/*Hero Banner Styles*/
	.display-font {
	font-family: "Splash", cursive;
	font-weight: 400;
	font-style: cursive;
	font-size: 4rem;
	line-height: 1.2;
	}


	.header-content h2 {
		font-size: 1.2rem;
		font-family: 'Baskervville', sans-serif;
		text-transform: uppercase;
		letter-spacing: 3px;
		font-weight: 100;
		margin-top: 10px;
	}

	header h2 a {
		text-decoration: none;
		color: var(--dark-brown);
	}
	
	header h2 a:hover, header h2 a:active {
		color: var(--dark-brown);
		text-shadow: #6e6565 0px 0px 1px;
		cursor: pointer;
		transition: text-shadow 0.3s ease-in-out;
	}

/*Utility Classes*/
.flex {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 2rem;
}

@media (max-width: 600px) {
	.flex {
		flex-direction: column;
	}
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

/* --- Responsive Sidebar navigation adapted from W3.CSS Templates --- */
.w3-bar-block {
	display: flex;
	justify-content: left;
	padding-top: 80px;
	display:none;
	z-index:2;
	width:20%;
	min-width:300px
}

.w3-bar-item {
	padding:8px ;
	width:auto;
	border:none;
	display:block;
	outline:0;
	width:100%;
	white-space:normal;
	font-size: 24px;  /*  Menu items font size  */
}

.w3-bar {
	width:100%;
	overflow:hidden
}

.w3-top,
.w3-bottom {
	position:fixed;
	width:100%;
	z-index:1
	}

.w3-top {
	backdrop-filter: blur(6px);
	top:0;
	background-color: var(--mustard-translucent);
	color: var(--soft-bg);
	font-size: 48px;  /* Hamburger bars size */
	border-bottom: 1px solid var(--mustard-border);
}

.w3-card {
	box-shadow:0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12)
}

.w3-sidebar {
	height:100%;
	width:200px;
	background-color:#fff;
	position:fixed!important;
	z-index:1;
	overflow:auto;
}

.w3-animate-left {
	position:relative;
	animation:animateleft 0.4s;
}

@keyframes animateleft { from {left:-300px;opacity:0} to{left:0;opacity:1}}
/* The @keyframes CSS at-rule controls the intermediate steps in a CSS animation
sequence by defining styles for keyframes (or waypoints) along the animation
sequence. */ 

.w3-button {
	border:none;
	display:inline-block;
	padding:8px 16px;
	vertical-align:middle;
	overflow:hidden;
	text-decoration:none;
	color:inherit;
	background-color:inherit;
	text-align:center;
	cursor:pointer;
	white-space:nowrap}

.w3-button {
	-webkit-touch-callout:none;
	-webkit-user-select:none;
	-moz-user-select:none;
	-ms-user-select:none;
	user-select:none} 

.w3-button:disabled {
	cursor:not-allowed;
	opacity:0.3
}

/* --- Typographical Scales --- */

/* Viewport is the browser window size. 1vw = 1% of viewport width. */
header h1 { /* 64px is 3.333%  of 1920px */
	font-size: 3.333vw;
}
header h2 { /* 40px is 2.083%  of 1920px */
	font-size: 2.083vw;
}

h1, h2, h3 {
	font-family: 'Raleway', cursive;
	color: var(--dark-brown);
}

h2, h3 {
	line-height: 1;
	margin: 40px 0;
}
h2 {
	font-size: 24px;
}

h3 {
	font-size: 20px;
}

p {
	margin-bottom: 18px;
}

/* layout */

nav {
	background-color: #fff;
	width: 100%;
}

.w3-bar-item:link, .w3-bar-item:visited {
	color:#427ac1;
	text-decoration: none;
}

.w3-bar-item:hover, .w3-bar-item:active {
	color: #333;
	text-decoration: underline;
}

header {
	margin-top: 80px;  /* Space for the nav on page load */
	
	}

/*  Places the content image in the bg with the headings on top  */
.header-bg-wrap {
	overflow: hidden;
	position: relative;
}

.header-bg-image {
  	opacity: 0.3;
  	/*The opacity property specifies the opacity/transparency of an element.*/
  	position: absolute;
  	left: 0;
  	top: 0;
  	width: 100%;
  	height: fit-content;
}

.header-content {
	min-height: 50vh;
	/* height: 46.296vh; */
 	position: relative;
  	display: flex;
  	flex-direction: column;
  	align-items: center;
  	justify-content: center;
  }

main, .bg-container {
	width: 71%;
	margin: 20px auto;
	}

main {
	padding-top: 20px;
	overflow: hidden;
}

.content {
	margin-left: auto;
 	margin-right: auto;
}

article {
	margin-bottom: 4rem;
}

article a {
	color: var(--jungle-green);
	font-weight: 700;

}

article img {
	border: none;
	border-radius: 7px;
	box-shadow: 3px 3px 7px #77777770;
	-webkit-box-shadow: 3px 3px 7px #77777770;
	-moz-box-shadow: 3px 3px 7px #77777773;
}

.image-container {
	max-width: 485px;
	margin: 2rem auto;
}

.img-thumbnail {
	width: 166px;
	display: inline-block;
	border-radius: 50%;
	border: 3px solid var(--mustard);
	box-shadow: 2px 2px 5px #77777770;
}

footer {
	padding: 40px 0;
	margin-top: 24px;
	background-color: #a9a9a9;
}

footer ol {
	font-size: 20px;
	text-align: center;
	list-style-type: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0;
}

footer ol li {
	margin: 10px;
	display: block; 
	/*Makes the li selectable up the to the edge of the margins*/
}

footer a:link, a:visited {
	/* color:#fff; */
	text-decoration: none;
}

footer a:hover, a:active {
	color: #f8f2f2;
	text-decoration: underline;
}

/* -- Code for the Cookie Compliance popover window -- */

#cookiePopup {
	z-index: 1000;
  background-color: var(--mustard);
  position: sticky;
  /* left: 5%; */
  bottom: 0;
  font-size: 14px;
  width: 90%;
  box-shadow: 0 0 2em rgba(5, 0, 31, 0.35);
  font-family: "Poppins", sans-serif;
  text-align: justify;
  line-height: 1.8em;
  margin: 0 auto;
  padding: 2em 4em;
  border-radius: 6px;
  transition: all 0.5s ease-in-out;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	gap: 2rem;
}

#cookiePopup p {
  text-align: left;
	max-width: 80ch;

}
#cookiePopup button {
	width: 5rem;
	height: 3rem;
  background-color: var(--sunrise);
  border: none;
  font-size: 1rem;
  padding: 0.5em;
  display: block;
  position: relative;
  border-radius: 5px;
	cursor: pointer;
}
#cookiePopup a {
  color: var(--sunrise);
}

.hide {
  visibility: hidden;
  
}
.show {
  visibility: visible;
 
}

/* -- End of Code for the Cookie Compliance popover window -- */

@media only screen and  (min-width:900px) {

	.image-container {
		margin-top: 0;
	}

	.article-body {
		width: 60%;
	}

 
 nav {
 	width: 40%;
 }

 h2 {
	font-size: 48px;
}

h3 {
	font-size: 36px;
}

.outer-container {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: flex-start;
	gap: 1rem;
	margin-top: 2rem;
	}

.inner-container {
	width: 48%;
	}

	.w3-bar-item {
		font-size: 36px;
	}

}

/* @media only screen and  (min-width:1340px) {
 
 .hamburger-position {
		margin-left: 10%;
	}
} */
