@charset "utf-8";

/* BEGIN MENU STUFF */
/*==================================*/

.header-menu .logo {
	font-size: 1rem;
	font-weight: 700;
}

.header-container ul {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
}

.menu-overlay {
	position: absolute;
	top: 116px;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-color: rgba(81, 98, 65 , 0.75);
	z-index: 2;
	padding-top: 2.2rem;
	text-align: center;
	transform: scale(0);
	transition: all 0.4s ease;
}

.menu-overlay li {
	margin-bottom: 1.4rem;
}


/* menu */
.header-container .menu {
	position: relative;
	z-index: 3;
  /* max-height: 0;
  transition: max-height .2s ease-out; */
	opacity: 0;
	transition: opacity 0.4s ease;
}

/* menu icon */
.header-menu .nav .menu-icon {
  cursor: pointer;
  padding: .5rem 0rem .5rem .5rem;
  user-select: none;
}

/* Hamburger Line - middle */
.header-menu .nav .menu-icon .nav-icon {
  background: #F0E9AA;
  display: block;
  height: 3px;
  position: relative;
  transition: background .2s ease-out;
  width: 24px;
	border-radius: 3px;
}

/* Hamburger Lines - Top & Bottom */
.header-menu .nav .menu-icon .nav-icon:before,
.header-menu .nav .menu-icon .nav-icon:after {
  background: #F0E9AA;
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  transition: all .2s ease-out;
  width: 100%;
	border-radius: 3px;
}

.header-menu .nav .menu-icon .nav-icon:before {
  top: 7px;
}

.header-menu .nav .menu-icon .nav-icon:after {
  top: -7px;
}

/* menu btn */
.header-menu .nav .menu-btn {
  display: none;
}

.header-menu .nav .menu-btn:checked ~ .menu-overlay {
  /* max-height: none; */
	transform: scale(1);
	transition-duration: 0.5s;
}

.header-menu .nav .menu-btn:checked ~ .menu-overlay .menu {
  /* max-height: none; */
	opacity: 1;
	transition:  opacity 0.75s ease 0.75s;
}

.header-menu .nav .menu-btn:checked ~ .menu-icon .nav-icon {
  background: transparent;
}

/* Turns Lines Into X */
.header-menu .nav .menu-btn:checked ~ .menu-icon .nav-icon:before {
  transform: rotate(-45deg);
  top:0;
}
.header-menu .nav .menu-btn:checked ~ .menu-icon .nav-icon:after {
  transform: rotate(45deg);
  top:0;
}

/* END MENU STUFF */
/*==================================*/

.header-container, .footer-container {
	background-color: #516241; /* DARK GREEN */
	color: #F0E9AA; /* CREAM DARK */
}

.header-grid, .footer {
	max-width: 70rem;
	padding-left: .5rem;
	padding-right: .5rem;
	margin: 0 auto;
}

.header-grid {
	display: grid;
	grid-template-columns: 3fr 1fr;
	grid-template-areas:
	"logo nav"
	"weather weather";
	padding-top: 1rem;
	padding-bottom: .5rem;
}

.logo--large {
	display: none;
}

.nav {
	display: inherit;
	grid-area: nav;
	justify-self: end;
	justify-content: end;
	align-content: start;
}

.nav-links {
	display: none;
}

.nav-links-item a {
	text-decoration: none;
	color: #F0E9AA;
	font-size: 1.3rem;
	font-weight: 600;
}

a:hover {
  color: #ee941e;  /* DARKER ORANGE */
	transition: all ease-in-out 150ms;
}

.navOnPage {
	text-decoration: underline;
	cursor: default;
	font-size: .875rem;
	font-weight: 700;
}

.weather {
	grid-area: weather;
	align-self: center;
	justify-self: start;
	/* background-color: pink; */
}

.weather--small {
	padding-top: 0;
}

.footer {
	display: flex;
	flex-wrap: wrap;
	grid-row-gap: .4rem;
	padding: 1.2rem 0 .5rem 0;
}

.footer .footer-item {
	flex: 1 0 9rem;
  box-sizing: border-box;
	font-size: .7rem;
  text-align: center;
}

.h-separator {
	background-color: #6A572E;
	height: .75rem;
	border-top: .375rem solid #5B4B2B;
	border-bottom: .375rem solid #5B4B2B;
}

.pagewrapper {
	margin-top: 1rem;
	margin-bottom: 1rem;
	/* border: 1px solid red; */
}

.content {
	min-height: 35rem;
	margin-left: auto;
	margin-right: auto;
	background-color: #EBE7DD; /* CREAM LIGHT  transparent*/
	border-top: 3px solid #A79572;
	border-bottom: 3px solid #A79572;
	padding: 1rem 0;
}

.box-header {
	display: inline-block;
	font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, sans-serif;
	font-size: 0.8rem;
	font-weight: 700;
	line-height: 0.875rem;
	border-bottom: 2px solid black;
	width: 75%;
	margin-bottom: .6rem;
	margin-left: .3rem;
}

.sidebar-grid {
  display: grid;
  /* grid-gap: 1rem; */
  /* background-color: yellow; */
  /* border: 1px solid rgba(0, 0, 0, 0.8); */
}

.side-row {
  display: grid;
  grid-gap: 1.5rem;
}

.table-key {
	position: relative;
	text-align: right;
	font-size: .75rem;
	font-style: italic;
	padding-top: .2rem;
	padding-right: .5rem;
}



 /*===============
  * At slightly wider sizes, show sidebar elements side by side (each taking up half the space, minus gutter gap and stuff).
=================*/
/* 544px */
@media (min-width: 34em) {
	.content {
		/* background-color: #EBE7DD; /* CREAM LIGHT */
		/* border: 5px solid #A79572; */
		/* padding: 1rem 1rem; */
	}

	.box-header {
		margin-left: 0;
	}
}


 /*===============
  * At even wider sizes… 800px
=================*/
 @media (min-width: 50em) {
 .header-grid {
 		grid-template-areas:
 		"logo weather"
 		"nav nav";
 	}

	.logo--large {
		display: block;
	}

	.logo--small, .menu-btn, .menu-icon, .menu-overlay {
		display: none;
	}

	.weather {
		grid-area: weather;
		justify-self: end;
		padding-bottom: .5rem;
		/* background-color: red; */
	}

	.nav {
		justify-self: center;
		justify-content: unset;
		align-content: start;
	}


	.nav-links {
		display: grid;
	    grid-template-columns: repeat(10, 1fr);
	    grid-column-gap: 1rem;
	    justify-items: center;
	}

	.nav-links .menu .nav-links-item {
		box-sizing: border-box;
		text-align: center;
		/* background-color: #2a3420; /* DARK GREEN */
	}

	.nav-links-item a {
		font-size: .875rem;
	}

	.content {
		background-color: #EBE7DD; /* CREAM LIGHT */
		border: 5px solid #A79572;
		padding: 1rem 1rem;
	}

	.main-content {
	 display: grid;
	 grid-template-columns: 1fr;
	 grid-auto-rows: auto minmax(0, 1fr);
	 /* align-content: space-between; */
	 /* background-color: pink; */
	}

	.sidebar-grid {
		grid-auto-rows: min-content;
		/* background-color: tan; */
	}

	.side-row {
		grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
	}
 }
